Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 69 for hoge2 (0.03 sec)

  1. src/test/java/org/codelibs/core/text/TokenizerTest.java

        /**
         * @throws Exception
         */
        @Test
        public void pend_testDot() throws Exception {
            final Tokenizer tokenizer = new Tokenizer("abc.hoge");
            assertThat(tokenizer.nextToken(), is(Tokenizer.TT_WORD));
            assertThat(tokenizer.getStringValue(), is("abc.hoge"));
            assertThat(tokenizer.nextToken(), is(Tokenizer.TT_EOF));
        }
    
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 2K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/core/io/ResourceUtilTest.java

            assertNotNull(ResourceUtil.getResource("org/codelibs"));
            try {
                ResourceUtil.getResource("hoge", "xml");
                fail("2");
            } catch (final ResourceNotFoundRuntimeException e) {
                System.out.println(e);
                assertEquals("3", "hoge.xml", e.getPath());
            }
            System.out.println(ResourceUtil.getResource("."));
        }
    
        /**
         * @throws Exception
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/core/exception/ConverterRuntimeExceptionTest.java

         * @throws Exception
         */
        @Test
        public void test() throws Exception {
            final ConverterRuntimeException e = new ConverterRuntimeException("hoge", "xxx", new RuntimeException("cause"));
            System.out.println(e.getMessage());
            assertThat(e.getPropertyName(), is("hoge"));
            assertThat(e.getValue(), is((Object) "xxx"));
            assertThat(e.getCause().getMessage(), is("cause"));
        }
    
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/core/lang/AnnotationUtilTest.java

    /**
     * @author higa
     */
    public class AnnotationUtilTest {
    
        /**
         * @throws Exception
         */
        @Hoge(bbb = "3")
        @Test
        public void testGetProperties() throws Exception {
            final Method m = ClassUtil.getMethod(getClass(), "testGetProperties");
            final Annotation anno = m.getAnnotation(Hoge.class);
            final Map<String, Object> props = AnnotationUtil.getProperties(anno);
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/core/security/MessageDigestUtilTest.java

    import org.junit.Test;
    
    /**
     * @author shinsuke
     *
     */
    public class MessageDigestUtilTest {
        /**
         *
         */
        @Test
        public void testDigest() {
            final String text = "hoge";
            assertNull(MessageDigestUtil.digest("MD5", null));
            assertEquals("ea703e7aa1efda0064eaa507d9e8ab7e", MessageDigestUtil.digest("MD5", text));
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/core/exception/SRuntimeExceptionTest.java

        public void testSeasarRuntimeException() throws Exception {
            final ClRuntimeException ex = new ClRuntimeException("ECL0001", asArray("hoge"));
            assertThat(ex.getMessageCode(), is("ECL0001"));
            assertThat(ex.getArgs().length, is(1));
            assertThat(ex.getArgs()[0], is((Object) "hoge"));
            System.out.println(ex.getMessage());
        }
    
        /**
         * @throws Exception
         */
        @Test
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/core/net/URLUtilTest.java

         */
        public void testToFile() throws Exception {
            final File file = new File("Program Files/hoge.txt");
            final URL url = file.toURI().toURL();
            assertEquals(file.getAbsoluteFile(), URLUtil.toFile(url));
            assertEquals(file.getAbsoluteFile(), URLUtil.toFile(new URL("file:Program%20Files/hoge.txt")));
        }
    
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/core/convert/BinaryConversionUtilTest.java

            assertThat(BinaryConversionUtil.toBinary(null), nullValue());
            final byte[] b = { 0x00, 0x01 };
            assertThat(BinaryConversionUtil.toBinary(b), is(b));
            assertThat(BinaryConversionUtil.toBinary("hoge"), is("hoge".getBytes()));
        }
    
        /**
         * Test method for
         * {@link org.codelibs.core.convert.BinaryConversionUtil#toBinary(java.lang.Object)}
         * .
         */
        @Test
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 2K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/sso/aad/AzureAdAuthenticatorTest.java

            assertEquals("******@****.***", list.get(0));
    
            list.clear();
            authenticator.addGroupOrRoleName(list, "******@****.***@hoge.com", true);
            assertEquals(2, list.size());
            assertEquals("******@****.***@hoge.com", list.get(0));
            assertEquals("test", list.get(1));
    
        }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 2K bytes
    - Viewed (0)
  10. fess-crawler/src/test/java/org/codelibs/fess/crawler/client/http/HcHttpClientTest.java

        }
    
        public void test_processRobotsTxt() {
            final CrawlerWebServer server = new CrawlerWebServer(7070);
            server.start();
    
            final String url = "http://localhost:7070/hoge.html";
            try {
                final CrawlerContext crawlerContext = new CrawlerContext();
                final String sessionId = "id1";
                urlFilter.init(sessionId);
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu May 09 09:28:25 UTC 2024
    - 8.8K bytes
    - Viewed (0)
Back to top