← 返回首页
let's just get that stacktrace · utPLSQL/utPLSQL-java-api@0bddb6d · GitHub
Skip to content

Navigation Menu

Toggle navigation
Sign in
Appearance settings
Search or jump to...

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Include my email address so I can be contacted

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
Resetting focus

Commit 0bddb6d

Browse files
committed
let's just get that stacktrace
1 parent 6c02223 commit 0bddb6d

2 files changed

Lines changed: 38 additions & 33 deletions

File tree

‎src/main/java/org/utplsql/api/reporter/CoverageHTMLReporter.java‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,6 @@ public static void writeReportAssetsTo(Path targetDirectory) throws RuntimeExcep
9696
try {
9797
Files.createDirectories(targetDirectory);
9898

99-
System.out.println("Getting list of children");
10099
List<Path> paths = ResourceUtil.getListOfChildren(Paths.get("CoverageHTMLReporter"), true);
101100

102101
paths.forEach((ThrowingConsumer<Path>) p -> copyFileFromClasspath(p, targetDirectory, 1) );

‎src/test/java/org/utplsql/api/reporter/CoverageHTMLReporterAssetTest.java‎

Lines changed: 38 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -22,38 +22,44 @@ private void testFileExists(Path filePath) {
2222

2323
@Test
2424
public void writeReporterAssetsTo() throws RuntimeException {
25-
Path targetPath = Paths.get(TEST_FOLDER);
26-
27-
System.out.println("targetPath: " + targetPath.toString());
28-
// Act
29-
CoverageHTMLReporter.writeReportAssetsTo(targetPath);
30-
31-
testFileExists(targetPath.resolve(Paths.get("colorbox", "border.png")));
32-
testFileExists(targetPath.resolve(Paths.get("colorbox", "controls.png")));
33-
testFileExists(targetPath.resolve(Paths.get("colorbox", "loading.gif")));
34-
testFileExists(targetPath.resolve(Paths.get("colorbox", "loading_background.png")));
35-
36-
testFileExists(targetPath.resolve(Paths.get("images", "ui-bg_flat_0_aaaaaa_40x100.png")));
37-
testFileExists(targetPath.resolve(Paths.get("images", "ui-bg_flat_75_ffffff_40x100.png")));
38-
testFileExists(targetPath.resolve(Paths.get("images", "ui-bg_glass_55_fbf9ee_1x400.png")));
39-
testFileExists(targetPath.resolve(Paths.get("images", "ui-bg_glass_65_ffffff_1x400.png")));
40-
testFileExists(targetPath.resolve(Paths.get("images", "ui-bg_glass_75_dadada_1x400.png")));
41-
testFileExists(targetPath.resolve(Paths.get("images", "ui-bg_glass_75_e6e6e6_1x400.png")));
42-
testFileExists(targetPath.resolve(Paths.get("images", "ui-bg_glass_95_fef1ec_1x400.png")));
43-
testFileExists(targetPath.resolve(Paths.get("images", "ui-bg_highlight-soft_75_cccccc_1x100.png")));
44-
testFileExists(targetPath.resolve(Paths.get("images", "ui-icons_2e83ff_256x240.png")));
45-
testFileExists(targetPath.resolve(Paths.get("images", "ui-icons_222222_256x240.png")));
46-
testFileExists(targetPath.resolve(Paths.get("images", "ui-icons_454545_256x240.png")));
47-
testFileExists(targetPath.resolve(Paths.get("images", "ui-icons_888888_256x240.png")));
48-
testFileExists(targetPath.resolve(Paths.get("images", "ui-icons_cd0a0a_256x240.png")));
49-
50-
testFileExists(targetPath.resolve(Paths.get("application.css")));
51-
testFileExists(targetPath.resolve(Paths.get("application.js")));
52-
testFileExists(targetPath.resolve(Paths.get("favicon_green.png")));
53-
testFileExists(targetPath.resolve(Paths.get("favicon_red.png")));
54-
testFileExists(targetPath.resolve(Paths.get("favicon_yellow.png")));
55-
testFileExists(targetPath.resolve(Paths.get("loading.gif")));
56-
testFileExists(targetPath.resolve(Paths.get("magnify.png")));
25+
26+
try {
27+
Path targetPath = Paths.get(TEST_FOLDER);
28+
29+
// Act
30+
CoverageHTMLReporter.writeReportAssetsTo(targetPath);
31+
32+
testFileExists(targetPath.resolve(Paths.get("colorbox", "border.png")));
33+
testFileExists(targetPath.resolve(Paths.get("colorbox", "controls.png")));
34+
testFileExists(targetPath.resolve(Paths.get("colorbox", "loading.gif")));
35+
testFileExists(targetPath.resolve(Paths.get("colorbox", "loading_background.png")));
36+
37+
testFileExists(targetPath.resolve(Paths.get("images", "ui-bg_flat_0_aaaaaa_40x100.png")));
38+
testFileExists(targetPath.resolve(Paths.get("images", "ui-bg_flat_75_ffffff_40x100.png")));
39+
testFileExists(targetPath.resolve(Paths.get("images", "ui-bg_glass_55_fbf9ee_1x400.png")));
40+
testFileExists(targetPath.resolve(Paths.get("images", "ui-bg_glass_65_ffffff_1x400.png")));
41+
testFileExists(targetPath.resolve(Paths.get("images", "ui-bg_glass_75_dadada_1x400.png")));
42+
testFileExists(targetPath.resolve(Paths.get("images", "ui-bg_glass_75_e6e6e6_1x400.png")));
43+
testFileExists(targetPath.resolve(Paths.get("images", "ui-bg_glass_95_fef1ec_1x400.png")));
44+
testFileExists(targetPath.resolve(Paths.get("images", "ui-bg_highlight-soft_75_cccccc_1x100.png")));
45+
testFileExists(targetPath.resolve(Paths.get("images", "ui-icons_2e83ff_256x240.png")));
46+
testFileExists(targetPath.resolve(Paths.get("images", "ui-icons_222222_256x240.png")));
47+
testFileExists(targetPath.resolve(Paths.get("images", "ui-icons_454545_256x240.png")));
48+
testFileExists(targetPath.resolve(Paths.get("images", "ui-icons_888888_256x240.png")));
49+
testFileExists(targetPath.resolve(Paths.get("images", "ui-icons_cd0a0a_256x240.png")));
50+
51+
testFileExists(targetPath.resolve(Paths.get("application.css")));
52+
testFileExists(targetPath.resolve(Paths.get("application.js")));
53+
testFileExists(targetPath.resolve(Paths.get("favicon_green.png")));
54+
testFileExists(targetPath.resolve(Paths.get("favicon_red.png")));
55+
testFileExists(targetPath.resolve(Paths.get("favicon_yellow.png")));
56+
testFileExists(targetPath.resolve(Paths.get("loading.gif")));
57+
testFileExists(targetPath.resolve(Paths.get("magnify.png")));
58+
}
59+
catch ( Exception e ) {
60+
e.printStackTrace();
61+
throw e;
62+
}
5763

5864
}
5965

0 commit comments

Comments
 (0)

Footer

© 2026 GitHub, Inc.