HomeSort by relevance Sort by last modified time
    Searched refs:expected (Results 201 - 225 of 8787) sorted by null

1 2 3 4 5 6 7 891011>>

  /tools/loganalysis/tests/src/com/android/loganalysis/util/
ArrayUtilTest.java 45 final String expected = "alpha, beta, gamma"; local
47 assertEquals(expected, str);
55 final String expected = "alpha, beta, gamma"; local
57 assertEquals(expected, str);
61 * Make sure that join on varargs arrays work as expected
64 final String expected = "alpha, beta, gamma"; local
66 assertEquals(expected, str);
  /tools/tradefederation/core/tests/src/com/android/tradefed/util/
ArrayUtilTest.java 45 final String expected = "alpha, beta, gamma"; local
47 assertEquals(expected, str);
55 final String expected = "alpha, beta, gamma"; local
57 assertEquals(expected, str);
61 * Make sure that join on varargs arrays work as expected
64 final String expected = "alpha, beta, gamma"; local
66 assertEquals(expected, str);
  /art/test/478-checker-inline-noreturn/src/
Main.java 27 public static void assertIntEquals(int expected, int result) {
28 if (expected != result) {
29 throw new Error("Expected: " + expected + ", found: " + result);
  /art/test/481-regression-phi-cond/src/
Main.java 19 public static void assertBooleanEquals(boolean expected, boolean result) {
20 if (expected != result) {
21 throw new Error("Expected: " + expected + ", found: " + result);
  /art/test/521-regression-integer-field-set/src/
Main.java 18 public static void assertIntEquals(int expected, int result) {
19 if (expected != result) {
20 throw new Error("Expected: " + expected + ", found: " + result);
  /art/test/526-checker-caller-callee-regs/src/
Main.java 19 public static void assertIntEquals(int expected, int result) {
20 if (expected != result) {
21 throw new Error("Expected: " + expected + ", found: " + result);
  /art/test/553-invoke-super/src/
Main.java 20 static void assertEquals(int expected, int value) {
21 if (expected != value) {
22 throw new Error("Expected " + expected + ", got " + value);
  /art/test/556-invoke-super/src/
Main.java 24 static void assertEquals(int expected, int value) {
25 if (expected != value) {
26 throw new Error("Expected " + expected + ", got " + value);
  /art/test/622-checker-bce-regressions/src/
Main.java 50 private static void expectEquals(int expected, int result) {
51 if (expected != result) {
52 throw new Error("Expected: " + expected + ", found: " + result);
  /external/apache-commons-math/src/main/java/org/apache/commons/math/stat/inference/
ChiSquareTest.java 32 * Chi-Square statistic</a> comparing <code>observed</code> and <code>expected</code>
36 * the observed counts follow the expected distribution.</p>
39 * <li>Expected counts must all be positive.
43 * <li>The observed and expected arrays must have the same length and
50 * @param expected array of expected frequency counts
54 double chiSquare(double[] expected, long[] observed)
63 * frequency counts to those in the <code>expected</code> array.
67 * described by the expected counts.</p>
70 * <li>Expected counts must all be positive
    [all...]
  /external/icu/icu4j/perf-tests/src/com/ibm/icu/dev/test/perf/
ResourceBundlePerf.java 66 String expected;
67 GetStringJava(String key, String expected) {
69 this.expected = expected;
73 if (!s.equals(expected)) throw new Error("not equal");
79 String expected;
80 GetStringIcu(String key, String expected) {
82 this.expected = expected;
86 if (!s.equals(expected)) throw new Error("not equal")
    [all...]
  /external/tensorflow/tensorflow/core/kernels/
cross_op_test.cc 47 Tensor expected(allocator(), DT_FLOAT, TensorShape({3}));
48 test::FillValues<float>(&expected, {0, 0, 0});
49 test::ExpectTensorEqual<float>(expected, *GetOutput(0));
57 Tensor expected(allocator(), DT_FLOAT, TensorShape({2, 3}));
58 test::FillValues<float>(&expected, {{0, 0, 1, /**/ 0, 0, -1}});
59 test::ExpectTensorEqual<float>(expected, *GetOutput(0));
73 Tensor expected(allocator(), DT_FLOAT, TensorShape({3}));
74 test::FillValues<float>(&expected, {s1, s2, s3});
75 test::ExpectTensorNear<float>(expected, *GetOutput(0), 1e-6);
94 Tensor expected(allocator(), DT_INT32, TensorShape({2, 3}))
    [all...]
  /external/testng/src/test/java/test/guice/
ModuleFactory.java 13 String expected = "guice"; local
14 if (! expected.equals(parameter)) {
15 throw new RuntimeException("Excepted parameter to be " + expected + ", got " + parameter);
  /frameworks/support/room/integration-tests/testapp/src/androidTest/java/androidx/room/integration/testapp/test/
WithClauseTest.java 43 List<Integer> expected = Arrays.asList(1); local
45 assertThat(expected, is(actual));
47 expected = Arrays.asList(1, 1, 2, 6, 24);
49 assertThat(expected, is(actual));
54 List<String> expected = new ArrayList<>(); local
56 assertThat(expected, is(actual));
63 assertThat(expected, is(actual));
69 expected.add("One");
71 assertThat(expected, is(actual));
78 assertThat(expected, is(actual))
    [all...]
  /hardware/google/av/codec2/include/
C2BufferBase.h 83 : expected(consumer | producer) { }
86 : expected(expected_) { }
88 uint64_t expected; // expected buffer usage variable
  /external/libcups/filter/
testraster.c 190 cups_page_header2_t *expected);
354 printf(" cupsPreferredBitsPerColor %d, expected 17\n",
378 printf("FAIL (PageSize [%d %d], expected [792 612])\n", header.PageSize[0],
403 printf("FAIL (Collate false, expected true)\n");
409 printf("FAIL (Duplex true, expected false)\n");
415 printf("FAIL (Tumble true, expected false)\n");
434 printf("FAIL (bad PageSize [%d %d], expected [792 1224])\n",
519 expected; /* Expected page header */ local
684 memset(&expected, 0, sizeof(expected))
    [all...]
  /external/testng/src/main/java/org/testng/
Assert.java 108 * @param expected the expected value
111 static public void assertEquals(Object actual, Object expected, String message) {
112 if (expected != null && expected.getClass().isArray()) {
113 assertArrayEquals(actual, expected, message);
116 assertEqualsImpl(actual, expected, message);
124 private static void assertEqualsImpl(Object actual, Object expected,
126 if((expected == null) && (actual == null)) {
129 if(expected == null ^ actual == null)
    [all...]
  /cts/hostsidetests/devicepolicy/app/DeviceAdmin/src/com.android.cts.deviceadmin/
WipeDataTest.java 24 fail("wipeData didn't throw expected SecurityException. Managed to kick off factory"
26 } catch (SecurityException expected) {
  /cts/hostsidetests/devicepolicy/app/ProfileOwner/src/com/android/cts/profileowner/
WifiTest.java 23 } catch (SecurityException expected) {
  /cts/tests/tests/net/src/android/net/cts/
LocalSocketAddress_NamespaceTest.java 31 Namespace[] expected = Namespace.values(); local
32 assertEquals(Namespace.ABSTRACT, expected[0]);
33 assertEquals(Namespace.RESERVED, expected[1]);
34 assertEquals(Namespace.FILESYSTEM, expected[2]);
  /cts/tests/tests/telephony/src/android/telephony/cts/
SimRestrictedApisTest.java 48 fail("Expected SecurityException. App doesn't have carrier privileges.");
50 } catch (SecurityException expected) {
63 fail("Expected SecurityException. App doesn't have carrier privileges.");
65 } catch (SecurityException expected) {
78 fail("Expected SecurityException. App doesn't have carrier privileges.");
80 } catch (SecurityException expected) {
93 fail("Expected SecurityException. App doesn't have carrier privileges.");
95 } catch (SecurityException expected) {
108 fail("Expected SecurityException. App doesn't have carrier privileges.");
110 } catch (SecurityException expected) {
    [all...]
  /external/clang/test/CXX/temp/
p3.cpp 7 template<typename T> int S<T>::a, S<T>::b; // expected-error {{can only declare a single entity}}
9 template<typename T> struct A { static A a; } A<T>::a; // expected-error {{expected ';' after struct}} \
10 expected-error {{use of undeclared identifier 'T'}} \
11 expected-error {{no member named 'a'}} \
12 expected-warning {{extra qualification}}
14 template<typename T> struct B { } f(); // expected-error {{expected ';' after struct}} \
15 expected-error {{requires a type specifier}}
17 template<typename T> struct C { } // expected-error {{expected ';' after struct}
    [all...]
  /external/clang/test/SemaCXX/
warn-unused-variables-error.cpp 4 template<typename T> class X; // expected-note{{template is declared here}}
7 X<char> str (read_from_file()); // expected-error{{use of undeclared identifier 'read_from_file'}} \
8 expected-error{{implicit instantiation of undefined template 'PR6948::X<char>'}}
  /external/compiler-rt/test/builtins/Unit/
addvdi3_test.c 26 di_int expected = a + b; local
27 if (x != expected)
28 printf("error in test__addvdi3(0x%llX, 0x%llX) = %lld, expected %lld\n",
29 a, b, x, expected);
30 return x != expected;
addvsi3_test.c 26 si_int expected = a + b; local
27 if (x != expected)
28 printf("error in test__addvsi3(0x%X, 0x%X) = %d, expected %d\n",
29 a, b, x, expected);
30 return x != expected;

Completed in 734 milliseconds

1 2 3 4 5 6 7 891011>>