OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:testMethod
(Results
1 - 19
of
19
) sorted by null
/external/javassist/src/test/test/javassist/proxy/
ProxyFactoryCompatibilityTest.java
56
proxy1.
testMethod
();
63
proxy2.
testMethod
();
80
proxy3.
testMethod
();
86
proxy4.
testMethod
();
97
public void
testMethod
()
112
public void
testMethod
();
/frameworks/base/test-runner/tests/src/android/test/suitebuilder/annotation/
HasAnnotationTest.java
19
import android.test.suitebuilder.
TestMethod
;
47
TestMethod
testMethod
= new
TestMethod
(method, aClass);
48
return new HasAnnotation(Example.class).apply(
testMethod
);
HasClassAnnotationTest.java
19
import android.test.suitebuilder.
TestMethod
;
41
TestMethod
testMethod
= new
TestMethod
(method, aClass);
42
return new HasClassAnnotation(expectedClassification).apply(
testMethod
);
HasMethodAnnotationTest.java
19
import android.test.suitebuilder.
TestMethod
;
43
TestMethod
testMethod
= new
TestMethod
(method, aClass);
44
return new HasMethodAnnotation(expectedClassification).apply(
testMethod
);
/external/robolectric/src/test/java/com/xtremelabs/robolectric/bytecode/
CustomRobolectricTestRunnerTest.java
21
static Method
testMethod
;
44
assertEquals("shouldInvokeBeforeTestWithTheCorrectMethod",
testMethod
.getName());
63
testMethod
= method;
/frameworks/base/test-runner/src/android/test/suitebuilder/
TestSuiteBuilder.java
48
private final Set<Predicate<
TestMethod
>> predicates = new HashSet<Predicate<
TestMethod
>>();
123
public TestSuiteBuilder addRequirements(List<Predicate<
TestMethod
>> predicates) {
182
for (
TestMethod
test : testGrouping.getTests()) {
189
if (satisfiesAllPredicates(new
TestMethod
(testCase))) {
219
public final TestSuiteBuilder addRequirements(Predicate<
TestMethod
>... predicates) {
220
ArrayList<Predicate<
TestMethod
>> list = new ArrayList<Predicate<
TestMethod
>>();
251
private boolean satisfiesAllPredicates(
TestMethod
test) {
252
for (Predicate<
TestMethod
> predicate : predicates)
[
all
...]
/external/guava/guava-testlib/src/com/google/common/testing/
NullPointerTester.java
137
* Runs {@link #
testMethod
} on every public static method in class
143
testMethod
(null, method);
149
* Runs {@link #
testMethod
} on every public instance method of
156
testMethod
(instance, method);
169
public void
testMethod
(Object instance, Method method) throws Exception {
/frameworks/base/core/tests/utillib/src/android/test/
BandwidthTestCase.java
75
final Method
testMethod
= method;
80
runMethod(
testMethod
, tolerance, repetitive);
/external/junit/src/org/junit/internal/runners/
JUnit4ClassRunner.java
97
TestMethod
testMethod
= wrapMethod(method);
98
new MethodRoadie(test,
testMethod
, notifier, description).run();
108
protected
TestMethod
wrapMethod(Method method) {
109
return new
TestMethod
(method, fTestClass);
/frameworks/base/core/java/android/test/
InstrumentationTestCase.java
184
final Method
testMethod
= method;
189
runMethod(
testMethod
, tolerance, repetitive);
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/lang/reflect/
MethodTest.java
26
static class
TestMethod
{
27
public
TestMethod
() {
130
class TestMethodSub extends
TestMethod
{
144
m1 =
TestMethod
.class.getMethod("invokeInstanceTest", new Class[0]);
150
m1 =
TestMethod
.class.getMethod("invokeStaticTest", new Class[0]);
166
mths =
TestMethod
.class.getDeclaredMethods();
169
.getDeclaringClass().equals(
TestMethod
.class));
179
Method mth =
TestMethod
.class.getMethod("voidMethod", new Class[0]);
185
mth =
TestMethod
.class.getMethod("intMethod", new Class[0]);
197
Class cl =
TestMethod
.class
[
all
...]
/external/clang/test/Analysis/
inline.cpp
225
void
testMethod
() {
/cts/tools/utils/
CollectAllTests.java
345
Method
testMethod
= testClass.getMethod(testName, (Class[])null);
346
Annotation[] annotations =
testMethod
.getAnnotations();
381
for (Method
testMethod
: testMethods) {
382
String testName =
testMethod
.getName();
389
if (
testMethod
.getParameterTypes().length != 0) {
392
if (!
testMethod
.getReturnType().equals(Void.TYPE)) {
395
if (!Modifier.isPublic(
testMethod
.getModifiers())) {
437
testClass = new TestClass(testClassName, new ArrayList<
TestMethod
>());
441
testClass.mCases.add(new
TestMethod
(testName, "", "", knownFailure, false, false));
/libcore/luni/src/test/java/tests/api/java/lang/reflect/
MethodTest.java
35
static class
TestMethod
{
36
public
TestMethod
() {
161
class TestMethodSub extends
TestMethod
{
201
m1 =
TestMethod
.class.getMethod("invokeInstanceTest", new Class[0]);
210
m1 =
TestMethod
.class.getMethod("invokeStaticTest", new Class[0]);
224
Method m1 =
TestMethod
.class.getMethod("invokeInstanceTest", new Class[0]);
225
Method m2 =
TestMethod
.class.getMethod("invokeInstanceTest", (Class[]) null);
234
Method m1 =
TestMethod
.class.getDeclaredMethod("invokeInstanceTest", new Class[0]);
235
Method m2 =
TestMethod
.class.getDeclaredMethod("invokeInstanceTest", (Class[]) null);
249
mths =
TestMethod
.class.getDeclaredMethods()
[
all
...]
/external/guava/guava-tests/test/com/google/common/testing/
NullPointerTesterTest.java
175
* methods using
testMethod
().
251
tester.
testMethod
(bar, method);
261
tester.
testMethod
(bar, method);
/frameworks/base/test-runner/src/android/test/
InstrumentationTestRunner.java
30
import android.test.suitebuilder.
TestMethod
;
311
Predicate<
TestMethod
> testSizePredicate = null;
312
Predicate<
TestMethod
> testAnnotationPredicate = null;
313
Predicate<
TestMethod
> testNotAnnotationPredicate = null;
411
List<Predicate<
TestMethod
>> getBuilderRequirements() {
412
return new ArrayList<Predicate<
TestMethod
>>();
432
* Expected format: com.android.TestClass#
testMethod
458
private Predicate<
TestMethod
> getSizePredicateFromArg(String sizeArg) {
477
private Predicate<
TestMethod
> getAnnotationPredicate(String annotationClassName) {
491
private Predicate<
TestMethod
> getNotAnnotationPredicate(String annotationClassName)
[
all
...]
/frameworks/testing/uiautomator/library/testrunner-src/com/android/uiautomator/testrunner/
UiAutomatorTestRunner.java
293
Method
testMethod
= null;
295
testMethod
= test.getClass().getMethod(testName);
297
if (
testMethod
.isAnnotationPresent(RepetitiveTest.class)) {
298
int numIterations =
testMethod
.getAnnotation(RepetitiveTest.class)
/external/robolectric/lib/main/
junit-dep-4.8.2.jar
/prebuilts/misc/common/groovy/
groovy-all-1.7.0.jar
Completed in 3245 milliseconds