Skip to content

Commit 74edc90

Browse files
committed
Upgrade testng
1 parent 4b70642 commit 74edc90

File tree

4 files changed

+4
-8
lines changed

4 files changed

+4
-8
lines changed

.github/dependabot.yml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,7 @@ updates:
55
schedule:
66
interval: daily
77
open-pull-requests-limit: 10
8-
ignore:
9-
- dependency-name: org.testng:testng
10-
versions:
11-
- ">= 7.a"
12-
- "< 8"
8+
139
- package-ecosystem: "github-actions"
1410
directory: "/"
1511
schedule:

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -244,7 +244,7 @@
244244
<dependency>
245245
<groupId>org.testng</groupId>
246246
<artifactId>testng</artifactId>
247-
<version>6.14.3</version>
247+
<version>7.5.1</version>
248248
</dependency>
249249
<dependency>
250250
<groupId>com.jayway.restassured</groupId>

src/main/java/org/w3/ldp/testsuite/reporter/LdpEarlReporter.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -314,7 +314,7 @@ private void createExceptionProperty(Throwable thrown, Resource resource) {
314314
resource.addProperty(DCTerms.description, thrown.getMessage());
315315
else
316316
resource.addLiteral(DCTerms.description,
317-
Utils.stackTrace(thrown, false)[0]);
317+
Utils.shortStackTrace(thrown, false));
318318
}
319319

320320
private String findTestResult(String methodName) {

src/main/java/org/w3/ldp/testsuite/reporter/LdpHtmlReporter.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -650,7 +650,7 @@ private void createThrownTable(Throwable thrown) throws IOException {
650650
html.table(class_("indented"));
651651
html.tr(class_("center")).th(class_("Failed")).content("[FAILED TEST]")
652652
._tr();
653-
html.tr().td(class_("throw")).content(Utils.stackTrace(thrown, false)[0])._tr();
653+
html.tr().td(class_("throw")).content(Utils.shortStackTrace(thrown, false))._tr();
654654

655655
html._table();
656656

0 commit comments

Comments
 (0)