Searched refs:getTestClass (Results 1 - 25 of 50) sorted by relevance

12

/external/testng/src/main/java/org/testng/junit/
H A DJUnit4TestClass.java12 super(test.getTestClass());
H A DJUnit4TestMethod.java23 Class<?> c = desc.getTestClass();
/external/junit/src/org/junit/runners/
H A DParameterized.java86 return getTestClass().getOnlyConstructor().newInstance(
96 getTestClass().getName(), getParametersMethod(
97 getTestClass()).getName()));
135 List<Object[]> parametersList= getParametersList(getTestClass());
137 runners.add(new TestClassRunnerForParameters(getTestClass().getJavaClass(),
H A DBlockJUnit4ClassRunner.java74 return Description.createTestDescription(getTestClass().getJavaClass(),
93 return getTestClass().getAnnotatedMethods(Test.class);
107 if (getTestClass().isANonStaticInnerClass()) {
108 String gripe= "The inner class " + getTestClass().getName()
140 if (!getTestClass().isANonStaticInnerClass()
142 && (getTestClass().getOnlyConstructor().getParameterTypes().length != 0)) {
149 return getTestClass().getJavaClass().getConstructors().length == 1;
170 RULE_VALIDATOR.validate(getTestClass(), errors);
187 return getTestClass().getOnlyConstructor().newInstance();
303 List<FrameworkMethod> befores= getTestClass()
[all...]
H A DParentRunner.java105 * Adds to {@code errors} a throwable for each problem noted with the test class (available from {@link #getTestClass()}).
128 List<FrameworkMethod> methods= getTestClass().getAnnotatedMethods(annotation);
135 CLASS_RULE_VALIDATOR.validate(getTestClass(), errors);
251 public final TestClass getTestClass() { method in class:ParentRunner
/external/testng/src/main/java/org/testng/
H A DClassMethodMap.java56 if (tm.getEnabled() && tm.getTestClass().equals(m.getTestClass())) return false;
65 return m.getTestClass().getRealClass();
H A DITestResult.java44 public IClass getTestClass(); method in interface:ITestResult
H A DPreserveOrderMethodInterceptor.java21 + " index:" + mi.getMethod().getTestClass().getXmlClass().getIndex());
H A DITestNGMethod.java28 ITestClass getTestClass(); method in interface:ITestNGMethod
/external/testng/src/main/java/org/testng/internal/
H A DMethodInstance.java49 XmlTest test1 = o1.getMethod().getTestClass().getXmlTest();
50 XmlTest test2 = o2.getMethod().getTestClass().getXmlTest();
61 XmlClass class1 = o1.getMethod().getTestClass().getXmlClass();
62 XmlClass class2 = o2.getMethod().getTestClass().getXmlClass();
103 // int result= o1.getMethod().getTestClass().getName()
104 // .compareTo(o2.getMethod().getTestClass().getName());
H A DTestNGMethod.java179 ITestClass tc= getTestClass();
224 String c1 = o1.getTestClass().getName();
225 String c2 = o2.getTestClass().getName();
H A DClonedMethod.java163 public ITestClass getTestClass() { method in class:ClonedMethod
164 return m_method.getTestClass();
H A DInvoker.java165 testClass= tm.getTestClass();
255 recordConfigurationInvocationFailed(tm, testResult.getTestClass(), annotation, currentTestMethod, instance, suite);
310 recordConfigurationInvocationFailed(tm, testResult.getTestClass(), annotation, currentTestMethod, instance, suite);
1020 assert null != testMethod.getTestClass()
1062 final ITestClass testClass= testMethod.getTestClass();
1174 new TestResult(testMethod.getTestClass(),
1196 new TestResult(testMethod.getTestClass(),
1291 testMethod.getTestClass(),
1435 ITestClass testClass= testMethod.getTestClass();
1536 if (r.getTestClass() !
[all...]
/external/testng/src/main/java/org/testng/internal/annotations/
H A DBaseAnnotation.java23 public Class getTestClass() { method in class:BaseAnnotation
/external/junit/src/org/junit/experimental/theories/
H A DTheories.java35 Field[] fields= getTestClass().getJavaClass().getDeclaredFields();
59 List<FrameworkMethod> theoryMethods= getTestClass().getAnnotatedMethods(Theory.class);
67 return new TheoryAnchor(method, getTestClass());
83 private TestClass getTestClass() { method in class:Theories.TheoryAnchor
90 fTestMethod.getMethod(), getTestClass()));
119 new BlockJUnit4ClassRunner(getTestClass().getJavaClass()) {
153 return getTestClass().getOnlyConstructor().newInstance(
/external/testng/src/main/java/org/testng/reporters/jq/
H A DChronologicalPanel.java69 if (!m.getTestClass().getName().equals(currentClass)) {
74 xsb.addRequired(D, m.getTestClass().getName(), C, "chronological-class-name");
75 currentClass = m.getTestClass().getName();
H A DIgnoredMethodsPanel.java32 map.put(method.getTestClass().getRealClass(), method);
H A DModel.java74 rbc.addResult(tr.getTestClass().getRealClass(), tr);
85 rbc.addResult(tr.getTestClass().getRealClass(), tr);
96 rbc.addResult(tr.getTestClass().getRealClass(), tr);
/external/junit/src/org/junit/internal/runners/
H A DJUnit4ClassRunner.java78 return getTestClass().getName();
82 return getTestClass().getConstructor().newInstance();
117 return Description.createTestDescription(getTestClass().getJavaClass(), testName(method), testAnnotations(method));
142 protected TestClass getTestClass() { method in class:JUnit4ClassRunner
/external/testng/src/main/java/org/testng/reporters/util/
H A DStackTraceTools.java18 String cname = method.getTestClass().getName();
/external/junit/src/org/junit/experimental/categories/
H A DCategories.java131 Class<?> testClass= description.getTestClass();
188 if (each.getTestClass() == null)
/external/junit/src/junit/framework/
H A DJUnit4TestAdapter.java48 public Class<?> getTestClass() { method in class:JUnit4TestAdapter
/external/junit/src/org/junit/runner/
H A DDescription.java202 public Class<?> getTestClass() { method in class:Description
/external/testng/src/main/java/org/testng/remote/strprotocol/
H A DSuiteMessage.java41 String methodName = m.getTestClass().getName() + "." + m.getMethodName();
/external/junit/src/org/junit/experimental/max/
H A DMaxCore.java127 Class<?> type= each.getTestClass();

Completed in 859 milliseconds

12