Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 171 for tearDown (0.13 sec)

  1. 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(final ByteSourceFactory factory) {
        checkNotNull(factory);
        return new CharSourceFactory() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 17.7K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/testing/TearDownAccepter.java

       *
       * <p>In JUnit3 language, that means during the {@link junit.framework.TestCase#tearDown()} step.
       */
      void addTearDown(TearDown tearDown);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri May 12 19:22:18 UTC 2023
    - 1.3K bytes
    - Viewed (0)
  3. guava-testlib/src/com/google/common/testing/TearDownAccepter.java

       *
       * <p>In JUnit3 language, that means during the {@link junit.framework.TestCase#tearDown()} step.
       */
      void addTearDown(TearDown tearDown);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri May 12 19:22:18 UTC 2023
    - 1.3K 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 Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 28 21:41:47 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  5. 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 Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 28 21:41:47 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  6. guava-testlib/test/com/google/common/collect/testing/FeatureSpecificTestSuiteBuilderTest.java

              @Override
              public void run() {
                setUp[0] = true;
              }
            };
    
        boolean[] tearDown = {false};
        Runnable tearDownRunnable =
            new Runnable() {
              @Override
              public void run() {
                tearDown[0] = true;
              }
            };
    
        MyTestSuiteBuilder builder = new MyTestSuiteBuilder();
        Test test =
            builder
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Feb 22 20:09:59 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/util/concurrent/InterruptionUtil.java

        final Thread interruptingThread = new Thread(interruptingTask);
        interruptingThread.start();
        tearDownAccepter.addTearDown(
            new TearDown() {
              @Override
              public void tearDown() throws Exception {
                interruptingTask.stopInterrupting();
                interruptingThread.interrupt();
                joinUninterruptibly(interruptingThread, 2500, MILLISECONDS);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 4.4K bytes
    - Viewed (0)
  8. android/guava-testlib/test/com/google/common/testing/TestLogHandlerTest.java

        ExampleClassUnderTest.logger.addHandler(handler);
    
        ExampleClassUnderTest.logger.setUseParentHandlers(false); // optional
    
        stack.addTearDown(
            new TearDown() {
              @Override
              public void tearDown() throws Exception {
                ExampleClassUnderTest.logger.setUseParentHandlers(true);
                ExampleClassUnderTest.logger.removeHandler(handler);
              }
            });
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 2.8K bytes
    - Viewed (0)
  9. android/guava-testlib/test/com/google/common/collect/testing/FeatureSpecificTestSuiteBuilderTest.java

              @Override
              public void run() {
                setUp[0] = true;
              }
            };
    
        boolean[] tearDown = {false};
        Runnable tearDownRunnable =
            new Runnable() {
              @Override
              public void run() {
                tearDown[0] = true;
              }
            };
    
        MyTestSuiteBuilder builder = new MyTestSuiteBuilder();
        Test test =
            builder
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Feb 22 20:09:59 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/dict/DictionaryManagerTest.java

            file1 = new File(testDir, "synonym.txt");
            FileUtil.writeBytes(file1.getAbsolutePath(), "abc=>123\nxyz,890".getBytes(Constants.UTF_8));
        }
    
        @Override
        public void tearDown() throws Exception {
            super.tearDown();
            FileUtils.deleteDirectory(testDir);
        }
    
        public void test_init() {
            final DictionaryManager dictionaryManager = new DictionaryManager();
            dictionaryManager.init();
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 2.4K bytes
    - Viewed (0)
Back to top