feature test #398
9 tests run, 7 passed, 1 skipped, 1 failed.
Annotations
Check notice on line 1 in FunctionalTest
github-actions / JUnit Test Report
FunctionalTest.setupCleanTestRepo()
setupCleanTestRepo()
Check notice on line 1 in FunctionalTest
github-actions / JUnit Test Report
FunctionalTest.test full vanilla project(Path)
test full vanilla project(Path)
Check notice on line 1 in FunctionalTest
github-actions / JUnit Test Report
FunctionalTest.test simple test project(Path)
test simple test project(Path)
Check notice on line 1 in ApplyAccessTransformTest
github-actions / JUnit Test Report
ApplyAccessTransformTest.should apply access transform(Path)
should apply access transform(Path)
Check notice on line 1 in ApplyFilePatchesTest
github-actions / JUnit Test Report
ApplyFilePatchesTest.should apply patches(Path)
should apply patches(Path)
Check notice on line 1 in ApplySourceATTest
github-actions / JUnit Test Report
ApplySourceATTest.should apply source access transformers(Path)
should apply source access transformers(Path)
github-actions / JUnit Test Report
RebuildFilePatchesTest.should rebuild patches(Path)
org.opentest4j.AssertionFailedError: File /tmp/junit11696036858394379600/source/Test.java doesn't match expected ==> expected: <public class Test {
public int dum;
public String test;
public Test(String test) {
this.test = test;
}
private final String getTest() {
return test + "Test"; // Test
}
}
> but was: <public class Test {
public int dum;
public String test;// Paper-AT: public-f test
public Test(String test) {
this.test = test;
}
private final String getTest() {// Paper-AT: private+f getTest()Ljava/lang/String;
return test + "Test"; // Test
}
}
>
Raw output
org.opentest4j.AssertionFailedError: File /tmp/junit11696036858394379600/source/Test.java doesn't match expected ==> expected: <public class Test {
public int dum;
public String test;
public Test(String test) {
this.test = test;
}
private final String getTest() {
return test + "Test"; // Test
}
}
> but was: <public class Test {
public int dum;
public String test;// Paper-AT: public-f test
public Test(String test) {
this.test = test;
}
private final String getTest() {// Paper-AT: private+f getTest()Ljava/lang/String;
return test + "Test"; // Test
}
}
>
at app//org.junit.jupiter.api.AssertionFailureBuilder.build(AssertionFailureBuilder.java:151)
at app//org.junit.jupiter.api.AssertionFailureBuilder.buildAndThrow(AssertionFailureBuilder.java:132)
at app//org.junit.jupiter.api.AssertEquals.failNotEqual(AssertEquals.java:197)
at app//org.junit.jupiter.api.AssertEquals.assertEquals(AssertEquals.java:182)
at app//org.junit.jupiter.api.Assertions.assertEquals(Assertions.java:1156)
at app//io.papermc.paperweight.tasks.TaskTest.compareFile(TaskTest.kt:102)
at app//io.papermc.paperweight.tasks.TaskTest.compareDir(TaskTest.kt:67)
at app//io.papermc.paperweight.tasks.softspoon.RebuildFilePatchesTest.should rebuild patches(RebuildFilePatchesTest.kt:64)
at java.base@17.0.12/java.lang.reflect.Method.invoke(Method.java:569)
at java.base@17.0.12/java.util.ArrayList.forEach(ArrayList.java:1511)
at java.base@17.0.12/java.util.ArrayList.forEach(ArrayList.java:1511)
Check notice on line 1 in ATTest
github-actions / JUnit Test Report
ATTest.testATFromString()
testATFromString()
Check notice on line 1 in FileUtilsTest
github-actions / JUnit Test Report
FileUtilsTest.testContentEquals(Path)
testContentEquals(Path)