- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 203 for teardown (0.03 sec)
-
android/guava-testlib/src/com/google/common/testing/TearDown.java
* this is subject to change. Also, {@code junit4.TearDownTestCase} will. * * @throws Exception for any reason. {@code TearDownTestCase} ensures that any exception thrown * will not interfere with other TearDown operations. */ void tearDown() throws Exception;
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Dec 21 14:50:24 UTC 2024 - 1.8K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/testing/TearDownStack.java
} } /** Causes teardown to execute. */ public final void runTearDown() { List<Throwable> exceptions = new ArrayList<>(); List<TearDown> stackCopy; synchronized (lock) { stackCopy = new ArrayList<>(stack); stack.clear(); } for (TearDown tearDown : stackCopy) { try { tearDown.tearDown(); } catch (Throwable t) { if (suppressThrows) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 2.5K bytes - Viewed (0) -
guava-testlib/src/com/google/common/testing/TearDownStack.java
} } /** Causes teardown to execute. */ public final void runTearDown() { List<Throwable> exceptions = new ArrayList<>(); List<TearDown> stackCopy; synchronized (lock) { stackCopy = new ArrayList<>(stack); stack.clear(); } for (TearDown tearDown : stackCopy) { try { tearDown.tearDown(); } catch (Throwable t) { if (suppressThrows) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 2.5K bytes - Viewed (0) -
android/guava-testlib/test/com/google/common/testing/TearDownStackTest.java
public void testSingleTearDown() throws Exception { TearDownStack stack = buildTearDownStack(); SimpleTearDown tearDown = new SimpleTearDown(); stack.addTearDown(tearDown); assertEquals(false, tearDown.ran); stack.runTearDown(); assertEquals("tearDown should have run", true, tearDown.ran); } public void testMultipleTearDownsHappenInOrder() throws Exception {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Jul 16 17:42:14 UTC 2025 - 4.6K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/testing/SloppyTearDown.java
import org.jspecify.annotations.NullMarked; /** * Simple utility for when you want to create a {@link TearDown} that may throw an exception but * should not fail a test when it does. (The behavior of a {@code TearDown} that throws an exception * varies; see its documentation for details.) Use it just like a {@code TearDown}, except override * {@link #sloppyTearDown()} instead. * * @author Luiz-Otavio Zorzella * @since 10.0 */
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Dec 21 14:50:24 UTC 2024 - 1.6K bytes - Viewed (0) -
guava-testlib/test/com/google/common/collect/testing/FeatureSpecificTestSuiteBuilderTest.java
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Jan 25 16:19:30 UTC 2025 - 2.3K bytes - Viewed (0) -
android/guava-testlib/test/com/google/common/collect/testing/MapTestSuiteBuilderTests.java
} } } /** Verifies that {@code setUp} and {@code tearDown} are called in all map test cases. */ private static Test testsForSetUpTearDown() { AtomicBoolean setUpRan = new AtomicBoolean(); Runnable setUp = new Runnable() { @Override public void run() { assertFalse("previous tearDown should have run before setUp", setUpRan.getAndSet(true)); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu May 22 16:18:11 UTC 2025 - 11.4K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/mylasta/mail/EsStatusPostcardTest.java
public class EsStatusPostcardTest extends UnitFessTestCase { @Override public void setUp() throws Exception { super.setUp(); } @Override public void tearDown() throws Exception { super.tearDown(); } // Basic test to verify test framework is working public void test_basicAssertion() { assertTrue(true); assertFalse(false); assertNotNull("test");
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 1.4K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/opensearch/client/SearchEngineClientTest.java
public class SearchEngineClientTest extends UnitFessTestCase { @Override public void setUp() throws Exception { super.setUp(); } @Override public void tearDown() throws Exception { super.tearDown(); } // Basic test to verify test framework is working public void test_basicAssertion() { assertTrue(true); assertFalse(false); assertNotNull("test");
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 1.4K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/api/WebApiManagerFactoryTest.java
public class WebApiManagerFactoryTest extends UnitFessTestCase { @Override public void setUp() throws Exception { super.setUp(); } @Override public void tearDown() throws Exception { super.tearDown(); } // Basic test to verify test framework is working public void test_basicAssertion() { assertTrue(true); assertFalse(false); assertNotNull("test");
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 1.7K bytes - Viewed (0)