Skip to content

Commit

Permalink
Restore test for broken JARs (in lenient mode)
Browse files Browse the repository at this point in the history
  • Loading branch information
kwin committed Oct 24, 2023
1 parent f45f781 commit c6b97c6
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,7 @@ public void testIndexedScanning()
assertTrue( listener.clazzes.contains( D.class ) );
}

public void ignoreTestBrokenScanning()
public void testBrokenScanning()
throws IOException
{
final ClassSpace space =
Expand Down Expand Up @@ -240,7 +240,7 @@ public Enumeration<URL> findEntries( final String path, final String glob, final
}
};

new SpaceScanner( brokenResourceSpace, true ).accept( new QualifiedTypeVisitor( null ) );
new SpaceScanner( brokenResourceSpace, false ).accept( new QualifiedTypeVisitor( null ) );

final ClassSpace brokenLoadSpace = new ClassSpace()
{
Expand Down Expand Up @@ -270,7 +270,7 @@ public Enumeration<URL> findEntries( final String path, final String glob, final
}
};

new SpaceScanner( brokenLoadSpace, true ).accept( new QualifiedTypeVisitor( null ) );
new SpaceScanner( brokenLoadSpace, false ).accept( new QualifiedTypeVisitor( null ) );

SpaceScanner.accept( null, null, true );

Expand Down

0 comments on commit c6b97c6

Please sign in to comment.