@Issue("JENKINS-20415")
    @Test public void nonTopLevelItemGroup() throws Exception {
        MatrixProject mp = j.jenkins.createProject(MatrixProject.class, "mp");
        mp.setAxes(new AxisList(new TextAxis("axis", "one", "two")));
        assertEquals(2, mp.getItems().size());
        ListView v = new ListView("v");
        j.jenkins.addView(v);
        v.setIncludeRegex(".*");
        v.setRecurse(true);
        // Note: did not manage to reproduce CCE until I changed expand to use ‘for (TopLevelItem item : items)’ rather than ‘for (Item item : items)’; perhaps a compiler-specific issue?
        assertEquals(Collections.singletonList(mp), v.getItems());
    }
@Issue("JENKINS-20415")
    @Test public void nonTopLevelItemGroup() throws Exception {
        MatrixProject mp = j.jenkins.createProject(MatrixProject.class, "mp");
        mp.setAxes(new AxisList(new TextAxis("axis", "one", "two")));
        assertEquals(2, mp.getItems().size());
        ListView v = new ListView("v");
        j.jenkins.addView(v);
        v.setIncludeRegex(".*");
        v.setRecurse(true);
        assertEquals(Collections.singletonList(mp), v.getItems());
    }
@issue("jenkins-20415") @test public void nontoplevelitemgroup() throws exception { matrixproject mp = j.jenkins.createproject(matrixproject.class, "mp"); mp.setaxes(new axislist(new textaxis("axis", "one", "two"))); assertequals(2, mp.getitems().size()); listview v = new listview("v"); j.jenkins.addview(v); v.setincluderegex(".*"); v.setrecurse(true); assertequals(collections.singletonlist(mp), v.getitems()); }