当前位置: 首页>>代码示例>>Java>>正文


Java NotPredicate类代码示例

本文整理汇总了Java中com.oracle.java.testlibrary.cli.predicate.NotPredicate的典型用法代码示例。如果您正苦于以下问题:Java NotPredicate类的具体用法?Java NotPredicate怎么用?Java NotPredicate使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。


NotPredicate类属于com.oracle.java.testlibrary.cli.predicate包,在下文中一共展示了NotPredicate类的13个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。

示例1: TestUseRTMForStackLocksOptionOnUnsupportedConfig

import com.oracle.java.testlibrary.cli.predicate.NotPredicate; //导入依赖的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.NotPredicate; //导入依赖的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.NotPredicate; //导入依赖的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: UseSHAIntrinsicsSpecificTestCaseForUnsupportedSparcCPU

import com.oracle.java.testlibrary.cli.predicate.NotPredicate; //导入依赖的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

示例5: UseSHASpecificTestCaseForUnsupportedSparcCPU

import com.oracle.java.testlibrary.cli.predicate.NotPredicate; //导入依赖的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

示例6: TestUseRTMLockingOptionOnUnsupportedVM

import com.oracle.java.testlibrary.cli.predicate.NotPredicate; //导入依赖的package包/类
private TestUseRTMLockingOptionOnUnsupportedVM() {
    super(new AndPredicate(new SupportedCPU(),
            new NotPredicate(new SupportedVM())));
}
 
开发者ID:ojdkbuild,项目名称:lookaside_java-1.8.0-openjdk,代码行数:5,代码来源:TestUseRTMLockingOptionOnUnsupportedVM.java

示例7: TestUseRTMLockingOptionOnUnsupportedCPU

import com.oracle.java.testlibrary.cli.predicate.NotPredicate; //导入依赖的package包/类
private TestUseRTMLockingOptionOnUnsupportedCPU() {
    super(new AndPredicate(new NotPredicate(new SupportedCPU()),
            new SupportedVM()));
}
 
开发者ID:ojdkbuild,项目名称:lookaside_java-1.8.0-openjdk,代码行数:5,代码来源:TestUseRTMLockingOptionOnUnsupportedCPU.java

示例8: TestUseRTMDeoptOptionOnUnsupportedConfig

import com.oracle.java.testlibrary.cli.predicate.NotPredicate; //导入依赖的package包/类
private TestUseRTMDeoptOptionOnUnsupportedConfig() {
    super(new NotPredicate(new AndPredicate(new SupportedCPU(),
                    new SupportedVM())),
            "UseRTMDeopt", true, false,
            TestUseRTMDeoptOptionOnUnsupportedConfig.DEFAULT_VALUE, "true");
}
 
开发者ID:ojdkbuild,项目名称:lookaside_java-1.8.0-openjdk,代码行数:7,代码来源:TestUseRTMDeoptOptionOnUnsupportedConfig.java

示例9: TestPrintPreciseRTMLockingStatisticsOptionOnUnsupportedConfig

import com.oracle.java.testlibrary.cli.predicate.NotPredicate; //导入依赖的package包/类
private TestPrintPreciseRTMLockingStatisticsOptionOnUnsupportedConfig() {
    super(new NotPredicate(new AndPredicate(new SupportedCPU(),
            new SupportedVM())));
}
 
开发者ID:ojdkbuild,项目名称:lookaside_java-1.8.0-openjdk,代码行数:5,代码来源:TestPrintPreciseRTMLockingStatisticsOptionOnUnsupportedConfig.java

示例10: GenericTestCaseForUnsupportedAArch64CPU

import com.oracle.java.testlibrary.cli.predicate.NotPredicate; //导入依赖的package包/类
public GenericTestCaseForUnsupportedAArch64CPU(String optionName) {
    super(optionName, new AndPredicate(Platform::isAArch64,
            new NotPredicate(SHAOptionsBase.getPredicateForOption(
                    optionName))));
}
 
开发者ID:ojdkbuild,项目名称:lookaside_java-1.8.0-openjdk,代码行数:6,代码来源:GenericTestCaseForUnsupportedAArch64CPU.java

示例11: GenericTestCaseForOtherCPU

import com.oracle.java.testlibrary.cli.predicate.NotPredicate; //导入依赖的package包/类
public GenericTestCaseForOtherCPU(String optionName) {
    // Execute the test case on any CPU except SPARC and X86
    super(optionName, new NotPredicate(new OrPredicate(Platform::isSparc,
            new OrPredicate(Platform::isAArch64,
                    new OrPredicate(Platform::isX64, Platform::isX86)))));
}
 
开发者ID:ojdkbuild,项目名称:lookaside_java-1.8.0-openjdk,代码行数:7,代码来源:GenericTestCaseForOtherCPU.java

示例12: GenericTestCaseForUnsupportedSparcCPU

import com.oracle.java.testlibrary.cli.predicate.NotPredicate; //导入依赖的package包/类
public GenericTestCaseForUnsupportedSparcCPU(String optionName) {
    super(optionName, new AndPredicate(Platform::isSparc,
            new NotPredicate(SHAOptionsBase.getPredicateForOption(
                    optionName))));
}
 
开发者ID:ojdkbuild,项目名称:lookaside_java-1.8.0-openjdk,代码行数:6,代码来源:GenericTestCaseForUnsupportedSparcCPU.java

示例13: GenericTestCaseForOtherCPU

import com.oracle.java.testlibrary.cli.predicate.NotPredicate; //导入依赖的package包/类
public GenericTestCaseForOtherCPU(String optionName) {
    // Execute the test case on any CPU except SPARC and X86
    super(optionName, new NotPredicate(new OrPredicate(Platform::isSparc,
            new OrPredicate(Platform::isX64, Platform::isX86))));
}
 
开发者ID:infobip,项目名称:infobip-open-jdk-8,代码行数:6,代码来源:GenericTestCaseForOtherCPU.java


注:本文中的com.oracle.java.testlibrary.cli.predicate.NotPredicate类示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。