< prev index next >
test/gc/g1/TestStringSymbolTableStats.java
Print this page
*** 44,54 ****
OutputAnalyzer output = new OutputAnalyzer(pb.start());
System.out.println("Output:\n" + output.getOutput());
! output.shouldContain("Cleaned string and symbol table");
output.shouldHaveExitValue(0);
}
static class SystemGCTest {
public static void main(String [] args) {
--- 44,54 ----
OutputAnalyzer output = new OutputAnalyzer(pb.start());
System.out.println("Output:\n" + output.getOutput());
! output.shouldMatch("GC\\(\\d+\\) Cleaned string and symbol table");
output.shouldHaveExitValue(0);
}
static class SystemGCTest {
public static void main(String [] args) {
< prev index next >