/external/easymock/src/org/easymock/internal/matchers/ |
Find.java | 33 public boolean matches(Object actual) {
34 return (actual instanceof String)
35 && Pattern.compile(regex).matcher((String) actual).find();
|
InstanceOf.java | 32 public boolean matches(Object actual) {
33 return (actual != null) && clazz.isAssignableFrom(actual.getClass());
|
Matches.java | 32 public boolean matches(Object actual) {
33 return (actual instanceof String) && ((String) actual).matches(regex);
|
StartsWith.java | 32 public boolean matches(Object actual) {
33 return (actual instanceof String)
34 && ((String) actual).startsWith(prefix);
|
/external/mockito/src/org/mockito/internal/util/reflection/ |
FieldInitializationReport.java | 23 * Returns the actual field instance. 25 * @return the actual instance 50 * Returns the class of the actual instance in the field.
|
/external/valgrind/main/exp-sgcheck/tests/ |
hackedbz2.stderr.exp-glibc28-amd64 | 11 Address 0x........ expected vs actual: 13 Actual: unknown 14 Actual: is 0 after Expected
|
/frameworks/av/media/libnbaio/ |
LibsndfileSink.cpp | 45 sf_count_t actual = sf_writef_short(mSndfile, (short *) buffer, (sf_count_t) count); local 46 mFramesWritten += actual; 47 return actual;
|
/sdk/eclipse/plugins/com.android.ide.eclipse.gldebugger.tests/src/com/android/ide/eclipse/gltrace/format/ |
GLMessageFormatterTest.java | 69 String actual = sGLMessageFormatter.formatGLMessage(msg); local 71 assertEquals(expected, actual); 85 String actual = sGLMessageFormatter.formatGLMessage(msg); local 87 assertEquals(expected, actual); 99 String actual = sGLMessageFormatter.formatGLMessage(msg); local 101 assertEquals(expected, actual); 112 String actual = sGLMessageFormatter.formatGLMessage(msg); local 114 assertEquals(expected, actual); 125 String actual = sGLMessageFormatter.formatGLMessage(msg); local 127 assertEquals(expected, actual); 138 String actual = sGLMessageFormatter.formatGLMessage(msg); local [all...] |
/external/easymock/src/org/easymock/internal/ |
UnorderedBehavior.java | 47 public Result addActual(Invocation actual) {
50 if (!entry.getExpectedInvocation().matches(actual)) {
55 // actual and expected matched, validate the capture
56 actual.validateCaptures();
63 actual.clearCaptures();
|
/external/skia/gm/viewer/ |
module.js | 3 * Reads an actual-results.json file, and imports its data into $scope. 19 /* When the changePlatformPath function is called, download actual-results.json 22 * When the JSON is received, predigest it (combining actual and expected results for each 48 $http.get($scope.platformPath + "/actual-results.json").success( 52 angular.forEach(response['actual-results'], function(resultsOfThisType, resultType) {
|
/libcore/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/spec/ |
GCMParameterSpecTest.java | 79 byte[] actual = spec.getIV(); 80 assertEquals(Arrays.toString(TEST_IV), Arrays.toString(actual)); 83 for (int i = 0; i < actual.length; i++) { 84 actual[i] ^= 0xFF; 88 Arrays.equals(spec.getIV(), actual));
|
/external/chromium_org/content/browser/geolocation/ |
geolocation_provider_unittest.cc | 81 virtual bool MatchAndExplain(const Geoposition& actual, 83 return actual.latitude == expected_.latitude && 84 actual.longitude == expected_.longitude && 85 actual.altitude == expected_.altitude && 86 actual.accuracy == expected_.accuracy && 87 actual.altitude_accuracy == expected_.altitude_accuracy && 88 actual.heading == expected_.heading && 89 actual.speed == expected_.speed && 90 actual.timestamp == expected_.timestamp && 91 actual.error_code == expected_.error_code & [all...] |
/external/chromium_org/third_party/WebKit/Tools/GardeningServer/scripts/ui/ |
results_unittests.js | 51 "actual": "CRASH" 55 "actual": "CRASH" 61 "actual": "TEXT" 70 "actual": "IMAGE", 77 "actual": "IMAGE", 87 "actual": "TIMEOUT" 96 "actual": "CRASH" 102 "actual": "CRASH" 108 "actual": "CRASH" 114 "actual": "CRASH [all...] |
/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/ |
ProviderTest.java | 399 Set<Service> actual = myProvider.getServices(); local 401 assertTrue(actual.contains(s[0])); 402 assertTrue(actual.contains(s[1])); 403 assertTrue(!actual.contains(s[2])); 406 actual = myProvider.getServices(); 409 assertTrue(actual.contains(s[0])); 410 assertTrue(!actual.contains(s[1])); 411 assertTrue(!actual.contains(s[2])); 414 actual = myProvider.getServices(); 416 assertTrue(actual.contains(s[0])) 436 Set<Service> actual = myProvider.getServices(); local 502 Set<Service> actual = myProvider.getServices(); local [all...] |
/external/chromium/testing/gtest/test/ |
gtest-filepath_test.cc | 259 FilePath actual = FilePath::MakeFileName(FilePath("foo"), FilePath("bar"), local 261 EXPECT_STREQ("foo" GTEST_PATH_SEP_ "bar.xml", actual.c_str()); 265 FilePath actual = FilePath::MakeFileName(FilePath("foo"), FilePath("bar"), local 267 EXPECT_STREQ("foo" GTEST_PATH_SEP_ "bar_12.xml", actual.c_str()); 271 FilePath actual = FilePath::MakeFileName(FilePath("foo" GTEST_PATH_SEP_), local 273 EXPECT_STREQ("foo" GTEST_PATH_SEP_ "bar.xml", actual.c_str()); 277 FilePath actual = FilePath::MakeFileName(FilePath("foo" GTEST_PATH_SEP_), local 279 EXPECT_STREQ("foo" GTEST_PATH_SEP_ "bar_12.xml", actual.c_str()); 283 FilePath actual = FilePath::MakeFileName(FilePath(""), FilePath("bar"), local 285 EXPECT_STREQ("bar.xml", actual.c_str()) 289 FilePath actual = FilePath::MakeFileName(FilePath(""), FilePath("bar"), local 295 FilePath actual = FilePath::ConcatPaths(FilePath("foo"), local 301 FilePath actual = FilePath::ConcatPaths(FilePath("foo" GTEST_PATH_SEP_), local 307 FilePath actual = FilePath::ConcatPaths(FilePath(""), local 313 FilePath actual = FilePath::ConcatPaths(FilePath("foo"), local 319 FilePath actual = FilePath::ConcatPaths(FilePath(""), local 325 FilePath actual = FilePath::ConcatPaths(FilePath("foo" GTEST_PATH_SEP_ "bar"), local 332 FilePath actual = FilePath::ConcatPaths( local 340 FilePath actual = FilePath::ConcatPaths(FilePath("foo"), local [all...] |
/external/chromium_org/testing/gtest/test/ |
gtest-filepath_test.cc | 251 FilePath actual = FilePath::MakeFileName(FilePath("foo"), FilePath("bar"), local 253 EXPECT_EQ("foo" GTEST_PATH_SEP_ "bar.xml", actual.string()); 257 FilePath actual = FilePath::MakeFileName(FilePath("foo"), FilePath("bar"), local 259 EXPECT_EQ("foo" GTEST_PATH_SEP_ "bar_12.xml", actual.string()); 263 FilePath actual = FilePath::MakeFileName(FilePath("foo" GTEST_PATH_SEP_), local 265 EXPECT_EQ("foo" GTEST_PATH_SEP_ "bar.xml", actual.string()); 269 FilePath actual = FilePath::MakeFileName(FilePath("foo" GTEST_PATH_SEP_), local 271 EXPECT_EQ("foo" GTEST_PATH_SEP_ "bar_12.xml", actual.string()); 275 FilePath actual = FilePath::MakeFileName(FilePath(""), FilePath("bar"), local 277 EXPECT_EQ("bar.xml", actual.string()) 281 FilePath actual = FilePath::MakeFileName(FilePath(""), FilePath("bar"), local 287 FilePath actual = FilePath::ConcatPaths(FilePath("foo"), local 293 FilePath actual = FilePath::ConcatPaths(FilePath("foo" GTEST_PATH_SEP_), local 299 FilePath actual = FilePath::ConcatPaths(FilePath(""), local 305 FilePath actual = FilePath::ConcatPaths(FilePath("foo"), FilePath("")); local 310 FilePath actual = FilePath::ConcatPaths(FilePath(""), local 316 FilePath actual = FilePath::ConcatPaths(FilePath("foo" GTEST_PATH_SEP_ "bar"), local 323 FilePath actual = FilePath::ConcatPaths( local 331 FilePath actual = FilePath::ConcatPaths(FilePath("foo"), local [all...] |
/external/embunit/src/ |
AssertImpl.c | 39 void assertImplementationInt(int expected,int actual, long line, const char *file) 51 { stdimpl_itoa(actual, numbuf, 10); 57 void assertImplementationCStr(const char *expected,const char *actual, long line, const char *file) 71 if (actual) { 72 al = stdimpl_strlen(actual); 75 actual = "null"; 96 stdimpl_strncat(buffer, actual, al);
|
/external/gtest/test/ |
gtest-filepath_test.cc | 259 FilePath actual = FilePath::MakeFileName(FilePath("foo"), FilePath("bar"), local 261 EXPECT_STREQ("foo" GTEST_PATH_SEP_ "bar.xml", actual.c_str()); 265 FilePath actual = FilePath::MakeFileName(FilePath("foo"), FilePath("bar"), local 267 EXPECT_STREQ("foo" GTEST_PATH_SEP_ "bar_12.xml", actual.c_str()); 271 FilePath actual = FilePath::MakeFileName(FilePath("foo" GTEST_PATH_SEP_), local 273 EXPECT_STREQ("foo" GTEST_PATH_SEP_ "bar.xml", actual.c_str()); 277 FilePath actual = FilePath::MakeFileName(FilePath("foo" GTEST_PATH_SEP_), local 279 EXPECT_STREQ("foo" GTEST_PATH_SEP_ "bar_12.xml", actual.c_str()); 283 FilePath actual = FilePath::MakeFileName(FilePath(""), FilePath("bar"), local 285 EXPECT_STREQ("bar.xml", actual.c_str()) 289 FilePath actual = FilePath::MakeFileName(FilePath(""), FilePath("bar"), local 295 FilePath actual = FilePath::ConcatPaths(FilePath("foo"), local 301 FilePath actual = FilePath::ConcatPaths(FilePath("foo" GTEST_PATH_SEP_), local 307 FilePath actual = FilePath::ConcatPaths(FilePath(""), local 313 FilePath actual = FilePath::ConcatPaths(FilePath("foo"), local 319 FilePath actual = FilePath::ConcatPaths(FilePath(""), local 325 FilePath actual = FilePath::ConcatPaths(FilePath("foo" GTEST_PATH_SEP_ "bar"), local 332 FilePath actual = FilePath::ConcatPaths( local 340 FilePath actual = FilePath::ConcatPaths(FilePath("foo"), local [all...] |
/external/protobuf/gtest/test/ |
gtest-filepath_test.cc | 195 FilePath actual = FilePath::MakeFileName(FilePath("foo"), FilePath("bar"), local 197 EXPECT_STREQ("foo" GTEST_PATH_SEP_ "bar.xml", actual.c_str()); 201 FilePath actual = FilePath::MakeFileName(FilePath("foo"), FilePath("bar"), local 203 EXPECT_STREQ("foo" GTEST_PATH_SEP_ "bar_12.xml", actual.c_str()); 207 FilePath actual = FilePath::MakeFileName(FilePath("foo" GTEST_PATH_SEP_), local 209 EXPECT_STREQ("foo" GTEST_PATH_SEP_ "bar.xml", actual.c_str()); 213 FilePath actual = FilePath::MakeFileName(FilePath("foo" GTEST_PATH_SEP_), local 215 EXPECT_STREQ("foo" GTEST_PATH_SEP_ "bar_12.xml", actual.c_str()); 219 FilePath actual = FilePath::MakeFileName(FilePath(""), FilePath("bar"), local 221 EXPECT_STREQ("bar.xml", actual.c_str()) 225 FilePath actual = FilePath::MakeFileName(FilePath(""), FilePath("bar"), local 231 FilePath actual = FilePath::ConcatPaths(FilePath("foo"), local 237 FilePath actual = FilePath::ConcatPaths(FilePath("foo" GTEST_PATH_SEP_), local 243 FilePath actual = FilePath::ConcatPaths(FilePath(""), local 249 FilePath actual = FilePath::ConcatPaths(FilePath("foo"), local 255 FilePath actual = FilePath::ConcatPaths(FilePath(""), local 261 FilePath actual = FilePath::ConcatPaths(FilePath("foo" GTEST_PATH_SEP_ "bar"), local 268 FilePath actual = FilePath::ConcatPaths( local 276 FilePath actual = FilePath::ConcatPaths(FilePath("foo"), local [all...] |
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...] |
/external/skia/tools/tests/ |
rebaseline.sh | 16 # Replace expected output with actual output, within subdir $1. 29 # Copy all the actual output files into the "expected" directories, 31 ACTUAL_FILES=$(find $1/*/output-actual -type f | grep -v /\.svn/) 33 EXPECTED_FILE=${ACTUAL_FILE//actual/expected} 46 # Delete all the "actual" directories, so we can svn-add any new "expected" 47 # directories without adding the "actual" ones. 48 rm -rf $1/*/output-actual $1/*/raw-bench-data
|
/ndk/sources/third_party/googletest/googletest/test/ |
gtest-filepath_test.cc | 251 FilePath actual = FilePath::MakeFileName(FilePath("foo"), FilePath("bar"), local 253 EXPECT_EQ("foo" GTEST_PATH_SEP_ "bar.xml", actual.string()); 257 FilePath actual = FilePath::MakeFileName(FilePath("foo"), FilePath("bar"), local 259 EXPECT_EQ("foo" GTEST_PATH_SEP_ "bar_12.xml", actual.string()); 263 FilePath actual = FilePath::MakeFileName(FilePath("foo" GTEST_PATH_SEP_), local 265 EXPECT_EQ("foo" GTEST_PATH_SEP_ "bar.xml", actual.string()); 269 FilePath actual = FilePath::MakeFileName(FilePath("foo" GTEST_PATH_SEP_), local 271 EXPECT_EQ("foo" GTEST_PATH_SEP_ "bar_12.xml", actual.string()); 275 FilePath actual = FilePath::MakeFileName(FilePath(""), FilePath("bar"), local 277 EXPECT_EQ("bar.xml", actual.string()) 281 FilePath actual = FilePath::MakeFileName(FilePath(""), FilePath("bar"), local 287 FilePath actual = FilePath::ConcatPaths(FilePath("foo"), local 293 FilePath actual = FilePath::ConcatPaths(FilePath("foo" GTEST_PATH_SEP_), local 299 FilePath actual = FilePath::ConcatPaths(FilePath(""), local 305 FilePath actual = FilePath::ConcatPaths(FilePath("foo"), FilePath("")); local 310 FilePath actual = FilePath::ConcatPaths(FilePath(""), local 316 FilePath actual = FilePath::ConcatPaths(FilePath("foo" GTEST_PATH_SEP_ "bar"), local 323 FilePath actual = FilePath::ConcatPaths( local 331 FilePath actual = FilePath::ConcatPaths(FilePath("foo"), local [all...] |
/external/chromium_org/chrome/test/functional/ispy/ispy_core/tools/ |
rendering_test_manager.py | 67 def RunTest(self, test_name, run_name, actual): 73 actual: an RGB-encoded PIL.Image that is the actual result of the 81 if not image_tools.SameImage(actual, test.expected): 82 self.UploadImage(posixpath.join(path, 'actual.png'), actual) 129 posixpath.join(failure_path, 'actual.png')) 158 """Returns a given test failure's expected, diff, and actual images. 166 actual. 175 actual = self.DownloadImage(posixpath.join(failure_path, 'actual.png') [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...] |
/cts/tests/tests/preference2/src/android/preference2/cts/ |
PreferenceTest.java | 192 int actual = mCustomPreference.getPersistedInt(0); local 193 assertEquals(expected, actual); 210 boolean actual = mCustomPreference.getPersistedBoolean(false); 211 assertEquals(expected, actual); 228 String actual = mCustomPreference.getPersistedString("b"); local 229 assertEquals(expected, actual); 246 float actual = mCustomPreference.getPersistedFloat(0.000f); local 247 assertEquals(expected, actual); 264 long actual = mCustomPreference.getPersistedLong(10000000l); local 265 assertEquals(expected, actual); [all...] |