- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 197 for exception (0.16 sec)
-
src/test/java/org/codelibs/core/exception/NullArgumentExceptionTest.java
@Before public void setUp() throws Exception { LocaleUtil.setDefault(() -> Locale.JAPANESE); } @After public void tearDown() throws Exception { LocaleUtil.setDefault(null); } /** * @throws Exception */ @Test public void testErrorMessage_ja() throws Exception { // ## Arrange ## Locale.setDefault(Locale.JAPANESE);
Java - Registered: Fri May 03 20:58:11 GMT 2024 - Last Modified: Thu Mar 07 01:59:08 GMT 2024 - 2K bytes - Viewed (0) -
src/test/java/org/codelibs/core/beans/converter/DateConverterTest.java
import java.util.Date; import org.junit.Test; /** * @author higa * */ public class DateConverterTest { /** * @throws Exception */ @Test 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);
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/timer/TimeoutManagerTest.java
private int expiredCount; protected void setUp() throws Exception { expiredCount = 0; TimeoutManager.getInstance().clear(); } protected void tearDown() throws Exception { TimeoutManager.getInstance().clear(); } /** * @throws Exception */ public void testExpired() throws Exception {
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/convert/BinaryConversionUtilTest.java
import org.codelibs.core.exception.ClIllegalArgumentException; import org.junit.Rule; import org.junit.Test; import org.junit.rules.ExpectedException; /** * @author wyukawa * */ public class BinaryConversionUtilTest { /** * @see org.junit.rules.ExpectedException */ @Rule public ExpectedException exception = ExpectedException.none(); /**
Java - Registered: Fri May 03 20:58:11 GMT 2024 - Last Modified: Thu Mar 07 01:59:08 GMT 2024 - 2K bytes - Viewed (0) -
src/main/java/org/codelibs/core/exception/ClRuntimeException.java
* either express or implied. See the License for the specific language * governing permissions and limitations under the License. */ package org.codelibs.core.exception; import org.codelibs.core.message.MessageFormatter; /** * A base exception class for CoreLib. * * @author higa * @author shinsuke */ public class ClRuntimeException extends RuntimeException {
Java - Registered: Fri May 03 20:58:11 GMT 2024 - Last Modified: Thu Mar 07 01:59:08 GMT 2024 - 2.9K bytes - Viewed (0) -
src/test/java/org/codelibs/core/beans/impl/ConstructorDescTest.java
import org.junit.Test; /** * @author koichik * */ public class ConstructorDescTest { /** * @throws Exception */ @SuppressWarnings("rawtypes") @Test public void testDefaultConstructor() throws Exception { final BeanDesc beanDesc = new BeanDescImpl(MyBean.class); final ConstructorDesc ctor = beanDesc.getConstructorDesc();
Java - Registered: Fri May 03 20:58:11 GMT 2024 - Last Modified: Thu Mar 07 01:59:08 GMT 2024 - 2.9K bytes - Viewed (0) -
src/test/java/org/codelibs/core/zip/ZipFileUtilTest.java
import java.io.File; import java.io.IOException; import java.net.URL; import java.net.URLConnection; import java.net.URLStreamHandler; import junit.framework.TestCase; /** * @author koichik */ public class ZipFileUtilTest extends TestCase { /** * @throws Exception */ public void testToJarFilePath() 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/ResourceUtilTest.java
} /** * @throws Exception */ public void testIsExist() throws Exception { assertEquals("1", true, ResourceUtil.isExist("CLMessages.properties")); assertEquals("2", false, ResourceUtil.isExist("hoge")); } /** * @throws Exception */ public void testGetExtension() throws Exception {
Java - Registered: Fri May 03 20:58:11 GMT 2024 - Last Modified: Thu Mar 07 01:59:08 GMT 2024 - 4.3K bytes - Viewed (0) -
src/test/java/org/codelibs/core/io/InputStreamUtilTest.java
import org.codelibs.core.lang.StringUtil; /** * @author higa * */ public class InputStreamUtilTest extends TestCase { /** * @throws Exception */ public void testGetBytes() throws Exception { final InputStream is = ResourceUtil.getResourceAsStream(StringUtil.replace(getClass().getName(), ".", "/") + ".class"); try {
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/text/DecimalFormatUtilTest.java
import java.util.Locale; import junit.framework.TestCase; /** * @author higa * */ public class DecimalFormatUtilTest extends TestCase { /** * @throws Exception */ public void testNormalize() throws Exception { assertEquals("1", "1000.00", DecimalFormatUtil.normalize("1,000.00", Locale.JAPAN)); assertEquals("2", "1000", DecimalFormatUtil.normalize("1,000", Locale.JAPAN));
Java - Registered: Fri May 03 20:58:11 GMT 2024 - Last Modified: Thu Mar 07 01:59:08 GMT 2024 - 1.1K bytes - Viewed (0)