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

1 2 3 4 5 6 7 8 91011>>

  /external/guava/guava-testlib/src/com/google/common/testing/
TearDownStack.java 29 * A {@code TearDownStack} contains a stack of {@link TearDown} instances.
40 final LinkedList<TearDown> stack = new LinkedList<TearDown>();
53 public final void addTearDown(TearDown tearDown) {
54 stack.addFirst(tearDown);
58 * Causes teardown to execute.
62 for (TearDown tearDown : stack) {
64 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}s, 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-tests/test/com/google/common/testing/
TearDownStackTest.java 40 final SimpleTearDown tearDown = new SimpleTearDown();
41 stack.addTearDown(tearDown);
43 assertEquals(false, tearDown.ran);
47 assertEquals("tearDown should have run", true, tearDown.ran);
109 tearDown();
113 @Override protected void tearDown() {
123 tearDownStack.addTearDown(new TearDown() {
126 public void tearDown() throws Exception {
135 private static final class ThrowingTearDown implements TearDown {
    [all...]
  /external/chromium_org/mojo/android/javatests/src/org/chromium/mojo/
MojoTestCase.java 33 * @see android.test.InstrumentationTestCase#tearDown()
36 protected void tearDown() throws Exception {
38 super.tearDown();
  /external/chromium_org/chrome/installer/util/
product_unittest.h 18 virtual void TearDown();
26 virtual void TearDown();
  /external/chromium_org/third_party/WebKit/Tools/qunit/test/
test.js 1 test("module without setup/teardown (default)", function() {
33 module("setup/teardown test", {
38 teardown: function() {
43 test("module with setup/teardown", function() {
48 module("setup/teardown test 2");
50 test("module without setup/teardown", function() {
58 module("teardown and stop", {
59 teardown: function() {
60 equal(state, "done", "Test teardown.");
64 test("teardown must be called after test ended", function()
    [all...]
  /external/mockito/src/org/mockito/
MockitoDebugger.java 10 //You can put it in your 'tearDown' method
  /external/guava/guava-testlib/src/com/google/common/collect/testing/
AbstractTester.java 37 private Runnable tearDown;
47 @Override public void tearDown() throws Exception {
48 if (tearDown != null) {
49 tearDown.run();
55 G subjectGenerator, String suiteName, Runnable setUp, Runnable tearDown) {
59 this.tearDown = tearDown;
  /external/chromium_org/ui/views/test/
views_test_base.cc 24 << "You have overridden TearDown but never called super class's TearDown";
42 void ViewsTestBase::TearDown() {
50 testing::Test::TearDown();
52 test_helper_->TearDown();
views_test_helper.cc 18 void ViewsTestHelper::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_org/sync/internal_api/public/test/
test_user_share.h 15 // virtual void TearDown() {
16 // test_user_share_.TearDown();
59 void TearDown();
64 // Non-NULL iff called between a call to SetUp() and TearDown().
  /external/guava/guava-tests/test/com/google/common/util/concurrent/
ForwardingListenableFutureTest.java 49 protected void tearDown() throws Exception {
50 tester.tearDown();
51 super.tearDown();
  /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();
  /system/core/libion/tests/
ion_test_fixture.cpp 32 void IonTest::TearDown() {
71 void IonAllHeapsTest::TearDown() {
72 IonTest::TearDown();
  /external/chromium_org/athena/test/
athena_test_base.cc 30 << "You have overridden TearDown but never called super class's TearDown";
50 void AthenaTestBase::TearDown() {
59 helper_->TearDown();
61 testing::Test::TearDown();

Completed in 2039 milliseconds

1 2 3 4 5 6 7 8 91011>>