本文整理汇总了Java中com.oracle.java.testlibrary.cli.predicate.AndPredicate类的典型用法代码示例。如果您正苦于以下问题:Java AndPredicate类的具体用法?Java AndPredicate怎么用?Java AndPredicate使用的例子?那么, 这里精选的类代码示例或许可以为您提供帮助。
AndPredicate类属于com.oracle.java.testlibrary.cli.predicate包,在下文中一共展示了AndPredicate类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: TestUseRTMForStackLocksOptionOnUnsupportedConfig
import com.oracle.java.testlibrary.cli.predicate.AndPredicate; //导入依赖的package包/类
private TestUseRTMForStackLocksOptionOnUnsupportedConfig() {
super(new NotPredicate(new AndPredicate(new SupportedCPU(),
new SupportedVM())),
"UseRTMForStackLocks", true, true,
TestUseRTMForStackLocksOptionOnUnsupportedConfig.DEFAULT_VALUE,
"true");
}
开发者ID:ojdkbuild,项目名称:lookaside_java-1.8.0-openjdk,代码行数:8,代码来源:TestUseRTMForStackLocksOptionOnUnsupportedConfig.java
示例2: TestRTMTotalCountIncrRateOptionOnUnsupportedConfig
import com.oracle.java.testlibrary.cli.predicate.AndPredicate; //导入依赖的package包/类
private TestRTMTotalCountIncrRateOptionOnUnsupportedConfig() {
super(new NotPredicate(new AndPredicate(new SupportedCPU(),
new SupportedVM())),
"RTMTotalCountIncrRate", false, true,
TestRTMTotalCountIncrRateOptionOnUnsupportedConfig
.DEFAULT_VALUE,
"-1", "0", "42", "128");
}
开发者ID:ojdkbuild,项目名称:lookaside_java-1.8.0-openjdk,代码行数:9,代码来源:TestRTMTotalCountIncrRateOptionOnUnsupportedConfig.java
示例3: TestRTMAbortRatioOptionOnUnsupportedConfig
import com.oracle.java.testlibrary.cli.predicate.AndPredicate; //导入依赖的package包/类
private TestRTMAbortRatioOptionOnUnsupportedConfig() {
super(new NotPredicate(new AndPredicate(new SupportedVM(),
new SupportedCPU())),
"RTMAbortRatio", false, true,
TestRTMAbortRatioOptionOnUnsupportedConfig.DEFAULT_VALUE,
"0", "10", "100", "200");
}
开发者ID:ojdkbuild,项目名称:lookaside_java-1.8.0-openjdk,代码行数:8,代码来源:TestRTMAbortRatioOptionOnUnsupportedConfig.java
示例4: UseSHASpecificTestCaseForSupportedSparcCPU
import com.oracle.java.testlibrary.cli.predicate.AndPredicate; //导入依赖的package包/类
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.");
}
开发者ID:ojdkbuild,项目名称:lookaside_java-1.8.0-openjdk,代码行数:9,代码来源:UseSHASpecificTestCaseForSupportedSparcCPU.java
示例5: UseSHAIntrinsicsSpecificTestCaseForUnsupportedSparcCPU
import com.oracle.java.testlibrary.cli.predicate.AndPredicate; //导入依赖的package包/类
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)))));
}
开发者ID:ojdkbuild,项目名称:lookaside_java-1.8.0-openjdk,代码行数:11,代码来源:UseSHAIntrinsicsSpecificTestCaseForUnsupportedSparcCPU.java
示例6: UseSHASpecificTestCaseForUnsupportedSparcCPU
import com.oracle.java.testlibrary.cli.predicate.AndPredicate; //导入依赖的package包/类
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.");
}
开发者ID:ojdkbuild,项目名称:lookaside_java-1.8.0-openjdk,代码行数:10,代码来源:UseSHASpecificTestCaseForUnsupportedSparcCPU.java
示例7: TestPrintPreciseRTMLockingStatistics
import com.oracle.java.testlibrary.cli.predicate.AndPredicate; //导入依赖的package包/类
private TestPrintPreciseRTMLockingStatistics() {
super(new AndPredicate(new SupportedCPU(), new SupportedVM()));
}
开发者ID:ojdkbuild,项目名称:lookaside_java-1.8.0-openjdk,代码行数:4,代码来源:TestPrintPreciseRTMLockingStatistics.java
示例8: TestUseRTMLockElidingOption
import com.oracle.java.testlibrary.cli.predicate.AndPredicate; //导入依赖的package包/类
private TestUseRTMLockElidingOption() {
super(new AndPredicate(new SupportedCPU(), new SupportedVM()));
}
示例9: TestNoRTMLockElidingOption
import com.oracle.java.testlibrary.cli.predicate.AndPredicate; //导入依赖的package包/类
private TestNoRTMLockElidingOption() {
super(new AndPredicate(new SupportedCPU(), new SupportedVM()));
}
示例10: TestRTMAfterNonRTMDeopt
import com.oracle.java.testlibrary.cli.predicate.AndPredicate; //导入依赖的package包/类
private TestRTMAfterNonRTMDeopt() {
super(new AndPredicate(new SupportedCPU(), new SupportedVM()));
}
示例11: TestRTMRetryCount
import com.oracle.java.testlibrary.cli.predicate.AndPredicate; //导入依赖的package包/类
private TestRTMRetryCount() {
super(new AndPredicate(new SupportedCPU(), new SupportedVM()));
}
示例12: TestRTMAbortRatio
import com.oracle.java.testlibrary.cli.predicate.AndPredicate; //导入依赖的package包/类
private TestRTMAbortRatio() {
super(new AndPredicate(new SupportedCPU(), new SupportedVM()));
}
示例13: TestRTMSpinLoopCount
import com.oracle.java.testlibrary.cli.predicate.AndPredicate; //导入依赖的package包/类
private TestRTMSpinLoopCount() {
super(new AndPredicate(new SupportedVM(), new SupportedCPU()));
}
示例14: TestRTMAbortThreshold
import com.oracle.java.testlibrary.cli.predicate.AndPredicate; //导入依赖的package包/类
private TestRTMAbortThreshold() {
super(new AndPredicate(new SupportedCPU(), new SupportedVM()));
}
示例15: TestRTMDeoptOnHighAbortRatio
import com.oracle.java.testlibrary.cli.predicate.AndPredicate; //导入依赖的package包/类
private TestRTMDeoptOnHighAbortRatio() {
super(new AndPredicate(new SupportedCPU(), new SupportedVM()));
}