Home
last modified time | relevance | path

Searched refs:tearDownOne (Results 1 – 2 of 2) sorted by relevance

/external/guava/android/guava-testlib/test/com/google/common/testing/
DTearDownStackTest.java46 final SimpleTearDown tearDownOne = new SimpleTearDown(); in testMultipleTearDownsHappenInOrder() local
47 stack.addTearDown(tearDownOne); in testMultipleTearDownsHappenInOrder()
54 "tearDownTwo should have been run before tearDownOne", false, tearDownOne.ran); in testMultipleTearDownsHappenInOrder()
61 assertEquals(false, tearDownOne.ran); in testMultipleTearDownsHappenInOrder()
66 assertEquals("tearDownOne should have run", true, tearDownOne.ran); in testMultipleTearDownsHappenInOrder()
73 final ThrowingTearDown tearDownOne = new ThrowingTearDown("one"); in testThrowingTearDown() local
74 stack.addTearDown(tearDownOne); in testThrowingTearDown()
79 assertEquals(false, tearDownOne.ran); in testThrowingTearDown()
92 assertEquals(true, tearDownOne.ran); in testThrowingTearDown()
/external/guava/guava-testlib/test/com/google/common/testing/
DTearDownStackTest.java46 final SimpleTearDown tearDownOne = new SimpleTearDown(); in testMultipleTearDownsHappenInOrder() local
47 stack.addTearDown(tearDownOne); in testMultipleTearDownsHappenInOrder()
54 "tearDownTwo should have been run before tearDownOne", false, tearDownOne.ran); in testMultipleTearDownsHappenInOrder()
61 assertEquals(false, tearDownOne.ran); in testMultipleTearDownsHappenInOrder()
66 assertEquals("tearDownOne should have run", true, tearDownOne.ran); in testMultipleTearDownsHappenInOrder()
73 final ThrowingTearDown tearDownOne = new ThrowingTearDown("one"); in testThrowingTearDown() local
74 stack.addTearDown(tearDownOne); in testThrowingTearDown()
79 assertEquals(false, tearDownOne.ran); in testThrowingTearDown()
92 assertEquals(true, tearDownOne.ran); in testThrowingTearDown()