OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:TestIdentifier
(Results
1 - 25
of
32
) sorted by null
1
2
/cts/tools/tradefed-host/tests/src/com/android/cts/tradefed/result/
TestPackageResultTest.java
18
import com.android.ddmlib.testrunner.
TestIdentifier
;
34
TestIdentifier
excludedTest = new
TestIdentifier
("com.example.ExampleTest", "testPass");
37
TestIdentifier
includedTest = new
TestIdentifier
("com.example.ExampleTest",
40
Collection<
TestIdentifier
> tests = pkgResult.getTestsWithStatus(
CtsXmlResultReporterTest.java
19
import com.android.ddmlib.testrunner.
TestIdentifier
;
107
final
TestIdentifier
testId = new
TestIdentifier
("com.foo.FooTest", "testFoo");
133
final
TestIdentifier
testId = new
TestIdentifier
("FooTest", "testFoo");
/cts/tools/tradefed-host/tests/src/com/android/cts/tradefed/testtype/
TestFilterTest.java
18
import com.android.ddmlib.testrunner.
TestIdentifier
;
33
private List<
TestIdentifier
> mTestList;
35
private static final
TestIdentifier
TEST1 = new
TestIdentifier
("FooTest", "testFoo");
36
private static final
TestIdentifier
TEST2 = new
TestIdentifier
("FooTest", "testFoo2");
37
private static final
TestIdentifier
TEST3 = new
TestIdentifier
("FooTest2", "testFoo3");
42
mTestList = new ArrayList<
TestIdentifier
>();
60
Collection<
TestIdentifier
> filteredList = mFilter.filter(mTestList)
[
all
...]
JarHostTestTest.java
19
import com.android.ddmlib.testrunner.
TestIdentifier
;
77
TestIdentifier
expectedTest = new
TestIdentifier
(MockTest.class.getName(), "testFoo");
79
Collection<
TestIdentifier
> tests = new ArrayList<
TestIdentifier
>(1);
TestPackageXmlParserTest.java
19
import com.android.ddmlib.testrunner.
TestIdentifier
;
84
Iterator<
TestIdentifier
> iterator = def.getTests().iterator();
86
TestIdentifier
firstTest = iterator.next();
90
TestIdentifier
secondTest = iterator.next();
94
TestIdentifier
thirdTest = iterator.next();
TestPlanTest.java
19
import com.android.ddmlib.testrunner.
TestIdentifier
;
105
assertTrue(filter.getExcludedTests().contains(new
TestIdentifier
(EXCLUDE_TEST_CLASS,
124
assertTrue(filter.getExcludedTests().contains(new
TestIdentifier
(EXCLUDE_TEST_CLASS,
126
assertTrue(filter.getExcludedTests().contains(new
TestIdentifier
(EXCLUDE_TEST_CLASS,
170
mPlan.addExcludedTest(TEST_URI1, new
TestIdentifier
(EXCLUDE_TEST_CLASS,
172
mPlan.addExcludedTest(TEST_URI1, new
TestIdentifier
(EXCLUDE_TEST_CLASS,
/cts/tools/tradefed-host/src/com/android/cts/tradefed/testtype/
TestFilter.java
19
import com.android.ddmlib.testrunner.
TestIdentifier
;
30
* Filter for {@link
TestIdentifier
}s.
35
private final Set<
TestIdentifier
> mExcludedTests;
44
mExcludedTests = new HashSet<
TestIdentifier
>();
59
public void addExcludedTest(
TestIdentifier
test) {
77
Set<
TestIdentifier
> getExcludedTests() {
99
public Collection<
TestIdentifier
> filter(Collection<
TestIdentifier
> tests) {
100
List<
TestIdentifier
> filteredTests = new ArrayList<
TestIdentifier
>(tests.size())
[
all
...]
ResultFilter.java
19
import com.android.ddmlib.testrunner.
TestIdentifier
;
41
private final Map<String, Collection<
TestIdentifier
>> mKnownTestsMap;
42
private final Map<String, Collection<
TestIdentifier
>> mRemainingTestsMap;
53
mKnownTestsMap = new HashMap<String, Collection<
TestIdentifier
>>();
55
mRemainingTestsMap = new LinkedHashMap<String, Collection<
TestIdentifier
>>();
58
mKnownTestsMap.put(testPkg.getTestRunName(), new HashSet<
TestIdentifier
>(
60
mRemainingTestsMap.put(testPkg.getTestRunName(), new LinkedHashSet<
TestIdentifier
>(
78
public void testStarted(
TestIdentifier
test) {
90
public void testFailed(TestFailure status,
TestIdentifier
test, String trace) {
100
public void testEnded(
TestIdentifier
test, Map<String, String> testMetrics)
[
all
...]
ITestPackageDef.java
19
import com.android.ddmlib.testrunner.
TestIdentifier
;
54
* @param testDef the {@link
TestIdentifier
}
57
public boolean isKnownTest(
TestIdentifier
testDef);
70
public Collection<
TestIdentifier
> getTests();
ITestPlan.java
19
import com.android.ddmlib.testrunner.
TestIdentifier
;
61
public void addExcludedTest(String uri,
TestIdentifier
testToExclude);
69
public void addExcludedTests(String uri, Collection<
TestIdentifier
> excludedTests);
TestPlan.java
19
import com.android.ddmlib.testrunner.
TestIdentifier
;
85
filter.addExcludedTest(new
TestIdentifier
(classMethodPair[0],
146
public void addExcludedTest(String uri,
TestIdentifier
testToExclude) {
159
public void addExcludedTests(String uri, Collection<
TestIdentifier
> excludedTests) {
206
for (
TestIdentifier
test : testFilter.getExcludedTests()) {
207
// TODO: this relies on
TestIdentifier
.toString() using METHOD_DELIM.
TestPackageDef.java
19
import com.android.ddmlib.testrunner.
TestIdentifier
;
63
private Collection<
TestIdentifier
> mTests = new LinkedHashSet<
TestIdentifier
>();
243
TestIdentifier
t = new
TestIdentifier
(SIGNATURE_TEST_CLASS, SIGNATURE_TEST_METHOD);
297
private Collection<
TestIdentifier
> filterTests() {
305
public boolean isKnownTest(
TestIdentifier
testDef) {
321
void addTest(
TestIdentifier
testDef) {
330
public Collection<
TestIdentifier
> getTests() {
JarHostTest.java
20
import com.android.ddmlib.testrunner.
TestIdentifier
;
54
private Collection<
TestIdentifier
> mTests;
110
void setTests(Collection<
TestIdentifier
> tests) {
117
* @return Collection<{@link
TestIdentifier
}>
119
Collection<
TestIdentifier
> getTests() {
177
for (
TestIdentifier
testId : mTests) {
188
private void runTest(
TestIdentifier
testId, final Test junitTest, final TestResult junitResult) {
TestPackageXmlParser.java
19
import com.android.ddmlib.testrunner.
TestIdentifier
;
132
TestIdentifier
testdef = new
TestIdentifier
(classNameBuilder.toString(),
CtsTest.java
25
import com.android.ddmlib.testrunner.
TestIdentifier
;
133
private final Collection<
TestIdentifier
> mKnownTests;
137
Collection<
TestIdentifier
> knownTests) {
147
Collection<
TestIdentifier
> getKnownTests() {
176
public void testFailed(TestFailure status,
TestIdentifier
test, String trace) {
396
Collection<
TestIdentifier
> knownTests = testPkgDef.getTests();
/sdk/ddms/libs/ddmlib/src/com/android/ddmlib/testrunner/
TestIdentifier.java
22
public class
TestIdentifier
{
33
public
TestIdentifier
(String className, String testName) {
61
if (!(other instanceof
TestIdentifier
)) {
64
TestIdentifier
otherTest = (
TestIdentifier
)other;
ITestRunListener.java
62
public void testStarted(
TestIdentifier
test);
73
public void testFailed(TestFailure status,
TestIdentifier
test, String trace);
84
public void testEnded(
TestIdentifier
test, Map<String, String> testMetrics);
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/launch/junit/runtime/
TestCollector.java
20
import com.android.ddmlib.testrunner.
TestIdentifier
;
44
public void testEnded(
TestIdentifier
test, Map<String, String> testMetrics) {
49
* @see com.android.ddmlib.testrunner.ITestRunListener#testFailed(com.android.ddmlib.testrunner.ITestRunListener.TestFailure, com.android.ddmlib.testrunner.
TestIdentifier
, java.lang.String)
51
public void testFailed(TestFailure status,
TestIdentifier
test, String trace) {
84
* @see com.android.ddmlib.testrunner.ITestRunListener#testStarted(com.android.ddmlib.testrunner.
TestIdentifier
)
86
public void testStarted(
TestIdentifier
test) {
TestCaseReference.java
19
import com.android.ddmlib.testrunner.
TestIdentifier
;
44
* Creates a TestCaseReference from a {@link
TestIdentifier
}
47
TestCaseReference(
TestIdentifier
test) {
RemoteAdtTestRunner.java
24
import com.android.ddmlib.testrunner.
TestIdentifier
;
201
public void testEnded(
TestIdentifier
test, Map<String, String> ignoredTestMetrics) {
206
* @see com.android.ddmlib.testrunner.ITestRunListener#testFailed(com.android.ddmlib.testrunner.ITestRunListener.TestFailure, com.android.ddmlib.testrunner.
TestIdentifier
, java.lang.String)
208
public void testFailed(TestFailure status,
TestIdentifier
test, String trace) {
254
* @see com.android.ddmlib.testrunner.ITestRunListener#testStarted(com.android.ddmlib.testrunner.
TestIdentifier
)
256
public void testStarted(
TestIdentifier
test) {
/cts/tools/tradefed-host/src/com/android/cts/tradefed/result/
TestPackageResult.java
22
import com.android.ddmlib.testrunner.
TestIdentifier
;
99
public Test insertTest(
TestIdentifier
testId) {
103
private Test findTest(
TestIdentifier
testId, boolean insertIfMissing) {
118
* Find the test result for given {@link
TestIdentifier
}.
122
public Test findTest(
TestIdentifier
testId) {
194
public Collection<
TestIdentifier
> getTestsWithStatus(CtsTestStatus resultFilter) {
195
Collection<
TestIdentifier
> tests = new LinkedList<
TestIdentifier
>();
271
public void reportTestFailure(
TestIdentifier
test, CtsTestStatus status, String trace) {
282
public void reportTestEnded(
TestIdentifier
test)
[
all
...]
PlanCreator.java
26
import com.android.ddmlib.testrunner.
TestIdentifier
;
113
Collection<
TestIdentifier
> filteredTests = pkg.getTestsWithStatus(mResultFilter);
118
Collection<
TestIdentifier
> excludedTests = new LinkedHashSet<
TestIdentifier
>(
TestCase.java
18
import com.android.ddmlib.testrunner.
TestIdentifier
;
128
* @param tests the {@link Collection} of {@link
TestIdentifier
}s to add to
133
void addTestsWithStatus(Collection<
TestIdentifier
> tests, Deque<String> parentSuiteNames,
141
tests.add(new
TestIdentifier
(fullClassName, test.getName()));
CtsXmlResultReporter.java
24
import com.android.ddmlib.testrunner.
TestIdentifier
;
199
public void testStarted(
TestIdentifier
test) {
207
public void testFailed(TestFailure status,
TestIdentifier
test, String trace) {
215
public void testEnded(
TestIdentifier
test, Map<String, String> testMetrics) {
/cts/tests/appsecurity-tests/src/com/android/cts/appsecurity/
AppSecurityTests.java
33
import com.android.ddmlib.testrunner.
TestIdentifier
;
326
public void testEnded(
TestIdentifier
test, Map<String, String> metrics) {
330
public void testFailed(TestFailure status,
TestIdentifier
test,
357
public void testStarted(
TestIdentifier
test) {
Completed in 511 milliseconds
1
2