Searched defs:test (Results 51 - 75 of 98) sorted by relevance

1234

/dalvik/tests/076-boolean-put/src/
H A DMain.java32 foo.test();
37 void test() { method in class:Main
/dalvik/dx/src/junit/extensions/
H A DActiveTestSuite.java7 * test in a separate thread and waits until all
35 public void runTest(final Test test, final TestResult result) { argument
40 //ActiveTestSuite.super.runTest(test, result);
41 test.run(result);
43 ActiveTestSuite.this.runFinished(test);
60 synchronized public void runFinished(Test test) { argument
H A DTestDecorator.java7 * for defining new test decorators. Test decorator subclasses
8 * can be introduced to add behaviour before or after a test
15 public TestDecorator(Test test) { argument
16 fTest= test;
/dalvik/libcore/crypto/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/func/
H A DKeyGeneratorThread.java30 public void test() throws Exception { method in class:KeyGeneratorThread
H A DMacThread.java27 public void test() throws Exception { method in class:MacThread
H A DSecretKeyFactoryThread.java31 public void test() throws Exception { method in class:SecretKeyFactoryThread
H A DKeyAgreementThread.java70 public void test() throws Exception { method in class:KeyAgreementThread
H A DTestThread.java31 public abstract void test() throws Exception; method in class:TestThread
50 test();
/dalvik/libcore/junit/src/main/java/junit/extensions/
H A DActiveTestSuite.java7 * test in a separate thread and waits until all
35 public void runTest(final Test test, final TestResult result) { argument
40 //ActiveTestSuite.super.runTest(test, result);
41 test.run(result);
43 ActiveTestSuite.this.runFinished(test);
60 synchronized public void runFinished(Test test) { argument
H A DTestDecorator.java7 * for defining new test decorators. Test decorator subclasses
8 * can be introduced to add behaviour before or after a test
15 public TestDecorator(Test test) { argument
16 fTest= test;
/dalvik/libcore/luni/src/test/java/org/apache/harmony/luni/tests/java/lang/
H A DStackTraceElementOriginal.java25 public void pureJavaMethod(Object test) throws Exception { argument
29 native public void pureNativeMethod(Object test); argument
/dalvik/libcore/xml/src/main/java/org/apache/xpath/axes/
H A DUnionChildIterator.java38 * not have to be cloned, since only the node test and predicate
53 * Add a node test to the union list.
55 * @param test reference to a NodeTest, which will be added
57 * not be cloned). The parent of this test will be set to
60 public void addNodeTest(PredicatedNodeTest test) argument
68 m_nodeTests[0] = test;
79 m_nodeTests[len] = test;
81 test.exprSetParent(this);
/dalvik/tests/004-annotations/src/android/test/anno/
H A DAnnoFancyMethod.java1 package android.test.anno;
H A DTestAnnotations.java1 package android.test.anno;
/dalvik/libcore/luni/src/test/java/com/google/coretests/
H A DCoreTestPrinter.java27 * about the test that have been executed.
32 * The last test class we executed.
128 public void startTest(Test test) { argument
129 TestCase caze = (TestCase)test;
172 public void addError(Test test, Throwable t) { argument
176 super.addError(test, t);
H A DCoreTestRunnable.java29 * A wrapper around a single test that allows to execute the test either in the
38 * The test case we are supposed to run.
53 * Reflects whether we need to invert the test result, which is used for
59 * Reflects whether we need to isolate the test, which means we run it in
65 * If we are isolating the test case, this holds the process that is running
73 public CoreTestRunnable(TestCase test, TestResult result, argument
76 this.fTest = test;
84 * Executes the test and stores the results. May be run from a secondary
114 * Tells the test cas
[all...]
H A DCoreTestResult.java36 * The flags the user specified for this test run.
41 * The timeout the user specified for this test run.
95 boolean hasAnnotation(TestCase test, Class clazz) { argument
97 Method method = test.getClass().getMethod(test.getName());
108 public void runProtected(final Test test, Protectable p) { argument
110 if (test instanceof TestCase) {
111 TestCase testCase = (TestCase)test;
113 // Check whether we need to invert the test result (known failures)
117 // Check whether we need to isolate the test (sid
[all...]
/dalvik/libcore/prefs/src/test/java/org/apache/harmony/prefs/tests/java/util/prefs/
H A DMockNodeChangeListener.java26 public MockNodeChangeListener(int test) { argument
27 testNum = test;
H A DMockPreferenceChangeListener.java28 public MockPreferenceChangeListener(int test) { argument
29 testNum = test;
/dalvik/dx/src/junit/framework/
H A DTestResult.java8 * a test case. It is an instance of the Collecting Parameter pattern.
9 * The test framework distinguishes between <i>failures</i> and <i>errors</i>.
33 public synchronized void addError(Test test, Throwable t) { argument
34 fErrors.addElement(new TestFailure(test, t));
36 ((TestListener)e.nextElement()).addError(test, t);
43 public synchronized void addFailure(Test test, AssertionFailedError t) { argument
44 fFailures.addElement(new TestFailure(test, t));
46 ((TestListener)e.nextElement()).addFailure(test, t);
68 * Informs the result that a test was completed.
70 public void endTest(Test test) { argument
102 run(final TestCase test) argument
122 runProtected(final Test test, Protectable p) argument
145 startTest(Test test) argument
[all...]
H A DTestSuite.java10 * It runs a collection of test cases. Here is an example using
11 * the dynamic test definition.
24 * starting with "test" that take no arguments.
50 * starting with "test" as test cases to the suite.
89 * Adds a test to the suite.
91 public void addTest(Test test) { argument
92 fTests.addElement(test);
126 Object test;
129 test
205 runTest(Test test, TestResult result) argument
[all...]
/dalvik/dx/src/junit/textui/
H A DResultPrinter.java84 getWriter().println (" (" + result.runCount() + " test" + (result.runCount() == 1 ? "": "s") + ")");
111 public void addError(Test test, Throwable t) { argument
118 public void addFailure(Test test, AssertionFailedError t) { argument
125 public void endTest(Test test) { argument
131 public void startTest(Test test) { argument
H A DTestRunner.java16 * will be invoked and the returned test is run. Otherwise all
17 * the methods starting with "test" having no arguments are run.
61 * Runs a single test and collects its results.
62 * This method can be used to start a test run
66 * test.textui.TestRunner.run(suite());
70 static public TestResult run(Test test) { argument
72 return runner.doRun(test);
76 * Runs a single test and waits until the user
92 public void testFailed(int status, Test test, Throwable t) { argument
102 * Creates the TestResult to be used for the test ru
108 doRun(Test test) argument
[all...]
/dalvik/libcore/dom/src/test/java/org/w3c/domts/
H A DDOMTestFramework.java24 * This interface provides services typically provided by a test framework
34 void fail(DOMTestCase test, String assertID); argument
36 void assertTrue(DOMTestCase test, String assertID, boolean actual); argument
38 void assertFalse(DOMTestCase test, String assertID, boolean actual); argument
40 void assertNull(DOMTestCase test, String assertID, Object actual); argument
42 void assertNotNull(DOMTestCase test, String assertID, Object actual); argument
45 DOMTestCase test,
51 DOMTestCase test,
57 DOMTestCase test,
63 DOMTestCase test,
44 assertSame( DOMTestCase test, String assertID, Object expected, Object actual) argument
50 assertInstanceOf( DOMTestCase test, String assertID, Object obj, Class cls) argument
56 assertSize( DOMTestCase test, String assertID, int expectedSize, NodeList collection) argument
62 assertSize( DOMTestCase test, String assertID, int expectedSize, NamedNodeMap collection) argument
68 assertSize( DOMTestCase test, String assertID, int expectedSize, Collection collection) argument
74 assertEqualsIgnoreCase( DOMTestCase test, String assertID, String expected, String actual) argument
80 assertEqualsIgnoreCase( DOMTestCase test, String assertID, Collection expected, Collection actual) argument
86 assertEqualsIgnoreCase( DOMTestCase test, String assertID, List expected, List actual) argument
92 assertEquals( DOMTestCase test, String assertID, String expected, String actual) argument
98 assertEquals( DOMTestCase test, String assertID, int expected, int actual) argument
104 assertEquals( DOMTestCase test, String assertID, boolean expected, boolean actual) argument
110 assertEquals( DOMTestCase test, String assertID, double expected, double actual) argument
116 assertEquals( DOMTestCase test, String assertID, Collection expected, Collection actual) argument
122 assertNotEqualsIgnoreCase( DOMTestCase test, String assertID, String expected, String actual) argument
128 assertNotEquals( DOMTestCase test, String assertID, String expected, String actual) argument
134 assertNotEquals( DOMTestCase test, String assertID, int expected, int actual) argument
140 assertNotEquals( DOMTestCase test, String assertID, boolean expected, boolean actual) argument
146 assertNotEquals( DOMTestCase test, String assertID, double expected, double actual) argument
[all...]
H A DDOMTestInnerClass.java27 private final DOMTestCase test; field in class:DOMTestInnerClass
29 public DOMTestInnerClass(DOMTestCase test) { argument
30 this.test = test;
34 test.wait(millisecond);
38 test.assertTrue(assertID, actual);
42 test.assertFalse(assertID, actual);
46 test.assertNull(assertID, actual);
50 test.assertNotNull(assertID, actual);
54 test
[all...]

Completed in 378 milliseconds

1234