/external/hamcrest/src/org/hamcrest/core/ |
IsInstanceOf.java | 15 private final Class<?> theClass; 20 * @param theClass The predicate evaluates to true for instances of this class 23 public IsInstanceOf(Class<?> theClass) { 24 this.theClass = theClass; 28 return theClass.isInstance(item); 33 .appendText(theClass.getName());
|
/external/apache-harmony/sql/src/test/java/org/apache/harmony/sql/tests/java/sql/ |
TestHelper_ClassLoader.java | 41 Class<?> theClass = null; 57 for (int i = 0; (i < theClassPaths.length) && (theClass == null); i++) { 60 theClass = loadClassFromJar(theClassPaths[i], className, 63 theClass = loadClassFromFile(theClassPaths[i], className, 68 return theClass; 80 Class<?> theClass; 82 theClass = findLoadedClass(className); 83 if (theClass != null) { 84 return theClass; 87 theClass = this.findClass(className) [all...] |
TestHelper_DriverManager.java | 102 Class<? extends Object> theClass = theObject.getClass(); 103 ClassLoader theClassLoader = theClass.getClassLoader();
|
/external/caliper/caliper/src/main/java/com/google/caliper/runner/ |
BenchmarkClass.java | 47 static BenchmarkClass forClass(Class<?> theClass) throws InvalidBenchmarkException { 48 return new BenchmarkClass(theClass); 51 final Class<?> theClass; 55 private BenchmarkClass(Class<?> theClass) throws InvalidBenchmarkException { 56 this.theClass = checkNotNull(theClass); 58 if (!theClass.getSuperclass().equals(Object.class)) { 61 theClass, Object.class); 64 if (Modifier.isAbstract(theClass.getModifiers())) { 65 throw new InvalidBenchmarkException("Class '%s' is abstract", theClass); [all...] |
BenchmarkClassChecker.java | 72 * @param theClass the class that may contain one or more benchmark methods. 75 public boolean isBenchmark(Class<?> theClass) { 76 for (Method method : theClass.getDeclaredMethods()) {
|
ParameterSet.java | 37 public static ParameterSet create(Class<?> theClass, Class<? extends Annotation> annotationClass) 43 for (Field field : theClass.getDeclaredFields()) {
|
/external/clang/test/Tooling/ |
clang-check-ast-dump.cpp | 3 // CHECK-NEXT: CXXRecordDecl{{.*}}TheClass 10 // RUN: clang-check -ast-dump -ast-dump-filter test_namespace::TheClass::theMethod "%s" -- 2>&1 | FileCheck -check-prefix CHECK-FILTER %s 13 // CHECK-FILTER: {{^}}Dumping test_namespace::TheClass::theMethod 22 // CHECK-PRINT: class TheClass 27 // CHECK-LIST-NEXT: test_namespace::TheClass 28 // CHECK-LIST-NEXT: test_namespace::TheClass::theMethod 31 // RUN: clang-check -ast-dump -ast-dump-filter test_namespace::TheClass::n "%s" -- 2>&1 | FileCheck -check-prefix CHECK-ATTR %s 42 class TheClass {
|
/external/junit/src/junit/framework/ |
TestSuite.java | 51 static public Test createTest(Class<?> theClass, String name) { 54 constructor= getTestConstructor(theClass); 56 return warning("Class "+theClass.getName()+" has no public constructor TestCase(String name) or TestCase()"); 81 public static Constructor<?> getTestConstructor(Class<?> theClass) throws NoSuchMethodException { 83 return theClass.getConstructor(String.class); 87 return theClass.getConstructor(new Class[0]); 128 public TestSuite(final Class<?> theClass) { 129 addTestsFromTestCase(theClass); 132 private void addTestsFromTestCase(final Class<?> theClass) { 133 fName= theClass.getName() [all...] |
/external/junit/src/junit/extensions/ |
ActiveTestSuite.java | 20 public ActiveTestSuite(Class<? extends TestCase> theClass) { 21 super(theClass); 28 public ActiveTestSuite(Class<? extends TestCase> theClass, String name) { 29 super(theClass, name);
|
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/bytecode/ |
RobolectricClassLoader.java | 57 Class<?> theClass; 59 theClass = super.loadClass(name); 61 theClass = getParent().loadClass(name); 64 return theClass;
|
/prebuilts/gdb/darwin-x86/lib/python2.7/test/ |
test_datetime.py | 133 # Subclasses must define 'theclass', and theclass(1, 1, 1) must be a 137 me = self.theclass(1, 1, 1) 148 me = self.theclass(1, 1, 1) 168 theclass = timedelta variable in class:TestTimeDelta 538 theclass = date variable in class:TestDate 541 dt = self.theclass(2002, 3, 1) 547 for dt in (self.theclass(1, 2, 3), 548 self.theclass.today()): 557 dt2 = self.theclass(dt.year, dt.month, dt.day 1150 theclass = datetime variable in class:TestDateTime 1690 theclass = time variable in class:TestTime 2156 theclass = time variable in class:TestTimeTZ 2404 theclass = datetime variable in class:TestDateTimeTZ 3083 theclass = datetime variable in class:TestTimezoneConversions [all...] |
/prebuilts/gdb/linux-x86/lib/python2.7/test/ |
test_datetime.py | 133 # Subclasses must define 'theclass', and theclass(1, 1, 1) must be a 137 me = self.theclass(1, 1, 1) 148 me = self.theclass(1, 1, 1) 168 theclass = timedelta variable in class:TestTimeDelta 538 theclass = date variable in class:TestDate 541 dt = self.theclass(2002, 3, 1) 547 for dt in (self.theclass(1, 2, 3), 548 self.theclass.today()): 557 dt2 = self.theclass(dt.year, dt.month, dt.day 1150 theclass = datetime variable in class:TestDateTime 1690 theclass = time variable in class:TestTime 2156 theclass = time variable in class:TestTimeTZ 2404 theclass = datetime variable in class:TestDateTimeTZ 3083 theclass = datetime variable in class:TestTimezoneConversions [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/ |
test_datetime.py | 133 # Subclasses must define 'theclass', and theclass(1, 1, 1) must be a 137 me = self.theclass(1, 1, 1) 148 me = self.theclass(1, 1, 1) 168 theclass = timedelta variable in class:TestTimeDelta 538 theclass = date variable in class:TestDate 541 dt = self.theclass(2002, 3, 1) 547 for dt in (self.theclass(1, 2, 3), 548 self.theclass.today()): 557 dt2 = self.theclass(dt.year, dt.month, dt.day 1150 theclass = datetime variable in class:TestDateTime 1690 theclass = time variable in class:TestTime 2156 theclass = time variable in class:TestTimeTZ 2404 theclass = datetime variable in class:TestDateTimeTZ 3083 theclass = datetime variable in class:TestTimezoneConversions [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/ |
test_datetime.py | 133 # Subclasses must define 'theclass', and theclass(1, 1, 1) must be a 137 me = self.theclass(1, 1, 1) 148 me = self.theclass(1, 1, 1) 168 theclass = timedelta variable in class:TestTimeDelta 538 theclass = date variable in class:TestDate 541 dt = self.theclass(2002, 3, 1) 547 for dt in (self.theclass(1, 2, 3), 548 self.theclass.today()): 557 dt2 = self.theclass(dt.year, dt.month, dt.day 1150 theclass = datetime variable in class:TestDateTime 1690 theclass = time variable in class:TestTime 2156 theclass = time variable in class:TestTimeTZ 2404 theclass = datetime variable in class:TestDateTimeTZ 3083 theclass = datetime variable in class:TestTimezoneConversions [all...] |
/frameworks/base/core/java/android/test/ |
InstrumentationTestSuite.java | 54 * @param theClass Inspected for methods starting with 'test' 58 public InstrumentationTestSuite(final Class theClass, Instrumentation instr) { 59 super(theClass);
|
/frameworks/support/media-compat/api21/android/support/v4/media/ |
ParceledListSliceAdapterApi21.java | 32 Class theClass = Class.forName("android.content.pm.ParceledListSlice"); 33 sConstructor = theClass.getConstructor(new Class[] { List.class });
|
/external/mockftpserver/branches/1.x_Branch/src/test/java/org/mockftpserver/test/ |
AbstractDirectoryTestSuite.java | 76 * @param theClass - the class
79 protected boolean isClassIncluded(Class theClass) {
106 public boolean include(Class theClass) {
107 boolean superInclude = super.include(theClass);
108 boolean include = isClassIncluded(theClass);
110 System.out.println("IGNORED [" + theClass.getName() + "]");
|
LoggingUtil.java | 126 Class theClass = (object instanceof Class) ? ((Class)object) : object.getClass();
127 String className = theClass.getName();
|
/frameworks/base/tools/layoutlib/bridge/tests/src/com/android/layoutlib/bridge/ |
TestDelegates.java | 194 Class<?> theClass = parameters[j]; 196 while (theClass.isArray()) { 198 theClass = theClass.getComponentType(); 200 sb.append(theClass.getName());
|
/external/clang/test/CodeGenObjC/ |
arc-property.m | 48 @property (copy) Class theClass; 53 @synthesize theClass = _theClass; 68 // CHECK: define internal i8* @"\01-[Test2 theClass]"(
|
/external/guava/guava-tests/test/com/google/common/collect/ |
ForwardingTestCase.java | 145 protected static <T> void callAllPublicMethods(Class<T> theClass, T object) 147 for (Method method : theClass.getMethods()) {
|
/external/icu/android_icu4j/runner/src/main/java/android/icu/junit/ |
TestFmwkUtils.java | 77 private static Field getField(Class<?> theClass, String name) { 80 Field field = theClass.getDeclaredField(name);
|
/external/mockftpserver/MockFtpServer/src/test/java/org/mockftpserver/test/ |
LoggingUtil.java | 126 Class theClass = (object instanceof Class) ? ((Class)object) : object.getClass();
127 String className = theClass.getName();
|
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/ |
DelegateManager.java | 87 public DelegateManager(Class<T> theClass) { 88 mClass = theClass;
|
/external/jacoco/org.jacoco.core.test/src/org/jacoco/core/runtime/ |
ModifiedSystemClassRuntimeTest.java | 127 public boolean isModifiableClass(Class<?> theClass) {
|