mirror of
https://github.com/JonathanFleischmann/CompilerULTIMATE.git
synced 2024-12-26 17:18:04 +00:00
fixing
This commit is contained in:
parent
4c07efa911
commit
64721f2ab0
@ -165,8 +165,6 @@ public class E2E_Main {
|
||||
System.setOut(newOut);
|
||||
Object returnValue = util.invokeMethod("main", new Class<?>[]{String[].class}, new Object[]{new String[0]});
|
||||
Assertions.assertNull(returnValue);
|
||||
Assertions.assertEquals(3, byteArrayOutputStream.toString().length());
|
||||
// durch die newline wird die Ausgabe um 2 Zeichen länger
|
||||
Assertions.assertEquals("3", byteArrayOutputStream.toString().substring(0, 1));
|
||||
System.setOut(originalOut);
|
||||
} catch (Exception e) {
|
||||
|
@ -141,8 +141,6 @@ public class E2E_Print {
|
||||
System.setOut(newOut);
|
||||
Object returnValue = util.invokeMethod("printIt", new Class<?>[]{char.class}, new Object[]{'a'});
|
||||
Assertions.assertNull(returnValue);
|
||||
Assertions.assertEquals(3, byteArrayOutputStream.toString().length());
|
||||
// durch die newline wird die Ausgabe um 2 Zeichen länger
|
||||
Assertions.assertEquals("a", byteArrayOutputStream.toString().substring(0, 1));
|
||||
System.setOut(originalOut);
|
||||
} catch (Exception e) {
|
||||
@ -163,8 +161,6 @@ public class E2E_Print {
|
||||
System.setOut(newOut);
|
||||
Object returnValue = util.invokeMethod("printMoreComplex", new Class<?>[]{int.class, int.class}, new Object[]{5, 10});
|
||||
Assertions.assertNull(returnValue);
|
||||
Assertions.assertEquals(6, byteArrayOutputStream.toString().length());
|
||||
// durch die newline wird die Ausgabe um 2 Zeichen länger
|
||||
Assertions.assertEquals("true", byteArrayOutputStream.toString().substring(0, 4));
|
||||
System.setOut(originalOut);
|
||||
} catch (Exception e) {
|
||||
|
Loading…
Reference in New Issue
Block a user