We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a1ee831 commit f71de96Copy full SHA for f71de96
fj-doc-mod-poi/src/test/java/test/org/fugerit/java/doc/mod/poi/coverage/TestPoiCoverage.java
@@ -45,6 +45,7 @@ void test01() {
45
46
@Test
47
void testDoc() {
48
+ SimpleValue<Integer> count = new SimpleValue<>( 0 );
49
Arrays.asList( "test_doc", "test_doc_alt" ).forEach( fileName -> {
50
SafeFunction.apply( () -> {
51
DocTypeHandler handler = XlsxPoiTypeHandler.HANDLER;
@@ -56,8 +57,10 @@ void testDoc() {
56
57
handler.handle( DocInput.newInput( handler.getType(), reader ), DocOutput.newOutput( fos ) );
58
}
59
Assertions.assertTrue( output.exists() );
60
+ count.setValue( count.getValue()+1 );
61
});
62
63
+ Assertions.assertNotEquals( 0, count.getValue() );
64
65
66
0 commit comments