Added simple png test
This commit is contained in:
parent
a629fc8372
commit
24a2e02fe6
@ -39,6 +39,15 @@ public class OB20Tests {
|
|||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Test
|
||||||
|
void testSimplePNGPlainValid() {
|
||||||
|
assertDoesNotThrow(()->{
|
||||||
|
Report report = validator.run(Samples.OB20.PNG.SIMPLE_JSON_PNG.asFileResource());
|
||||||
|
if(verbose) PrintHelper.print(report, true);
|
||||||
|
assertValid(report);
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
@Nested
|
@Nested
|
||||||
static class WarningTests {
|
static class WarningTests {
|
||||||
@BeforeAll
|
@BeforeAll
|
||||||
|
@ -48,5 +48,9 @@ public class Samples {
|
|||||||
// original: test_graph:test_verify_with_redirection
|
// original: test_graph:test_verify_with_redirection
|
||||||
public final static Sample WARNING_REDIRECTION_ASSERTION_JSON = new Sample("ob20/warning-with-redirection.json", true);
|
public final static Sample WARNING_REDIRECTION_ASSERTION_JSON = new Sample("ob20/warning-with-redirection.json", true);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public static final class PNG {
|
||||||
|
public final static Sample SIMPLE_JSON_PNG = new Sample("ob20/simple-badge.png", true);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
BIN
inspector-vc/src/test/resources/ob20/simple-badge.png
Normal file
BIN
inspector-vc/src/test/resources/ob20/simple-badge.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.3 KiB |
Loading…
Reference in New Issue
Block a user