Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 160 for tearDown (0.21 sec)

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

            assertEquals(new Integer(0), JsonPath.from(response).get("response.status"));
        }
    
        @Override
        protected void tearDown() {
            // do nothing
        }
    
        @Test
        void crudTest() {
            testRead();
        }
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 2.5K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/core/exception/NullArgumentExceptionTest.java

     *
     */
    public class NullArgumentExceptionTest {
    
        @Before
        public void setUp() throws Exception {
            LocaleUtil.setDefault(() -> Locale.JAPANESE);
        }
    
        @After
        public void tearDown() throws Exception {
            LocaleUtil.setDefault(null);
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testErrorMessage_ja() throws Exception {
            // ## Arrange ##
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 2K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/core/exception/SQLRuntimeExceptionTest.java

     * @author manhole
     */
    public class SQLRuntimeExceptionTest {
    
        @Before
        public void setUp() throws Exception {
            LocaleUtil.setDefault(() -> Locale.JAPANESE);
        }
    
        @After
        public void tearDown() throws Exception {
            LocaleUtil.setDefault(null);
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testErrorMessage_ja() throws Exception {
            // ## Arrange ##
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 3.2K bytes
    - Viewed (0)
  4. 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());
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 3.3K bytes
    - Viewed (0)
  5. 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());
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 3.3K bytes
    - Viewed (0)
  6. maven-core/src/test/java/org/apache/maven/configuration/DefaultBeanConfiguratorTest.java

        private BeanConfigurator configurator;
    
        @BeforeEach
        void setUp() throws Exception {
            configurator = new DefaultBeanConfigurator();
        }
    
        @AfterEach
        void tearDown() throws Exception {
            configurator = null;
        }
    
        private Xpp3Dom toConfig(String xml) {
            try {
                return new Xpp3Dom(XmlNodeStaxBuilder.build(
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Mon Mar 25 10:50:01 GMT 2024
    - 3.7K bytes
    - Viewed (0)
  7. maven-core/src/test/java/org/apache/maven/project/ExtensionDescriptorBuilderTest.java

        private ExtensionDescriptorBuilder builder;
    
        @BeforeEach
        void setUp() throws Exception {
            builder = new ExtensionDescriptorBuilder();
        }
    
        @AfterEach
        void tearDown() throws Exception {
            builder = null;
        }
    
        private InputStream toStream(String xml) {
            return new ByteArrayInputStream(xml.getBytes(StandardCharsets.UTF_8));
        }
    
        @Test
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 3K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/it/admin/SuggestTests.java

            assertTrue(res.containsKey("query_words_num"));
            assertEquals(new Integer(0), JsonPath.from(response).get("response.status"));
        }
    
        @Override
        protected void tearDown() {
            // do nothing
        }
    
        @Test
        void crudTest() {
            testRead();
        }
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 2.7K bytes
    - Viewed (0)
  9. okhttp/src/test/java/okhttp3/internal/http/HttpDateTest.kt

        // something else.
        TimeZone.setDefault(TimeZone.getTimeZone("America/Los_Angeles"))
      }
    
      @AfterEach
      @Throws(Exception::class)
      fun tearDown() {
        TimeZone.setDefault(originalDefault)
      }
    
      @Test
      @Throws(Exception::class)
      fun parseStandardFormats() {
        // RFC 822, updated by RFC 1123 with GMT.
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 3.9K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/core/convert/CalendarConversionUtilTest.java

         */
        @Before
        public void setUp() throws Exception {
            TimeZone.setDefault(TimeZone.getTimeZone("GMT"));
        }
    
        /**
         * @throws Exception
         */
        @After
        public void tearDown() throws Exception {
            TimeZone.setDefault(null);
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testToCalendar() throws Exception {
            final Date date = new Date();
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 2.4K bytes
    - Viewed (0)
Back to top