- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 149 for TearDown (0.05 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
android/guava-testlib/src/com/google/common/testing/TearDownStack.java
} } /** Causes teardown to execute. */ public final void runTearDown() { Throwable exception = null; List<TearDown> stackCopy; synchronized (lock) { stackCopy = new ArrayList<>(stack); stack.clear(); } for (TearDown tearDown : stackCopy) { try { tearDown.tearDown(); } catch (Throwable t) { if (suppressThrows) {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Oct 01 13:14:50 GMT 2025 - 2.7K bytes - Click Count (0) -
guava-testlib/src/com/google/common/testing/TearDownStack.java
} } /** Causes teardown to execute. */ public final void runTearDown() { Throwable exception = null; List<TearDown> stackCopy; synchronized (lock) { stackCopy = new ArrayList<>(stack); stack.clear(); } for (TearDown tearDown : stackCopy) { try { tearDown.tearDown(); } catch (Throwable t) { if (suppressThrows) {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Oct 01 13:14:50 GMT 2025 - 2.7K bytes - Click Count (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 {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 17 16:11:48 GMT 2026 - 4.5K bytes - Click Count (0) -
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 {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 17 16:11:48 GMT 2026 - 4.5K bytes - Click Count (0) -
guava-testlib/test/com/google/common/collect/testing/FeatureSpecificTestSuiteBuilderTest.java
} } public void testLifecycle() { boolean[] setUp = {false}; Runnable setUpRunnable = () -> setUp[0] = true; boolean[] tearDown = {false}; Runnable tearDownRunnable = () -> tearDown[0] = true; MyTestSuiteBuilder builder = new MyTestSuiteBuilder(); Test test = builder .usingGenerator("yam") .named("yam")
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 17 19:26:39 GMT 2026 - 2.1K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/concurrent/BuildPlanExecutor.java
// Create plan, setup and teardown for (MavenProject project : plan.getAllProjects().keySet()) { BuildStep pplan = new BuildStep(PLAN, project, null); pplan.status.set(PLANNING); // the plan step always need planning BuildStep setup = new BuildStep(SETUP, project, null); BuildStep teardown = new BuildStep(TEARDOWN, project, null);Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Thu Oct 16 06:12:36 GMT 2025 - 55.1K bytes - Click Count (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 = () -> assertFalse("previous tearDown should have run before setUp", setUpRan.getAndSet(true)); Runnable tearDown = () -> assertTrue("setUp should have run", setUpRan.getAndSet(false));Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 17 19:26:39 GMT 2026 - 11.2K bytes - Click Count (0) -
android/guava-testlib/test/com/google/common/collect/testing/FeatureSpecificTestSuiteBuilderTest.java
} } public void testLifecycle() { boolean[] setUp = {false}; Runnable setUpRunnable = () -> setUp[0] = true; boolean[] tearDown = {false}; Runnable tearDownRunnable = () -> tearDown[0] = true; MyTestSuiteBuilder builder = new MyTestSuiteBuilder(); Test test = builder .usingGenerator("yam") .named("yam")
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 17 19:26:39 GMT 2026 - 2.1K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/util/concurrent/JSR166TestCase.java
* #threadUnexpectedException} or {@link #threadRecordFailure} (which is called by {@link * CheckedRunnable} and {@link CheckedCallable}). * <li>If you override {@link #tearDown}, make sure to invoke {@code super.tearDown} within it. * This method is used to clear and check for thread assertion failures. * <li>All threads generated must be joined inside each test case method (or {@code fail} to doCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Mar 07 02:20:33 GMT 2026 - 8.8K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/mylasta/mail/EsStatusPostcardTest.java
@Override protected void setUp(TestInfo testInfo) throws Exception { super.setUp(testInfo); } @Override protected void tearDown(TestInfo testInfo) throws Exception { super.tearDown(testInfo); } // Basic test to verify test framework is working @Test public void test_basicAssertion() { assertTrue(true); assertFalse(false);Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Wed Jan 14 14:29:07 GMT 2026 - 1.6K bytes - Click Count (0)