- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 21 for cout (0.34 sec)
-
src/test/java/org/codelibs/core/timer/TimeoutManagerTest.java
assertNull(TimeoutManager.getInstance().thread); Thread.sleep(10); int count = expiredCount; task.stop(); TimeoutManager.getInstance().start(); assertNotNull(TimeoutManager.getInstance().thread); Thread.sleep(2000); assertEquals(count, expiredCount); assertEquals(1, TimeoutManager.getInstance().getTimeoutTaskCount()); task.cancel();
Java - Registered: Fri May 03 20:58:11 GMT 2024 - Last Modified: Thu Mar 07 01:59:08 GMT 2024 - 2.1K bytes - Viewed (0) -
src/test/java/org/codelibs/core/beans/converter/DateConverterTest.java
public void testGetAsObjectAndGetAsString() throws Exception { final DateConverter converter = new DateConverter("yyyy/MM/dd"); final Date result = (Date) converter.getAsObject("2008/01/16"); System.out.println(result); assertThat(converter.getAsString(result), is("2008/01/16")); } /** * @throws Exception */ @Test public void testIsTarget() throws Exception {
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) -
src/test/java/org/codelibs/core/io/ResourceTraversalTest.java
try { if (count < 10) { System.out.println(path1); } assertThat(path1, is(notNullValue())); assertThat(is, is(notNullValue())); count++; } finally { CloseableUtil.close(is); } }); assertTrue(count > 0); } /** * @throws Exception
Java - Registered: Fri May 03 20:58:11 GMT 2024 - Last Modified: Thu Mar 07 01:59:08 GMT 2024 - 6K bytes - Viewed (0) -
src/test/java/org/codelibs/core/lang/SystemUtilTest.java
@Test public void test() throws Exception { System.out.println(SystemUtil.FILE_ENCODING); System.out.println(SystemUtil.LINE_SEPARATOR); System.out.println(SystemUtil.PATH_SEPARATOR); System.out.println(SystemUtil.OS_NAME); System.out.println(SystemUtil.JAVA_IO_TMPDIR); System.out.println(SystemUtil.USER_DIR); System.out.println(SystemUtil.USER_HOME); }
Java - Registered: Fri May 03 20:58:11 GMT 2024 - Last Modified: Thu Mar 07 01:59:08 GMT 2024 - 1.2K bytes - Viewed (0) -
src/test/java/org/codelibs/core/io/CloseableUtilTest.java
*/ public class CloseableUtilTest { /** * @throws Exception */ @Test public void testClose() throws Exception { final NotifyOutputStream out = new NotifyOutputStream(); CloseableUtil.close(out); assertThat(out.getNotify(), is("closed")); } /** * @throws Exception */ @Test public void testCloseNull() throws Exception {
Java - Registered: Fri May 03 20:58:11 GMT 2024 - Last Modified: Thu Mar 07 01:59:08 GMT 2024 - 2.2K bytes - Viewed (0) -
src/test/java/org/codelibs/core/text/DecimalFormatSymbolsUtilTest.java
public void testGetDecimalFormatSymbols() throws Exception { final DecimalFormatSymbols symbols = DecimalFormatSymbolsUtil.getDecimalFormatSymbols(Locale.GERMAN); System.out.println("DecimalSeparator:" + symbols.getDecimalSeparator()); System.out.println("GroupingSeparator:" + symbols.getGroupingSeparator()); }
Java - Registered: Fri May 03 20:58:11 GMT 2024 - Last Modified: Thu Mar 07 01:59:08 GMT 2024 - 1.2K bytes - Viewed (0) -
src/test/java/org/codelibs/core/exception/SRuntimeExceptionTest.java
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 public void testGetCause() throws Exception { final Throwable t = new NullPointerException("test");
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) -
src/test/java/org/codelibs/core/io/ResourceBundleUtilTest.java
final ResourceBundle bundle = ResourceBundleUtil.getBundle("CLMessages", null); final Map<String, String> map = ResourceBundleUtil.convertMap(bundle); final String value = map.get("ECL0001"); System.out.println(value); assertThat(value, is(notNullValue())); } /** * @throws Exception */ @Test public void testGetBundle() throws Exception {
Java - Registered: Fri May 03 20:58:11 GMT 2024 - Last Modified: Thu Mar 07 01:59:08 GMT 2024 - 1.8K bytes - Viewed (0) -
src/test/java/org/codelibs/core/xml/DomUtilTest.java
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) -
src/test/java/org/codelibs/core/misc/DisposableUtilTest.java
} @Override public void dispose() { ++count; names += name; } } /** * */ public class TestDisposable2 implements Disposable { @Override public void dispose() { ++count; throw new RuntimeException(); } }
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)