Java Code Examples for com.oracle.java.testlibrary.OutputAnalyzer#shouldMatch()
The following examples show how to use
com.oracle.java.testlibrary.OutputAnalyzer#shouldMatch() .
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: TestCMSClassUnloadingEnabledHWM.java From hottub with GNU General Public License v2.0 | 5 votes |
public static void testWithCMSClassUnloading() throws Exception { // -XX:+CMSClassUnloadingEnabled is used, so we expect a concurrent cycle instead of a full GC. OutputAnalyzer out = runWithCMSClassUnloading(); out.shouldMatch(".*CMS Initial Mark.*"); out.shouldNotMatch(".*Full GC.*"); }
Example 2
Source File: TestG1ClassUnloadingHWM.java From openjdk-jdk8u-backup with GNU General Public License v2.0 | 5 votes |
public static void testWithG1ClassUnloading() throws Exception { // -XX:+ClassUnloadingWithConcurrentMark is used, so we expect a concurrent cycle instead of a full GC. OutputAnalyzer out = runWithG1ClassUnloading(); out.shouldMatch(".*initial-mark.*"); out.shouldNotMatch(".*Full GC.*"); }
Example 3
Source File: TestG1ClassUnloadingHWM.java From openjdk-jdk8u-backup with GNU General Public License v2.0 | 5 votes |
public static void testWithoutG1ClassUnloading() throws Exception { // -XX:-ClassUnloadingWithConcurrentMark is used, so we expect a full GC instead of a concurrent cycle. OutputAnalyzer out = runWithoutG1ClassUnloading(); out.shouldMatch(".*Full GC.*"); out.shouldNotMatch(".*initial-mark.*"); }
Example 4
Source File: TestCMSClassUnloadingEnabledHWM.java From openjdk-jdk8u-backup with GNU General Public License v2.0 | 5 votes |
public static void testWithCMSClassUnloading() throws Exception { // -XX:+CMSClassUnloadingEnabled is used, so we expect a concurrent cycle instead of a full GC. OutputAnalyzer out = runWithCMSClassUnloading(); out.shouldMatch(".*CMS Initial Mark.*"); out.shouldNotMatch(".*Full GC.*"); }
Example 5
Source File: TestCMSClassUnloadingEnabledHWM.java From openjdk-jdk8u-backup with GNU General Public License v2.0 | 5 votes |
public static void testWithoutCMSClassUnloading() throws Exception { // -XX:-CMSClassUnloadingEnabled is used, so we expect a full GC instead of a concurrent cycle. OutputAnalyzer out = runWithoutCMSClassUnloading(); out.shouldMatch(".*Full GC.*"); out.shouldNotMatch(".*CMS Initial Mark.*"); }
Example 6
Source File: TestG1ClassUnloadingHWM.java From openjdk-jdk8u with GNU General Public License v2.0 | 5 votes |
public static void testWithG1ClassUnloading() throws Exception { // -XX:+ClassUnloadingWithConcurrentMark is used, so we expect a concurrent cycle instead of a full GC. OutputAnalyzer out = runWithG1ClassUnloading(); out.shouldMatch(".*initial-mark.*"); out.shouldNotMatch(".*Full GC.*"); }
Example 7
Source File: TestG1ClassUnloadingHWM.java From openjdk-jdk8u with GNU General Public License v2.0 | 5 votes |
public static void testWithoutG1ClassUnloading() throws Exception { // -XX:-ClassUnloadingWithConcurrentMark is used, so we expect a full GC instead of a concurrent cycle. OutputAnalyzer out = runWithoutG1ClassUnloading(); out.shouldMatch(".*Full GC.*"); out.shouldNotMatch(".*initial-mark.*"); }
Example 8
Source File: TestCMSClassUnloadingEnabledHWM.java From openjdk-jdk8u with GNU General Public License v2.0 | 5 votes |
public static void testWithCMSClassUnloading() throws Exception { // -XX:+CMSClassUnloadingEnabled is used, so we expect a concurrent cycle instead of a full GC. OutputAnalyzer out = runWithCMSClassUnloading(); out.shouldMatch(".*CMS Initial Mark.*"); out.shouldNotMatch(".*Full GC.*"); }
Example 9
Source File: TestCMSClassUnloadingEnabledHWM.java From openjdk-jdk8u with GNU General Public License v2.0 | 5 votes |
public static void testWithoutCMSClassUnloading() throws Exception { // -XX:-CMSClassUnloadingEnabled is used, so we expect a full GC instead of a concurrent cycle. OutputAnalyzer out = runWithoutCMSClassUnloading(); out.shouldMatch(".*Full GC.*"); out.shouldNotMatch(".*CMS Initial Mark.*"); }
Example 10
Source File: TestG1ClassUnloadingHWM.java From jdk8u60 with GNU General Public License v2.0 | 5 votes |
public static void testWithG1ClassUnloading() throws Exception { // -XX:+ClassUnloadingWithConcurrentMark is used, so we expect a concurrent cycle instead of a full GC. OutputAnalyzer out = runWithG1ClassUnloading(); out.shouldMatch(".*initial-mark.*"); out.shouldNotMatch(".*Full GC.*"); }
Example 11
Source File: TestCMSClassUnloadingEnabledHWM.java From hottub with GNU General Public License v2.0 | 5 votes |
public static void testWithoutCMSClassUnloading() throws Exception { // -XX:-CMSClassUnloadingEnabled is used, so we expect a full GC instead of a concurrent cycle. OutputAnalyzer out = runWithoutCMSClassUnloading(); out.shouldMatch(".*Full GC.*"); out.shouldNotMatch(".*CMS Initial Mark.*"); }
Example 12
Source File: TestG1ClassUnloadingHWM.java From hottub with GNU General Public License v2.0 | 5 votes |
public static void testWithoutG1ClassUnloading() throws Exception { // -XX:-ClassUnloadingWithConcurrentMark is used, so we expect a full GC instead of a concurrent cycle. OutputAnalyzer out = runWithoutG1ClassUnloading(); out.shouldMatch(".*Full GC.*"); out.shouldNotMatch(".*initial-mark.*"); }
Example 13
Source File: TestCMSClassUnloadingEnabledHWM.java From jdk8u60 with GNU General Public License v2.0 | 5 votes |
public static void testWithoutCMSClassUnloading() throws Exception { // -XX:-CMSClassUnloadingEnabled is used, so we expect a full GC instead of a concurrent cycle. OutputAnalyzer out = runWithoutCMSClassUnloading(); out.shouldMatch(".*Full GC.*"); out.shouldNotMatch(".*CMS Initial Mark.*"); }
Example 14
Source File: TestG1ClassUnloadingHWM.java From hottub with GNU General Public License v2.0 | 5 votes |
public static void testWithG1ClassUnloading() throws Exception { // -XX:+ClassUnloadingWithConcurrentMark is used, so we expect a concurrent cycle instead of a full GC. OutputAnalyzer out = runWithG1ClassUnloading(); out.shouldMatch(".*initial-mark.*"); out.shouldNotMatch(".*Full GC.*"); }
Example 15
Source File: TestCMSClassUnloadingEnabledHWM.java From TencentKona-8 with GNU General Public License v2.0 | 5 votes |
public static void testWithCMSClassUnloading() throws Exception { // -XX:+CMSClassUnloadingEnabled is used, so we expect a concurrent cycle instead of a full GC. OutputAnalyzer out = runWithCMSClassUnloading(); out.shouldMatch(".*CMS Initial Mark.*"); out.shouldNotMatch(".*Full GC.*"); }
Example 16
Source File: TestCMSClassUnloadingEnabledHWM.java From TencentKona-8 with GNU General Public License v2.0 | 5 votes |
public static void testWithoutCMSClassUnloading() throws Exception { // -XX:-CMSClassUnloadingEnabled is used, so we expect a full GC instead of a concurrent cycle. OutputAnalyzer out = runWithoutCMSClassUnloading(); out.shouldMatch(".*Full GC.*"); out.shouldNotMatch(".*CMS Initial Mark.*"); }
Example 17
Source File: TestGCId.java From TencentKona-8 with GNU General Public License v2.0 | 4 votes |
private static void verifyContainsGCIDs(OutputAnalyzer output) { output.shouldMatch("^#0: \\["); output.shouldMatch("^#1: \\["); output.shouldHaveExitValue(0); }
Example 18
Source File: TestGCId.java From jdk8u60 with GNU General Public License v2.0 | 4 votes |
private static void verifyContainsGCIDs(OutputAnalyzer output) { output.shouldMatch("^#0: \\["); output.shouldMatch("^#1: \\["); output.shouldHaveExitValue(0); }
Example 19
Source File: TestGCId.java From openjdk-jdk8u-backup with GNU General Public License v2.0 | 4 votes |
private static void verifyContainsGCIDs(OutputAnalyzer output) { output.shouldMatch("^#0: \\["); output.shouldMatch("^#1: \\["); output.shouldHaveExitValue(0); }
Example 20
Source File: TestGCId.java From hottub with GNU General Public License v2.0 | 4 votes |
private static void verifyContainsGCIDs(OutputAnalyzer output) { output.shouldMatch("^#0: \\["); output.shouldMatch("^#1: \\["); output.shouldHaveExitValue(0); }