Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 15 for setUp (0.27 sec)

  1. .github/workflows/maven.yml

      pull_request:
        branches:
        - master
        - "*.x"
    
    jobs:
      build:
    
        runs-on: ubuntu-latest
    
        steps:
        - uses: actions/checkout@v2
        - name: Set up JDK 17
          uses: actions/setup-java@v2
          with:
            java-version: '17'
            distribution: 'temurin'
        - name: Build with Maven
    Others
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:58:02 GMT 2024
    - 602 bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/core/timer/TimeoutManagerTest.java

    package org.codelibs.core.timer;
    
    import junit.framework.TestCase;
    
    /**
     * @author higa
     *
     */
    public class TimeoutManagerTest extends TestCase {
    
        private int expiredCount;
    
        protected void setUp() throws Exception {
            expiredCount = 0;
            TimeoutManager.getInstance().clear();
        }
    
        protected void tearDown() throws Exception {
            TimeoutManager.getInstance().clear();
        }
    
        /**
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 2.1K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/core/exception/NullArgumentExceptionTest.java

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

         * @see org.junit.rules.ExpectedException
         */
        @Rule
        public ExpectedException exception = ExpectedException.none();
    
        /**
         * @throws Exception
         */
        @Before
        public void setUp() throws Exception {
            TimeZone.setDefault(TimeZone.getTimeZone("GMT"));
        }
    
        /**
         * @throws Exception
         */
        @After
        public void tearDown() throws Exception {
    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)
  5. src/test/java/org/codelibs/core/convert/TimeConversionUtilTest.java

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

         */
        @Rule
        public ExpectedException exception = ExpectedException.none();
    
        ArrayMap<String, String> map;
    
        /**
         * @throws Exception
         */
        @Before
        public void setUp() throws Exception {
            map = new ArrayMap<String, String>();
            map.put(null, null);
            map.put("1", "test");
            map.put("2", "test2");
        }
    
        /**
         * @throws Exception
         */
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 10.7K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/core/text/Tokenizer.java

        private int ttype = TT_NOTHING;
    
        private String sval;
    
        private char[] buf = new char[20];
    
        private int peekc = NEED_CHAR;
    
        private byte peekct = 0;
    
        static {
            setup(defaultCtype);
        }
    
        /**
         * {@link Tokenizer}を作成します。
         *
         * @param str
         *            文字列。{@literal null}であってはいけません
         */
        public Tokenizer(final String str) {
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 8.6K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/core/misc/DisposableUtilTest.java

    /**
     * @author koichik
     *
     */
    public class DisposableUtilTest {
    
        private int count;
    
        private String names = "";
    
        /**
         * @throws Exception
         */
        @Before
        public void setUp() throws Exception {
            DisposableUtil.dispose();
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void test1() throws Exception {
            DisposableUtil.add(new TestDisposable("a"));
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 3.3K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/core/message/MessageFormatterTest.java

    import org.codelibs.core.misc.LocaleUtil;
    import org.junit.After;
    import org.junit.Before;
    import org.junit.Test;
    
    /**
     * @author higa
     */
    public class MessageFormatterTest {
    
        @Before
        public void setUp() throws Exception {
            LocaleUtil.setDefault(() -> Locale.JAPANESE);
        }
    
        @After
        public void tearDown() throws Exception {
            LocaleUtil.setDefault(null);
        }
    
        /**
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 3.6K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/core/collection/CaseInsensitiveMapTest.java

    import org.junit.Test;
    
    /**
     * @author higa
     */
    public class CaseInsensitiveMapTest {
    
        CaseInsensitiveMap<String> map;
    
        /**
         * @throws Exception
         */
        @Before
        public void setUp() throws Exception {
            map = new CaseInsensitiveMap<String>();
            map.put("one", "1");
            map.put("two", "2");
        }
    
        /**
         * @throws Exception
         */
        @After
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 4K bytes
    - Viewed (0)
Back to top