Lines Matching refs:test
17 package android.test.suitebuilder;
20 import android.test.AndroidTestRunner;
21 import android.test.TestCaseUtil;
25 import static android.test.suitebuilder.TestGrouping.SORT_BY_FULLY_QUALIFIED_NAME;
26 import static android.test.suitebuilder.TestPredicates.REJECT_SUPPRESSED;
57 * @param clazz Use the class from your .apk. Use the class name for the test suite name.
180 for (TestMethod test : testGrouping.getTests()) {
181 if (satisfiesAllPredicates(test)) {
182 addTest(test);
193 Log.i("TestSuiteBuilder", "Failed to create test.", exception);
241 * @return the test package that represents the packages that were included for our test suite.
249 private boolean satisfiesAllPredicates(TestMethod test) {
251 if (!predicate.apply(test)) {
263 private void addTest(Test test) {
264 addSuiteIfNecessary(test.getClass().getName());
265 suiteForCurrentClass.addTest(test);