Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 188 for TearDown (0.04 sec)

  1. 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)
  2. 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)
  3. 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)
  4. android/guava-testlib/src/com/google/common/collect/testing/AbstractTester.java

      private @Nullable Runnable tearDown;
    
      // public so that it can be referenced in generated GWT tests.
      @Override
      public void setUp() throws Exception {
        if (setUp != null) {
          setUp.run();
        }
      }
    
      // public so that it can be referenced in generated GWT tests.
      @Override
      public void tearDown() throws Exception {
        if (tearDown != null) {
          tearDown.run();
        }
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 3.3K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/io/SourceSinkFactories.java

          @Override
          public byte[] getExpected(byte[] data) {
            return factory.getExpected(new String(data, UTF_8)).getBytes(UTF_8);
          }
    
          @Override
          public void tearDown() throws IOException {
            factory.tearDown();
          }
        };
      }
    
      public static CharSourceFactory asCharSourceFactory(ByteSourceFactory factory) {
        checkNotNull(factory);
        return new CharSourceFactory() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 16 17:42:14 UTC 2025
    - 17.9K bytes
    - Viewed (0)
  6. 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)
  7. src/test/java/org/codelibs/fess/cors/DefaultCorsHandlerTest.java

    public class DefaultCorsHandlerTest 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)
  8. src/test/java/org/codelibs/fess/crawler/service/FessUrlQueueServiceTest.java

    public class FessUrlQueueServiceTest 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)
  9. src/test/java/org/codelibs/fess/crawler/util/FessCrawlerConfigTest.java

    public class FessCrawlerConfigTest 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)
  10. src/test/java/org/codelibs/fess/dict/DictionaryFileTest.java

    public class DictionaryFileTest 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)
Back to top