equal
deleted
inserted
replaced
43 env.put(environmentVariable, value); |
43 env.put(environmentVariable, value); |
44 } |
44 } |
45 |
45 |
46 static void analyzeOutputOn(ProcessBuilder pb) throws Exception { |
46 static void analyzeOutputOn(ProcessBuilder pb) throws Exception { |
47 OutputAnalyzer output = new OutputAnalyzer(pb.start()); |
47 OutputAnalyzer output = new OutputAnalyzer(pb.start()); |
48 output.shouldContain("<a 'java/lang/RuntimeException': Test exception 1 for logging>"); |
48 output.shouldContain("<a 'java/lang/RuntimeException'").shouldContain(": Test exception 1 for logging>"); |
49 output.shouldContain(" thrown in interpreter method "); |
49 output.shouldContain(" thrown in interpreter method "); |
50 output.shouldHaveExitValue(0); |
50 output.shouldHaveExitValue(0); |
51 } |
51 } |
52 |
52 |
53 static void analyzeOutputOff(ProcessBuilder pb) throws Exception { |
53 static void analyzeOutputOff(ProcessBuilder pb) throws Exception { |