Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 261 for testy (0.16 sec)

  1. src/test/java/org/codelibs/core/collection/ArrayMapTest.java

            assertThat(map.getAt(0), is(nullValue()));
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testPut() throws Exception {
            assertThat(map.put("1", "test3"), is("test"));
            assertThat(map.get("1"), is("test3"));
            assertThat(map.getAt(1), is("test3"));
            map.put(null, "test4");
            map.put(null, "test5");
        }
    
    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)
  2. 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)
  3. src/test/resources/org/codelibs/core/io/test.jar

    META-INF/MANIFEST.MF Manifest-Version: 1.0 Created-By: 1.4.2_12 (Sun Microsystems Inc.) test.txt...
    Archive
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Sun Dec 28 09:01:06 GMT 2014
    - 437 bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. 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)
  7. src/test/resources/org/codelibs/core/io/test.properties

    Shinsuke Sugaya <******@****.***> 1419757266 +0900
    Properties
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Sun Dec 28 09:01:06 GMT 2014
    - 17 bytes
    - Viewed (0)
  8. src/test/java/jcifs/tests/FileOperationsTest.java

                finally {
                    d.delete();
                }
            }
        }
    
    
        @Test
        public void testCopyDir () throws IOException {
            int bufSize = 65536;
            long length = 4096 * 16 + 512;
            try ( SmbFile f = createTestDirectory();
                  SmbResource e = new SmbFile(f, "test") ) {
                e.createNewFile();
    
                try ( OutputStream os = e.openOutputStream() ) {
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Thu Jan 05 13:17:59 GMT 2023
    - 16.3K 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