Remove outdated test, this is now supported
@@ -251,19 +251,6 @@ public class SourceCodeTest extends Base {
assertMatchingSource(resource);
}
- @Test
- public void testSingleClassFailsOnJar() {
- JavaResource resource;
- try {
- resource = new ClassResource(getClasspathFile("Hello.class"));
- resource.getClasses();
- } catch(IOException ex) {
- fail(ex);
- return;
- }
- assertThrows(IOException.class, () -> resource.setClassSources(getClasspathFile("calc.jar")));
- }
-
@Test
public void testJarFailsOnMissingFile() {
JavaResource resource;
