HomeSort by relevance Sort by last modified time
    Searched full:teardown (Results 1 - 25 of 2394) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /external/guava/guava-testlib/src/com/google/common/testing/
TearDownStack.java 31 * A {@code TearDownStack} contains a stack of {@link TearDown} instances.
41 final LinkedList<TearDown> stack = new LinkedList<TearDown>();
54 public final void addTearDown(TearDown tearDown) {
55 stack.addFirst(checkNotNull(tearDown));
59 * Causes teardown to execute.
63 for (TearDown tearDown : stack) {
65 tearDown.tearDown()
    [all...]
TearDownAccepter.java 23 * Any object which can accept registrations of {@link TearDown} instances.
32 * Registers a TearDown implementor which will be run after the test proper.
37 * {@link junit.framework.TestCase#tearDown()} step.
39 void addTearDown(TearDown tearDown);
SloppyTearDown.java 26 * Simple utility for when you want to create a {@link TearDown} that may throw
28 * {@code TearDown} that throws an exception varies; see its documentation for
29 * details.) Use it just like a {@code TearDown}, except override {@link
37 public abstract class SloppyTearDown implements TearDown {
42 public final void tearDown() {
47 "exception thrown during tearDown: " + t.getMessage(), t);
TearDown.java 23 * An object that can perform a {@link #tearDown} operation.
30 public interface TearDown {
36 * <p>A failing {@link TearDown} may or may not fail a tl4j test, depending on
43 * is thrown from one of its {@link TearDown} instances, but this is subject to
47 * any exception thrown will not interfere with other TearDown
50 void tearDown() throws Exception;
  /external/antlr/antlr-3.4/runtime/ObjC/Framework/ANTLR/ANTLRTests/
ANTLRTests.m 21 - (void)tearDown
25 [super tearDown];
  /external/lldb/test/unittest2/test/
test_functiontestcase.py 16 # prior to each test. Likewise, if a tearDown() method is defined, the
33 def tearDown():
34 events.append('tearDown')
37 unittest2.FunctionTestCase(test, setUp, tearDown).run(result)
41 # prior to each test. Likewise, if a tearDown() method is defined, the
58 def tearDown():
59 events.append('tearDown')
61 expected = ['startTest', 'setUp', 'test', 'addError', 'tearDown',
63 unittest2.FunctionTestCase(test, setUp, tearDown).run(result)
67 # prior to each test. Likewise, if a tearDown() method is defined, th
    [all...]
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/unittest/test/
test_functiontestcase.py 16 # prior to each test. Likewise, if a tearDown() method is defined, the
33 def tearDown():
34 events.append('tearDown')
37 unittest.FunctionTestCase(test, setUp, tearDown).run(result)
41 # prior to each test. Likewise, if a tearDown() method is defined, the
58 def tearDown():
59 events.append('tearDown')
61 expected = ['startTest', 'setUp', 'test', 'addError', 'tearDown',
63 unittest.FunctionTestCase(test, setUp, tearDown).run(result)
67 # prior to each test. Likewise, if a tearDown() method is defined, th
    [all...]
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/unittest/test/
test_functiontestcase.py 16 # prior to each test. Likewise, if a tearDown() method is defined, the
33 def tearDown():
34 events.append('tearDown')
37 unittest.FunctionTestCase(test, setUp, tearDown).run(result)
41 # prior to each test. Likewise, if a tearDown() method is defined, the
58 def tearDown():
59 events.append('tearDown')
61 expected = ['startTest', 'setUp', 'test', 'addError', 'tearDown',
63 unittest.FunctionTestCase(test, setUp, tearDown).run(result)
67 # prior to each test. Likewise, if a tearDown() method is defined, th
    [all...]
  /external/guava/guava-testlib/test/com/google/common/testing/
TearDownStackTest.java 34 final SimpleTearDown tearDown = new SimpleTearDown();
35 stack.addTearDown(tearDown);
37 assertEquals(false, tearDown.ran);
41 assertEquals("tearDown should have run", true, tearDown.ran);
101 tearDown();
105 @Override protected void tearDown() {
115 tearDownStack.addTearDown(new TearDown() {
118 public void tearDown() throws Exception {
127 private static final class ThrowingTearDown implements TearDown {
    [all...]
  /external/mockito/src/org/mockito/
MockitoDebugger.java 10 //You can put it in your 'tearDown' method
  /packages/services/Telecomm/tests/src/com/android/server/telecom/tests/
TODO 3 * ComponentContextFixture to have "setUp/tearDown" to check for things like un-released providers
  /external/guava/guava-testlib/src/com/google/common/collect/testing/
AbstractTester.java 40 private Runnable tearDown;
50 @Override public void tearDown() throws Exception {
51 if (tearDown != null) {
52 tearDown.run();
58 G subjectGenerator, String suiteName, Runnable setUp, Runnable tearDown) {
62 this.tearDown = tearDown;
  /external/junit/src/junit/extensions/
TestSetup.java 24 tearDown();
40 protected void tearDown() throws Exception {
  /sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/eclipse/adt/internal/editors/layout/gre/
RulesEngineTest.java 29 protected void tearDown() throws Exception {
30 super.tearDown();
  /external/chromium-trace/trace-viewer/tracing/build/
dev_server_unittest.py 15 def tearDown(self):
  /frameworks/base/test-runner/src/android/test/
TestCase.java 26 * have additional setup or teardown, this interface might be for you,
28 * teardown code must execute regardless of whether your test passed.
46 public void tearDown();
  /libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/charset/
ISOCharsetDecoderTest.java 34 * @see CharsetDecoderTest#tearDown()
36 protected void tearDown() throws Exception {
37 super.tearDown();
  /libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/prefs/
NodeChangeListenerTest.java 41 * @see TestCase#tearDown()
44 protected void tearDown() throws Exception {
45 super.tearDown();
  /packages/apps/Messaging/tests/src/com/android/messaging/ui/
BugleActivityUnitTestCase.java 26 * Base class for activity unit test cases, provides boilerplate setup/teardown.
51 protected void tearDown() throws Exception {
52 super.tearDown();
  /system/core/libion/tests/
ion_test_fixture.cpp 32 void IonTest::TearDown() {
71 void IonAllHeapsTest::TearDown() {
72 IonTest::TearDown();
  /external/google-breakpad/src/testing/gtest/test/
gtest_catch_exceptions_test_.cc 90 virtual void TearDown() { RaiseException(42, 0, 0, NULL); }
129 virtual void TearDown() {
130 ADD_FAILURE() << "CxxExceptionInConstructorTest::TearDown() "
191 virtual void TearDown() {
193 "CxxExceptionInSetUpTestCaseTest::TearDown() "
230 virtual void TearDown() {
232 "CxxExceptionInSetUpTest::TearDown() "
257 virtual void TearDown() {
279 virtual void TearDown() {
281 "CxxExceptionInTestBodyTest::TearDown() "
    [all...]
  /external/gtest/test/
gtest_catch_exceptions_test_.cc 90 virtual void TearDown() { RaiseException(42, 0, 0, NULL); }
129 virtual void TearDown() {
130 ADD_FAILURE() << "CxxExceptionInConstructorTest::TearDown() "
191 virtual void TearDown() {
193 "CxxExceptionInSetUpTestCaseTest::TearDown() "
230 virtual void TearDown() {
232 "CxxExceptionInSetUpTest::TearDown() "
257 virtual void TearDown() {
279 virtual void TearDown() {
281 "CxxExceptionInTestBodyTest::TearDown() "
    [all...]
  /ndk/sources/third_party/googletest/googletest/test/
gtest_catch_exceptions_test_.cc 90 virtual void TearDown() { RaiseException(42, 0, 0, NULL); }
129 virtual void TearDown() {
130 ADD_FAILURE() << "CxxExceptionInConstructorTest::TearDown() "
191 virtual void TearDown() {
193 "CxxExceptionInSetUpTestCaseTest::TearDown() "
230 virtual void TearDown() {
232 "CxxExceptionInSetUpTest::TearDown() "
257 virtual void TearDown() {
279 virtual void TearDown() {
281 "CxxExceptionInTestBodyTest::TearDown() "
    [all...]
  /external/expat/tests/
minicheck.c 49 tcase_teardown_function teardown)
53 tc->teardown = teardown;
138 /* teardown */
139 if (tc->teardown != NULL) {
144 tc->teardown();
  /cts/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/
ClearDeviceOwnerTest.java 29 protected void tearDown() throws Exception {
42 super.tearDown();
45 // This test clears the device owner and active admin on tearDown(). To be called from the host

Completed in 287 milliseconds

1 2 3 4 5 6 7 8 91011>>