Regression

tests.wurstscript.tests.RealWorldExamples.test_stdlib

Schlägt fehl seit 1 Build (Seit #817 )
Dauer: 1 Minute 48 Sekunden.

Fehlermeldung

java.lang.OutOfMemoryError: Java heap space

Stacktrace

java.lang.OutOfMemoryError: Java heap space
	at java.util.Arrays.copyOfRange(Arrays.java:3664)
	at java.lang.String.<init>(String.java:207)
	at java.lang.StringBuilder.toString(StringBuilder.java:407)
	at de.peeeq.wurstio.WurstCompilerJassImpl.printDebugImProg(WurstCompilerJassImpl.java:483)
	at de.peeeq.wurstio.WurstCompilerJassImpl.transformProgToJass(WurstCompilerJassImpl.java:383)
	at tests.wurstscript.tests.WurstScriptTest.translateAndTest(WurstScriptTest.java:391)
	at tests.wurstscript.tests.WurstScriptTest.testWithLocalOptimizations(WurstScriptTest.java:291)
	at tests.wurstscript.tests.WurstScriptTest.testScript(WurstScriptTest.java:258)
	at tests.wurstscript.tests.RealWorldExamples.test_stdlib(RealWorldExamples.java:153)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:497)
	at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:124)
	at org.testng.internal.Invoker.invokeMethod(Invoker.java:571)
	at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:707)
	at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:979)
	at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:125)
	at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:109)
	at org.testng.TestRunner.privateRun(TestRunner.java:648)
	at org.testng.TestRunner.run(TestRunner.java:505)
	at org.testng.SuiteRunner.runTest(SuiteRunner.java:455)
	at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:450)
	at org.testng.SuiteRunner.privateRun(SuiteRunner.java:415)
	at org.testng.SuiteRunner.run(SuiteRunner.java:364)
	at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
	at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:84)
	at org.testng.TestNG.runSuitesSequentially(TestNG.java:1187)
	at org.testng.TestNG.runSuitesLocally(TestNG.java:1116)
	at org.testng.TestNG.runSuites(TestNG.java:1028)
	at org.testng.TestNG.run(TestNG.java:996)
	at org.gradle.api.internal.tasks.testing.testng.TestNGTestClassProcessor.runTests(TestNGTestClassProcessor.java:139)

Standard Fehler (STDERR)

Tests succeeded: 0/0
>> All tests have passed successfully!
Tests succeeded: 0/0
>> All tests have passed successfully!
Tests succeeded: 0/0
>> All tests have passed successfully!
Tests succeeded: 0/0
>> All tests have passed successfully!
Running <Angle:78 - testAngle>..
	OK!
Running <BitSet:31 - testContains>..
	OK!
Running <BitSet:45 - testAdd>..
	OK!
Running <BitSet:48 - testRemove>..
	OK!
Running <BufferTests:53 - stringBufferShortSerializationTest>..
	OK!
Running <BufferTests:75 - stringBufferLongSerializationTest>..
	OK!
Running <BufferTests:93 - stringBufferSerializableTest>..
	OK!
Running <BufferTests:117 - hashBufferTestSerialization>..
	OK!
Running <ClosureTimers:135 - testDoAfter>..
	OK!
Running <Colors:208 - testColors>..
	OK!
Running <Colors:219 - testColorNames>..
	OK!
Running <Colors:227 - testPlayerColorConversion>..
	OK!
Running <Colors:234 - testPlayerFromColorName>..
	OK!
Running <Destructable:72 - testDestructables>..
	OK!
Running <Dialog:45 - testDialog>..
	OK!
Running <Effect:91 - testEffect>..
	OK!
Running <ForceTests:8 - testForce>..
	OK!
Running <ForceTests:20 - testForForce>..
	OK!
Running <GameCacheTests:8 - testGameCache>..
	OK!
Running <GroupTests:4 - testGroupBasic>..
	OK!
Running <GroupTests:23 - testGroupForLoops>..
	OK!
Running <GroupTests:41 - testRandom>..
	OK!
Running <GroupTests:61 - testHandleId>..
	OK!
Running <GroupTests:71 - testVararg>..
	OK!
Running <HashListTests:5 - testAdd>..
	OK!
Running <HashListTests:11 - testSet>..
	OK!
Running <HashListTests:19 - testAddAll>..
	OK!
Running <HashListTests:36 - testClear>..
	OK!
Running <HashListTests:44 - testRemoveAll>..
	OK!
