Home | History | Annotate | Download | only in utils

Lines Matching refs:TestClass

186         Map<String,TestClass> testCases = new LinkedHashMap<String, TestClass>();
242 for (Iterator<TestClass> iterator = testCases.values().iterator(); iterator.hasNext();) {
243 TestClass type = iterator.next();
317 private static String getKnownFailure(final Class<? extends TestCase> testClass,
319 return getAnnotation(testClass, testName, KNOWN_FAILURE);
322 private static boolean isKnownFailure(final Class<? extends TestCase> testClass,
324 return getAnnotation(testClass, testName, KNOWN_FAILURE) != null;
327 private static boolean isBrokenTest(final Class<? extends TestCase> testClass,
329 return getAnnotation(testClass, testName, BROKEN_TEST) != null;
332 private static boolean isSuppressed(final Class<? extends TestCase> testClass,
334 return getAnnotation(testClass, testName, SUPPRESSED_TEST) != null;
337 private static boolean hasSideEffects(final Class<? extends TestCase> testClass,
339 return getAnnotation(testClass, testName, SIDE_EFFECT) != null;
342 private static String getAnnotation(final Class<? extends TestCase> testClass,
345 Method testMethod = testClass.getMethod(testName, (Class[])null);
375 Map<String,TestClass> testCases,
377 Class testClass = test;
379 while (TestCase.class.isAssignableFrom(testClass)) {
380 Method[] testMethods = testClass.getDeclaredMethods();
401 testClass = testClass.getSuperclass();
406 Map<String,TestClass> testCases,
433 TestClass testClass = null;
435 testClass = testCases.get(testClassName);
437 testClass = new TestClass(testClassName, new ArrayList<TestMethod>());
438 testCases.put(testClassName, testClass);
441 testClass.mCases.add(new TestMethod(testName, "", "", knownFailure, false, false));