- Sort Score
- Result 10 results
- Languages All
Results 1 - 7 of 7 for TearDownStack (0.14 sec)
-
android/guava-testlib/src/com/google/common/testing/TearDownStack.java
import org.jspecify.annotations.NullMarked; /** * A {@code TearDownStack} contains a stack of {@link TearDown} instances. * * <p>This class is thread-safe. * * @author Kevin Bourrillion * @since 10.0 */ @GwtCompatible @NullMarked public class TearDownStack implements TearDownAccepter { private static final Logger logger = Logger.getLogger(TearDownStack.class.getName());
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
import org.jspecify.annotations.NullMarked; /** * A {@code TearDownStack} contains a stack of {@link TearDown} instances. * * <p>This class is thread-safe. * * @author Kevin Bourrillion * @since 10.0 */ @GwtCompatible @NullMarked public class TearDownStack implements TearDownAccepter { private static final Logger logger = Logger.getLogger(TearDownStack.class.getName());
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
tearDown(); } } @Override protected void tearDown() { tearDownStack.runTearDown(); } /** Builds a {@link TearDownStack} that makes sure it's clear by the end of this test. */ private TearDownStack buildTearDownStack() { TearDownStack result = new TearDownStack(); tearDownStack.addTearDown( new TearDown() { @Override
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-tests/test/com/google/common/util/concurrent/MonitorTestCase.java
} public void setSatisfied(boolean satisfied) { this.satisfied = satisfied; } } private final boolean interruptible; private Monitor monitor; private final TearDownStack tearDownStack = new TearDownStack(true); private TestThread<Monitor> thread1; private TestThread<Monitor> thread2; protected MonitorTestCase(boolean interruptible) { this.interruptible = interruptible; }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 8K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/UninterruptiblesTest.java
/** Timeout to use when we don't expect the timeout to expire. */ private static final long LONG_DELAY_MS = 2500; private static final long SLEEP_SLACK = 2; private final TearDownStack tearDownStack = new TearDownStack(); // NOTE: All durations in these tests are expressed in milliseconds @Override protected void setUp() { // Clear any previous interrupt before running the test.
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Jul 16 17:42:14 UTC 2025 - 31.7K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/AbstractExecutionThreadServiceTest.java
/** * Unit test for {@link AbstractExecutionThreadService}. * * @author Jesse Wilson */ @NullUnmarked public class AbstractExecutionThreadServiceTest extends TestCase { private final TearDownStack tearDownStack = new TearDownStack(true); private final CountDownLatch enterRun = new CountDownLatch(1); private final CountDownLatch exitRun = new CountDownLatch(1); private Thread executionThread;
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Fri Jul 11 18:52:30 UTC 2025 - 12.8K bytes - Viewed (0) -
android/guava-testlib/test/com/google/common/testing/TestLogHandlerTest.java
/** * Unit test for {@link TestLogHandler}. * * @author kevinb */ @NullUnmarked public class TestLogHandlerTest extends TestCase { private TestLogHandler handler; private final TearDownStack stack = new TearDownStack(); @Override protected void setUp() throws Exception { super.setUp(); handler = new TestLogHandler(); // You could also apply it higher up the Logger hierarchy than this
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Aug 10 19:54:19 UTC 2025 - 2.9K bytes - Viewed (0)