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

1 2 3 4 5 6 7 891011>>

  /external/v8/test/unittests/heap/
heap-unittest.cc 26 void CheckEqualRounded(double expected, double actual) {
27 expected = Round(expected);
29 EXPECT_DOUBLE_EQ(expected, actual);
  /libcore/luni/src/test/java/libcore/java/lang/
StrictMathTest.java 44 long expected = (long) a + (long) b; local
46 assertEquals(expected, StrictMath.addExact(a, b));
48 if (expected == a + b) {
55 long expected = (long) a - (long) b; local
57 assertEquals(expected, StrictMath.subtractExact(a, b));
60 if (expected == a - b) {
67 long expected = (long) a * (long) b; local
69 assertEquals(expected, StrictMath.multiplyExact(a, b));
71 if (expected == a * b) {
97 BigInteger expected = BigInteger.valueOf(a).add(BigInteger.valueOf(b)) local
108 BigInteger expected = BigInteger.valueOf(a).subtract(BigInteger.valueOf(b)); local
119 BigInteger expected = BigInteger.valueOf(a).multiply(BigInteger.valueOf(b)); local
159 int expected = a \/ b; local
174 int expected = a % b; local
205 long expected = a \/ b; local
220 long expected = a % b; local
    [all...]
  /libcore/luni/src/test/java/libcore/java/nio/
NoArrayTest.java 36 } catch (ReadOnlyBufferException expected) {
37 } catch (UnsupportedOperationException expected) {
42 } catch (ReadOnlyBufferException expected) {
43 } catch (UnsupportedOperationException expected) {
  /packages/apps/TV/tests/common/src/com/android/tv/testing/dvr/
RecordingTestUtils.java 54 public static void assertRecordingEquals(ScheduledRecording expected, ScheduledRecording actual) {
55 Assert.assertEquals("id", expected.getId(), actual.getId());
56 Assert.assertEquals("channel", expected.getChannelId(), actual.getChannelId());
57 Assert.assertEquals("programId", expected.getProgramId(), actual.getProgramId());
58 Assert.assertEquals("priority", expected.getPriority(), actual.getPriority());
59 Assert.assertEquals("start time", expected.getStartTimeMs(), actual.getStartTimeMs());
60 Assert.assertEquals("end time", expected.getEndTimeMs(), actual.getEndTimeMs());
61 Assert.assertEquals("state", expected.getState(), actual.getState());
62 Assert.assertEquals("parent season recording", expected.getParentSeasonRecording(),
  /prebuilts/gdb/darwin-x86/lib/python2.7/test/
test_dictcomps.py 12 expected = {0: 10, 1: 11, 2: 12, 3: 13, 4: 14, 5: 15, 6: 16, 7: 17,
15 self.assertEqual(actual, expected)
17 expected = {0: 0, 1: 1, 2: 2, 3: 3, 4: 4, 5: 5, 6: 6, 7: 7, 8: 8, 9: 9}
19 self.assertEqual(actual, expected)
24 expected = {0: None, 1: None, 2: None, 3: None, 4: None, 5: None,
27 self.assertEqual(actual, expected)
30 expected = {9: 1, 18: 2, 19: 2, 27: 3, 28: 3, 29: 3, 36: 4, 37: 4,
38 self.assertEqual(actual, expected)
41 expected = {0: None, 1: None, 2: None, 3: None, 4: None, 5: None,
44 self.assertEqual(actual, expected)
    [all...]
  /prebuilts/gdb/linux-x86/lib/python2.7/test/
test_dictcomps.py 12 expected = {0: 10, 1: 11, 2: 12, 3: 13, 4: 14, 5: 15, 6: 16, 7: 17,
15 self.assertEqual(actual, expected)
17 expected = {0: 0, 1: 1, 2: 2, 3: 3, 4: 4, 5: 5, 6: 6, 7: 7, 8: 8, 9: 9}
19 self.assertEqual(actual, expected)
24 expected = {0: None, 1: None, 2: None, 3: None, 4: None, 5: None,
27 self.assertEqual(actual, expected)
30 expected = {9: 1, 18: 2, 19: 2, 27: 3, 28: 3, 29: 3, 36: 4, 37: 4,
38 self.assertEqual(actual, expected)
41 expected = {0: None, 1: None, 2: None, 3: None, 4: None, 5: None,
44 self.assertEqual(actual, expected)
    [all...]
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/
test_dictcomps.py 12 expected = {0: 10, 1: 11, 2: 12, 3: 13, 4: 14, 5: 15, 6: 16, 7: 17,
15 self.assertEqual(actual, expected)
17 expected = {0: 0, 1: 1, 2: 2, 3: 3, 4: 4, 5: 5, 6: 6, 7: 7, 8: 8, 9: 9}
19 self.assertEqual(actual, expected)
24 expected = {0: None, 1: None, 2: None, 3: None, 4: None, 5: None,
27 self.assertEqual(actual, expected)
30 expected = {9: 1, 18: 2, 19: 2, 27: 3, 28: 3, 29: 3, 36: 4, 37: 4,
38 self.assertEqual(actual, expected)
41 expected = {0: None, 1: None, 2: None, 3: None, 4: None, 5: None,
44 self.assertEqual(actual, expected)
    [all...]
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/
test_dictcomps.py 12 expected = {0: 10, 1: 11, 2: 12, 3: 13, 4: 14, 5: 15, 6: 16, 7: 17,
15 self.assertEqual(actual, expected)
17 expected = {0: 0, 1: 1, 2: 2, 3: 3, 4: 4, 5: 5, 6: 6, 7: 7, 8: 8, 9: 9}
19 self.assertEqual(actual, expected)
24 expected = {0: None, 1: None, 2: None, 3: None, 4: None, 5: None,
27 self.assertEqual(actual, expected)
30 expected = {9: 1, 18: 2, 19: 2, 27: 3, 28: 3, 29: 3, 36: 4, 37: 4,
38 self.assertEqual(actual, expected)
41 expected = {0: None, 1: None, 2: None, 3: None, 4: None, 5: None,
44 self.assertEqual(actual, expected)
    [all...]
  /toolchain/binutils/binutils-2.25/gas/testsuite/gas/arm/
attr-syntax.d 4 #error: :1: Error: Attribute name not recognised: made_up_tag.*:3: Error: expected <tag> , <value>.*:5: Error: expected <tag> , <value>
  /toolchain/binutils/binutils-2.25/gas/testsuite/gas/sh/sh64/
ptc-1.s 1 ! Check that simple constants get expected results.
  /cts/tests/tests/widget/src/android/widget/cts/
ChronometerTest.java 54 int expected = 100000; local
55 chronometer.setBase(expected);
56 assertEquals(expected, chronometer.getBase());
59 expected = 100;
61 chronometer.setBase(expected);
62 assertEquals(expected, chronometer.getBase());
65 expected = -1;
67 chronometer.setBase(expected);
68 assertEquals(expected, chronometer.getBase());
71 expected = Integer.MAX_VALUE
81 String expected = "header-%S-trail"; local
113 CharSequence expected = chronometer.getText(); local
    [all...]
  /frameworks/base/test-runner/src/android/test/
MoreAsserts.java 42 * Asserts that the class {@code expected} is assignable from the object
43 * {@code actual}. This verifies {@code expected} is a parent class or a
46 public static void assertAssignableFrom(Class<?> expected, Object actual) {
47 assertAssignableFrom(expected, actual.getClass());
51 * Asserts that class {@code expected} is assignable from the class
52 * {@code actual}. This verifies {@code expected} is a parent class or a
55 public static void assertAssignableFrom(Class<?> expected, Class<?> actual) {
57 "Expected " + expected.getCanonicalName() +
59 expected.isAssignableFrom(actual))
    [all...]
  /external/llvm/test/MC/Mips/
mips-pdr-bad.s 6 .ent # ASM: :[[@LINE]]:14: error: expected identifier after .ent
7 .ent bar, # ASM: :[[@LINE]]:19: error: expected number after comma
8 .ent foo, bar # AMS: :[[@LINE]]:23: error: expected an absolute expression after comma
9 .ent foo, 5, bar # AMS: :[[@LINE]]:20: error: unexpected token, expected end of statement
11 .frame # ASM: :[[@LINE]]:16: error: expected stack register
12 .frame bar # ASM: :[[@LINE]]:16: error: expected stack register
13 .frame $f1, 8, # ASM: :[[@LINE]]:16: error: expected general purpose register
14 .frame $sp # ASM: :[[@LINE]]:20: error: unexpected token, expected comma
15 .frame $sp, # ASM: :[[@LINE]]:21: error: expected frame size value
17 .frame $sp, 8 # ASM: :[[@LINE]]:23: error: unexpected token, expected comm
    [all...]
  /libcore/luni/src/test/java/libcore/java/sql/
TimestampTest.java 74 } catch (IllegalArgumentException expected) { }
79 } catch (IllegalArgumentException expected) { }
84 } catch (IllegalArgumentException expected) { }
89 } catch (IllegalArgumentException expected) { }
94 } catch (IllegalArgumentException expected) { }
99 } catch (IllegalArgumentException expected) { }
104 } catch (IllegalArgumentException expected) { }
109 } catch (IllegalArgumentException expected) { }
114 } catch (IllegalArgumentException expected) { }
119 } catch (IllegalArgumentException expected) { }
    [all...]
  /libcore/luni/src/test/java/libcore/java/text/
OldBidiTest.java 79 } catch (IllegalArgumentException expected) {
80 // Expected.
86 } catch (IllegalArgumentException expected) {
87 // Expected.
93 } catch (IllegalArgumentException expected) {
94 // Expected.
101 } catch (IllegalArgumentException expected) {
102 // Expected.
109 } catch (IllegalArgumentException expected) {
110 // Expected
    [all...]
  /external/libxml2/python/tests/
outbuf.py 27 expected = '''\
36 if f.getvalue() != expected:
39 print('expected: %s' % repr(expected))
45 expected = ('''\
60 if f.getvalue() != expected[i]:
63 print('expected: %s' % repr(expected[i]))
73 expected = '''\
81 if f.getvalue() != expected
    [all...]
  /libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/
WrappedCharBufferTest2.java 44 // expected
50 // expected
56 // expected
62 // expected
68 // expected
86 // expected
91 } catch (ReadOnlyBufferException expected) {
92 } catch (NullPointerException expected) {
97 } catch (ReadOnlyBufferException expected) {
98 } catch (BufferOverflowException expected) {
    [all...]
  /external/clang/test/SemaCXX/
warn-memsize-comparison.cpp 20 expected-warning{{size argument in 'memset' call is a comparison}} \
21 expected-note {{did you mean to compare}} \
22 expected-note {{explicitly cast the argument}}
26 expected-warning{{size argument in 'memmove' call is a comparison}} \
27 expected-note {{did you mean to compare}} \
28 expected-note {{explicitly cast the argument}}
32 expected-warning{{size argument in 'memcpy' call is a comparison}} \
33 expected-note {{did you mean to compare}} \
34 expected-note {{explicitly cast the argument}}
38 expected-warning{{size argument in 'memcmp' call is a comparison}}
    [all...]
  /external/guava/guava-tests/test/com/google/common/io/
CharSequenceReaderTest.java 79 } catch (IndexOutOfBoundsException expected) {
85 } catch (IndexOutOfBoundsException expected) {
91 } catch (IndexOutOfBoundsException expected) {
97 } catch (IndexOutOfBoundsException expected) {
103 } catch (IndexOutOfBoundsException expected) {
109 } catch (IndexOutOfBoundsException expected) {
115 } catch (IllegalArgumentException expected) {
121 } catch (IllegalArgumentException expected) {
132 } catch (IOException expected) {
138 } catch (IOException expected) {
183 String expected = charSequence.toString(); local
    [all...]
  /art/test/529-checker-unresolved/src/
Main.java 164 public static void expectEquals(byte expected, byte result) {
165 if (expected != result) {
166 throw new Error("Expected: " + expected + ", found: " + result);
170 public static void expectEquals(char expected, char result) {
171 if (expected != result) {
172 throw new Error("Expected: " + expected + ", found: " + result);
176 public static void expectEquals(int expected, int result) {
177 if (expected != result)
    [all...]
  /art/test/475-regression-inliner-ids/src/
Main.java 28 String expected = "DEFAULT"; local
29 if (!expected.equals(actual)) {
  /cts/common/device-side/util/src/com/android/compatibility/common/util/
EvaluateJsResultPollingCheck.java 26 public EvaluateJsResultPollingCheck(String expected) {
27 mExpectedResult = expected;
  /cts/libs/deviceutil/src/android/cts/util/
EvaluateJsResultPollingCheck.java 26 public EvaluateJsResultPollingCheck(String expected) {
27 mExpectedResult = expected;
  /cts/tests/tests/content/src/android/content/pm/cts/
InstrumentationInfoTest.java 55 private void checkInfoSame(InstrumentationInfo expected, InstrumentationInfo actual) {
56 assertEquals(expected.name, actual.name);
57 assertEquals(expected.dataDir, actual.dataDir);
58 assertEquals(expected.handleProfiling, actual.handleProfiling);
59 assertEquals(expected.functionalTest, actual.functionalTest);
60 assertEquals(expected.targetPackage, actual.targetPackage);
61 assertEquals(expected.sourceDir, actual.sourceDir);
62 assertEquals(expected.publicSourceDir, actual.publicSourceDir);
  /cts/tests/tests/graphics/src/android/graphics/cts/
Region_OpTest.java 38 // set the expected value
39 Op[] expected = { local
47 assertEquals(expected.length, actual.length);
48 assertEquals(expected[0], actual[0]);
49 assertEquals(expected[1], actual[1]);
50 assertEquals(expected[2], actual[2]);
51 assertEquals(expected[3], actual[3]);
52 assertEquals(expected[4], actual[4]);
53 assertEquals(expected[5], actual[5]);

Completed in 1082 milliseconds

1 2 3 4 5 6 7 891011>>