- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 271 for test2 (0.6 sec)
-
src/test/java/org/codelibs/core/misc/DisposableUtilTest.java
} /** * @throws Exception */ @Test public void test2() throws Exception { DisposableUtil.add(new TestDisposable("a")); DisposableUtil.add(new TestDisposable("b")); assertThat(DisposableUtil.disposables.size(), is(2)); DisposableUtil.dispose(); assertThat(count, is(2)); assertThat(names, is("ba")); assertThat(DisposableUtil.disposables.size(), is(0));
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) -
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 May 06 08:04:11 GMT 2024 - Last Modified: Thu Feb 22 01:37:57 GMT 2024 - 2.4K bytes - Viewed (0) -
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) -
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 May 06 08:04:11 GMT 2024 - Last Modified: Thu Feb 22 01:37:57 GMT 2024 - 23.3K bytes - Viewed (0) -
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 May 06 08:04:11 GMT 2024 - Last Modified: Thu Feb 22 01:37:57 GMT 2024 - 18.5K bytes - Viewed (0) -
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) -
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 May 06 08:04:11 GMT 2024 - Last Modified: Mon Apr 22 12:06:58 GMT 2024 - 48.7K bytes - Viewed (0) -
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) -
src/test/java/org/codelibs/core/convert/TimestampConversionUtilTest.java
LocaleUtil.setDefault(null); } /** * @throws Exception */ // @Test // public void testToDate_Null() throws Exception { // assertThat(toDate(null, Locale.JAPAN), is(nullValue())); // } /** * @throws Exception */ @Test public void testToDate_EmptyString() throws Exception { assertThat(toDate("", Locale.JAPAN), is(nullValue()));
Java - Registered: Fri May 03 20:58:11 GMT 2024 - Last Modified: Thu Mar 07 01:59:08 GMT 2024 - 11.4K bytes - Viewed (0) -
src/test/java/org/codelibs/core/beans/util/CopyOptionsTest.java
import org.codelibs.core.beans.converter.NumberConverter; import org.codelibs.core.exception.ConverterRuntimeException; import org.junit.Test; /** * @author higa */ public class CopyOptionsTest { /** * @throws Exception */ @Test public void testIncludes() throws Exception { final CopyOptions option = new CopyOptions();
Java - Registered: Fri May 03 20:58:11 GMT 2024 - Last Modified: Thu Mar 07 01:59:08 GMT 2024 - 12K bytes - Viewed (0)