test/testlibrary_tests/TestMutuallyExclusivePlatformPredicates.java

changeset 7889
0b7060827bca
parent 7796
7bc99c1a5fee
child 10020
a9ac0a2b370f
equal deleted inserted replaced
7888:c8be46515581 7889:0b7060827bca
1 /* 1 /*
2 * Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved. 2 * Copyright (c) 2014, 2015, Oracle and/or its affiliates. All rights reserved.
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 * 4 *
5 * This code is free software; you can redistribute it and/or modify it 5 * This code is free software; you can redistribute it and/or modify it
6 * under the terms of the GNU General Public License version 2 only, as 6 * under the terms of the GNU General Public License version 2 only, as
7 * published by the Free Software Foundation. 7 * published by the Free Software Foundation.
41 * @library /testlibrary 41 * @library /testlibrary
42 * @run main TestMutuallyExclusivePlatformPredicates 42 * @run main TestMutuallyExclusivePlatformPredicates
43 */ 43 */
44 public class TestMutuallyExclusivePlatformPredicates { 44 public class TestMutuallyExclusivePlatformPredicates {
45 private static enum MethodGroup { 45 private static enum MethodGroup {
46 ARCH("isARM", "isPPC", "isSparc", "isX86", "isX64"), 46 ARCH("isARM", "isPPC", "isSparc", "isX86", "isX64", "isAArch64"),
47 BITNESS("is32bit", "is64bit"), 47 BITNESS("is32bit", "is64bit"),
48 OS("isAix", "isLinux", "isSolaris", "isWindows", "isOSX"), 48 OS("isAix", "isLinux", "isSolaris", "isWindows", "isOSX"),
49 VM_TYPE("isClient", "isServer", "isGraal", "isMinimal"), 49 VM_TYPE("isClient", "isServer", "isGraal", "isMinimal"),
50 IGNORED("isEmbedded", "isDebugBuild", "shouldSAAttach", 50 IGNORED("isEmbedded", "isDebugBuild", "shouldSAAttach",
51 "canPtraceAttachLinux", "canAttachOSX"); 51 "canPtraceAttachLinux", "canAttachOSX");

mercurial