HomeSort by relevance Sort by last modified time
    Searched defs:expected (Results 276 - 300 of 967) sorted by null

<<11121314151617181920>>

  /libcore/luni/src/test/java/tests/api/java/lang/reflect/
GenericReflectionTestsBase.java 70 public static void assertNotEquals(Object expected, Object actual) {
71 TestCase.assertFalse(actual.toString() + " has not to be equal to " + expected.toString(), expected.equals(actual));
  /system/core/libcutils/
strdup8to16.c 72 int expected = 0; local
80 * expected, then start counting them because strcpy8to16
83 expected--;
84 if (expected < 0) {
89 expected = UTF8_SEQ_LENGTH(ic) - 1;
92 if (expected == 3) {
  /cts/tests/tests/accessibilityservice/src/android/accessibilityservice/cts/
AccessibilityFocusAndInputFocusSyncTest.java 46 final AccessibilityNodeInfo expected = getInstrumentation().getUiAutomation() local
49 assertNotNull(expected);
50 assertFalse(expected.isAccessibilityFocused());
51 assertTrue(expected.isFocused());
57 assertTrue(expected.performAction(ACTION_ACCESSIBILITY_FOCUS));
66 // Get the second expected node info.
72 // Make sure we got the expected focusable.
73 assertEquals(expected, received);
  /cts/tests/tests/graphics/src/android/graphics/cts/
NinePatchTest.java 78 Bitmap expected = BitmapFactory.decodeResource(mRes, R.drawable.scaled1, mOptNoScale); local
80 Bitmap bitmap = Bitmap.createBitmap(expected.getWidth(), expected.getHeight(),
85 checkBitmapWithAlpha(expected, bitmap, ALPHA_OPAQUE);
87 expected = BitmapFactory.decodeResource(mRes, R.drawable.scaled2, mOptNoScale);
88 bitmap = Bitmap.createBitmap(expected.getWidth(), expected.getHeight(),
93 checkBitmapWithAlpha(expected, bitmap, ALPHA_OPAQUE);
95 bitmap = Bitmap.createBitmap(expected.getWidth(), expected.getHeight()
    [all...]
PathDashPathEffectTest.java 50 Bitmap expected = Bitmap.createBitmap(WIDTH, HEIGHT, Config.ARGB_8888); local
51 expected.eraseColor(Color.BLACK);
52 canvas = new Canvas(expected);
65 if (expected.getPixel(x, y) != b.getPixel(x, y)) {
  /cts/tests/tests/content/src/android/content/cts/
Intent_ShortcutIconResourceTest.java 78 int expected = 0; local
81 assertEquals(expected, mShortcutIconResource.describeContents());
  /cts/tests/tests/nativeopengl/standalone/jni/tests/
GLTest_test.cpp 155 bool checkPixel(GLubyte * actual, GLubyte * expected, int tolerance) {
157 if (abs(actual[i] - expected[i]) > tolerance) {
166 GLubyte * expected, int tolerance) {
168 if (checkPixel(actual, expected, tolerance)) {
176 << "Expected: r=" << (int)expected[0] << " g=" << (int)expected[1]
177 << " b=" << (int)expected[2] << " a=" << (int)expected[3] << "\n";
191 GLubyte expected[4] = { 51, 51, 51, 51 } local
    [all...]
  /cts/tests/tests/os/src/android/os/cts/
PatternMatcherTest.java 64 // set the expected value
78 // set the expected value
97 String expected = "test1"; local
99 mPatternMatcher = new PatternMatcher(expected, PatternMatcher.PATTERN_LITERAL);
104 assertEquals(expected, p.readString());
110 // set the expected value
117 // set the expected value
  /cts/tests/tests/text/src/android/text/method/cts/
DateKeyListenerTest.java 52 int expected = InputType.TYPE_CLASS_DATETIME | InputType.TYPE_DATETIME_VARIATION_DATE; local
53 assertEquals(expected, dateKeyListener.getInputType());
DateTimeKeyListenerTest.java 52 int expected = InputType.TYPE_CLASS_DATETIME local
54 assertEquals(expected, listener.getInputType());
TimeKeyListenerTest.java 47 int expected = InputType.TYPE_CLASS_DATETIME local
49 assertEquals(expected, listener.getInputType());
  /cts/tests/tests/view/src/android/view/cts/
MenuInflaterTest.java 213 Bitmap expected = BitmapFactory.decodeResource(mActivity.getResources(), resId); local
214 WidgetTestUtils.assertEquals(expected, b.getBitmap());
  /development/samples/SampleSyncAdapter/tests/src/com/example/android/samplesync/authenticator/
AuthenticatorActivityTest.java 75 int expected = View.VISIBLE; local
76 assertEquals(expected, loginbutton.getVisibility());
  /external/antlr/antlr-3.4/gunit/src/main/java/org/antlr/gunit/
AbstractTest.java 46 // return an escaped string of the expected result
48 String expected = getExpected(); local
49 if ( expected!=null ) expected = JUnitCodeGen.escapeForJava(expected);
50 return expected;
  /external/apache-harmony/auth/src/test/java/common/tests/api/javax/security/auth/x500/
X500PrincipalTest.java 59 String expected = "cn=dumbledore,ou=administration,o=hogwarts school,c=gb"; local
60 assertEquals("CANONICAL output differs from expected result", expected,
86 //expected IllegalArgumentException here
  /external/apache-harmony/crypto/src/test/api/java.injected/javax/crypto/
CipherInputStreamTest.java 82 fail("read() returned the incorrect value. " + "Expected: "
101 int expected = data.length; local
102 byte[] result = new byte[expected];
112 if (got == expected) {
114 } else if (got > expected) {
116 + "is larger than expected.");
139 int expected = data.length; local
140 byte[] result = new byte[expected];
152 if (got == expected) {
154 } else if (got > expected) {
176 int expected = data.length; local
    [all...]
  /external/apache-harmony/security/src/test/impl/java/org/apache/harmony/security/tests/asn1/der/
BerInputStreamTest.java 85 int expected = ((BigInteger) testcase[i][1]).intValue(); local
87 assertEquals(expected, in.getLength());
98 fail("No expected ASN1Exception");
154 fail("No expected ASN1Exception");
162 fail("No expected ASN1Exception");
214 fail("No expected ASN1Exception");
BitStringTest.java 67 BitString expected = (BitString) validBitstring[i][0]; local
70 assertEquals("Testcase: " + i, expected.unusedBits,
73 assertTrue("Testcase: " + i, Arrays.equals(expected.bytes,
82 BitString expected = (BitString) validBitstring[i][0]; local
85 assertEquals("Testcase: " + i, expected.unusedBits,
88 assertTrue("Testcase: " + i, Arrays.equals(expected.bytes,
120 fail("No expected ASN1Exception for: " + i);
  /external/ceres-solver/internal/ceres/
compressed_col_sparse_matrix_utils_test.cc 62 // Expected ordering
235 const double expected[] = { -1.4706, -1.0962, 6.6667, 2.2477}; local
244 EXPECT_NEAR(rhs_and_solution[i], expected[i], 1e-4) << i;
250 double expected[] = {1.970288, 1.242498, 6.081864, -0.057255}; local
259 EXPECT_NEAR(rhs_and_solution[i], expected[i], 1e-4) << i;
265 double expected[] = { 6.8420e+00, 1.0057e+00, -1.4907e-16, -1.9335e+00, local
278 EXPECT_NEAR(solution[j], expected[4 * i + j], 1e-3) << i;
  /external/chromium/base/
file_path_unittest.cc 17 const FilePath::CharType* expected; member in struct:UnaryTestData
22 bool expected; member in struct:UnaryBooleanTestData
27 const FilePath::CharType* expected; member in struct:BinaryTestData
32 bool expected; member in struct:BinaryBooleanTestData
37 int expected; member in struct:BinaryIntTestData
136 EXPECT_EQ(FilePath::StringType(cases[i].expected), observed.value()) <<
223 EXPECT_EQ(FilePath::StringType(cases[i].expected), observed.value()) <<
247 // need to be defined with different expected results on platforms that use
301 EXPECT_EQ(FilePath::StringType(cases[i].expected), observed_str.value()) <<
304 EXPECT_EQ(FilePath::StringType(cases[i].expected), observed_path.value()) <
    [all...]
  /external/chromium/chrome/common/
time_format_unittest.cc 37 string16 expected = ASCIIToUTF16(expected_ascii); local
38 string16 expected_left = expected + ASCIIToUTF16(" left");
39 string16 expected_ago = expected + ASCIIToUTF16(" ago");
40 EXPECT_EQ(expected, TimeFormat::TimeRemainingShort(delta));
  /external/chromium/net/disk_cache/
disk_cache_perftest.cc 56 int expected = 0; local
75 expected++;
82 expected++;
88 helper.WaitUntilCacheIoFinished(expected);
91 return expected;
107 int expected = 0; local
123 expected++;
129 expected++;
135 helper.WaitUntilCacheIoFinished(expected);
138 return expected;
    [all...]
  /external/chromium_org/base/strings/
string_number_conversions_unittest.cc 678 const char* expected; member in struct:base::__anon6307
690 EXPECT_EQ(cases[i].expected, DoubleToString(cases[i].input));
  /external/chromium_org/cc/base/
tiling_data_unittest.cc 944 std::vector<std::pair<int, int> > expected = original_expected; local
962 std::vector<std::pair<int, int> > expected = original_expected; local
1056 std::vector<std::pair<int, int> > expected; local
    [all...]
  /external/chromium_org/chrome/android/javatests/src/org/chromium/chrome/browser/identity/
SettingsSecureBasedIdentificationGeneratorTest.java 23 String expected = HashUtil.getMd5Hash(new HashUtil.Params(androidId).withSalt(salt)); local
24 runTest(androidId, salt, expected);
31 String expected = HashUtil.getMd5Hash(new HashUtil.Params(androidId)); local
32 runTest(androidId, null, expected);
40 String expected = ""; local
41 runTest(androidId, salt, expected);
49 String expected = ""; local
50 runTest(androidId, salt, expected);
57 // Get a unique ID and ensure it is as expected.

Completed in 1042 milliseconds

<<11121314151617181920>>