test/jdk/jdk/jfr/jcmd/JcmdAsserts.java
changeset 50745 a390cbb82d47
parent 50226 408021edf22f
equal deleted inserted replaced
50744:6c306d54366d 50745:a390cbb82d47
    45 
    45 
    46     public static void assertJfrUsed(OutputAnalyzer output) {
    46     public static void assertJfrUsed(OutputAnalyzer output) {
    47         output.shouldMatch("Flight Recorder has been used");
    47         output.shouldMatch("Flight Recorder has been used");
    48     }
    48     }
    49 
    49 
    50     public static void assertRecordingDumpedToFile(OutputAnalyzer output, String name, File recording) {
    50     public static void assertRecordingDumpedToFile(OutputAnalyzer output, File recording) {
    51         output.shouldContain("Dumped recording");
    51         output.shouldContain("Dumped recording");
    52         output.shouldContain(recording.getAbsolutePath());
    52         output.shouldContain(recording.getAbsolutePath());
    53     }
    53     }
    54 
    54 
    55     public static void assertNotAbleToWriteToFile(OutputAnalyzer output) {
    55     public static void assertNotAbleToWriteToFile(OutputAnalyzer output) {