/prebuilts/go/darwin-x86/src/cmd/vet/ |
method.go | 87 // Actual input/output 112 actual := f.b.String() 113 actual = strings.TrimPrefix(actual, "func") 114 actual = id.Name + actual 116 f.Badf(id.Pos(), "method %s should have signature %s", actual, expectFmt) 149 // Does each type in expect with the given prefix match the corresponding type in actual? 150 func (f *File) matchParams(expect []string, actual []ast.Expr, prefix string) bool { 155 if i >= len(actual) { [all...] |
/prebuilts/go/linux-x86/src/cmd/vet/ |
method.go | 87 // Actual input/output 112 actual := f.b.String() 113 actual = strings.TrimPrefix(actual, "func") 114 actual = id.Name + actual 116 f.Badf(id.Pos(), "method %s should have signature %s", actual, expectFmt) 149 // Does each type in expect with the given prefix match the corresponding type in actual? 150 func (f *File) matchParams(expect []string, actual []ast.Expr, prefix string) bool { 155 if i >= len(actual) { [all...] |
/external/protobuf/gtest/test/ |
gtest_output_test_golden_win.txt | 4 Actual: false 36 Actual: 2 42 Actual: 2 48 Actual: false 56 gtest_output_test_.cc:#: error: Expected: (3) >= (a[i]), actual: 3 vs 9 59 gtest_output_test_.cc:#: error: Expected: (3) >= (a[i]), actual: 3 vs 6 76 Actual: 1 81 Actual: 2 89 Actual: 1 94 Actual: [all...] |
/frameworks/base/core/tests/coretests/src/android/util/ |
Base64Test.java | 57 /** Assert that actual equals the first len bytes of expected. */ 58 private void assertEquals(byte[] expected, int len, byte[] actual) { 59 assertEquals(len, actual.length); 61 assertEquals(expected[i], actual[i]); 65 /** Assert that actual equals the first len bytes of expected. */ 66 private void assertEquals(byte[] expected, int len, byte[] actual, int alen) { 69 assertEquals(expected[i], actual[i]); 73 /** Assert that actual equals the first len bytes of expected. */ 74 private void assertEquals(byte[] expected, byte[] actual) { 75 assertEquals(expected.length, actual.length) [all...] |
/external/protobuf/objectivec/Tests/ |
GPBCodedOuputStreamTests.m | 89 NSData* actual = 91 XCTAssertEqualObjects(data, actual); 101 actual = [rawOutput propertyForKey:NSStreamDataWrittenToMemoryStreamKey]; 102 XCTAssertEqualObjects(data, actual); 113 NSData* actual = 115 XCTAssertEqualObjects(data, actual); 125 actual = [rawOutput propertyForKey:NSStreamDataWrittenToMemoryStreamKey]; 126 XCTAssertEqualObjects(data, actual); 139 NSData* actual = 141 XCTAssertEqualObjects(data, actual); [all...] |
/external/easymock/src/org/easymock/internal/ |
MocksBehavior.java | 70 private final Result getStubResult(Invocation actual) {
72 if (each.getExpectedInvocation().matches(actual)) {
92 public final Result addActual(Invocation actual) {
96 Result result = behaviorLists.get(position).addActual(actual);
105 Result stubOrNice = getStubResult(actual);
108 .emptyReturnValueFor(actual.getMethod().getReturnType()));
117 actual.validateCaptures();
118 actual.clearCaptures();
131 actual.toString(org.easymock.MockControl.EQUALS_MATCHER));
140 .getMessages(actual);
[all...] |
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/ |
PluralRangesTest.java | 52 StandardPlural actual = pluralRanges.get(start, end); local 53 assertEquals("Deriving range category", expected, actual); 68 String actual = SimpleFormatterImpl.formatCompiledPattern(formatter, "{0}", "{1}"); local 69 assertEquals("range pattern " + Arrays.asList(test), expected, actual); 107 Object actual; local 109 actual = mf.formatMeasureRange(new Measure(low, unit), new Measure(high, unit)); 111 actual = e.getClass(); 113 assertEquals(i + " Formatting unit", expected, actual); 121 StandardPlural actual = a.get(StandardPlural.ONE, StandardPlural.OTHER); local 122 assertEquals("range", StandardPlural.ONE, actual); [all...] |
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/ |
PluralRangesTest.java | 51 StandardPlural actual = pluralRanges.get(start, end); local 52 assertEquals("Deriving range category", expected, actual); 67 String actual = SimpleFormatterImpl.formatCompiledPattern(formatter, "{0}", "{1}"); local 68 assertEquals("range pattern " + Arrays.asList(test), expected, actual); 106 Object actual; local 108 actual = mf.formatMeasureRange(new Measure(low, unit), new Measure(high, unit)); 110 actual = e.getClass(); 112 assertEquals(i + " Formatting unit", expected, actual); 120 StandardPlural actual = a.get(StandardPlural.ONE, StandardPlural.OTHER); local 121 assertEquals("range", StandardPlural.ONE, actual); [all...] |
/external/jacoco/org.jacoco.core.test/src/org/jacoco/core/internal/instr/ |
MethodInstrumenterTest.java | 32 private MethodRecorder expected, actual; field in class:MethodInstrumenterTest 40 actual = new MethodRecorder(); 46 actual.getVisitor().visitLdcInsn("Probe " + id); 49 instrumenter = new MethodInstrumenter(actual.getVisitor(), 68 assertEquals(expected, actual); 78 assertEquals(expected, actual); 89 assertEquals(expected, actual); 188 assertEquals(expected, actual); 212 assertEquals(expected, actual); 236 assertEquals(expected, actual); [all...] |
/external/jsoncpp/test/ |
runjsontests.py | 10 def compareOutputs( expected, actual, message ): 12 actual = actual.strip().replace('\r','').split('\n') 14 max_line_to_compare = min( len(expected), len(actual) ) 16 if expected[index].strip() != actual[index].strip(): 19 if diff_line == 0 and len(expected) != len(actual): 30 Actual: '%s' 33 safeGetLine(actual,diff_line) ) 78 actual_output = safeReadFile( base_path + '.actual' ) 79 actual_rewrite_output = safeReadFile( base_path + '.actual-rewrite' [all...] |
/external/junit/src/main/java/org/junit/ |
Assume.java | 77 * Call to assume that <code>actual</code> satisfies the condition specified by <code>matcher</code>. 88 * @param actual the computed value being compared 93 public static <T> void assumeThat(T actual, Matcher<T> matcher) { 94 if (!matcher.matches(actual)) { 95 throw new AssumptionViolatedException(actual, matcher); 100 * Call to assume that <code>actual</code> satisfies the condition specified by <code>matcher</code>. 111 * @param actual the computed value being compared 116 public static <T> void assumeThat(String message, T actual, Matcher<T> matcher) { 117 if (!matcher.matches(actual)) { 118 throw new AssumptionViolatedException(message, actual, matcher) [all...] |
/external/toolchain-utils/bestflags/ |
pipeline_process.py | 4 """Pipeline process that encapsulates the actual content. 8 The actual stages include the builder and the executor. 20 """A process that encapsulates the actual content pipeline stage. 22 The actual pipeline stage can be the builder or the tester. This process 24 Once a job is received, it will hand it to the actual stage for processing. 30 The second module consists of a pool of workers that do the actual work, e.g., 42 """Set up input/output queue and the actual method to be called. 56 worker: The method hosted by the worker pools to do the actual work, e.g., 82 Once a job is pulled, this stage invokes the actual stage method and submits 112 # Let the workers do the actual work [all...] |
/external/v8/tools/clang/scripts/ |
test_tool.py | 60 actual_files = ['-'.join([source_file.rsplit('-', 1)[0], 'actual.cc']) 76 for source, actual in zip(source_files, actual_files): 77 shutil.copyfile(source, actual) 104 for expected, actual in zip(expected_files, actual_files): 105 print '[ RUN ] %s' % os.path.relpath(actual) 109 with open(actual, 'r') as f: 115 tofile=os.path.relpath(actual)): 117 print '[ FAILED ] %s' % os.path.relpath(actual) 121 print '[ OK ] %s' % os.path.relpath(actual) 123 os.remove(actual) [all...] |
/frameworks/base/core/tests/coretests/src/android/content/pm/ |
LimitedLengthInputStreamTest.java | 84 byte[] actual = new byte[length]; 91 System.arraycopy(temp, 0, actual, 0, length); 92 assertTrue(Arrays.equals(expected, actual)); 126 byte[] actual = new byte[TEST_STRING1.length]; 127 System.arraycopy(temp, 0, actual, 0, actual.length); 128 assertTrue(Arrays.equals(TEST_STRING1, actual)); 134 byte[] actual = new byte[length]; 141 System.arraycopy(temp, 0, actual, 0, length); 142 assertTrue(Arrays.equals(expected, actual)); [all...] |
/libcore/luni/src/test/java/libcore/javax/net/ssl/ |
SSLParametersTest.java | 139 Collection<SNIServerName> actual = p.getServerNames(); local 140 assertNotNull(actual); 141 assertEquals(0, actual.size()); 148 Collection<SNIServerName> actual = p.getServerNames(); local 150 actual.add((SNIServerName) new SNIHostName("www.foo.com")); 183 Collection<SNIMatcher> actual = p.getSNIMatchers(); local 184 assertNotNull(actual); 185 assertEquals(0, actual.size()); 192 Collection<SNIMatcher> actual = p.getSNIMatchers(); local 194 actual.add(SNIHostName.createSNIMatcher("www\\.google\\.com")) [all...] |
/external/toolchain-utils/automation/clients/report/ |
validate_failures.py | 113 def CompareResults(manifest, actual): 115 - List of results present in MANIFEST but missing from ACTUAL. 116 - List of results present in ACTUAL but missing from MANIFEST. 118 # Report all the actual results not present in the manifest. 119 actual_vs_manifest = actual - manifest 126 manifest_vs_actual = manifest_without_flaky_tests - actual 143 logging.info('Getting actual results from build directory: "%s"', 148 actual = set() 153 actual.update(failures) 159 if actual [all...] |
/libcore/luni/src/test/java/tests/java/sql/ |
SelectFunctionalityTest.java | 137 assertEquals("expected value doesn't equal actual", 140 assertEquals("expected value doesn't equal actual", 145 // assertEquals("expected value doesn't equal actual", BigDecimal 147 // assertEquals("expected value doesn't equal actual", BigDecimal 149 // assertEquals("expected value doesn't equal actual", id, result 151 assertEquals("expected value doesn't equal actual", BigDecimal 153 assertEquals("expected value doesn't equal actual", BigDecimal 155 assertEquals("expected value doesn't equal actual", BigDecimal 158 assertEquals("expected value doesn't equal actual", 160 assertEquals("expected value doesn't equal actual", [all...] |
/packages/apps/Email/tests/src/com/android/email/ |
LegacyConversionsTests.java | 283 * Compare attachment that was converted from Part (expected) to Provider Attachment (actual) 288 private void checkAttachment(String tag, Part expected, EmailContent.Attachment actual, 292 assertEquals(tag, expected.getMimeType(), actual.mMimeType); 297 assertEquals(tag, expectedSize, actual.mSize); 298 assertEquals(tag, expected.getContentId(), actual.mContentId); 302 assertEquals(tag, expectedName, actual.mFileName); 305 assertNull(tag, actual.getContentUri()); 307 assertTrue(tag, 0 != actual.mMessageKey); 315 assertEquals(tag, expectedPartId, actual.mLocation); 316 assertEquals(tag, "B", actual.mEncoding) [all...] |
/external/googletest/googletest/test/ |
gtest_output_test_golden_lin.txt | 5 Actual: false 37 Value of: actual 38 Actual: "actual \"string\"" 42 Value of: actual 43 Actual: "actual \"string\"" 63 Actual: 2 70 Actual: 2 77 Actual: fals [all...] |
/external/v8/testing/gtest/test/ |
gtest_output_test_golden_lin.txt | 5 Actual: false 37 Value of: actual 38 Actual: "actual \"string\"" 42 Value of: actual 43 Actual: "actual \"string\"" 63 Actual: 2 70 Actual: 2 77 Actual: fals [all...] |
/external/archive-patcher/applier/src/test/java/com/google/archivepatcher/applier/bsdiff/ |
BsPatchTest.java | 46 * The tests need access to an actual File object for the "old file", so that it can be used as 88 byte[] actual = newData.toByteArray(); 89 Assert.assertArrayEquals(expectedNewData, actual); 177 String actual = expected.getMessage(); local 178 Assert.assertEquals("bad signature", actual); 200 String actual = expected.getMessage(); local 201 Assert.assertEquals("bad newSize", actual); 224 String actual = expected.getMessage(); local 225 Assert.assertEquals("bad newSize", actual); 247 String actual = expected.getMessage() local 270 String actual = expected.getMessage(); local 293 String actual = expected.getMessage(); local 316 String actual = expected.getMessage(); local 342 String actual = expected.getMessage(); local 366 String actual = expected.getMessage(); local 390 String actual = expected.getMessage(); local 405 String actual = expected.getMessage(); local 431 long actual = BsPatch.readBsdiffLong(inputStream); local 440 long actual = local 459 long actual = local 478 long actual = local 497 long actual = local 518 long actual = local [all...] |
/external/e2fsprogs/lib/ext2fs/ |
unix_io.c | 136 int actual = 0; local 148 actual = pread64(data->dev, buf, size, location); 149 if (actual == size) 158 actual = pread(data->dev, buf, size, location); 159 if (actual == size) 171 actual = read(data->dev, buf, size); 172 if (actual != size) { 174 if (actual < 0) 175 actual = 0; 192 actual = read(data->dev, data->bounce, channel->block_size) 219 int actual = 0; local 909 ssize_t actual; local [all...] |
/external/vulkan-validation-layers/tests/gtest-1.7.0/test/ |
gtest_output_test_golden_lin.txt | 5 Actual: false 37 Value of: actual 38 Actual: "actual \"string\"" 42 Value of: actual 43 Actual: "actual \"string\"" 52 Actual: 2 59 Actual: 2 66 Actual: fals [all...] |
/prebuilts/ndk/r11/sources/third_party/googletest/googletest/test/ |
gtest_output_test_golden_lin.txt | 5 Actual: false 37 Value of: actual 38 Actual: "actual \"string\"" 42 Value of: actual 43 Actual: "actual \"string\"" 52 Actual: 2 59 Actual: 2 66 Actual: fals [all...] |
/prebuilts/ndk/r13/sources/third_party/googletest/googletest/test/ |
gtest_output_test_golden_lin.txt | 5 Actual: false 37 Value of: actual 38 Actual: "actual \"string\"" 42 Value of: actual 43 Actual: "actual \"string\"" 52 Actual: 2 59 Actual: 2 66 Actual: fals [all...] |