Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 55 for hoge2 (0.04 sec)

  1. fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/impl/PdfExtractorTest.java

            url = "http://test.com/hoge1.pdf";
            resourceName = null;
            params.put(ExtractData.URL, url);
            params.put(ExtractData.RESOURCE_NAME_KEY, resourceName);
            assertNull(pdfExtractor.getPassword(params));
    
            url = "http://test.com/hoge1.pdf";
            resourceName = "hoge2.pdf";
            params.put(ExtractData.URL, url);
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  2. fess-crawler/src/test/java/org/codelibs/fess/crawler/transformer/impl/FileTransformerTest.java

            assertEquals(resultFile, file);
            FileUtil.writeBytes(file.getAbsolutePath(), "abc".getBytes());
    
            path = "hoge.html/hoge3.html";
            file = fileTransformer.createFile(path);
            resultFile = new File(fileTransformer.baseDir, "hoge.html_2" + File.separator + "hoge3.html");
            assertEquals(resultFile, file);
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/core/lang/Hoge.java

    import java.lang.annotation.RetentionPolicy;
    import java.lang.annotation.Target;
    
    /**
     * @author higa
     *
     */
    @Retention(RetentionPolicy.RUNTIME)
    @Target({ ElementType.TYPE, ElementType.METHOD })
    public @interface Hoge {
    
        /**
         *
         */
        String aaa() default "123";
    
        /**
         *
         */
        String bbb();
    
        /**
         *
         */
        String ccc() default "";
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/core/misc/AssertionUtilTest.java

            exception.expect(ClIllegalArgumentException.class);
            exception.expectMessage(is("[ECL0009]argument[hoge] is illegal. because hogeだからです。."));
            assertArgument("hoge", false, "hogeだからです。");
        }
    
        /**
         * Test method for
         * {@link org.codelibs.core.misc.AssertionUtil#assertState(boolean, String)} .
         */
        @Test
        public void testAssertState() {
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 3K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/core/beans/impl/FieldDescImplTest.java

            final FieldDesc hoge = beanDesc.getFieldDesc("HOGE");
            assertThat(hoge.getBeanDesc(), is(sameInstance(beanDesc)));
            assertThat(hoge.getField(), is(MyBean.class.getDeclaredField("HOGE")));
            assertThat(hoge.getFieldName(), is("HOGE"));
            assertThat(hoge.getFieldType(), is(sameClass(String.class)));
            assertThat(hoge.isPublic(), is(true));
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 5K bytes
    - Viewed (0)
  6. fess-crawler/src/test/java/org/codelibs/fess/crawler/helper/UrlConvertHelperTest.java

            url = "tp://hoge.com/http/fuga.html";
            assertEquals("http://hoge.com/http/fuga.html", urlConvertHelper.convert(url));
    
            urlConvertHelper.add("fuga", "hoge");
            urlConvertHelper.add("http/hoge", "peke");
    
            url = "http://hoge.com/http/fuga.html";
            assertEquals("http://hoge.com/peke.html", urlConvertHelper.convert(url));
    
            url = "tp://hoge.com/http/fuga.html";
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/core/beans/factory/ParameterizedClassDescFactoryTest.java

        /**
         * @throws Exception
         */
        @Test
        public void testFieldType() throws Exception {
            final Map<TypeVariable<?>, Type> map = ParameterizedClassDescFactory.getTypeVariables(Hoge.class);
            final Field field = Hoge.class.getField("foo");
            final ParameterizedClassDesc desc = ParameterizedClassDescFactory.createParameterizedClassDesc(field, map);
            assertThat(desc.getRawClass(), is(sameClass(Map.class)));
    
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  8. fess-crawler/src/test/java/org/codelibs/fess/crawler/client/smb/SmbAuthenticationTest.java

            smbAuthentication = new SmbAuthentication();
            smbAuthentication.setServer("hoge");
            assertEquals("smb://hoge/", smbAuthentication.getPathPrefix());
    
            smbAuthentication = new SmbAuthentication();
            smbAuthentication.setServer("hoge");
            smbAuthentication.setPort(1000);
            assertEquals("smb://hoge:1000/", smbAuthentication.getPathPrefix());
    
            smbAuthentication = new SmbAuthentication();
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  9. fess-crawler/src/test/java/org/codelibs/fess/crawler/client/ftp/FtpAuthenticationTest.java

            assertFalse(auth.matches("ftp://hostname:xx/"));
            assertFalse(auth.matches("ftp://hoge/test/aaa.html"));
            assertFalse(auth.matches("ftp://hoge/test"));
            assertFalse(auth.matches("ftp://hoge/"));
            assertFalse(auth.matches("ftp://hoge"));
            assertFalse(auth.matches("ftp://"));
            assertFalse(auth.matches("http://hostname/"));
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/core/io/PropertiesUtilTest.java

            final Properties properties = new Properties();
            PropertiesUtil.load(properties, inputStream);
            assertThat(properties.getProperty("hoge"), is("ほげ"));
        }
    
        /**
         * Test method for
         * {@link org.codelibs.core.io.PropertiesUtil#load(java.util.Properties, java.io.InputStream)}
         * .
         */
        @Test
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 9.6K bytes
    - Viewed (0)
Back to top