Home
last modified time | relevance | path

Searched refs:junit (Results 1 – 25 of 3712) sorted by relevance

12345678910>>...149

/external/vogar/src/vogar/target/junit/junit3/
DAlternateSuiteMethodBuilder.java17 package vogar.target.junit.junit3;
19 import junit.framework.Test;
20 import junit.framework.TestCase;
21 import junit.framework.TestSuite;
22 import org.junit.internal.runners.JUnit38ClassRunner;
23 import org.junit.internal.runners.SuiteMethod;
24 import org.junit.runner.Description;
25 import org.junit.runner.Runner;
26 import org.junit.runners.Suite;
27 import org.junit.runners.model.InitializationError;
[all …]
DTestSuiteRunnerFactory.java17 package vogar.target.junit.junit3;
20 import junit.framework.Test;
21 import junit.framework.TestCase;
22 import junit.framework.TestSuite;
23 import org.junit.internal.runners.JUnit38ClassRunner;
24 import org.junit.runner.Description;
25 import org.junit.runner.Runner;
26 import org.junit.runners.Suite;
27 import org.junit.runners.model.InitializationError;
28 import vogar.target.junit.DescribableStatement;
[all …]
DTestCaseRunnerFactory.java17 package vogar.target.junit.junit3;
23 import junit.framework.Test;
24 import junit.framework.TestCase;
25 import junit.framework.TestResult;
26 import junit.framework.TestSuite;
27 import org.junit.internal.runners.JUnit38ClassRunner;
28 import org.junit.runner.Description;
29 import org.junit.runner.Runner;
30 import org.junit.runners.model.InitializationError;
31 import vogar.target.junit.DescribableStatement;
[all …]
DAlternateTestCaseBuilder.java17 package vogar.target.junit.junit3;
19 import junit.framework.TestCase;
20 import org.junit.runner.Runner;
21 import org.junit.runners.model.RunnerBuilder;
22 import vogar.target.junit.DescribableComparator;
23 import vogar.target.junit.DescribableStatement;
24 import vogar.target.junit.RunnerParams;
44 if (junit.framework.TestCase.class.isAssignableFrom(testClass)) { in runnerForClass()
/external/junit-params/
DAndroid.mk23 LOCAL_MODULE := junit-params-host
27 junit-host
34 LOCAL_MODULE := junit-params-hostdex
39 junit-hostdex
48 LOCAL_MODULE := junit-params
53 junit
64 LOCAL_MODULE := junit-params-test-host
68 junit-params-host \
69 junit-params-assertj-core-host
77 ${ANDROID_PRODUCT_OUT}/obj/JAVA_LIBRARIES/junit-params-test_intermediates/classes.jack \
[all …]
/external/junit/src/main/java/org/junit/runners/
DParentRunner.java1 package org.junit.runners;
3 import static org.junit.internal.runners.rules.RuleMemberValidator.CLASS_RULE_METHOD_VALIDATOR;
4 import static org.junit.internal.runners.rules.RuleMemberValidator.CLASS_RULE_VALIDATOR;
16 import org.junit.AfterClass;
17 import org.junit.BeforeClass;
18 import org.junit.ClassRule;
19 import org.junit.Ignore;
20 import org.junit.Rule;
21 import org.junit.internal.AssumptionViolatedException;
22 import org.junit.internal.runners.model.EachTestNotifier;
[all …]
DBlockJUnit4ClassRunner.java1 package org.junit.runners;
3 import static org.junit.internal.runners.rules.RuleMemberValidator.RULE_METHOD_VALIDATOR;
4 import static org.junit.internal.runners.rules.RuleMemberValidator.RULE_VALIDATOR;
10 import org.junit.After;
11 import org.junit.Before;
12 import org.junit.Ignore;
13 import org.junit.Rule;
14 import org.junit.Test;
15 import org.junit.Test.None;
16 import org.junit.internal.runners.model.ReflectiveCallable;
[all …]
/external/junit-params/src/test/java/junitparams/
DRulesTest.java3 import org.junit.Rule;
4 import org.junit.Test;
5 import org.junit.rules.ErrorCollector;
6 import org.junit.rules.ExpectedException;
7 import org.junit.rules.TemporaryFolder;
8 import org.junit.rules.TestName;
9 import org.junit.rules.TestRule;
10 import org.junit.rules.TestWatcher;
11 import org.junit.rules.Timeout;
12 import org.junit.runner.JUnitCore;
[all …]
/external/smali/smali-integration-tests/src/test/smali/junit-tests/
DTestSuite.smali4 #This class is a wrapper for all the classes in the junit-tests directory
6 #To run the tests, you need to use dx on the junit jar and push that to the
10 #dx --dex --output=classes.dex junit-4.6.jar
11 #zip junit-4.6.zip classes.dex
12 #adb push junit-4.6.zip /data/local
14 #zip smali-junit-tests.zip classes.dex
15 #adb push smali-junit-tests.zip /data/local
16 #adb shell dalvikvm -cp /data/local/junit-4.6.zip:/data/local/smali-junit-tests.zip org.junit.runne…
18 .annotation runtime Lorg/junit/runner/RunWith;
19 value = Lorg/junit/runners/Suite;
[all …]
/external/vogar/src/vogar/target/junit/
DStatementRunner.java17 package vogar.target.junit;
19 import org.junit.rules.TestRule;
20 import org.junit.runner.Description;
21 import org.junit.runner.Runner;
22 import org.junit.runner.manipulation.Filter;
23 import org.junit.runner.manipulation.Filterable;
24 import org.junit.runner.manipulation.NoTestsRemainException;
25 import org.junit.runner.manipulation.Sortable;
26 import org.junit.runner.manipulation.Sorter;
27 import org.junit.runner.notification.RunNotifier;
[all …]
DParentRunnerHelper.java17 package vogar.target.junit;
19 import org.junit.internal.AssumptionViolatedException;
20 import org.junit.internal.runners.model.EachTestNotifier;
21 import org.junit.rules.TestRule;
22 import org.junit.runner.Description;
23 import org.junit.runner.notification.RunNotifier;
24 import org.junit.runner.notification.StoppedByUserException;
25 import org.junit.runners.ParentRunner;
26 import org.junit.runners.model.Statement;
DApplyGlobalRulesBlockJUnit4ClassRunner.java17 package vogar.target.junit;
19 import org.junit.Ignore;
20 import org.junit.rules.TestRule;
21 import org.junit.runner.Description;
22 import org.junit.runner.notification.RunNotifier;
23 import org.junit.runners.BlockJUnit4ClassRunner;
24 import org.junit.runners.model.FrameworkMethod;
25 import org.junit.runners.model.InitializationError;
26 import org.junit.runners.model.Statement;
DErrorRunner.java17 package vogar.target.junit;
19 import org.junit.internal.runners.ErrorReportingRunner;
20 import org.junit.runner.Description;
21 import org.junit.runner.Runner;
22 import org.junit.runner.manipulation.Sortable;
23 import org.junit.runner.manipulation.Sorter;
24 import org.junit.runner.notification.Failure;
25 import org.junit.runner.notification.RunNotifier;
26 import org.junit.runners.model.InitializationError;
/external/junit/src/main/java/org/junit/internal/runners/
DJUnit38ClassRunner.java1 package org.junit.internal.runners;
3 import junit.extensions.TestDecorator;
4 import junit.framework.AssertionFailedError;
5 import junit.framework.Test;
6 import junit.framework.TestCase;
7 import junit.framework.TestListener;
8 import junit.framework.TestResult;
9 import junit.framework.TestSuite;
10 import org.junit.runner.Describable;
11 import org.junit.runner.Description;
[all …]
/external/mockito/src/test/java/org/mockitousage/session/
DMockitoSessionTest.java3 import org.junit.After;
4 import org.junit.Test;
5 import org.junit.runner.JUnitCore;
6 import org.junit.runner.Result;
15 import static junit.framework.TestCase.assertNotNull;
16 import static junit.framework.TestCase.assertNull;
17 import static org.junit.Assert.assertTrue;
22 private JUnitCore junit = new JUnitCore(); field in MockitoSessionTest
26 Result result = junit.run(MockitoSessionTest.SessionWithoutAnyConfiguration.class); in session_without_any_configuration()
34 Result result = junit.run(MockitoSessionTest.SessionWithoutInitMocksConfigured.class); in session_without_init_mocks_configured()
[all …]
/external/junit/src/main/java/junit/framework/
DJUnit4TestAdapter.java1 package junit.framework;
5 import org.junit.Ignore;
6 import org.junit.runner.Describable;
7 import org.junit.runner.Description;
8 import org.junit.runner.Request;
9 import org.junit.runner.Runner;
10 import org.junit.runner.manipulation.Filter;
11 import org.junit.runner.manipulation.Filterable;
12 import org.junit.runner.manipulation.NoTestsRemainException;
13 import org.junit.runner.manipulation.Sortable;
[all …]
/external/mockito/src/main/java/org/mockito/internal/runners/
DDefaultInternalRunner.java7 import org.junit.runner.Description;
8 import org.junit.runner.manipulation.Filter;
9 import org.junit.runner.manipulation.NoTestsRemainException;
10 import org.junit.runner.notification.Failure;
11 import org.junit.runner.notification.RunListener;
12 import org.junit.runner.notification.RunNotifier;
13 import org.junit.runners.BlockJUnit4ClassRunner;
14 import org.junit.runners.model.FrameworkMethod;
15 import org.junit.runners.model.InitializationError;
16 import org.junit.runners.model.Statement;
[all …]
/external/mockito/src/test/java/org/mockitousage/bugs/
DMockitoRunnerBreaksWhenNoTestMethodsTest.java10 import org.junit.Test;
11 import org.junit.internal.TextListener;
12 import org.junit.runner.JUnitCore;
13 import org.junit.runner.Result;
14 import org.junit.runner.RunWith;
16 import org.mockito.junit.MockitoJUnitRunner;
19 import static junit.framework.TestCase.assertEquals;
20 import static junit.framework.TestCase.assertFalse;
21 import static junit.framework.TestCase.assertTrue;
/external/smali/smali-integration-tests/src/test/smali/junit-tests/StaticFieldInitializerTest/
DStaticFieldInitializerTest.smali41 .annotation runtime Lorg/junit/Test;
51 invoke-static {v0, v2}, Lorg/junit/Assert;->assertEquals(Ljava/lang/Object;Ljava/lang/Object;)V
58 .annotation runtime Lorg/junit/Test;
68 invoke-static {v0, v2}, Lorg/junit/Assert;->assertEquals(Ljava/lang/Object;Ljava/lang/Object;)V
75 .annotation runtime Lorg/junit/Test;
85 invoke-static {v0, v1}, Lorg/junit/Assert;->assertEquals(Ljava/lang/Object;Ljava/lang/Object;)V
92 .annotation runtime Lorg/junit/Test;
102 invoke-static {v0, v1}, Lorg/junit/Assert;->assertEquals(Ljava/lang/Object;Ljava/lang/Object;)V
109 .annotation runtime Lorg/junit/Test;
119 invoke-static {v0, v1}, Lorg/junit/Assert;->assertEquals(Ljava/lang/Object;Ljava/lang/Object;)V
[all …]
/external/mockito/src/main/java/org/mockito/runners/
DVerboseMockitoJUnitRunner.java8 import org.junit.runner.Description;
9 import org.junit.runner.Runner;
10 import org.junit.runner.manipulation.Filter;
11 import org.junit.runner.manipulation.Filterable;
12 import org.junit.runner.manipulation.NoTestsRemainException;
13 import org.junit.runner.notification.Failure;
14 import org.junit.runner.notification.RunListener;
15 import org.junit.runner.notification.RunNotifier;
17 import org.mockito.internal.junit.util.JUnitFailureHacker;
/external/junit/
DREADME.md5 * [Wiki](https://github.com/junit-team/junit/wiki)
6 * [Download and Install guide](https://github.com/junit-team/junit/wiki/Download-and-Install)
7 * [Getting Started](https://github.com/junit-team/junit/wiki/Getting-started)
9 [![Latest Build Status](https://junit.ci.cloudbees.com/job/JUnit/badge/icon)](https://junit.ci.clou…
/external/junit/src/main/java/org/junit/experimental/max/
DMaxCore.java1 package org.junit.experimental.max;
8 import junit.framework.TestSuite;
9 import org.junit.internal.requests.SortingRequest;
10 import org.junit.internal.runners.ErrorReportingRunner;
11 import org.junit.internal.runners.JUnit38ClassRunner;
12 import org.junit.runner.Description;
13 import org.junit.runner.JUnitCore;
14 import org.junit.runner.Request;
15 import org.junit.runner.Result;
16 import org.junit.runner.Runner;
[all …]
/external/vogar/test/vogar/testing/
DInterceptOutputStreamsTest.java19 import org.junit.After;
20 import org.junit.Before;
21 import org.junit.Rule;
22 import org.junit.Test;
23 import org.junit.runner.Description;
24 import org.junit.runner.RunWith;
25 import org.junit.runners.JUnit4;
26 import org.junit.runners.model.Statement;
29 import static org.junit.Assert.assertEquals;
30 import static org.junit.Assert.assertTrue;
[all …]
/external/mockito/src/test/java/org/mockito/runners/
DConsoleSpammingMockitoJUnitRunnerTest.java7 import org.junit.Before;
8 import org.junit.Test;
9 import org.junit.runner.Description;
10 import org.junit.runner.manipulation.Filter;
11 import org.junit.runner.manipulation.NoTestsRemainException;
12 import org.junit.runner.notification.RunNotifier;
13 import org.junit.runners.model.InitializationError;
18 import static junit.framework.TestCase.assertEquals;
/external/autotest/server/cros/tradefed_test_unittest_data/
DCtsAppTestCases-retry.txt34 …istener.testFailed(android.app.cts.SystemFeaturesTest#testCameraFeatures, junit.framework.Assertio…
35 at junit.framework.Assert.fail(Assert.java:50)
36 at junit.framework.Assert.assertTrue(Assert.java:20)
37 at junit.framework.Assert.assertFalse(Assert.java:34)
43 at junit.framework.TestCase.runBare(TestCase.java:134)
44 at junit.framework.TestResult$1.protect(TestResult.java:115)
46 at junit.framework.TestResult.run(TestResult.java:118)
48 at junit.framework.TestCase.run(TestCase.java:124)
57 …k4-host19:22] android.app.cts.SystemFeaturesTest#testCameraFeatures fail: junit.framework.Assertio…
58 at junit.framework.Assert.fail(Assert.java:50)
[all …]

12345678910>>...149