/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/hotspot2/anqp/eap/ |
NonEAPInnerAuthTest.java | 50 @Test(expected = BufferUnderflowException.class) 56 * Verify that ProtocolException will be thrown when the data length is not the expected 61 @Test(expected = ProtocolException.class) 67 * Verify that an expected NonEAPInnerAuth is returned when parsing a buffer contained 68 * the expected auth type. 74 NonEAPInnerAuth expected = new NonEAPInnerAuth(TEST_AUTH_TYPE); local 77 assertEquals(expected, actual);
|
/frameworks/support/palette/src/androidTest/java/androidx/palette/graphics/ |
TestUtils.java | 36 static void assertCloseColors(int expected, int actual) { 37 assertEquals(Color.red(expected), Color.red(actual), 8); 38 assertEquals(Color.green(expected), Color.green(actual), 8); 39 assertEquals(Color.blue(expected), Color.blue(actual), 8);
|
/libcore/luni/src/test/java/libcore/java/lang/reflect/ |
MissingClassesTest.java | 42 } catch (NoClassDefFoundError expected) { 50 } catch (NoClassDefFoundError expected) { 58 } catch (NoClassDefFoundError expected) { 66 } catch (NoClassDefFoundError expected) {
|
/prebuilts/go/darwin-x86/src/internal/cpu/ |
cpu_test.go | 16 t.Fatalf("HasSSE2 expected true, got false") 24 t.Fatalf("HasAVX expected true, got false") 32 t.Fatalf("IsPOWER8 expected true, got false") 35 t.Fatalf("HasVMX expected true, got false") 38 t.Fatalf("HasDFP expected true, got false") 41 t.Fatalf("HasVSX expected true, got false") 44 t.Fatalf("HasISEL expected true, got false") 47 t.Fatalf("HasVCRYPTO expected true, got false")
|
/prebuilts/go/darwin-x86/test/ |
inline_caller.go | 56 var expected = []wantFrame{ var 70 if expected[i].line >= 0 && frame.line != expected[i].line { 71 panic(fmt.Sprintf("skip=%d expected line %d, got line %d", i, expected[i].line, frame.line)) 73 if fn.Name() != expected[i].funcName { 74 panic(fmt.Sprintf("skip=%d expected function %s, got %s", i, expected[i].funcName, fn.Name()))
|
/prebuilts/go/linux-x86/src/internal/cpu/ |
cpu_test.go | 16 t.Fatalf("HasSSE2 expected true, got false") 24 t.Fatalf("HasAVX expected true, got false") 32 t.Fatalf("IsPOWER8 expected true, got false") 35 t.Fatalf("HasVMX expected true, got false") 38 t.Fatalf("HasDFP expected true, got false") 41 t.Fatalf("HasVSX expected true, got false") 44 t.Fatalf("HasISEL expected true, got false") 47 t.Fatalf("HasVCRYPTO expected true, got false")
|
/prebuilts/go/linux-x86/test/ |
inline_caller.go | 56 var expected = []wantFrame{ var 70 if expected[i].line >= 0 && frame.line != expected[i].line { 71 panic(fmt.Sprintf("skip=%d expected line %d, got line %d", i, expected[i].line, frame.line)) 73 if fn.Name() != expected[i].funcName { 74 panic(fmt.Sprintf("skip=%d expected function %s, got %s", i, expected[i].funcName, fn.Name()))
|
/prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/test/std/utilities/function.objects/bind/func.bind/func.bind.bind/ |
invoke_int_0.pass.cpp | 24 test(F f, R expected) 26 assert(f() == expected); 31 test_const(const F& f, R expected) 33 assert(f() == expected);
|
/tools/apksig/src/test/java/com/android/apksig/internal/test/ |
MoreAsserts.java | 27 * Asserts that the contents of the provided {@code ByteBuffer} are as expected. This method 30 public static void assertByteBufferEquals(byte[] expected, ByteBuffer actual) { 31 assertByteBufferEquals(null, expected, actual); 35 * Asserts that the contents of the provided {@code ByteBuffer} are as expected. This method 38 public static void assertByteBufferEquals(String message, byte[] expected, ByteBuffer actual) { 49 assertArrayEquals(message, expected, actualArr);
|
/frameworks/native/libs/vr/libpdx/ |
serialization_tests.cpp | 117 Payload expected; local 123 expected = {ENCODING_TYPE_TRUE}; 124 EXPECT_EQ(expected, result); 130 expected = {ENCODING_TYPE_FALSE}; 131 EXPECT_EQ(expected, result); 137 Payload expected; local 143 expected = {ENCODING_TYPE_POSITIVE_FIXINT_MIN}; 144 EXPECT_EQ(expected, result); 150 expected = {ENCODING_TYPE_POSITIVE_FIXINT_MAX}; 151 EXPECT_EQ(expected, result) 171 Payload expected; local 219 Payload expected; local 281 Payload expected; local 358 Payload expected; local 406 Payload expected; local 468 Payload expected; local 544 Payload expected; local 636 Payload expected; local 656 Payload expected; local 678 Payload expected; local 690 Payload expected; local 702 Payload expected; local 740 Payload expected; local 801 Payload expected; local 862 Payload expected; local 907 Payload expected; local 952 Payload expected; local 997 Payload expected; local [all...] |
/art/test/566-checker-signum/src/ |
Main.java | 179 int expected = 0; local 180 if (i < 0) expected = -1; 181 else if (i > 0) expected = 1; 182 expectEquals(expected, signInt(i)); 203 int expected = 0; local 204 if (i < 0) expected = -1; 205 else if (i > 0) expected = 1; 206 expectEquals(expected, signLong(i)); 230 private static void expectEquals(int expected, int result) { 231 if (expected != result) [all...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/distutils/tests/ |
test_build_scripts.py | 31 expected = self.write_sample_scripts(source)
35 for fn in expected])
40 for name in expected:
55 expected = []
56 expected.append("script1.py")
61 expected.append("script2.py")
66 expected.append("shell.sh")
71 return expected
83 expected = self.write_sample_scripts(source)
88 for fn in expected])
[all...] |
/external/mockito/src/test/java/org/mockitousage/misuse/ |
InvalidUsageTest.java | 30 @Test(expected=MockitoException.class) 35 @Test(expected=MockitoException.class) 40 @Test(expected=MockitoException.class) 45 @Test(expected=MockitoException.class) 51 @Test(expected=MissingMethodInvocationException.class) 57 @Test(expected=MockitoException.class) 62 @Test(expected=MockitoException.class) 68 @Test(expected=MockitoException.class) 73 @Test(expected=MockitoException.class) 80 @Test(expected=MockitoException.class [all...] |
/external/python/cpython2/Lib/distutils/tests/ |
test_build_scripts.py | 31 expected = self.write_sample_scripts(source) 35 for fn in expected]) 40 for name in expected: 55 expected = [] 56 expected.append("script1.py") 61 expected.append("script2.py") 66 expected.append("shell.sh") 71 return expected 83 expected = self.write_sample_scripts(source) 88 for fn in expected]) [all...] |
/external/python/cpython3/Lib/distutils/tests/ |
test_build_scripts.py | 31 expected = self.write_sample_scripts(source) 35 for fn in expected]) 40 for name in expected: 55 expected = [] 56 expected.append("script1.py") 61 expected.append("script2.py") 66 expected.append("shell.sh") 71 return expected 83 expected = self.write_sample_scripts(source) 88 for fn in expected]) [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/distutils/tests/ |
test_build_scripts.py | 31 expected = self.write_sample_scripts(source) 35 for fn in expected]) 40 for name in expected: 55 expected = [] 56 expected.append("script1.py") 61 expected.append("script2.py") 66 expected.append("shell.sh") 71 return expected 83 expected = self.write_sample_scripts(source) 88 for fn in expected]) [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/distutils/tests/ |
test_build_scripts.py | 31 expected = self.write_sample_scripts(source) 35 for fn in expected]) 40 for name in expected: 55 expected = [] 56 expected.append("script1.py") 61 expected.append("script2.py") 66 expected.append("shell.sh") 71 return expected 83 expected = self.write_sample_scripts(source) 88 for fn in expected]) [all...] |
/art/test/021-string2/src/junit/framework/ |
ComparisonFailure.java | 18 * @param expected the expected string value 21 public ComparisonFailure (String message, String expected, String actual) { 23 fExpected= expected; 29 * place of common suffix between expected and actual. 46 * Gets the expected string value 47 * @return the expected string value
|
/art/test/082-inline-execute/src/junit/framework/ |
ComparisonFailure.java | 18 * @param expected the expected string value 21 public ComparisonFailure (String message, String expected, String actual) { 23 fExpected= expected; 29 * place of common suffix between expected and actual. 46 * Gets the expected string value 47 * @return the expected string value
|
/art/test/961-default-iface-resolution-gen/ |
build | 22 # Generate the smali files and expected.txt or fail 23 ./util-src/generate_java.py ./src ./expected.txt
|
/art/test/964-default-iface-init-gen/ |
build | 22 # Generate the smali files and expected.txt or fail 23 ./util-src/generate_java.py ./src ./expected.txt
|
/bionic/tools/versioner/tests/preprocessor_file_offset_bits/ |
run.sh | 5 diff -q -w -B out expected
|
/bionic/tools/versioner/tests/preprocessor_merging/ |
run.sh | 4 diff -q -w -B out expected
|
/external/antlr/antlr-3.4/runtime/ObjC/ANTLR.framework/Headers/ |
ANTLRUnwantedTokenException.h | 39 + (ANTLRUnwantedTokenException *)newANTLRUnwantedTokenException:(NSInteger)expected Stream:(id<ANTLRIntStream>)anInput; 42 - (id) initWithStream:(id<ANTLRIntStream>)anInput And:(NSInteger)expected;
|
/external/antlr/antlr-3.4/runtime/ObjC/ANTLR.framework/Versions/A/Headers/ |
ANTLRUnwantedTokenException.h | 39 + (ANTLRUnwantedTokenException *)newANTLRUnwantedTokenException:(NSInteger)expected Stream:(id<ANTLRIntStream>)anInput; 42 - (id) initWithStream:(id<ANTLRIntStream>)anInput And:(NSInteger)expected;
|