/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/linux-kselftest/tools/testing/selftests/tc-testing/creating-testcases/ |
template.json | 17 "teardown": [ 42 "teardown": [
|
example.json | 16 "teardown": [ 35 "teardown": [ 41 "name": "simple test, no need for setup or teardown (or verify)", 52 "teardown": [
|
/external/testng/src/test/java/test/converter/ |
ConverterSample1.java | 14 protected void tearDown() throws Exception { 15 super.tearDown();
|
/external/testng/src/test/java/test/junit/ |
SetUpExceptionSampleTest.java | 16 protected void tearDown() throws Exception {
|
SetUpExceptionTest.java | 18 "testM1", "tearDown"
|
/external/testng/src/test/java/test/tmp/ |
Test0.java | 19 public void tearDown() { 20 System.out.println("tearDown");
|
/external/testng/src/test/java/test/factory/ |
Sample2.java | 35 public void tearDown() { 37 m_methodList.add("tearDown"); 45 "tearDown", 48 "tearDown", 51 "tearDown", 54 "tearDown",
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/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, the [all...] |
/external/python/cpython2/Lib/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/python/cpython3/Lib/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', 'tearDown', 63 unittest.FunctionTestCase(test, setUp, tearDown).run(result) 67 # prior to each test. Likewise, if a tearDown() method is defined, th [all...] |
/prebuilts/gdb/darwin-x86/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/gdb/linux-x86/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/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/testng/src/test/java/ |
ConverterSample2.java | 14 protected void tearDown() throws Exception { 15 super.tearDown();
|
/external/testng/src/test/java/test/alwaysrun/ |
AlwaysRunAfter2.java | 17 public void tearDown() {
|
/hardware/interfaces/audio/common/all-versions/test/utility/include/utility/ |
EnvironmentTearDown.h | 40 void registerTearDown(TearDownFunc&& tearDown) { tearDowns.push_back(std::move(tearDown)); } 45 for (auto& tearDown : tearDowns) { 46 tearDown();
|
/test/vts/testcases/vts_selftest/test_framework/python_virtualenv_preparer_test/ |
README.md | 15 Part2 to test whether a module level VtsPythonVirtualenvPreparer's tearDown
|
/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;
|