Lines Matching refs:variant
67 if (2 != u1.variant()) {
68 throw new Exception("bad variant");
86 if (2 != u1.variant()) {
87 throw new Exception("bad variant");
159 if (test.variant() != 2)
160 throw new Exception("randomUUID not variant 2");
165 if (test.variant() != 2)
166 throw new Exception("nameUUIDFromBytes not variant 2");
168 if (test.variant() != 0)
169 throw new Exception("wrong variant from bit set to 0");
171 if (test.variant() != 2)
172 throw new Exception("wrong variant from bit set to 2");
174 if (test.variant() != 6)
175 throw new Exception("wrong variant from bit set to 6");
177 if (test.variant() != 7)
178 throw new Exception("wrong variant from bit set to 7");