Home
last modified time | relevance | path

Searched defs:expected (Results 1 – 25 of 94) sorted by relevance

1234

/cts/tests/tests/content/src/android/content/cts/
DContentValuesTest.java131 Long expected = 10L; in testGetAsLong() local
150 Byte expected = 'a'; in testGetAsByte() local
169 Integer expected = 20; in testGetAsInteger() local
209 Short expected = 20; in testGetAsShort() local
252 Float expected = 1.0F; in testGetAsFloat() local
302 Object expected = "android"; in testGet() local
359 Double expected = 10.2; in testGetAsDouble() local
378 String expected = "cts"; in testPutString() local
397 Byte expected = 'a'; in testPutByte() local
416 Short expected = 20; in testPutShort() local
[all …]
DIntentTest.java180 final CharSequence expected = "CharSequencetest"; in testGetCharSequenceExtra() local
261 final ArrayList<Intent> expected = new ArrayList<Intent>(); in testGetParcelableArrayListExtra() local
329 final ArrayList<Integer> expected = new ArrayList<Integer>(); in testGetIntegerArrayListExtra() local
360 final int[] expected = { 1, 2, 3 }; in testGetIntArrayExtra() local
414 final int expected = 0; in testGetIntExtra() local
435 final ArrayList<Integer> expected = new ArrayList<Integer>(); in testPutIntegerArrayListExtra() local
472 final Bundle expected = new Bundle(); in testGetBundleExtra() local
493 final char[] expected = { 'a', 'b', 'c' }; in testGetCharArrayExtra() local
515 final double[] expected = { 1d, 2d }; in testGetDoubleArrayExtra() local
533 final ArrayList<String> expected = new ArrayList<String>(); in testPutStringArrayListExtra() local
[all …]
DContentUrisTest.java103 String expected = "content://" + AUTHORITY + "/" + PATH1 + "/" + CODE1; in testWithAppendedId() local
137 String expected = "content://" + AUTHORITY + "/" + PATH1 + "/" + CODE1; in testAppendId() local
/cts/tests/tests/content/src/android/content/pm/cts/
DPackageInfoTest.java95 private void checkPkgInfoSame(PackageInfo expected, PackageInfo actual) { in checkPkgInfoSame()
119 private void checkAppInfo(ApplicationInfo expected, ApplicationInfo actual) { in checkAppInfo()
136 private void checkInfoArray(PackageItemInfo[] expected, PackageItemInfo[] actual) { in checkInfoArray()
150 private void checkSignatureInfo(Signature[] expected, Signature[] actual) { in checkSignatureInfo()
164 private void checkConfigInfo(ConfigurationInfo[] expected, ConfigurationInfo[] actual) { in checkConfigInfo()
/cts/tests/tests/os/src/android/os/cts/
DMessageTest.java120 Message expected = Message.obtain(mHandler, mRunnable); in testAccessMessageProperties() local
161 Message expected = Message.obtain(message); in testObtain2() local
177 Message expected = Message.obtain(mHandler); in testObtain3() local
188 Message expected = Message.obtain(mHandler, mRunnable); in testObtain4() local
200 Message expected = Message.obtain(mHandler, WHAT); in testObtain5() local
212 Message expected = Message.obtain(mHandler, WHAT, OBJ); in testObtain6() local
225 Message expected = Message.obtain(mHandler, WHAT, ARG1, ARG2); in testObtain7() local
239 Message expected = Message.obtain(mHandler, WHAT, ARG1, ARG2, OBJ); in testObtain8() local
264 Bundle expected = new Bundle(); in testPeekData() local
/cts/tools/vm-tests/src/dot/junit/
DDxAbstractMain.java21 static public void assertEquals(int expected, int actual) { in assertEquals()
25 static public void assertEquals(String message, int expected, int actual) { in assertEquals()
30 static public void assertEquals(long expected, long actual) { in assertEquals()
34 static public void assertEquals(double expected, double actual, double delta) { in assertEquals()
38 static public void assertEquals(Object expected, Object actual) { in assertEquals()
/cts/tests/tests/content/src/android/content/res/cts/
DArrayTest.java35 final Object expected) { in checkEntry()
40 private void checkStringArray(final int resid, final String[] expected) { in checkStringArray()
48 private void checkTextArray(final int resid, final String[] expected) { in checkTextArray()
56 private void checkIntArray(final int resid, final int[] expected) { in checkIntArray()
DPrimitiveTest.java35 private void tryEnum(final int resid, final int expected) { in tryEnum()
52 private void tryFlag(final int resid, final int expected) { in tryFlag()
70 private void tryBoolean(final int resid, final boolean expected) { in tryBoolean()
88 private void tryString(final int resid, final String expected) { in tryString()
107 private static void checkString(final int resid, final String actual, final String expected) { in checkString()
/cts/tools/dx-tests/src/dxc/junit/
DDxAbstractMain.java20 static public void assertEquals(int expected, int actual) { in assertEquals()
24 static public void assertEquals(long expected, long actual) { in assertEquals()
28 static public void assertEquals(double expected, double actual, double delta) { in assertEquals()
32 static public void assertEquals(Object expected, Object actual) { in assertEquals()
/cts/tests/tests/net/src/android/net/cts/
DNetworkInfo_StateTest.java50 State[] expected = State.values(); in testValues() local
DNetworkInfo_DetailedStateTest.java54 DetailedState[] expected = DetailedState.values(); in testValues() local
DLocalSocketAddress_NamespaceTest.java47 Namespace[] expected = Namespace.values(); in testValues() local
/cts/tests/tests/graphics/src/android/graphics/cts/
DPorterDuff_ModeTest.java61 Mode[] expected = { in testValues() local
DPath_DirectionTest.java47 Direction[] expected = { in testValues() local
DRegion_OpTest.java53 Op[] expected = { in testValues() local
DPath_FillTypeTest.java49 FillType[] expected = { in testValues() local
DPathDashPathEffect_StyleTest.java49 Style[] expected = { in testValues() local
DInterpolatorTest.java70 final int expected = 100; in testReset1() local
382 private void assertValue(int time, float expected, Result expectedResult, in assertValue()
389 private void assertValues(int time, float[] expected, Result expectedResult, in assertValues()
396 private void assertValue(float expected, Result expectedResult, Interpolator interpolator) { in assertValue()
402 private void assertFloatArray(float[] expected, float[] actual) { in assertFloatArray()
/cts/tests/tests/widget/src/android/widget/cts/
DChronometerTest.java87 int expected = 100000; in testAccessBase() local
126 String expected = "header-%S-trail"; in testAccessFormat() local
182 CharSequence expected = chronometer.getText(); in testStartAndStop() local
/cts/tests/tests/view/src/android/view/animation/cts/
DTransformationTest.java95 private void assertTransformationNotSame(Transformation expected, Transformation actual) { in assertTransformationNotSame()
101 private void assertTransformationEquals(Transformation expected, Transformation actual) { in assertTransformationEquals()
199 final Matrix expected = new Matrix(); in testGetMatrix() local
/cts/tests/tests/text/src/android/text/cts/
DClipboardManagerTest.java55 CharSequence expected = "test"; in testAccessText() local
DEditable_FactoryTest.java42 Editable expected = new SpannableStringBuilder(source); in testNewEditable() local
/cts/tests/src/android/text/method/cts/
DTextMethodUtils.java30 public static void assertEquals(char[] expected, char[] actual) { in assertEquals()
/cts/tests/tests/database/src/android/database/sqlite/cts/
DSQLiteQueryBuilderTest.java96 String expected; in testSetDistinct() local
135 String expected; in testSetProjectionMap() local
209 String expected; in testBuildQueryString() local
243 String expected = "SELECT name, sum(salary) FROM " + TEST_TABLE_NAME in testBuildQuery() local
346 String expected; in testUnionQuery() local
/cts/tests/tests/text/src/android/text/style/cts/
DMaskFilterSpanTest.java78 MaskFilter expected = new MaskFilter(); in testGetMaskFilter() local

1234