Home
last modified time | relevance | path

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

123456

/cts/tests/tests/content/src/android/content/cts/
DContentValuesTest.java85 Long expected = 10L; in testGetAsLong() local
98 Byte expected = 'a'; in testGetAsByte() local
111 Integer expected = 20; in testGetAsInteger() local
139 Short expected = 20; in testGetAsShort() local
170 Float expected = 1.0F; in testGetAsFloat() local
202 Object expected = "android"; in testGet() local
241 Double expected = 10.2; in testGetAsDouble() local
254 String expected = "cts"; in testPutString() local
267 Byte expected = 'a'; in testPutByte() local
280 Short expected = 20; in testPutShort() local
[all …]
DIntentTest.java122 final CharSequence expected = "CharSequencetest"; in testGetCharSequenceExtra() local
148 final ArrayList<Intent> expected = new ArrayList<Intent>(); in testGetParcelableArrayListExtra() local
175 final ArrayList<Integer> expected = new ArrayList<Integer>(); in testGetIntegerArrayListExtra() local
189 final int[] expected = { 1, 2, 3 }; in testGetIntArrayExtra() local
207 final int expected = 0; in testGetIntExtra() local
216 final ArrayList<Integer> expected = new ArrayList<Integer>(); in testPutIntegerArrayListExtra() local
229 final Bundle expected = new Bundle(); in testGetBundleExtra() local
238 final char[] expected = { 'a', 'b', 'c' }; in testGetCharArrayExtra() local
248 final double[] expected = { 1d, 2d }; in testGetDoubleArrayExtra() local
254 final ArrayList<String> expected = new ArrayList<String>(); in testPutStringArrayListExtra() local
[all …]
DContentUrisTest.java70 String expected = "content://" + AUTHORITY + "/" + PATH1 + "/" + CODE1; in testWithAppendedId() local
91 String expected = "content://" + AUTHORITY + "/" + PATH1 + "/" + CODE1; in testAppendId() local
/cts/tests/tests/content/src/android/content/pm/cts/
DPackageInfoTest.java64 private void checkPkgInfoSame(PackageInfo expected, PackageInfo actual) { in checkPkgInfoSame()
88 private void checkAppInfo(ApplicationInfo expected, ApplicationInfo actual) { in checkAppInfo()
105 private void checkInfoArray(PackageItemInfo[] expected, PackageItemInfo[] actual) { in checkInfoArray()
119 private void checkSignatureInfo(Signature[] expected, Signature[] actual) { in checkSignatureInfo()
133 private void checkConfigInfo(ConfigurationInfo[] expected, ConfigurationInfo[] actual) { in checkConfigInfo()
/cts/tests/tests/os/src/android/os/cts/
DMessageTest.java65 Message expected = Message.obtain(mHandler, mRunnable); in testAccessMessageProperties() local
94 Message expected = Message.obtain(message); in testObtain2() local
104 Message expected = Message.obtain(mHandler); in testObtain3() local
109 Message expected = Message.obtain(mHandler, mRunnable); in testObtain4() local
115 Message expected = Message.obtain(mHandler, WHAT); in testObtain5() local
121 Message expected = Message.obtain(mHandler, WHAT, OBJ); in testObtain6() local
128 Message expected = Message.obtain(mHandler, WHAT, ARG1, ARG2); in testObtain7() local
136 Message expected = Message.obtain(mHandler, WHAT, ARG1, ARG2, OBJ); in testObtain8() local
149 Bundle expected = new Bundle(); in testPeekData() local
/cts/tools/vm-tests-tf/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/tests/tests/accessibilityservice/src/android/accessibilityservice/cts/
DAccessibilityEndToEndTest.java59 final AccessibilityEvent expected = AccessibilityEvent.obtain(); in testTypeViewSelectedAccessibilityEvent() local
100 final AccessibilityEvent expected = AccessibilityEvent.obtain(); in testTypeViewClickedAccessibilityEvent() local
136 final AccessibilityEvent expected = AccessibilityEvent.obtain(); in testTypeViewLongClickedAccessibilityEvent() local
172 final AccessibilityEvent expected = AccessibilityEvent.obtain(); in testTypeViewFocusedAccessibilityEvent() local
240 final AccessibilityEvent expected = AccessibilityEvent.obtain(); in testTypeViewTextChangedAccessibilityEvent() local
278 final AccessibilityEvent expected = AccessibilityEvent.obtain(); in testTypeWindowStateChangedAccessibilityEvent() local
326 final AccessibilityEvent expected = AccessibilityEvent.obtain(); in testTypeNotificationStateChangedAccessibilityEvent() local
/cts/tests/tests/view/src/android/view/animation/cts/
DTransformationTest.java72 private void assertTransformationNotSame(Transformation expected, Transformation actual) { in assertTransformationNotSame()
78 private void assertTransformationEquals(Transformation expected, Transformation actual) { in assertTransformationEquals()
130 final Matrix expected = new Matrix(); in testGetMatrix() local
/cts/tests/tests/widget/src/android/widget/cts/
DChronometerTest.java53 int expected = 100000; in testAccessBase() local
80 String expected = "header-%S-trail"; in testAccessFormat() local
112 CharSequence expected = chronometer.getText(); in testStartAndStop() local
/cts/tests/tests/graphics/src/android/graphics/cts/
DInterpolatorTest.java40 final int expected = 100; in testReset1() local
259 private void assertValue(int time, float expected, Result expectedResult, in assertValue()
266 private void assertValues(int time, float[] expected, Result expectedResult, in assertValues()
273 private void assertValue(float expected, Result expectedResult, Interpolator interpolator) { in assertValue()
279 private void assertFloatArray(float[] expected, float[] actual) { in assertFloatArray()
DPathDashPathEffect_StyleTest.java35 Style[] expected = { in testValues() local
DPath_DirectionTest.java33 Direction[] expected = { in testValues() local
DPath_FillTypeTest.java35 FillType[] expected = { in testValues() local
DRegion_OpTest.java39 Op[] expected = { in testValues() local
/cts/suite/cts/deviceTests/opengl/test/
DMatrixTest.cpp51 float expected[] = { in TEST() local
129 float expected[] = { in TEST() local
157 float expected[] = { in TEST() local
178 float expected[] = { in TEST() local
191 float expected[] = { in TEST() local
204 float expected[] = { in TEST() local
220 float expected[] = { in TEST() local
239 float expected[] = {40, 120, 200, 280}; in TEST() local
/cts/tests/tests/net/src/android/net/cts/
DNetworkInfo_DetailedStateTest.java39 DetailedState[] expected = DetailedState.values(); in testValues() local
DNetworkInfo_StateTest.java34 State[] expected = State.values(); in testValues() local
DLocalSocketAddress_NamespaceTest.java31 Namespace[] expected = Namespace.values(); in testValues() local
/cts/tests/tests/text/src/android/text/cts/
DClipboardManagerTest.java38 CharSequence expected = "test"; in testAccessText() local
DEditable_FactoryTest.java32 Editable expected = new SpannableStringBuilder(source); in testNewEditable() local
/cts/tests/tests/database/src/android/database/cts/
DDatabaseUtilsTest.java77 String expected = "name='Mike'"; in testAppendEscapedSQLString() local
89 String expected = "'Jack'"; in testSqlEscapeString() local
94 String expected = "address='LA'"; in testAppendValueToSql() local
346 String expected = "0 {\n _id=1\n name=Mike\n age=20\n address=LA\n}\n"; in testDumpCurrentRow() local
373 String expected = ">>>>> Dumping cursor " + cursor + "\n" + in testDumpCursor() local
625 private static void assertFileDescriptorContent(byte[] expected, ParcelFileDescriptor fd) in assertFileDescriptorContent()
630 private static void assertInputStreamContent(byte[] expected, InputStream is) in assertInputStreamContent()
/cts/tests/tests/nativeopengl/standalone/jni/tests/
DGLTest_test.cpp155 bool checkPixel(GLubyte * actual, GLubyte * expected, int tolerance) { in checkPixel()
166 GLubyte * expected, int tolerance) { in AssertPixel()
191 GLubyte expected[4] = { 51, 51, 51, 51 }; in TEST_F() local
/cts/tests/src/android/text/method/cts/
DTextMethodUtils.java30 public static void assertEquals(char[] expected, char[] actual) { in assertEquals()

123456