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

1 2 3 4 5 6 7 891011>>

  /external/apache-harmony/sql/src/test/java/org/apache/harmony/sql/tests/java/sql/
SQLTimeoutExceptionTest.java 48 assertEquals(
51 assertEquals("The error code of SQLTimeoutException should be 0",
66 assertEquals("The error code of SQLTimeoutException should be 0",
77 assertEquals(
80 assertEquals(
83 assertEquals("The error code of SQLTimeoutException should be 0",
97 assertEquals(
100 assertEquals("The error code of SQLTimeoutException should be 0",
111 assertEquals(
116 assertEquals("The error code of SQLTimeoutException should be 0"
    [all...]
SQLTransactionRollbackExceptionTest.java 49 assertEquals(
52 assertEquals(
70 assertEquals(
82 assertEquals(
85 assertEquals(
88 assertEquals(
104 assertEquals(
107 assertEquals(
119 assertEquals(
125 assertEquals(
    [all...]
SQLTransientConnectionExceptionTest.java 49 assertEquals(
52 assertEquals(
70 assertEquals(
82 assertEquals(
85 assertEquals(
88 assertEquals(
104 assertEquals(
107 assertEquals(
119 assertEquals(
125 assertEquals(
    [all...]
SQLTransientExceptionTest.java 48 assertEquals(
51 assertEquals("The error code of SQLTransientException should be 0",
66 assertEquals("The error code of SQLTransientException should be 0",
77 assertEquals(
80 assertEquals(
83 assertEquals("The error code of SQLTransientException should be 0",
97 assertEquals(
100 assertEquals("The error code of SQLTransientException should be 0",
111 assertEquals(
116 assertEquals("The error code of SQLTransientException should be 0"
    [all...]
  /external/chromium_org/tools/telemetry/telemetry/core/timeline/
inspector_importer_unittest.py 62 self.assertEquals(decode_image_event.args['data']['imageType'], 'PNG')
72 self.assertEquals('Foo', event.name)
73 self.assertEquals(1, event.start)
74 self.assertEquals(3, event.end)
75 self.assertEquals(2, event.duration)
76 self.assertEquals([], event.sub_slices)
86 self.assertEquals('Foo', event.name)
87 self.assertEquals(1, event.start)
88 self.assertEquals(3, event.end)
89 self.assertEquals(2, event.duration
    [all...]
  /external/robolectric/src/test/java/com/xtremelabs/robolectric/
RobolectricConfigTest.java 12 import static org.junit.Assert.assertEquals;
21 assertEquals(7, config.getReceiverCount());
23 assertEquals("com.xtremelabs.robolectric.RobolectricConfigTest.ConfigTestReceiver", config.getReceiverClassName(0));
24 assertEquals("com.xtremelabs.robolectric.ACTION1", config.getReceiverIntentFilterActions(0).get(0));
26 assertEquals("com.xtremelabs.robolectric.RobolectricConfigTest.ConfigTestReceiver", config.getReceiverClassName(1));
27 assertEquals("com.xtremelabs.robolectric.ACTION2", config.getReceiverIntentFilterActions(1).get(0));
29 assertEquals("com.xtremelabs.robolectric.test.ConfigTestReceiver", config.getReceiverClassName(2));
30 assertEquals("com.xtremelabs.robolectric.ACTION_SUPERSET_PACKAGE", config.getReceiverIntentFilterActions(2).get(0));
32 assertEquals("com.xtremelabs.ConfigTestReceiver", config.getReceiverClassName(3));
33 assertEquals("com.xtremelabs.robolectric.ACTION_SUBSET_PACKAGE", config.getReceiverIntentFilterActions(3).get(0 (…)
    [all...]
  /libcore/luni/src/test/java/libcore/java/nio/charset/
OldCharsetEncoderDecoderBufferTest.java 46 assertEquals("abcd", new String(cBuf, 0, 4));
47 assertEquals(0, cBuf[4]);
48 assertEquals(0, cBuf[5]);
55 assertEquals('x', bBuf[1]);
56 assertEquals(0, bBuf[3]);
59 assertEquals("abcd", new String(cBuf, 0, 4));
60 assertEquals(0, cBuf[4]);
61 assertEquals(0, cBuf[5]);
77 assertEquals('a', inArray[0]);
78 assertEquals('b', inArray[1])
    [all...]
  /libcore/luni/src/test/java/tests/api/org/xml/sax/ext/
Locator2ImplTest.java 42 assertEquals(null, l.getPublicId());
43 assertEquals(null, l.getSystemId());
44 assertEquals(0, l.getLineNumber());
45 assertEquals(0, l.getColumnNumber());
47 assertEquals(null, l.getEncoding());
48 assertEquals(null, l.getXMLVersion());
65 assertEquals(PUB, outer.getPublicId());
66 assertEquals(SYS, outer.getSystemId());
67 assertEquals(ROW, outer.getLineNumber());
68 assertEquals(COL, outer.getColumnNumber())
    [all...]
  /external/chromium_org/v8/test/mjsunit/harmony/
block-scoping.js 40 assertEquals(1, x)
41 assertEquals(undefined, y)
54 assertEquals(1, eval('one'));
55 assertEquals(2, eval('x'));
56 assertEquals(3, eval('y'));
57 assertEquals(4, eval('z'));
58 assertEquals(5, eval('u'));
59 assertEquals(6, eval('v'));
73 assertEquals(1, one);
74 assertEquals(2, x)
    [all...]
  /external/v8/test/mjsunit/harmony/
block-scoping.js 40 assertEquals(1, x)
41 assertEquals(undefined, y)
54 assertEquals(1, eval('one'));
55 assertEquals(2, eval('x'));
56 assertEquals(3, eval('y'));
57 assertEquals(4, eval('z'));
58 assertEquals(5, eval('u'));
59 assertEquals(6, eval('v'));
73 assertEquals(1, one);
74 assertEquals(2, x)
    [all...]
  /cts/tests/tests/security/src/android/security/cts/
LinuxRngTest.java 30 assertEquals("/dev/random major", 1, getCharDeviceMajor("/dev/random"));
31 assertEquals("/dev/random minor", 8, getCharDeviceMinor("/dev/random"));
36 assertEquals("/dev/urandom major", 1, getCharDeviceMajor("/dev/urandom"));
37 assertEquals("/dev/urandom minor", 9, getCharDeviceMinor("/dev/urandom"));
  /frameworks/base/core/tests/coretests/src/android/net/
WebAddressTest.java 29 assertEquals("google.com.", webAddress.getHost());
30 assertEquals("/b/c/g", webAddress.getPath());
37 assertEquals("www.myspace.com", webAddress.getHost());
38 assertEquals("/?si=1", webAddress.getPath());
  /libcore/luni/src/test/java/libcore/java/lang/
OldFloatTest.java 52 assertEquals(0x7f800000, Float.floatToIntBits(Float.POSITIVE_INFINITY));
53 assertEquals(0xff800000, Float.floatToIntBits(Float.NEGATIVE_INFINITY));
54 assertEquals(0x7fc00000, Float.floatToIntBits(Float.NaN));
58 assertEquals(0x7f800000, Float.floatToRawIntBits(Float.POSITIVE_INFINITY));
59 assertEquals(0xff800000, Float.floatToRawIntBits(Float.NEGATIVE_INFINITY));
60 assertEquals(0x7fc00000, Float.floatToRawIntBits(Float.NaN));
68 assertEquals(Float.POSITIVE_INFINITY, Float.intBitsToFloat(0x7f800000));
69 assertEquals(Float.NEGATIVE_INFINITY, Float.intBitsToFloat(0xff800000));
71 assertEquals(Float.NaN, Float.intBitsToFloat(0x7f800001));
72 assertEquals(Float.NaN, Float.intBitsToFloat(0x7fffffff))
    [all...]
  /libcore/luni/src/test/java/libcore/java/math/
OldBigDecimalScaleOperationsTest.java 32 assertEquals("incorrect scale", 24, res.scale());
33 assertEquals("incorrect value", "123456789012345.678901234567890123456789", res.toString());
35 assertEquals("incorrect scale", 84, res.scale());
36 assertEquals("incorrect value", "1.23456789012345678901234567890123456789E-46", res.toString());
57 assertEquals("incorrect scale", 24, res.scale());
58 assertEquals("incorrect value", "123456789012345.678901234567890123456789", res.toString());
60 assertEquals("incorrect scale", 84, res.scale());
61 assertEquals("incorrect value", "1.23456789012345678901234567890123456789E-46", res.toString());
63 assertEquals("incorrect scale", -16, res.scale());
64 assertEquals("incorrect value", "1.23456789012345678901234567890123456789E+54", res.toString())
    [all...]
  /libcore/luni/src/test/java/tests/api/org/xml/sax/helpers/
LocatorImplTest.java 37 assertEquals(null, l.getPublicId());
38 assertEquals(null, l.getSystemId());
39 assertEquals(0, l.getLineNumber());
40 assertEquals(0, l.getColumnNumber());
54 assertEquals(PUB, outer.getPublicId());
55 assertEquals(SYS, outer.getSystemId());
56 assertEquals(ROW, outer.getLineNumber());
57 assertEquals(COL, outer.getColumnNumber());
72 assertEquals(PUB, l.getPublicId());
75 assertEquals(null, l.getPublicId())
    [all...]
  /packages/apps/Exchange/tests/src/com/android/exchange/adapter/
AttachmentLoaderTests.java 31 assertEquals("abc", AttachmentLoader.encodeForExchange2003("abc"));
33 assertEquals("abc_:/.", AttachmentLoader.encodeForExchange2003("abc_:/."));
35 assertEquals("%20%33", AttachmentLoader.encodeForExchange2003("%20%33"));
37 assertEquals(TEST_LOCATION.replace("|", "%7C"),
  /packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/research/
MotionEventReaderTests.java 61 assertEquals("x set correctly", (int) mReplayData.mPointerCoordsArrays.get(0)[0].x, 100);
62 assertEquals("y set correctly", (int) mReplayData.mPointerCoordsArrays.get(0)[0].y, 200);
63 assertEquals("only one pointer", mReplayData.mPointerCoordsArrays.get(0).length, 1);
64 assertEquals("only one MotionEvent", mReplayData.mPointerCoordsArrays.size(), 1);
114 assertEquals("x1 set correctly", (int) mReplayData.mPointerCoordsArrays.get(0)[0].x, 100);
115 assertEquals("y1 set correctly", (int) mReplayData.mPointerCoordsArrays.get(0)[0].y, 200);
116 assertEquals("x2 set correctly", (int) mReplayData.mPointerCoordsArrays.get(1)[0].x, 300);
117 assertEquals("y2 set correctly", (int) mReplayData.mPointerCoordsArrays.get(1)[0].y, 400);
118 assertEquals("only one pointer", mReplayData.mPointerCoordsArrays.get(0).length, 1);
119 assertEquals("two MotionEvents", mReplayData.mPointerCoordsArrays.size(), 2)
    [all...]
  /external/chromium_org/v8/test/mjsunit/
array-indexing.js 53 assertEquals(-1, [].indexOf(1));
54 assertEquals(-1, array.indexOf(4));
55 assertEquals(-1, array.indexOf(3, array.length));
57 assertEquals(2, array.indexOf(3));
59 assertEquals(0, array.indexOf(1, -17));
61 assertEquals(3, array.indexOf(1, -11));
63 assertEquals(3, array.indexOf(1, 1));
64 assertEquals(3, array.indexOf(1, 3));
65 assertEquals(6, array.indexOf(1, 4));
68 assertEquals(3, undef_array.indexOf(undefined))
    [all...]
math-pow.js 33 assertEquals(4, Math.pow(2, 2));
34 assertEquals(2147483648, Math.pow(2, 31));
35 assertEquals(0.25, Math.pow(2, -2));
36 assertEquals(0.0625, Math.pow(2, -4));
37 assertEquals(1, Math.pow(1, 100));
38 assertEquals(0, Math.pow(0, 1000));
41 assertEquals(NaN, Math.pow(2, NaN));
42 assertEquals(NaN, Math.pow(+0, NaN));
43 assertEquals(NaN, Math.pow(-0, NaN));
44 assertEquals(NaN, Math.pow(Infinity, NaN))
    [all...]
  /external/v8/test/mjsunit/
array-indexing.js 53 assertEquals(-1, [].indexOf(1));
54 assertEquals(-1, array.indexOf(4));
55 assertEquals(-1, array.indexOf(3, array.length));
57 assertEquals(2, array.indexOf(3));
59 assertEquals(0, array.indexOf(1, -17));
61 assertEquals(3, array.indexOf(1, -11));
63 assertEquals(3, array.indexOf(1, 1));
64 assertEquals(3, array.indexOf(1, 3));
65 assertEquals(6, array.indexOf(1, 4));
68 assertEquals(3, undef_array.indexOf(undefined))
    [all...]
math-pow.js 33 assertEquals(4, Math.pow(2, 2));
34 assertEquals(2147483648, Math.pow(2, 31));
35 assertEquals(0.25, Math.pow(2, -2));
36 assertEquals(0.0625, Math.pow(2, -4));
37 assertEquals(1, Math.pow(1, 100));
38 assertEquals(0, Math.pow(0, 1000));
41 assertEquals(NaN, Math.pow(2, NaN));
42 assertEquals(NaN, Math.pow(+0, NaN));
43 assertEquals(NaN, Math.pow(-0, NaN));
44 assertEquals(NaN, Math.pow(Infinity, NaN))
    [all...]
  /external/guava/guava-tests/test/com/google/common/io/
LittleEndianDataOutputStreamTest.java 66 assertEquals(-100, b[0]);
67 assertEquals(100, b[1]);
68 assertEquals(true, in.readBoolean());
69 assertEquals(false, in.readBoolean());
70 assertEquals(100, in.readByte());
71 assertEquals(-100, in.readByte());
72 assertEquals(200, in.readUnsignedByte());
73 assertEquals('\u6100', in.readChar());
74 assertEquals(-12150, in.readShort());
75 assertEquals(20675, in.readUnsignedShort())
    [all...]
  /libcore/luni/src/test/java/libcore/java/net/
UrlEncodingTest.java 31 assertEquals("%61", new URI("http://foo#%61").getRawFragment());
38 assertEquals("a b", URLDecoder.decode("a+b"));
39 assertEquals("a b", URLDecoder.decode("a+b", "UTF-8"));
40 assertEquals("a+b", new URI("http://foo#a+b").getFragment());
44 assertEquals("a%2Bb", URLEncoder.encode("a+b"));
45 assertEquals("a%2Bb", URLEncoder.encode("a+b", "UTF-8"));
46 assertEquals("a+b", new URI("http", "foo", "/", "a+b").getRawFragment());
50 assertEquals("a b", URLDecoder.decode("a b"));
51 assertEquals("a b", URLDecoder.decode("a b", "UTF-8"));
60 assertEquals("a+b", URLEncoder.encode("a b"))
    [all...]
  /external/chromium_org/android_webview/javatests/src/org/chromium/android_webview/test/
AwScrollOffsetManagerTest.java 100 assertEquals(callCount + 1, delegate.getOverScrollCallCount());
101 assertEquals(scrollX, delegate.getOverScrollDeltaX() + delegate.getScrollX());
102 assertEquals(scrollY, delegate.getOverScrollDeltaY() + delegate.getScrollY());
131 assertEquals(width, offsetManager.computeHorizontalScrollRange());
132 assertEquals(height, offsetManager.computeVerticalScrollRange());
135 assertEquals(0, offsetManager.computeMaximumHorizontalScrollOffset());
136 assertEquals(0, offsetManager.computeMaximumVerticalScrollOffset());
140 assertEquals(scrollX, delegate.getOverScrollDeltaX());
141 assertEquals(scrollY, delegate.getOverScrollDeltaY());
142 assertEquals(0, delegate.getScrollX())
    [all...]
  /cts/tests/tests/webkit/src/android/webkit/cts/
MimeTypeMapTest.java 35 assertEquals("html", MimeTypeMap.getFileExtensionFromUrl("http://localhost/index.html"));
36 assertEquals("html", MimeTypeMap.getFileExtensionFromUrl("http://host/x.html?x=y"));
37 assertEquals("", MimeTypeMap.getFileExtensionFromUrl("http://www.example.com/"));
38 assertEquals("", MimeTypeMap.getFileExtensionFromUrl("https://example.com/foo"));
39 assertEquals("", MimeTypeMap.getFileExtensionFromUrl(null));
40 assertEquals("", MimeTypeMap.getFileExtensionFromUrl(""));
41 assertEquals("", MimeTypeMap.getFileExtensionFromUrl("http://abc/&%$.()*"));
44 //assertEquals("", MimeTypeMap.getFileExtensionFromUrl("http://www.example.com"));
58 assertEquals("audio/mpeg", mMimeTypeMap.getMimeTypeFromExtension("mp3"));
59 assertEquals("application/zip", mMimeTypeMap.getMimeTypeFromExtension("zip"))
    [all...]

Completed in 482 milliseconds

1 2 3 4 5 6 7 891011>>