OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:mTestCase
(Results
1 - 9
of
9
) sorted by null
/frameworks/base/core/tests/coretests/src/android/pim/vcard/
LineVerifierElem.java
27
private final TestCase
mTestCase
;
32
mTestCase
= testCase;
58
mTestCase
.fail("Multiple \"BEGIN:VCARD\" line found");
65
mTestCase
.fail("Multiple \"END:VCARD\" line found");
72
mTestCase
.fail("Multiple VERSION line + found");
80
mTestCase
.fail("Property other than BEGIN came before BEGIN property: "
83
mTestCase
.fail("Property other than END came after END property: "
91
mTestCase
.fail("Unexpected line: " + line);
102
mTestCase
.fail("Expected line(s) not found:" + buffer.toString());
VCardVerifier.java
66
private final AndroidTestCase
mTestCase
;
85
mTestCase
= androidTestCase;
95
mTestCase
.fail("Already initialized");
97
mExportTestResolver = new ExportTestResolver(
mTestCase
);
106
mTestCase
.fail("Already initialized");
116
InputStream inputStream =
mTestCase
.getContext().getResources().openRawResource(resId);
118
mTestCase
.fail("Wrong resId: " + resId);
125
mTestCase
.fail("addInputEntry() is called.");
127
mTestCase
.fail("InputStream is already set");
134
mTestCase
.fail("Not initialized")
[
all
...]
LineVerifier.java
26
private final TestCase
mTestCase
;
32
mTestCase
= testCase;
38
LineVerifierElem lineVerifier = new LineVerifierElem(
mTestCase
, mVCardType);
45
mTestCase
.fail("Insufficient number of LineVerifier (" + index + ")");
ExportTestResolver.java
103
final private TestCase
mTestCase
;
107
mTestCase
= testCase;
137
mTestCase
.assertTrue(uri != null);
138
mTestCase
.assertTrue(ContentResolver.SCHEME_CONTENT.equals(uri.getScheme()));
140
mTestCase
.assertTrue(RawContacts.CONTENT_URI.getAuthority().equals(authority));
141
mTestCase
.assertTrue((Data.CONTACT_ID + "=?").equals(selection));
142
mTestCase
.assertEquals(1, selectionArgs.length);
144
mTestCase
.assertTrue(id >= 0 && id < mContactEntryList.size());
152
mTestCase
.assertTrue(VCardComposer.CONTACTS_TEST_CONTENT_URI.equals(uri));
154
mTestCase
.assertNull(selection)
[
all
...]
ContentValuesVerifier.java
34
private AndroidTestCase
mTestCase
;
40
mTestCase
= androidTestCase;
47
verify(
mTestCase
.getContext().getResources().openRawResource(resId), vCardType);
52
verify(
mTestCase
.getContext().getResources().openRawResource(resId),
90
mTestCase
.assertTrue(mIndex < mContentValuesVerifierElemList.size());
ImportTestResolver.java
97
private final TestCase
mTestCase
;
100
mTestCase
= testCase;
115
mTestCase
.fail(String.format(
129
mTestCase
.fail("There is no operation.");
150
mTestCase
.assertNull(actualContentValues.get(RawContacts.ACCOUNT_NAME));
151
mTestCase
.assertNull(actualContentValues.get(RawContacts.ACCOUNT_TYPE));
155
mTestCase
.fail(String.format(
187
mTestCase
.fail("ContentValues for MimeType " + mimeType
199
mTestCase
.assertTrue(contentValuesCollection.remove(expectedContentValues));
212
mTestCase
.fail(builder.toString())
[
all
...]
ContentValuesVerifierElem.java
35
private final AndroidTestCase
mTestCase
;
40
mTestCase
= androidTestCase;
54
verify(
mTestCase
.getContext().getResources().openRawResource(resId), vCardType);
PropertyNodesVerifier.java
122
private final TestCase
mTestCase
;
127
mTestCase
= testCase;
284
mTestCase
.fail("Expected property " + Arrays.toString(expectedProps.toArray())
321
mTestCase
.fail("Unexpected property \"" + propName + "\" exists.");
336
mTestCase
.fail("Unexpected property \"" + propName + "\" exists.");
382
mTestCase
.fail("Property \"" + propName + "\" has wrong value.\n"
/cts/tools/host/src/com/android/cts/
HostUnitTestRunner.java
38
private TestCase
mTestCase
;
42
mTestCase
= null;
62
if (
mTestCase
!= null) {
63
if (
mTestCase
instanceof DeviceTest) {
64
DeviceTest deviceTest = (DeviceTest)
mTestCase
;
68
mTestCase
.run(result);
95
mTestCase
= buildTestMethod(testClass, testMethodName);
98
return
mTestCase
;
Completed in 110 milliseconds