本文整理汇总了Java中com.oracle.java.testlibrary.cli.predicate.CPUSpecificPredicate类的典型用法代码示例。如果您正苦于以下问题:Java CPUSpecificPredicate类的具体用法?Java CPUSpecificPredicate怎么用?Java CPUSpecificPredicate使用的例子?那么, 这里精选的类代码示例或许可以为您提供帮助。
CPUSpecificPredicate类属于com.oracle.java.testlibrary.cli.predicate包,在下文中一共展示了CPUSpecificPredicate类的1个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: CPUSpecificCommandLineOptionTest
import com.oracle.java.testlibrary.cli.predicate.CPUSpecificPredicate; //导入依赖的package包/类
/**
* Creates new CPU specific test instance that does not
* require from CPU support of {@code supportedCPUFeatures} features
* and no support of {@code unsupportedCPUFeatures}.
*
* @param cpuArchPattern Regular expression that should
* match os.arch.
* @param supportedCPUFeatures Array with names of features that
* should be supported by CPU. If {@code null},
* then no features have to be supported.
* @param unsupportedCPUFeatures Array with names of features that
* should not be supported by CPU.
* If {@code null}, then CPU may support any
* features.
*/
public CPUSpecificCommandLineOptionTest(String cpuArchPattern,
String supportedCPUFeatures[], String unsupportedCPUFeatures[]) {
super(new CPUSpecificPredicate(cpuArchPattern, supportedCPUFeatures,
unsupportedCPUFeatures));
}
开发者ID:ojdkbuild,项目名称:lookaside_java-1.8.0-openjdk,代码行数:21,代码来源:CPUSpecificCommandLineOptionTest.java