Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 271 for test1 (0.18 sec)

  1. src/test/resources/org/codelibs/core/xml/test1.xml

    Shinsuke Sugaya <******@****.***> 1419757266 +0900
    XML
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Sun Dec 28 09:01:06 GMT 2014
    - 200 bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/util/ResourceUtilTest.java

            value = "${\\$}";
            assertEquals(value, ResourceUtil.resolve(value));
    
            System.setProperty("test.dir", "c:\\test1\\test2");
    
            value = "${test.dir}";
            assertEquals("c:\\test1\\test2", ResourceUtil.resolve(value));
    
        }
    
    Java
    - Registered: Mon Apr 29 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 2.4K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/core/misc/DisposableUtilTest.java

            DisposableUtil.dispose();
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void test1() throws Exception {
            DisposableUtil.add(new TestDisposable("a"));
            assertThat(DisposableUtil.disposables.size(), is(1));
            DisposableUtil.dispose();
            assertThat(count, is(1));
            assertThat(names, is("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)
  4. src/test/java/org/codelibs/fess/helper/IndexingHelperTest.java

        }
    
        public void test_calculateDocumentSize() {
            assertEquals(0, indexingHelper.calculateDocumentSize(Collections.emptyMap()));
            assertEquals(118, indexingHelper.calculateDocumentSize(Map.of("id", "test")));
            assertEquals(249, indexingHelper.calculateDocumentSize(Map.of("id", "test", "url", "http://test.com/")));
        }
    Java
    - Registered: Mon Apr 29 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 23.3K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/core/xml/DomUtilTest.java

            final DocumentBuilder builder = DocumentBuilderFactoryUtil.newDocumentBuilder();
            final Document doc = DocumentBuilderUtil.parse(builder, ResourceUtil.getResourceAsStream("org/codelibs/core/xml/test1.xml"));
            final Element root = doc.getDocumentElement();
            final String contents = DomUtil.toString(root);
            System.out.println(contents);
        }
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 1.6K bytes
    - Viewed (0)
  6. src/test/java/jcifs/tests/PACTest.java

    import org.junit.Assert;
    import org.junit.Test;
    
    import jcifs.pac.PACDecodingException;
    import jcifs.pac.PacMac;
    import jcifs.util.Hexdump;
    
    
    /**
     * @author mbechler
     *
     */
    @SuppressWarnings ( {
        "nls", "javadoc", "restriction"
    } )
    public class PACTest {
    
        @Test
        public void testNFold () {
            // rfc3961 test vectors
            verifyNfold(64, "012345", "be072631276b1955");
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Oct 01 12:01:17 GMT 2023
    - 22.3K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/helper/SystemHelperTest.java

            assertNull(System.getProperty("fess." + now));
            assertNull(System.getProperty("test." + now));
            appValue.set("=abc\nfess." + now + "=test1\ntest." + now + "=test2");
            helper.updateSystemProperties();
            assertEquals("test1", System.getProperty("fess." + now));
            assertEquals("test2", System.getProperty("test." + now));
        }
    Java
    - Registered: Mon Apr 29 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 18.5K bytes
    - Viewed (0)
  8. src/test/java/jcifs/tests/SessionTest.java

                  SmbTransport t2 = sess2.getTransport() ) {
    
                Assert.assertEquals(t1, t2);
            }
    
        }
    
    
        // this test is meant to test server-side session invalidation behavior
        // and not part of the regular test suite as manual steps are required
        //@Test
        public void testSessionMaintenance () throws IOException, InterruptedException {
            try ( SmbFile f = getDefaultShareRoot() ) {
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Thu Jan 05 13:09:03 GMT 2023
    - 15.8K bytes
    - Viewed (0)
  9. pom.xml

    				<activeByDefault>true</activeByDefault>
    			</activation>
    			<properties>
    				<test.include.path>**/*Test.java</test.include.path>
    				<test.command.args>--illegal-access=permit</test.command.args>
    			</properties>
    		</profile>
    		<profile>
    			<id>integrationTests</id>
    			<properties>
    				<test.include.path>**/*Tests.java</test.include.path>
    				<test.command.args />
    			</properties>
    		</profile>
    	</profiles>
    	<build>
    XML
    - Registered: Mon Apr 29 08:04:11 GMT 2024
    - Last Modified: Mon Apr 22 12:06:58 GMT 2024
    - 48.7K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/core/lang/StringUtilTest.java

    import static org.junit.Assert.assertThat;
    import static org.junit.Assert.assertTrue;
    
    import java.lang.reflect.Method;
    
    import org.junit.Test;
    
    /**
     * @author higa
     *
     */
    public class StringUtilTest {
    
        /**
         * @throws Exception
         */
        @Test
        public void testReplace() throws Exception {
            assertEquals("1", "1bc45", StringUtil.replace("12345", "23", "bc"));
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 12K bytes
    - Viewed (0)
Back to top