com.oracle.java.testlibrary.cli.predicate.AndPredicate Java Examples
The following examples show how to use
com.oracle.java.testlibrary.cli.predicate.AndPredicate.
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: TestRTMTotalCountIncrRateOptionOnUnsupportedConfig.java From openjdk-jdk8u with GNU General Public License v2.0 | 5 votes |
private TestRTMTotalCountIncrRateOptionOnUnsupportedConfig() { super(new NotPredicate(new AndPredicate(new SupportedCPU(), new SupportedVM())), "RTMTotalCountIncrRate", false, true, TestRTMTotalCountIncrRateOptionOnUnsupportedConfig .DEFAULT_VALUE, "-1", "0", "42", "128"); }
Example #2
Source File: TestRTMAbortRatioOptionOnUnsupportedConfig.java From TencentKona-8 with GNU General Public License v2.0 | 5 votes |
private TestRTMAbortRatioOptionOnUnsupportedConfig() { super(new NotPredicate(new AndPredicate(new SupportedVM(), new SupportedCPU())), "RTMAbortRatio", false, true, TestRTMAbortRatioOptionOnUnsupportedConfig.DEFAULT_VALUE, "0", "10", "100", "200"); }
Example #3
Source File: TestRTMTotalCountIncrRateOptionOnUnsupportedConfig.java From TencentKona-8 with GNU General Public License v2.0 | 5 votes |
private TestRTMTotalCountIncrRateOptionOnUnsupportedConfig() { super(new NotPredicate(new AndPredicate(new SupportedCPU(), new SupportedVM())), "RTMTotalCountIncrRate", false, true, TestRTMTotalCountIncrRateOptionOnUnsupportedConfig .DEFAULT_VALUE, "-1", "0", "42", "128"); }
Example #4
Source File: UseSHAIntrinsicsSpecificTestCaseForUnsupportedSparcCPU.java From openjdk-jdk8u with GNU General Public License v2.0 | 5 votes |
public UseSHAIntrinsicsSpecificTestCaseForUnsupportedSparcCPU( String optionName) { // execute test case on SPARC CPU that support any sha* instructions, // but does not support sha* instruction required by the tested option. super(optionName, new AndPredicate(Platform::isSparc, new AndPredicate( IntrinsicPredicates.ANY_SHA_INSTRUCTION_AVAILABLE, new NotPredicate(SHAOptionsBase.getPredicateForOption( optionName))))); }
Example #5
Source File: TestUseRTMForStackLocksOptionOnUnsupportedConfig.java From jdk8u60 with GNU General Public License v2.0 | 5 votes |
private TestUseRTMForStackLocksOptionOnUnsupportedConfig() { super(new NotPredicate(new AndPredicate(new SupportedCPU(), new SupportedVM())), "UseRTMForStackLocks", true, true, TestUseRTMForStackLocksOptionOnUnsupportedConfig.DEFAULT_VALUE, "true"); }
Example #6
Source File: TestRTMTotalCountIncrRateOptionOnUnsupportedConfig.java From jdk8u60 with GNU General Public License v2.0 | 5 votes |
private TestRTMTotalCountIncrRateOptionOnUnsupportedConfig() { super(new NotPredicate(new AndPredicate(new SupportedCPU(), new SupportedVM())), "RTMTotalCountIncrRate", false, true, TestRTMTotalCountIncrRateOptionOnUnsupportedConfig .DEFAULT_VALUE, "-1", "0", "42", "128"); }
Example #7
Source File: TestRTMAbortRatioOptionOnUnsupportedConfig.java From jdk8u60 with GNU General Public License v2.0 | 5 votes |
private TestRTMAbortRatioOptionOnUnsupportedConfig() { super(new NotPredicate(new AndPredicate(new SupportedVM(), new SupportedCPU())), "RTMAbortRatio", false, true, TestRTMAbortRatioOptionOnUnsupportedConfig.DEFAULT_VALUE, "0", "10", "100", "200"); }
Example #8
Source File: UseSHASpecificTestCaseForSupportedSparcCPU.java From TencentKona-8 with GNU General Public License v2.0 | 5 votes |
public UseSHASpecificTestCaseForSupportedSparcCPU(String optionName) { super(SHAOptionsBase.USE_SHA_OPTION, new AndPredicate(Platform::isSparc, IntrinsicPredicates.ANY_SHA_INSTRUCTION_AVAILABLE)); Asserts.assertEQ(optionName, SHAOptionsBase.USE_SHA_OPTION, "Test case should be used for " + SHAOptionsBase.USE_SHA_OPTION + " option only."); }
Example #9
Source File: TestRTMAbortRatioOptionOnUnsupportedConfig.java From openjdk-jdk8u with GNU General Public License v2.0 | 5 votes |
private TestRTMAbortRatioOptionOnUnsupportedConfig() { super(new NotPredicate(new AndPredicate(new SupportedVM(), new SupportedCPU())), "RTMAbortRatio", false, true, TestRTMAbortRatioOptionOnUnsupportedConfig.DEFAULT_VALUE, "0", "10", "100", "200"); }
Example #10
Source File: UseSHASpecificTestCaseForSupportedSparcCPU.java From jdk8u60 with GNU General Public License v2.0 | 5 votes |
public UseSHASpecificTestCaseForSupportedSparcCPU(String optionName) { super(SHAOptionsBase.USE_SHA_OPTION, new AndPredicate(Platform::isSparc, IntrinsicPredicates.ANY_SHA_INSTRUCTION_AVAILABLE)); Asserts.assertEQ(optionName, SHAOptionsBase.USE_SHA_OPTION, "Test case should be used for " + SHAOptionsBase.USE_SHA_OPTION + " option only."); }
Example #11
Source File: UseSHAIntrinsicsSpecificTestCaseForUnsupportedSparcCPU.java From jdk8u60 with GNU General Public License v2.0 | 5 votes |
public UseSHAIntrinsicsSpecificTestCaseForUnsupportedSparcCPU( String optionName) { // execute test case on SPARC CPU that support any sha* instructions, // but does not support sha* instruction required by the tested option. super(optionName, new AndPredicate(Platform::isSparc, new AndPredicate( IntrinsicPredicates.ANY_SHA_INSTRUCTION_AVAILABLE, new NotPredicate(SHAOptionsBase.getPredicateForOption( optionName))))); }
Example #12
Source File: UseSHASpecificTestCaseForUnsupportedSparcCPU.java From TencentKona-8 with GNU General Public License v2.0 | 5 votes |
public UseSHASpecificTestCaseForUnsupportedSparcCPU(String optionName) { super(SHAOptionsBase.USE_SHA_OPTION, new AndPredicate(Platform::isSparc, new NotPredicate( IntrinsicPredicates.ANY_SHA_INSTRUCTION_AVAILABLE))); Asserts.assertEQ(optionName, SHAOptionsBase.USE_SHA_OPTION, "Test case should be used for " + SHAOptionsBase.USE_SHA_OPTION + " option only."); }
Example #13
Source File: UseSHASpecificTestCaseForUnsupportedSparcCPU.java From openjdk-jdk8u with GNU General Public License v2.0 | 5 votes |
public UseSHASpecificTestCaseForUnsupportedSparcCPU(String optionName) { super(SHAOptionsBase.USE_SHA_OPTION, new AndPredicate(Platform::isSparc, new NotPredicate( IntrinsicPredicates.ANY_SHA_INSTRUCTION_AVAILABLE))); Asserts.assertEQ(optionName, SHAOptionsBase.USE_SHA_OPTION, "Test case should be used for " + SHAOptionsBase.USE_SHA_OPTION + " option only."); }
Example #14
Source File: TestUseRTMXendForLockBusy.java From jdk8u60 with GNU General Public License v2.0 | 4 votes |
private TestUseRTMXendForLockBusy() { super(new AndPredicate(new SupportedVM(), new SupportedCPU())); }
Example #15
Source File: GenericTestCaseForSupportedSparcCPU.java From openjdk-jdk8u with GNU General Public License v2.0 | 4 votes |
public GenericTestCaseForSupportedSparcCPU(String optionName) { super(optionName, new AndPredicate(Platform::isSparc, SHAOptionsBase.getPredicateForOption(optionName))); }
Example #16
Source File: TestUseRTMLockElidingOption.java From openjdk-jdk8u with GNU General Public License v2.0 | 4 votes |
private TestUseRTMLockElidingOption() { super(new AndPredicate(new SupportedCPU(), new SupportedVM())); }
Example #17
Source File: TestNoRTMLockElidingOption.java From openjdk-jdk8u with GNU General Public License v2.0 | 4 votes |
private TestNoRTMLockElidingOption() { super(new AndPredicate(new SupportedCPU(), new SupportedVM())); }
Example #18
Source File: TestPrintPreciseRTMLockingStatistics.java From openjdk-jdk8u with GNU General Public License v2.0 | 4 votes |
private TestPrintPreciseRTMLockingStatistics() { super(new AndPredicate(new SupportedCPU(), new SupportedVM())); }
Example #19
Source File: TestRTMAbortThreshold.java From jdk8u60 with GNU General Public License v2.0 | 4 votes |
private TestRTMAbortThreshold() { super(new AndPredicate(new SupportedCPU(), new SupportedVM())); }
Example #20
Source File: TestRTMRetryCount.java From jdk8u60 with GNU General Public License v2.0 | 4 votes |
private TestRTMRetryCount() { super(new AndPredicate(new SupportedCPU(), new SupportedVM())); }
Example #21
Source File: TestUseRTMXendForLockBusy.java From openjdk-jdk8u with GNU General Public License v2.0 | 4 votes |
private TestUseRTMXendForLockBusy() { super(new AndPredicate(new SupportedVM(), new SupportedCPU())); }
Example #22
Source File: TestRTMDeoptOnHighAbortRatio.java From jdk8u60 with GNU General Public License v2.0 | 4 votes |
private TestRTMDeoptOnHighAbortRatio() { super(new AndPredicate(new SupportedCPU(), new SupportedVM())); }
Example #23
Source File: TestRTMTotalCountIncrRate.java From jdk8u60 with GNU General Public License v2.0 | 4 votes |
private TestRTMTotalCountIncrRate() { super(new AndPredicate(new SupportedCPU(), new SupportedVM())); }
Example #24
Source File: TestRTMDeoptOnLowAbortRatio.java From jdk8u60 with GNU General Public License v2.0 | 4 votes |
private TestRTMDeoptOnLowAbortRatio() { super(new AndPredicate(new SupportedCPU(), new SupportedVM())); }
Example #25
Source File: TestUseRTMAfterLockInflation.java From jdk8u60 with GNU General Public License v2.0 | 4 votes |
private TestUseRTMAfterLockInflation() { super(new AndPredicate(new SupportedVM(), new SupportedCPU())); }
Example #26
Source File: TestPrintPreciseRTMLockingStatisticsOptionOnSupportedConfig.java From openjdk-jdk8u with GNU General Public License v2.0 | 4 votes |
private TestPrintPreciseRTMLockingStatisticsOptionOnSupportedConfig() { super(new AndPredicate(new SupportedVM(), new SupportedCPU())); }
Example #27
Source File: TestUseRTMForInflatedLocks.java From jdk8u60 with GNU General Public License v2.0 | 4 votes |
private TestUseRTMForInflatedLocks() { super(new AndPredicate(new SupportedCPU(), new SupportedVM())); }
Example #28
Source File: TestRTMLockingCalculationDelay.java From jdk8u60 with GNU General Public License v2.0 | 4 votes |
private TestRTMLockingCalculationDelay() { super(new AndPredicate(new SupportedCPU(), new SupportedVM())); }
Example #29
Source File: TestUseRTMDeopt.java From jdk8u60 with GNU General Public License v2.0 | 4 votes |
private TestUseRTMDeopt() { super(new AndPredicate(new SupportedVM(), new SupportedCPU())); }
Example #30
Source File: TestRTMLockingThreshold.java From jdk8u60 with GNU General Public License v2.0 | 4 votes |
private TestRTMLockingThreshold() { super(new AndPredicate(new SupportedVM(), new SupportedCPU())); }