Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 118 for tearDown (0.16 sec)

  1. src/test/java/org/codelibs/fess/it/admin/JobLogTests.java

            assertEquals(new Integer(0), JsonPath.from(response).get("response.status"));
        }
    
        @Override
        protected void tearDown() {
            // do nothing
        }
    
        @Test
        void crudTest() {
            testRead();
        }
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/it/admin/SystemInfoTests.java

            assertTrue(res.containsKey("bug_report_props"));
            assertEquals(new Integer(0), JsonPath.from(response).get("response.status"));
        }
    
        @Override
        protected void tearDown() {
            // do nothing
        }
    
        @Test
        void crudTest() {
            testRead();
        }
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/core/message/MessageFormatterTest.java

    /**
     * @author higa
     */
    public class MessageFormatterTest {
    
        @Before
        public void setUp() throws Exception {
            LocaleUtil.setDefault(() -> Locale.JAPANESE);
        }
    
        @After
        public void tearDown() throws Exception {
            LocaleUtil.setDefault(null);
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testGetMessage() throws Exception {
    Registered: Wed Jun 12 12:50:12 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/core/collection/CaseInsensitiveMapTest.java

            map = new CaseInsensitiveMap<String>();
            map.put("one", "1");
            map.put("two", "2");
        }
    
        /**
         * @throws Exception
         */
        @After
        public void tearDown() throws Exception {
            map = null;
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testContainsKey() throws Exception {
            assertThat(map.containsKey("ONE"), is(true));
    Registered: Wed Jun 12 12:50:12 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 4K bytes
    - Viewed (0)
  5. maven-slf4j-provider/src/test/java/org/apache/maven/slf4j/MavenSimpleLoggerTest.java

        boolean colorEnabled;
    
        @BeforeEach
        void setup() {
            colorEnabled = MessageUtils.isColorEnabled();
            MessageUtils.setColorEnabled(false);
        }
    
        @AfterEach
        void tearDown() {
            MessageUtils.setColorEnabled(colorEnabled);
        }
    
        @Test
        void includesCauseAndSuppressedExceptionsWhenWritingThrowables(TestInfo testInfo) throws Exception {
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Feb 28 23:31:59 UTC 2024
    - 4K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/util/concurrent/ListenableFutureTester.java

                latch.countDown();
              }
            },
            exec);
    
        assertEquals(1, latch.getCount());
        assertFalse(future.isDone());
        assertFalse(future.isCancelled());
      }
    
      public void tearDown() {
        exec.shutdown();
      }
    
      public void testCompletedFuture(@Nullable Object expectedValue)
          throws InterruptedException, ExecutionException {
        assertTrue(future.isDone());
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 3.3K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/util/concurrent/UninterruptiblesTest.java

                  + "Some test probably didn't clear the interrupt state");
        }
    
        tearDownStack.addTearDown(
            new TearDown() {
              @Override
              public void tearDown() {
                Thread.interrupted();
              }
            });
      }
    
      @Override
      protected void tearDown() {
        tearDownStack.runTearDown();
      }
    
      public void testNull() throws Exception {
        new NullPointerTester()
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Jun 10 16:06:39 UTC 2024
    - 31.7K bytes
    - Viewed (0)
  8. fess-crawler/src/test/java/org/codelibs/fess/crawler/client/storage/StorageClientTest.java

                    SetObjectTagsArgs.builder().bucket(bucketName).object("dir3/file4.txt").tags(Map.of("label", "label4")).build());
        }
    
        @Override
        protected void tearDown() throws Exception {
            minioServer.stop();
            super.tearDown();
        }
    
        public void test_doGet() throws Exception {
            try (final ResponseData responseData = storageClient.doGet("storage://fess/file1.txt")) {
    Registered: Wed Jun 12 15:17:51 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 13.5K bytes
    - Viewed (0)
  9. android/guava-testlib/src/com/google/common/util/concurrent/testing/AbstractListenableFutureTest.java

        // Create a latch and a future that waits on the latch.
        latch = new CountDownLatch(1);
        future = createListenableFuture(Boolean.TRUE, null, latch);
      }
    
      @Override
      protected void tearDown() throws Exception {
    
        // Make sure we have no waiting threads.
        latch.countDown();
      }
    
      /** Constructs a listenable future with a value available after the latch has counted down. */
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 06 18:30:30 UTC 2023
    - 6K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/util/concurrent/AggregateFutureStateFallbackAtomicHelperTest.java

        Object testInstance = test.getDeclaredConstructor().newInstance();
        test.getMethod("setUp").invoke(testInstance);
        test.getMethod(getName()).invoke(testInstance);
        test.getMethod("tearDown").invoke(testInstance);
      }
    
      private void checkHelperVersion(ClassLoader classLoader, String expectedHelperClassName)
          throws Exception {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Oct 10 19:45:10 UTC 2022
    - 5.9K bytes
    - Viewed (0)
Back to top