Skip to content

Commit 4d98053

Browse files
check for local assets in CodeCoverageReporterTest
1 parent f254653 commit 4d98053

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

sqldev/src/test/java/org/utplsql/sqldev/test/coverage/CodeCoverageReporterTest.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,9 @@ public void produceReportAndCloseConnection() {
106106
final String content = new String(FileTools.readFile(outputFile), StandardCharsets.UTF_8);
107107
Assert.assertTrue(
108108
content.contains("<h3>SCOTT.F</h3><h4><span class=\"green\">100 %</span> lines covered</h4>"));
109+
// local assets without internet access
110+
Assert.assertTrue(
111+
content.contains("script src='" + reporter.getHtmlReportAssetPath().toExternalForm()));
109112
}
110113

111114
@Test

0 commit comments

Comments
 (0)