Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for tearDown (0.18 sec)

  1. src/test/java/org/codelibs/core/timer/TimeoutManagerTest.java

        private int expiredCount;
    
        protected void setUp() throws Exception {
            expiredCount = 0;
            TimeoutManager.getInstance().clear();
        }
    
        protected void tearDown() throws Exception {
            TimeoutManager.getInstance().clear();
        }
    
        /**
         * @throws Exception
         */
        public void testExpired() throws Exception {
    Java
    - Registered: Fri Apr 26 20:58:09 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 2.1K 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 Apr 26 20:58:09 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 2K bytes
    - Viewed (0)
  3. 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 Apr 26 20:58:09 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 2.4K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/core/convert/TimeConversionUtilTest.java

     * @author higa
     */
    public class TimeConversionUtilTest {
    
        @Before
        public void setUp() throws Exception {
            LocaleUtil.setDefault(() -> Locale.JAPANESE);
        }
    
        @After
        public void tearDown() throws Exception {
            LocaleUtil.setDefault(null);
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testToDate_Null() throws Exception {
    Java
    - Registered: Fri Apr 26 20:58:09 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 9.5K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/core/collection/ArrayMapTest.java

            map.put(null, null);
            map.put("1", "test");
            map.put("2", "test2");
        }
    
        /**
         * @throws Exception
         */
        @After
        public void tearDown() throws Exception {
            map = null;
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testSize() throws Exception {
            assertThat(map.size(), equalTo(3));
    Java
    - Registered: Fri Apr 26 20:58:09 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 10.7K bytes
    - Viewed (0)
  6. 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 {
    Java
    - Registered: Fri Apr 26 20:58:09 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 3.6K bytes
    - Viewed (0)
  7. 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));
    Java
    - Registered: Fri Apr 26 20:58:09 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 4K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/core/convert/TimestampConversionUtilTest.java

     */
    public class TimestampConversionUtilTest {
    
        @Before
        public void setUp() throws Exception {
            LocaleUtil.setDefault(() -> Locale.JAPANESE);
        }
    
        @After
        public void tearDown() throws Exception {
            LocaleUtil.setDefault(null);
        }
    
        /**
         * @throws Exception
         */
        //    @Test
        //    public void testToDate_Null() throws Exception {
    Java
    - Registered: Fri Apr 26 20:58:09 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 11.4K bytes
    - Viewed (0)
  9. 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 Apr 26 20:58:09 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 3.2K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/core/convert/DateConversionUtilTest.java

     * @author higa
     */
    public class DateConversionUtilTest {
    
        @Before
        public void setUp() throws Exception {
            LocaleUtil.setDefault(() -> Locale.JAPANESE);
        }
    
        @After
        public void tearDown() throws Exception {
            LocaleUtil.setDefault(null);
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testToDate_Null() throws Exception {
    Java
    - Registered: Fri Apr 26 20:58:09 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 9.4K bytes
    - Viewed (0)
Back to top