Running <HashListTests:52 - testRemoveAt>..
	OK!
Running <HashListTests:61 - testRemove>..
	OK!
Running <HashListTests:70 - testSize>..
	OK!
Running <HashListTests:78 - testIsEmpty>..
	OK!
Running <HashListTests:85 - testGet>..
	OK!
Running <HashListTests:92 - testHas>..
	OK!
Running <HashListTests:105 - testIterator>..
	OK!
Running <HashListTests:118 - testCopy>..
	OK!
Running <HashListTests:130 - testCopyConstructor>..
	OK!
Running <HashMapTests:5 - testHas>..
	OK!
Running <HashMapTests:12 - testPutGet>..
	OK!
Running <HashMapTests:21 - testRemove>..
	OK!
Running <HashMapTests:30 - testBooleanHashmap>..
	OK!
Running <HashMapTests:38 - testIterableMap>..
	OK!
Running <HashMapTests:60 - testIMIterator>..
	OK!
Running <HashMapTests:73 - testIMGetPut>..
	OK!
Running <HashMapTests:86 - testIMHasKeyRemove>..
	OK!
Running <HashMapTests:98 - testIMRemoveValue>..
	OK!
Running <HashMapTests:113 - testIMAddAll>..
	OK!
Running <HashMapTests:132 - testIMCopy>..
	OK!
Running <HashMapTests:144 - testIMCopyConstructor>..
	OK!
Running <HashMapTests:156 - testIMFlush>..
	OK!
Running <HashSetTests:5 - testHashSet>..
	OK!
Running <HashtableTests:4 - testBasicDatatypes>..
	OK!
Running <HashtableTests:22 - testFlushing>..
	OK!
Running <HashtableTests:36 - testOverwrite>..
	OK!
Running <HashtableTests:45 - testRemove>..
	OK!
Running <Interpolation:95 - linearVecTest>..
	OK!
Running <LinkedListModuleTests:18 - test>..
	OK!
Running <LinkedListModuleTests:35 - testDestroy>..
	OK!
Running <LinkedListTests:5 - testAddRemove>..
	OK!
Running <LinkedListTests:20 - testForLoop>..
	OK!
Running <LinkedListTests:33 - testBackIter>..
	OK!
Running <LinkedListTests:45 - testAddAll>..
	OK!
Running <LinkedListTests:61 - testAddVararg>..
	OK!
Running <LinkedListTests:78 - testClosures>..
	OK!
Running <LinkedListTests:92 - testGenerics>..
	OK!
Running <LinkedListTests:104 - testSort>..
	OK!
Running <LinkedListTests:129 - testAddAt>..
	OK!
Running <LinkedListTests:139 - testRemoveWhen>..
	OK!
Running <LinkedListTests:147 - testFilter>..
	OK!
Running <LinkedListTests:155 - testFoldl>..
	OK!
Running <LinkedListTests:162 - testToString>..
	OK!
Running <LinkedListTests:169 - testSortReal>..
	OK!
Running <LinkedListTests:177 - testAsList>..
	OK!
Running <MapBounds:63 - testMapBounds>..
	OK!
Running <Maths:140 - minmax>..
	OK!
Running <Maths:149 - test_hypot>..
	OK!
Running <ObjectIds:50 - test_idString2IdInteger>..
	OK!
Running <ObjectIds:55 - test_idInteger2IdString>..
	OK!
Running <ObjectIds:76 - asListIntTest>..
	OK!
Running <ObjectIds:83 - asListStringTest>..
	OK!
Running <Player:149 - testPlayer>..
	OK!
Running <Playercolor:69 - testToInt>..
	OK!
Running <Playercolor:73 - testToPlayerColor>..
	OK!
Running <Playercolor:77 - testGetPlayer>..
	OK!
Running <Playercolor:81 - testGetPlayers>..
	OK!
Running <PrimitivesTests:4 - testR2SW>..
	OK!
Running <PrimitivesTests:9 - testArithmetics>..
	OK!
Running <PrimitivesTests:20 - testMisc>..
	OK!
Running <StringTests:4 - testToCharsetInt>..
	OK!
Running <StringTests:10 - testSubstring>..
	OK!
Running <StringTests:14 - testLength>..
	OK!
Running <StringTests:17 - testCharAt>..
	OK!
Running <StringTests:22 - testEndsWith>..
	OK!
Running <StringTests:28 - testStartsWith>..
	OK!
