HomeSort by relevance Sort by last modified time
    Searched full:actual (Results 101 - 125 of 14177) sorted by null

1 2 3 45 6 7 8 91011>>

  /external/mockito/src/main/java/org/mockito/internal/matchers/
NotNull.java 19 public boolean matches(Object actual) {
20 return actual != null;
Null.java 19 public boolean matches(Object actual) {
20 return actual == null;
  /external/testng/src/test/java/test/testng93/
SingleTestTest.java 18 System.out.println("The first actual test");
23 System.out.println("The second actual test");
  /external/valgrind/exp-sgcheck/tests/
preen_invars.stderr.exp-glibc28-amd64 4 Address 0x........ expected vs actual:
6 Actual: global array "im_a_global_arr" of size 10 in object with soname "preen_invars_so"
  /external/junit/src/main/java/org/junit/
ComparisonFailure.java 14 * The maximum length for expected and actual strings. If it is exceeded, the strings should be shortened.
34 * @param actual the actual string value
36 public ComparisonFailure(String message, String expected, String actual) {
39 this.fActual = actual;
43 * Returns "..." in place of common prefix and "..." in place of common suffix between expected and actual.
53 * Returns the actual string value
55 * @return the actual string value
76 * The maximum length for <code>expected</code> and <code>actual</code> strings to show. When
81 private final String actual; field in class:ComparisonFailure.ComparisonCompactor
    [all...]
  /frameworks/av/media/libnbaio/
MonoPipeReader.cpp 49 ssize_t actual = mFifoReader.read(buffer, count); local
50 ALOG_ASSERT(actual <= count);
51 if (CC_UNLIKELY(actual <= 0)) {
52 return actual;
54 mFramesRead += (size_t) actual;
55 return actual;
  /packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/database/
MoreDatabaseUtilTest.java 38 String actual = MoreDatabaseUtils.buildCreateIndexSql("testtable", "testfield") local
40 assertEquals(expected, actual);
43 actual = MoreDatabaseUtils.buildCreateIndexSql("test_table", "test_field").toLowerCase();
44 assertEquals(expected, actual);
49 String actual = MoreDatabaseUtils.buildDropIndexSql("testtable", "testfield").toLowerCase(); local
50 assertEquals(expected, actual);
  /external/antlr/antlr-3.4/runtime/ObjC/Framework/test/runtime/sets/
ANTLRBitSetTest.m 20 CFIndex actual = (CFIndex)[bitSet numBits];
23 STAssertEquals(actual, expected, @"There should be three bits set in bitvector. But I have %d", actual);
43 CFIndex actual = (CFIndex)[bitSet numBits];
45 STAssertEquals(actual, expected, @"There should be four bits set in bitvector. But I have %d", actual);
56 CFIndex actual = (CFIndex)[bitSet numBits];
58 STAssertEquals(actual, expected, @"There should be three bits set in bitvector. But I have %d", actual);
66 CFIndex actual = (CFIndex)[bitSet numBits]
    [all...]
  /frameworks/base/services/tests/notification/src/com/android/server/notification/
GlobalSortKeyComparatorTest.java 76 List<NotificationRecord> actual = new ArrayList<>(); local
77 actual.addAll(expected);
78 Collections.shuffle(actual);
80 Collections.sort(actual, new GlobalSortKeyComparator());
82 assertEquals(expected, actual);
106 List<NotificationRecord> actual = new ArrayList<>(); local
107 actual.addAll(expected);
108 Collections.shuffle(actual);
110 Collections.sort(actual, new GlobalSortKeyComparator());
112 assertEquals(expected, actual);
136 List<NotificationRecord> actual = new ArrayList<>(); local
    [all...]
  /external/e2fsprogs/lib/ext2fs/
imager.c 67 ssize_t actual; local
114 actual = write(fd, cp, fs->blocksize * d);
115 if (actual == -1) {
119 if (actual != (ssize_t) (fs->blocksize * d)) {
146 ssize_t actual; local
164 actual = read(fd, buf, fs->blocksize * c);
165 if (actual == -1) {
169 if (actual != (ssize_t) (fs->blocksize * c)) {
195 ssize_t actual; local
207 actual = write(fd, buf, fs->blocksize)
245 ssize_t actual, size; local
288 ssize_t actual; local
366 ssize_t actual; local
    [all...]
  /cts/tests/tests/content/src/android/content/pm/cts/
ProviderInfoTest.java 86 private void checkInfoSame(ProviderInfo expected, ProviderInfo actual) {
87 assertEquals(expected.name, actual.name);
88 assertEquals(expected.authority, actual.authority);
89 assertEquals(expected.readPermission, actual.readPermission);
90 assertEquals(expected.writePermission, actual.writePermission);
91 assertEquals(expected.grantUriPermissions, actual.grantUriPermissions);
92 assertEquals(expected.uriPermissionPatterns, actual.uriPermissionPatterns);
93 assertEquals(expected.multiprocess, actual.multiprocess);
94 assertEquals(expected.initOrder, actual.initOrder);
95 assertEquals(expected.isSyncable, actual.isSyncable)
    [all...]
  /art/compiler/linker/
output_stream_test.cc 31 off_t actual = output_stream_->Seek(0, kSeekCurrent); local
32 EXPECT_EQ(expected, actual);
55 void CheckTestOutput(const std::vector<uint8_t>& actual) {
59 EXPECT_EQ(sizeof(expected), actual.size());
60 EXPECT_EQ(0, memcmp(expected, &actual[0], actual.size()));
73 std::vector<uint8_t> actual(in->GetLength());
74 bool readSuccess = in->ReadFully(&actual[0], actual.size());
76 CheckTestOutput(actual);
    [all...]
  /external/autotest/client/site_tests/security_AccountsBaseline/
security_AccountsBaseline.py 17 def match_passwd(expected, actual):
20 if expected[1:4] != actual[1:4]:
23 tuple(expected[1:4]), expected[0], tuple(actual[1:4]))
29 def match_group(expected, actual):
33 if expected[1:3] != actual[1:3]:
37 tuple(expected[1:3]), expected[0], tuple(actual[1:3]))
38 if set(expected[3].split(',')) != set(actual[3].split(',')):
42 expected[3], expected[0], actual[3])
82 for actual in actual_entries:
83 expected = [x for x in expected_entries if x[0] == actual[0]
    [all...]
  /external/v8/tools/clang/pylib/clang/
plugin_testing.py 26 reset_results: If true, resets expected results to the actual test output.
93 actual = subprocess.check_output(cmd, stderr=subprocess.STDOUT)
97 actual = e.output
101 return self.ProcessOneResult(test_name, actual)
103 def ProcessOneResult(self, test_name, actual):
107 actual = actual.replace('\r\n', '\n')
110 '.actual')
114 open(result_file, 'w').write(actual)
117 if expected != actual
    [all...]
  /external/testng/src/test/java/test/pholser/
Demo.java 36 final List<String> actual = Captor.instance().captives(); local
37 verify(expected, actual);
43 final List<String> actual = Captor.instance().captives(); local
44 verify(expected, actual);
47 private void verify(List<String> expected, List<String> actual) {
48 if (! expected.equals(actual)) {
49 throw new AssertionError("\nExpected:" + dumpList(expected) + "\n Got:" + dumpList(actual));
  /frameworks/opt/vcard/tests/src/com/android/vcard/tests/
VCardBuilderTest.java 44 final String actual = builder.toString(); local
52 assertTrue("Actual value:\n" + actual + " expected to contain\n" + expectedName +
53 "\nbut does not.", actual.contains(expectedName));
54 assertTrue("Actual value:\n" + actual + " expected to contain\n" + expectedFullName +
55 "\nbut does not.", actual.contains(expectedFullName));
  /external/junit/src/main/java/junit/framework/
TestCase.java 243 public static void assertEquals(String message, Object expected, Object actual) {
244 Assert.assertEquals(message, expected, actual);
252 public static void assertEquals(Object expected, Object actual) {
253 Assert.assertEquals(expected, actual);
260 public static void assertEquals(String message, String expected, String actual) {
261 Assert.assertEquals(message, expected, actual);
268 public static void assertEquals(String expected, String actual) {
269 Assert.assertEquals(expected, actual);
278 public static void assertEquals(String message, double expected, double actual, double delta) {
279 Assert.assertEquals(message, expected, actual, delta)
    [all...]
  /cts/tests/tests/text/src/android/text/cts/
AutoTextTest.java 62 String actual; local
68 actual = AutoText.get(src, 0, src.length(), view);
69 assertNull(actual);
74 actual = AutoText.get(src, 0, src.length(), view);
75 assertNotNull(actual);
76 assertEquals("can", actual);
83 actual = AutoText.get(src, 0, src.length() + 1, view);
84 assertNull(actual);
91 actual = AutoText.get(src, 0, src.length() - 1, view);
92 assertNull(actual);
    [all...]
  /external/easymock/src/org/easymock/
AbstractMatcher.java 38 * Checks whether an expected argument matches an actual argument; the method
45 * @param actual
46 * the actual argument.
49 protected boolean argumentMatches(Object expected, Object actual) {
50 return expected.equals(actual);
68 * Checks whether an expected argument array matches an actual argument array.
78 * @param actual
79 * the actual arguments.
82 public boolean matches(Object[] expected, Object[] actual) {
83 if (expected == actual) {
    [all...]
  /packages/apps/TV/tests/common/src/com/android/tv/testing/dvr/
RecordingTestUtils.java 65 public static void assertRecordingEquals(ScheduledRecording expected, ScheduledRecording actual) {
66 Assert.assertEquals("id", expected.getId(), actual.getId());
67 Assert.assertEquals("channel", expected.getChannelId(), actual.getChannelId());
68 Assert.assertEquals("programId", expected.getProgramId(), actual.getProgramId());
69 Assert.assertEquals("priority", expected.getPriority(), actual.getPriority());
70 Assert.assertEquals("start time", expected.getStartTimeMs(), actual.getStartTimeMs());
71 Assert.assertEquals("end time", expected.getEndTimeMs(), actual.getEndTimeMs());
72 Assert.assertEquals("state", expected.getState(), actual.getState());
74 actual.getSeriesRecordingId());
  /device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/unittest/
util.py 21 def sorted_list_difference(expected, actual):
25 elements in the "expected" list but not in the "actual" list, and the
26 second contains those elements in the "actual" list but not in the
35 a = actual[j]
44 while actual[j] == a:
53 while actual[j] == a:
57 unexpected.extend(actual[j:])
62 def unorderable_list_difference(expected, actual, ignore_duplicate=False):
74 actual.remove(item)
78 for lst in expected, actual:
    [all...]
  /external/autotest/client/cros/cellular/
air_state_verifier.py 37 actual = self.base_station.GetUeDataStatus()
38 return actual in expected
41 actual = self.base_station.GetUeDataStatus()
42 if actual not in expected:
44 'expected UE in status %s, got %s' % (expected, actual))
  /external/okhttp/okhttp-ws-tests/src/test/java/com/squareup/okhttp/ws/
WebSocketRecorder.java 93 Object actual = nextEvent(); local
94 if (actual instanceof IOException) {
95 throw (IOException) actual;
97 assertEquals(message, actual);
103 Object actual = nextEvent(); local
104 if (actual instanceof IOException) {
105 throw (IOException) actual;
107 assertEquals(message, actual);
111 Object actual = nextEvent(); local
112 if (actual instanceof IOException)
119 Object actual = nextEvent(); local
127 Object actual = nextEvent(); local
    [all...]
  /prebuilts/gdb/darwin-x86/lib/python2.7/unittest/
util.py 21 def sorted_list_difference(expected, actual):
25 elements in the "expected" list but not in the "actual" list, and the
26 second contains those elements in the "actual" list but not in the
35 a = actual[j]
44 while actual[j] == a:
53 while actual[j] == a:
57 unexpected.extend(actual[j:])
62 def unorderable_list_difference(expected, actual, ignore_duplicate=False):
74 actual.remove(item)
78 for lst in expected, actual
    [all...]
  /prebuilts/gdb/linux-x86/lib/python2.7/unittest/
util.py 21 def sorted_list_difference(expected, actual):
25 elements in the "expected" list but not in the "actual" list, and the
26 second contains those elements in the "actual" list but not in the
35 a = actual[j]
44 while actual[j] == a:
53 while actual[j] == a:
57 unexpected.extend(actual[j:])
62 def unorderable_list_difference(expected, actual, ignore_duplicate=False):
74 actual.remove(item)
78 for lst in expected, actual
    [all...]

Completed in 764 milliseconds

1 2 3 45 6 7 8 91011>>