OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:testClass
(Results
1 - 25
of
397
) sorted by null
1
2
3
4
5
6
7
8
9
10
11
>>
/external/mockito/src/main/java/org/mockito/
MockitoAnnotations.java
58
* Initializes objects annotated with Mockito annotations for given
testClass
:
63
public static void initMocks(Object
testClass
) {
64
if (
testClass
== null) {
65
throw new MockitoException("
testClass
cannot be null. For info how to use @Mock annotations see examples in javadoc for MockitoAnnotations class");
69
annotationEngine.process(
testClass
.getClass(),
testClass
);
/external/icu/icu4c/source/tools/ctestfw/unicode/
testlog.h
36
testClass
(callingTestClass), testName(callingTestName) {}
44
TestLog &
testClass
;
/external/junit-params/src/main/java/junitparams/internal/
InvokeNonParameterisedMethod.java
12
private final Object
testClass
;
14
InvokeNonParameterisedMethod(FrameworkMethod testMethod, Object
testClass
) {
16
this.
testClass
=
testClass
;
21
testMethod.invokeExplosively(
testClass
);
/cts/hostsidetests/inputmethodservice/common/src/android/inputmethodservice/cts/common/test/
TestInfo.java
27
public final String
testClass
;
30
public TestInfo(final String testPackage, final String
testClass
, final String testMethod) {
32
this.
testClass
=
testClass
;
42
return
testClass
+ "#" + testMethod;
/external/junit-params/src/main/java/junitparams/internal/parameters/
ParametersFromTestClassMethod.java
9
private Class<?>
testClass
;
12
ParametersFromTestClassMethod(FrameworkMethod frameworkMethod, Class<?>
testClass
) {
14
this.
testClass
=
testClass
;
20
return paramsFromMethodCommon.paramsFromMethod(
testClass
);
27
&& (!annotation.method().isEmpty() || paramsFromMethodCommon.containsDefaultParametersProvidingMethod(
testClass
));
/external/robolectric-shadows/processor/src/test/java/org/robolectric/annotation/processing/validator/
ImplementationValidatorTest.java
12
final String
testClass
= "org.robolectric.annotation.processing.shadows.ShadowImplementationWithoutImplements";
14
.that(
testClass
)
22
final String
testClass
= "org.robolectric.annotation.processing.shadows.ShadowImplementationWithIncorrectVisibility";
24
.that(
testClass
)
ResetterValidatorTest.java
11
final String
testClass
= "org.robolectric.annotation.processing.shadows.ShadowResetterWithoutImplements";
13
.that(
testClass
)
21
final String
testClass
= "org.robolectric.annotation.processing.shadows.ShadowResetterNonStatic";
23
.that(
testClass
)
31
final String
testClass
= "org.robolectric.annotation.processing.shadows.ShadowResetterNonPublic";
33
.that(
testClass
)
41
final String
testClass
= "org.robolectric.annotation.processing.shadows.ShadowResetterWithParameters";
43
.that(
testClass
)
51
final String
testClass
= "org.robolectric.annotation.processing.shadows.ShadowDummy";
53
.that(
testClass
)
[
all
...]
/external/javaparser/javaparser-testing/src/test/java/com/github/javaparser/builders/
NodeWithAnnotationsBuildersTest.java
37
private ClassOrInterfaceDeclaration
testClass
= cu.addClass("
testClass
"); ;
45
NormalAnnotationExpr annotation =
testClass
.addAndGetAnnotation(hey.class);
47
assertEquals(1,
testClass
.getAnnotations().size());
48
assertEquals(annotation,
testClass
.getAnnotation(0));
49
assertEquals(NormalAnnotationExpr.class,
testClass
.getAnnotation(0).getClass());
54
testClass
.addMarkerAnnotation("test");
55
assertEquals(1,
testClass
.getAnnotations().size());
60
testClass
.addSingleMemberAnnotation("test", "value");
61
assertEquals(1,
testClass
.getAnnotations().size())
[
all
...]
/external/junit/src/main/java/org/junit/internal/runners/
MethodValidator.java
26
private
TestClass
testClass
;
28
public MethodValidator(
TestClass
testClass
) {
29
this.
testClass
=
testClass
;
37
List<Method> methods =
testClass
.getAnnotatedMethods(Test.class);
63
testClass
.getConstructor();
71
List<Method> methods =
testClass
.getAnnotatedMethods(annotation);
ErrorReportingRunner.java
16
private final Class<?>
testClass
;
18
public ErrorReportingRunner(Class<?>
testClass
, Throwable cause) {
19
if (
testClass
== null) {
22
this.
testClass
=
testClass
;
28
Description description = Description.createSuiteDescription(
testClass
);
58
return Description.createTestDescription(
testClass
,
/external/vogar/src/vogar/target/
CaliperTargetRunner.java
31
private final Class<?>
testClass
;
34
public CaliperTargetRunner(TargetMonitor monitor, Class<?>
testClass
, String[] args) {
36
this.
testClass
=
testClass
;
41
monitor.outcomeStarted(
testClass
.getName());
43
.add(
testClass
.getName())
/external/javaparser/javaparser-testing/src/test/java/com/github/javaparser/remove/
NodeRemovalTest.java
41
ClassOrInterfaceDeclaration
testClass
= cu.addClass("test");
43
boolean remove =
testClass
.remove();
50
ClassOrInterfaceDeclaration
testClass
= cu.addClass("test");
52
FieldDeclaration addField =
testClass
.addField(String.class, "test");
53
assertEquals(1,
testClass
.getMembers().size());
56
assertEquals(0,
testClass
.getMembers().size());
61
ClassOrInterfaceDeclaration
testClass
= cu.addClass("testC");
63
MethodDeclaration addMethod =
testClass
.addMethod("testM");
/external/libxml2/
regressions.py
281
class
testClass
:
323
curClass =
testClass
()
/external/mockito/src/main/java/org/mockito/internal/runners/
StrictRunner.java
17
private final Class<?>
testClass
;
23
* @param
testClass
- for reporting purposes
25
public StrictRunner(InternalRunner runner, Class<?>
testClass
) {
27
this.
testClass
=
testClass
;
49
reporter.validateUnusedStubs(
testClass
, notifier);
/external/smali/smalidea/src/test/java/org/jf/smalidea/
ClassMoveTest.java
45
final PsiClass
testClass
= myJavaFacade.findClass(oldQualifiedName, GlobalSearchScope.allScope(getProject()));
50
new MoveClassesOrPackagesProcessor(getProject(), new PsiClass[] {
testClass
},
ClassRenameTest.java
42
PsiClass
testClass
= myJavaFacade.findClass(oldQualifiedName, GlobalSearchScope.allScope(getProject()));
44
RenameProcessor processor = new RenameProcessor(getProject(),
testClass
, newName, false, false);
FieldRenameTest.java
40
PsiClass
testClass
= myJavaFacade.findClass(containingClass, GlobalSearchScope.allScope(getProject()));
42
PsiField field =
testClass
.findFieldByName(oldFieldName, false);
MethodRenameTest.java
40
PsiClass
testClass
= myJavaFacade.findClass(containingClass, GlobalSearchScope.allScope(getProject()));
42
PsiMethod method =
testClass
.findMethodsByName(oldMethodName, false)[0];
/external/vogar/test/vogar/target/
TestRunnerRule.java
47
Class<?>
testClass
= testRunnerProperties.
testClass
();
48
if (
testClass
!= TestRunnerProperties.Default.class) {
49
testClassOrPackage =
testClass
.getName();
59
public Class<?>
testClass
() {
60
return testRunnerProperties.
testClass
();
/libcore/dom/src/test/java/org/w3c/domts/level1/core/
TestBatik.java
30
Class
testClass
= ClassLoader.getSystemClassLoader().loadClass("org.w3c.domts.level1.core.alltests");
31
Constructor testConstructor =
testClass
.getConstructor(new Class[] { DOMTestDocumentBuilderFactory.class });
TestCrimson.java
31
Class
testClass
= ClassLoader.getSystemClassLoader().loadClass("org.w3c.domts.level1.core.alltests");
32
Constructor testConstructor =
testClass
.getConstructor(new Class[] { DOMTestDocumentBuilderFactory.class });
TestCrimsonAltConfig.java
31
Class
testClass
= ClassLoader.getSystemClassLoader().loadClass("org.w3c.domts.level1.core.alltests");
32
Constructor testConstructor =
testClass
.getConstructor(new Class[] { DOMTestDocumentBuilderFactory.class });
TestDOM4J.java
30
Class
testClass
= ClassLoader.getSystemClassLoader().loadClass("org.w3c.domts.level1.core.alltests");
31
Constructor testConstructor =
testClass
.getConstructor(new Class[] { DOMTestDocumentBuilderFactory.class });
TestDefaultLS.java
35
Class
testClass
=
39
testClass
.getConstructor(
TestDefaultLSAltConfig.java
35
Class
testClass
=
39
testClass
.getConstructor(
Completed in 220 milliseconds
1
2
3
4
5
6
7
8
9
10
11
>>