Running <StringTests:34 - testToLowerCase>..
	OK!
Running <StringTests:37 - testToUpperCase>..
	OK!
Running <StringTests:40 - testIsUpper>..
	OK!
Running <StringTests:44 - testTrim>..
	OK!
Running <StringTests:77 - testIndexOf>..
	OK!
Running <StringTests:83 - testLastIndexOf>..
	OK!
Running <StringTests:88 - testCountOccurences>..
	OK!
Running <StringTests:93 - testContains>..
	OK!
Running <StringTests:97 - testIsWhitespace>..
	OK!
Running <StringTests:104 - testFirstUpper>..
	OK!
Running <StringTests:108 - testReplace>..
	OK!
Running <StringTests:112 - testGetHash>..
	OK!
Running <StringTests:115 - testFormat>..
	OK!
Running <StringTests:121 - testIterator>..
	OK!
Running <StringTests:127 - testConversion>..
	OK!
Running <StringUtilsTests:6 - testSplit>..
	OK!
Running <StringUtilsTests:25 - testJoin>..
	OK!
Running <StringUtilsTests:34 - testReduce>..
	OK!
Running <Vectors:360 - vectorTests>..
	OK!
Tests succeeded: 114/114
>> All tests have passed successfully!
Tests succeeded: 0/0
>> All tests have passed successfully!
Running <Angle:78 - testAngle>..
	OK!
Running <BitSet:31 - testContains>..
	OK!
Running <BitSet:45 - testAdd>..
	OK!
Running <BitSet:48 - testRemove>..
	OK!
Running <BufferTests:53 - stringBufferShortSerializationTest>..
	OK!
Running <BufferTests:75 - stringBufferLongSerializationTest>..
	OK!
Running <BufferTests:93 - stringBufferSerializableTest>..
	OK!
Running <BufferTests:117 - hashBufferTestSerialization>..
	OK!
Running <ClosureTimers:135 - testDoAfter>..
	OK!
Running <Colors:208 - testColors>..
	OK!
Running <Colors:219 - testColorNames>..
	OK!
Running <Colors:227 - testPlayerColorConversion>..
	OK!
Running <Colors:234 - testPlayerFromColorName>..
	OK!
Running <Destructable:72 - testDestructables>..
	OK!
Running <Dialog:45 - testDialog>..
	OK!
Running <Effect:91 - testEffect>..
	OK!
Running <ForceTests:8 - testForce>..
	OK!
Running <ForceTests:20 - testForForce>..
	OK!
Running <GameCacheTests:8 - testGameCache>..
	OK!
Running <GroupTests:4 - testGroupBasic>..
	OK!
Running <GroupTests:23 - testGroupForLoops>..
	OK!
Running <GroupTests:41 - testRandom>..
	OK!
Running <GroupTests:61 - testHandleId>..
	OK!
Running <GroupTests:71 - testVararg>..
	OK!
Running <HashListTests:5 - testAdd>..
	OK!
Running <HashListTests:11 - testSet>..
	OK!
Running <HashListTests:19 - testAddAll>..
	OK!
Running <HashListTests:36 - testClear>..
	OK!
Running <HashListTests:44 - testRemoveAll>..
	OK!
Running <HashListTests:52 - testRemoveAt>..
	OK!
Running <HashListTests:61 - testRemove>..
	OK!
Running <HashListTests:70 - testSize>..
	OK!
Running <HashListTests:78 - testIsEmpty>..
	OK!
Running <HashListTests:85 - testGet>..
	OK!
Running <HashListTests:92 - testHas>..
	OK!
Running <HashListTests:105 - testIterator>..
	OK!
Running <HashListTests:118 - testCopy>..
	OK!
Running <HashListTests:130 - testCopyConstructor>..
	OK!
Running <HashMapTests:5 - testHas>..
	OK!
Running <HashMapTests:12 - testPutGet>..
	OK!
Running <HashMapTests:21 - testRemove>..
	OK!
Running <HashMapTests:30 - testBooleanHashmap>..
	OK!
Running <HashMapTests:38 - testIterableMap>..
	OK!
Running <HashMapTests:60 - testIMIterator>..
	OK!
Running <HashMapTests:73 - testIMGetPut>..
	OK!
Running <HashMapTests:86 - testIMHasKeyRemove>..
	OK!
Running <HashMapTests:98 - testIMRemoveValue>..
	OK!
Running <HashMapTests:113 - testIMAddAll>..
	OK!
