OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:testMethod
(Results
1 - 25
of
52
) sorted by null
1
2
3
/frameworks/base/test-runner/src/android/test/suitebuilder/
AssignableFrom.java
21
class AssignableFrom implements Predicate<
TestMethod
> {
29
public boolean apply(
TestMethod
testMethod
) {
30
return root.isAssignableFrom(
testMethod
.getEnclosingClass());
/external/junit/src/org/junit/internal/runners/statements/
InvokeMethod.java
13
public InvokeMethod(FrameworkMethod
testMethod
, Object target) {
14
fTestMethod=
testMethod
;
/frameworks/base/test-runner/src/android/test/suitebuilder/annotation/
HasClassAnnotation.java
21
import android.test.suitebuilder.
TestMethod
;
25
* A predicate that checks to see if a {@link android.test.suitebuilder.
TestMethod
} has a specific annotation on the
30
class HasClassAnnotation implements Predicate<
TestMethod
> {
38
public boolean apply(
TestMethod
testMethod
) {
39
return
testMethod
.getEnclosingClass().getAnnotation(annotationClass) != null;
HasMethodAnnotation.java
20
import android.test.suitebuilder.
TestMethod
;
25
* A predicate that checks to see if a the method represented by {@link
TestMethod
} has a certain
30
class HasMethodAnnotation implements Predicate<
TestMethod
> {
38
public boolean apply(
TestMethod
testMethod
) {
39
return
testMethod
.getAnnotation(annotationClass) != null;
HasAnnotation.java
21
import android.test.suitebuilder.
TestMethod
;
26
* A predicate that checks to see if a {@link
TestMethod
} has a specific annotation, either on the
31
public class HasAnnotation implements Predicate<
TestMethod
> {
33
private Predicate<
TestMethod
> hasMethodOrClassAnnotation;
41
public boolean apply(
TestMethod
testMethod
) {
42
return hasMethodOrClassAnnotation.apply(
testMethod
);
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/VirtualMachine/
RedefineClassesDebuggee.java
40
logWriter.println("--> Debuggee: BEFORE redefine: RedefineClass_Debuggee.
testMethod
() = "
41
+ RedefineClass_Debuggee.
testMethod
());
45
String testMethodResult = RedefineClass_Debuggee.
testMethod
();
46
logWriter.println("--> Debuggee: After redefine: RedefineClass_Debuggee.
testMethod
() = "
61
static String
testMethod
() {
RedefineByteCode_Debuggee001
/external/clang/test/SemaCXX/
tag-ambig.cpp
17
virtual bool
testMethod
(Test::Point& p) = 0;
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/base/
SensorCtsVerifierTestActivity.java
54
for (Method
testMethod
: findTestMethods()) {
55
SensorTestDetails testDetails = executeTest(
testMethod
);
79
private SensorTestDetails executeTest(Method
testMethod
) throws InterruptedException {
80
String testMethodName =
testMethod
.getName();
86
String testSummary = (String)
testMethod
.invoke(this);
/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/
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
);
HasAnnotationTest.java
19
import android.test.suitebuilder.
TestMethod
;
47
TestMethod
testMethod
= new
TestMethod
(method, aClass);
48
return new HasAnnotation(Example.class).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;
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/ClassType/
InvokeMethod003Debuggee.java
26
public static int
testMethod
(Object obj) throws Throwable {
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/DebuggerOnDemand/
OnthowDebuggerLaunchDebuggee.java
65
testMethod
();
68
void
testMethod
() {
69
logWriter.println("DEBUGGEE:
testMethod
invoked");
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/ObjectReference/
InvokeMethod002Debuggee.java
29
public int
testMethod
(Object obj) throws Throwable {
38
// The instance used to invoke "TestClass.
testMethod
".
/frameworks/testing/support/src/android/support/test/internal/runner/
TestLoader.java
164
for (Method
testMethod
: loadedClass.getMethods()) {
165
if (
testMethod
.isAnnotationPresent(org.junit.Test.class)) {
190
for (Method
testMethod
: loadedClass.getMethods()) {
191
if (isPublicTestMethod(
testMethod
)) {
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/launch/junit/runtime/
AndroidJUnitLaunchInfo.java
126
* @param
testMethod
test method to run
128
public void setTestMethod(String
testMethod
) {
129
mTestMethod =
testMethod
;
/cts/tools/utils/
CollectAllTests.java
337
Method
testMethod
= testClass.getMethod(testName, (Class[])null);
338
Annotation[] annotations =
testMethod
.getAnnotations();
375
for (Method
testMethod
: testMethods) {
376
String testName =
testMethod
.getName();
382
if (!Modifier.isPublic(
testMethod
.getModifiers())) {
385
if (!
testMethod
.getReturnType().equals(Void.TYPE)) {
388
if (
testMethod
.getParameterTypes().length != 0) {
393
|| (!isJunit3Test && !isJunit4TestMethod(
testMethod
))) {
433
testClass = new TestClass(testClassName, new ArrayList<
TestMethod
>());
437
testClass.mCases.add(new
TestMethod
(testName, "", "", supportedAbis
[
all
...]
/external/chromium_org/v8/test/webkit/
instance-of-immediates.js
31
function testSet(constructor,
testMethod
)
33
testMethod
["1"]("(1 instanceof " + constructor + ")");
34
testMethod
["{}"]("({} instanceof " + constructor + ")");
35
testMethod
["obj"]("(obj instanceof " + constructor + ")");
/external/junit/src/org/junit/experimental/theories/internal/
Assignments.java
36
* Returns a new assignment list for {@code
testMethod
}, with no params
39
public static Assignments allUnassigned(Method
testMethod
,
44
signatures.addAll(ParameterSignature.signatures(
testMethod
));
/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/tests/utillib/src/android/test/
BandwidthTestCase.java
75
final Method
testMethod
= method;
80
runMethod(
testMethod
, tolerance, repetitive);
/external/droiddriver/src/com/google/android/droiddriver/runner/
TestRunner.java
24
import android.test.suitebuilder.
TestMethod
;
128
List<Predicate<
TestMethod
>> getBuilderRequirements() {
129
List<Predicate<
TestMethod
>> requirements = new ArrayList<Predicate<
TestMethod
>>();
130
requirements.add(new Predicate<
TestMethod
>() {
132
public boolean apply(
TestMethod
arg0) {
150
private <T extends Annotation> T getAnnotation(
TestMethod
testMethod
, Class<T> clazz) {
151
T annotation =
testMethod
.getAnnotation(clazz);
153
annotation =
testMethod
.getEnclosingClass().getAnnotation(clazz)
[
all
...]
Completed in 1078 milliseconds
1
2
3