Home
last modified time | relevance | path

Searched refs:theClass (Results 1 – 25 of 92) sorted by relevance

1234

/external/apache-harmony/sql/src/test/java/org/apache/harmony/sql/tests/java/sql/
DTestHelper_ClassLoader.java41 Class<?> theClass = null; in findClass() local
57 for (int i = 0; (i < theClassPaths.length) && (theClass == null); i++) { in findClass()
60 theClass = loadClassFromJar(theClassPaths[i], className, in findClass()
63 theClass = loadClassFromFile(theClassPaths[i], className, in findClass()
68 return theClass; in findClass()
80 Class<?> theClass; in loadClass() local
82 theClass = findLoadedClass(className); in loadClass()
83 if (theClass != null) { in loadClass()
84 return theClass; in loadClass()
87 theClass = this.findClass(className); in loadClass()
[all …]
/external/junit/src/main/java/junit/framework/
DTestSuite.java49 static public Test createTest(Class<?> theClass, String name) { in createTest() argument
52 constructor = getTestConstructor(theClass); in createTest()
54 …return warning("Class " + theClass.getName() + " has no public constructor TestCase(String name) o… in createTest()
80 … public static Constructor<?> getTestConstructor(Class<?> theClass) throws NoSuchMethodException { in getTestConstructor() argument
82 return theClass.getConstructor(String.class); in getTestConstructor()
86 return theClass.getConstructor(); in getTestConstructor()
117 public TestSuite(final Class<?> theClass) {
118 addTestsFromTestCase(theClass);
121 private void addTestsFromTestCase(final Class<?> theClass) {
122 fName = theClass.getName();
[all …]
/external/caliper/caliper/src/main/java/com/google/caliper/runner/
DBenchmarkClass.java47 static BenchmarkClass forClass(Class<?> theClass) throws InvalidBenchmarkException { in forClass() argument
48 return new BenchmarkClass(theClass); in forClass()
51 final Class<?> theClass; field in BenchmarkClass
55 private BenchmarkClass(Class<?> theClass) throws InvalidBenchmarkException { in BenchmarkClass() argument
56 this.theClass = checkNotNull(theClass); in BenchmarkClass()
58 if (!theClass.getSuperclass().equals(Object.class)) { in BenchmarkClass()
61 theClass, Object.class); in BenchmarkClass()
64 if (Modifier.isAbstract(theClass.getModifiers())) { in BenchmarkClass()
65 throw new InvalidBenchmarkException("Class '%s' is abstract", theClass); in BenchmarkClass()
72 this.userParameters = ParameterSet.create(theClass, Param.class); in BenchmarkClass()
[all …]
/external/robolectric-shadows/sandbox/src/main/java/org/robolectric/internal/bytecode/
DRoboCallSite.java7 private final Class<?> theClass; field in RoboCallSite
9 public RoboCallSite(MethodType type, Class<?> theClass) { in RoboCallSite() argument
11 this.theClass = theClass; in RoboCallSite()
15 return theClass; in getTheClass()
DRobolectricInternals.java29 …lic static ClassHandler.Plan methodInvoked(String signature, boolean isStatic, Class<?> theClass) { in methodInvoked() argument
30 return classHandler.methodInvoked(signature, isStatic, theClass); in methodInvoked()
37 public static MethodHandle findShadowMethodHandle(Class<?> theClass, String name, in findShadowMethodHandle() argument
39 return classHandler.findShadowMethodHandle(theClass, name, methodType, isStatic); in findShadowMethodHandle()
47 …public static Object intercept(String signature, Object instance, Object[] params, Class theClass)… in intercept() argument
49 return classHandler.intercept(signature, instance, params, theClass); in intercept()
/external/robolectric-shadows/sandbox/src/test/java/org/robolectric/
DSandboxClassLoaderTest.java384 Class<?> theClass = loadClass(AClassWithEqualsHashCodeToString.class); in shouldAlsoInstrumentEqualsAndHashCodeAndToStringWhenDeclared() local
385 Object instance = theClass.getDeclaredConstructor().newInstance(); in shouldAlsoInstrumentEqualsAndHashCodeAndToStringWhenDeclared()
408 Class<?> theClass = loadClass(AClassThatRefersToAForgettableClass.class); in shouldRemapClasses() local
409 assertEquals(loadClass(AClassToRemember.class), theClass.getField("someField").getType()); in shouldRemapClasses()
410 …assertEquals(Array.newInstance(loadClass(AClassToRemember.class), 0).getClass(), theClass.getField… in shouldRemapClasses()
422 Class<?> theClass = loadClass(AClassThatRefersToAForgettableClassInItsConstructor.class); in shouldFixTypesInFieldAccess() local
423 Object instance = theClass.getDeclaredConstructor().newInstance(); in shouldFixTypesInFieldAccess()
425 theClass.getDeclaredMethod( in shouldFixTypesInFieldAccess()
426 shadow.directMethodName(theClass.getName(), ShadowConstants.CONSTRUCTOR_METHOD_NAME)); in shouldFixTypesInFieldAccess()
434 Class<?> theClass = loadClass(AClassThatRefersToAForgettableClassInMethodCalls.class); in shouldFixTypesInMethodArgsAndReturn() local
[all …]
/external/mockftpserver/tags/2.2/src/test/java/org/mockftpserver/test/
DAbstractDirectoryTestSuite.java79 protected boolean isClassIncluded(Class theClass) { in isClassIncluded() argument
106 public boolean include(Class theClass) { in buildAllTestsSuite()
107 boolean superInclude = super.include(theClass); in buildAllTestsSuite()
108 boolean include = isClassIncluded(theClass); in buildAllTestsSuite()
110 System.out.println("IGNORED [" + theClass.getName() + "]"); in buildAllTestsSuite()
/external/mockftpserver/tags/1.2.3/src/test/java/org/mockftpserver/test/
DAbstractDirectoryTestSuite.java79 protected boolean isClassIncluded(Class theClass) { in isClassIncluded() argument
106 public boolean include(Class theClass) { in buildAllTestsSuite()
107 boolean superInclude = super.include(theClass); in buildAllTestsSuite()
108 boolean include = isClassIncluded(theClass); in buildAllTestsSuite()
110 System.out.println("IGNORED [" + theClass.getName() + "]"); in buildAllTestsSuite()
/external/mockftpserver/tags/2.0.2/src/test/java/org/mockftpserver/test/
DAbstractDirectoryTestSuite.java79 protected boolean isClassIncluded(Class theClass) { in isClassIncluded() argument
106 public boolean include(Class theClass) { in buildAllTestsSuite()
107 boolean superInclude = super.include(theClass); in buildAllTestsSuite()
108 boolean include = isClassIncluded(theClass); in buildAllTestsSuite()
110 System.out.println("IGNORED [" + theClass.getName() + "]"); in buildAllTestsSuite()
/external/mockftpserver/tags/2.0-rc3/MockFtpServer/src/test/java/org/mockftpserver/test/
DAbstractDirectoryTestSuite.java79 protected boolean isClassIncluded(Class theClass) { in isClassIncluded() argument
106 public boolean include(Class theClass) { in buildAllTestsSuite()
107 boolean superInclude = super.include(theClass); in buildAllTestsSuite()
108 boolean include = isClassIncluded(theClass); in buildAllTestsSuite()
110 System.out.println("IGNORED [" + theClass.getName() + "]"); in buildAllTestsSuite()
/external/mockftpserver/tags/2.0.1/src/test/java/org/mockftpserver/test/
DAbstractDirectoryTestSuite.java79 protected boolean isClassIncluded(Class theClass) { in isClassIncluded() argument
106 public boolean include(Class theClass) { in buildAllTestsSuite()
107 boolean superInclude = super.include(theClass); in buildAllTestsSuite()
108 boolean include = isClassIncluded(theClass); in buildAllTestsSuite()
110 System.out.println("IGNORED [" + theClass.getName() + "]"); in buildAllTestsSuite()
/external/mockftpserver/tags/1.1/src/test/java/org/mockftpserver/test/
DAbstractDirectoryTestSuite.java79 protected boolean isClassIncluded(Class theClass) { in isClassIncluded() argument
106 public boolean include(Class theClass) { in buildAllTestsSuite()
107 boolean superInclude = super.include(theClass); in buildAllTestsSuite()
108 boolean include = isClassIncluded(theClass); in buildAllTestsSuite()
110 System.out.println("IGNORED [" + theClass.getName() + "]"); in buildAllTestsSuite()
/external/mockftpserver/tags/2.0-rc1/MockFtpServer/src/test/java/org/mockftpserver/test/
DAbstractDirectoryTestSuite.java79 protected boolean isClassIncluded(Class theClass) { in isClassIncluded() argument
106 public boolean include(Class theClass) { in buildAllTestsSuite()
107 boolean superInclude = super.include(theClass); in buildAllTestsSuite()
108 boolean include = isClassIncluded(theClass); in buildAllTestsSuite()
110 System.out.println("IGNORED [" + theClass.getName() + "]"); in buildAllTestsSuite()
/external/mockftpserver/tags/1.0/src/test/java/org/mockftpserver/test/
DAbstractDirectoryTestSuite.java79 protected boolean isClassIncluded(Class theClass) { in isClassIncluded() argument
106 public boolean include(Class theClass) { in buildAllTestsSuite()
107 boolean superInclude = super.include(theClass); in buildAllTestsSuite()
108 boolean include = isClassIncluded(theClass); in buildAllTestsSuite()
110 System.out.println("IGNORED [" + theClass.getName() + "]"); in buildAllTestsSuite()
/external/mockftpserver/tags/1.2.1/src/test/java/org/mockftpserver/test/
DAbstractDirectoryTestSuite.java79 protected boolean isClassIncluded(Class theClass) { in isClassIncluded() argument
106 public boolean include(Class theClass) { in buildAllTestsSuite()
107 boolean superInclude = super.include(theClass); in buildAllTestsSuite()
108 boolean include = isClassIncluded(theClass); in buildAllTestsSuite()
110 System.out.println("IGNORED [" + theClass.getName() + "]"); in buildAllTestsSuite()
/external/mockftpserver/branches/1.x_Branch/src/test/java/org/mockftpserver/test/
DAbstractDirectoryTestSuite.java79 protected boolean isClassIncluded(Class theClass) { in isClassIncluded() argument
106 public boolean include(Class theClass) { in buildAllTestsSuite()
107 boolean superInclude = super.include(theClass); in buildAllTestsSuite()
108 boolean include = isClassIncluded(theClass); in buildAllTestsSuite()
110 System.out.println("IGNORED [" + theClass.getName() + "]"); in buildAllTestsSuite()
/external/mockftpserver/tags/1.2.4/src/test/java/org/mockftpserver/test/
DAbstractDirectoryTestSuite.java79 protected boolean isClassIncluded(Class theClass) { in isClassIncluded() argument
106 public boolean include(Class theClass) { in buildAllTestsSuite()
107 boolean superInclude = super.include(theClass); in buildAllTestsSuite()
108 boolean include = isClassIncluded(theClass); in buildAllTestsSuite()
110 System.out.println("IGNORED [" + theClass.getName() + "]"); in buildAllTestsSuite()
/external/mockftpserver/tags/1.2/src/test/java/org/mockftpserver/test/
DAbstractDirectoryTestSuite.java79 protected boolean isClassIncluded(Class theClass) { in isClassIncluded() argument
106 public boolean include(Class theClass) { in buildAllTestsSuite()
107 boolean superInclude = super.include(theClass); in buildAllTestsSuite()
108 boolean include = isClassIncluded(theClass); in buildAllTestsSuite()
110 System.out.println("IGNORED [" + theClass.getName() + "]"); in buildAllTestsSuite()
/external/mockftpserver/tags/2.3/src/test/java/org/mockftpserver/test/
DAbstractDirectoryTestSuite.java79 protected boolean isClassIncluded(Class theClass) { in isClassIncluded() argument
106 public boolean include(Class theClass) { in buildAllTestsSuite()
107 boolean superInclude = super.include(theClass); in buildAllTestsSuite()
108 boolean include = isClassIncluded(theClass); in buildAllTestsSuite()
110 System.out.println("IGNORED [" + theClass.getName() + "]"); in buildAllTestsSuite()
/external/mockftpserver/tags/2.x_Before_IDEA/src/test/java/org/mockftpserver/test/
DAbstractDirectoryTestSuite.java79 protected boolean isClassIncluded(Class theClass) { in isClassIncluded() argument
106 public boolean include(Class theClass) { in buildAllTestsSuite()
107 boolean superInclude = super.include(theClass); in buildAllTestsSuite()
108 boolean include = isClassIncluded(theClass); in buildAllTestsSuite()
110 System.out.println("IGNORED [" + theClass.getName() + "]"); in buildAllTestsSuite()
/external/mockftpserver/tags/1.2.2/src/test/java/org/mockftpserver/test/
DAbstractDirectoryTestSuite.java79 protected boolean isClassIncluded(Class theClass) { in isClassIncluded() argument
106 public boolean include(Class theClass) { in buildAllTestsSuite()
107 boolean superInclude = super.include(theClass); in buildAllTestsSuite()
108 boolean include = isClassIncluded(theClass); in buildAllTestsSuite()
110 System.out.println("IGNORED [" + theClass.getName() + "]"); in buildAllTestsSuite()
/external/mockftpserver/tags/2.4/src/test/java/org/mockftpserver/test/
DAbstractDirectoryTestSuite.java79 protected boolean isClassIncluded(Class theClass) { in isClassIncluded() argument
106 public boolean include(Class theClass) { in buildAllTestsSuite()
107 boolean superInclude = super.include(theClass); in buildAllTestsSuite()
108 boolean include = isClassIncluded(theClass); in buildAllTestsSuite()
110 System.out.println("IGNORED [" + theClass.getName() + "]"); in buildAllTestsSuite()
/external/mockftpserver/tags/2.0/src/test/java/org/mockftpserver/test/
DAbstractDirectoryTestSuite.java79 protected boolean isClassIncluded(Class theClass) { in isClassIncluded() argument
106 public boolean include(Class theClass) { in buildAllTestsSuite()
107 boolean superInclude = super.include(theClass); in buildAllTestsSuite()
108 boolean include = isClassIncluded(theClass); in buildAllTestsSuite()
110 System.out.println("IGNORED [" + theClass.getName() + "]"); in buildAllTestsSuite()
/external/mockftpserver/tags/2.1/src/test/java/org/mockftpserver/test/
DAbstractDirectoryTestSuite.java79 protected boolean isClassIncluded(Class theClass) { in isClassIncluded() argument
106 public boolean include(Class theClass) { in buildAllTestsSuite()
107 boolean superInclude = super.include(theClass); in buildAllTestsSuite()
108 boolean include = isClassIncluded(theClass); in buildAllTestsSuite()
110 System.out.println("IGNORED [" + theClass.getName() + "]"); in buildAllTestsSuite()
/external/mockftpserver/tags/2.0-rc1/src/test/java/org/mockftpserver/test/
DAbstractDirectoryTestSuite.java79 protected boolean isClassIncluded(Class theClass) { in isClassIncluded() argument
106 public boolean include(Class theClass) { in buildAllTestsSuite()
107 boolean superInclude = super.include(theClass); in buildAllTestsSuite()
108 boolean include = isClassIncluded(theClass); in buildAllTestsSuite()
110 System.out.println("IGNORED [" + theClass.getName() + "]"); in buildAllTestsSuite()

1234