34
34
import static jdk .internal .util .Architecture .S390 ;
35
35
import static jdk .internal .util .Architecture .X64 ;
36
36
import static jdk .internal .util .Architecture .X86 ;
37
+ import static jdk .internal .util .Architecture .MIPSEL ;
38
+ import static jdk .internal .util .Architecture .MIPS64EL ;
37
39
38
40
import org .junit .jupiter .api .Test ;
39
41
import org .junit .jupiter .params .ParameterizedTest ;
@@ -72,6 +74,8 @@ public void nameVsCurrent() {
72
74
case "riscv64" -> RISCV64 ;
73
75
case "s390x" , "s390" -> S390 ;
74
76
case "ppc64" , "ppc64le" -> PPC64 ;
77
+ case "mipsel" -> MIPSEL ;
78
+ case "mips64el" -> MIPS64EL ;
75
79
default -> OTHER ;
76
80
};
77
81
assertEquals (Architecture .current (), arch , "mismatch in Architecture.current vs " + osArch );
@@ -89,6 +93,8 @@ private static Stream<Arguments> archParams() {
89
93
Arguments .of (ARM , Architecture .isARM ()),
90
94
Arguments .of (RISCV64 , Architecture .isRISCV64 ()),
91
95
Arguments .of (S390 , Architecture .isS390 ()),
96
+ Arguments .of (MIPSEL , Architecture .isMIPSEL ()),
97
+ Arguments .of (MIPS64EL , Architecture .isMIPS64EL ()),
92
98
Arguments .of (PPC64 , Architecture .isPPC64 ())
93
99
);
94
100
}
0 commit comments