Running <HashMapTests:132 - testIMCopy>..
	OK!
Running <HashMapTests:144 - testIMCopyConstructor>..
	OK!
Running <HashMapTests:156 - testIMFlush>..
	OK!
Running <HashSetTests:5 - testHashSet>..
	OK!
Running <HashtableTests:4 - testBasicDatatypes>..
	OK!
Running <HashtableTests:22 - testFlushing>..
	OK!
Running <HashtableTests:36 - testOverwrite>..
	OK!
Running <HashtableTests:45 - testRemove>..
	OK!
Running <Interpolation:95 - linearVecTest>..
	OK!
Running <LinkedListModuleTests:18 - test>..
	OK!
Running <LinkedListModuleTests:35 - testDestroy>..
	OK!
Running <LinkedListTests:5 - testAddRemove>..
	OK!
Running <LinkedListTests:20 - testForLoop>..
	OK!
Running <LinkedListTests:33 - testBackIter>..
	OK!
Running <LinkedListTests:45 - testAddAll>..
	OK!
Running <LinkedListTests:61 - testAddVararg>..
	OK!
Running <LinkedListTests:78 - testClosures>..
	OK!
Running <LinkedListTests:92 - testGenerics>..
	OK!
Running <LinkedListTests:104 - testSort>..
	OK!
Running <LinkedListTests:129 - testAddAt>..
	OK!
Running <LinkedListTests:139 - testRemoveWhen>..
	OK!
Running <LinkedListTests:147 - testFilter>..
	OK!
Running <LinkedListTests:155 - testFoldl>..
	OK!
Running <LinkedListTests:162 - testToString>..
	OK!
Running <LinkedListTests:169 - testSortReal>..
	OK!
Running <LinkedListTests:177 - testAsList>..
	OK!
Running <MapBounds:63 - testMapBounds>..
	OK!
Running <Maths:140 - minmax>..
	OK!
Running <Maths:149 - test_hypot>..
	OK!
Running <ObjectIds:50 - test_idString2IdInteger>..
	OK!
Running <ObjectIds:55 - test_idInteger2IdString>..
	OK!
Running <ObjectIds:76 - asListIntTest>..
	OK!
Running <ObjectIds:83 - asListStringTest>..
	OK!
Running <Player:149 - testPlayer>..
	OK!
Running <Playercolor:69 - testToInt>..
	OK!
Running <Playercolor:73 - testToPlayerColor>..
	OK!
Running <Playercolor:77 - testGetPlayer>..
	OK!
Running <Playercolor:81 - testGetPlayers>..
	OK!
Running <PrimitivesTests:4 - testR2SW>..
	OK!
Running <PrimitivesTests:9 - testArithmetics>..
	OK!
Running <PrimitivesTests:20 - testMisc>..
	OK!
Running <StringTests:4 - testToCharsetInt>..
	OK!
Running <StringTests:10 - testSubstring>..
	OK!
Running <StringTests:14 - testLength>..
	OK!
Running <StringTests:17 - testCharAt>..
	OK!
Running <StringTests:22 - testEndsWith>..
	OK!
Running <StringTests:28 - testStartsWith>..
	OK!
Running <StringTests:34 - testToLowerCase>..
	OK!
Running <StringTests:37 - testToUpperCase>..
	OK!
Running <StringTests:40 - testIsUpper>..
	OK!
Running <StringTests:44 - testTrim>..
	OK!
Running <StringTests:77 - testIndexOf>..
	OK!
Running <StringTests:83 - testLastIndexOf>..
	OK!
Running <StringTests:88 - testCountOccurences>..
	OK!
Running <StringTests:93 - testContains>..
	OK!
Running <StringTests:97 - testIsWhitespace>..
	OK!
Running <StringTests:104 - testFirstUpper>..
	OK!
Running <StringTests:108 - testReplace>..
	OK!
Running <StringTests:112 - testGetHash>..
	OK!
Running <StringTests:115 - testFormat>..
	OK!
Running <StringTests:121 - testIterator>..
	OK!
Running <StringTests:127 - testConversion>..
	OK!
Running <StringUtilsTests:6 - testSplit>..
	OK!
Running <StringUtilsTests:25 - testJoin>..
	OK!
Running <StringUtilsTests:34 - testReduce>..
	OK!
Running <Vectors:360 - vectorTests>..
	OK!
Tests succeeded: 114/114
>> All tests have passed successfully!