- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 548 for hoge (0.17 sec)
-
src/test/java/org/codelibs/core/exception/SRuntimeExceptionTest.java
public void testSeasarRuntimeException() throws Exception { final ClRuntimeException ex = new ClRuntimeException("ECL0001", asArray("hoge")); 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
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/security/MessageDigestUtilTest.java
import org.junit.Test; /** * @author shinsuke * */ public class MessageDigestUtilTest { /** * */ @Test public void testDigest() { final String text = "hoge"; assertNull(MessageDigestUtil.digest("MD5", null)); assertEquals("ea703e7aa1efda0064eaa507d9e8ab7e", MessageDigestUtil.digest("MD5", text));
Java - Registered: Fri May 03 20:58:11 GMT 2024 - Last Modified: Thu Mar 07 01:59:08 GMT 2024 - 1.9K bytes - Viewed (0) -
src/test/java/org/codelibs/core/convert/BinaryConversionUtilTest.java
assertThat(BinaryConversionUtil.toBinary(null), nullValue()); final byte[] b = { 0x00, 0x01 }; assertThat(BinaryConversionUtil.toBinary(b), is(b)); assertThat(BinaryConversionUtil.toBinary("hoge"), is("hoge".getBytes())); } /** * Test method for * {@link org.codelibs.core.convert.BinaryConversionUtil#toBinary(java.lang.Object)} * . */ @Test
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/text/TokenizerTest.java
/** * @throws Exception */ @Test public void pend_testDot() throws Exception { final Tokenizer tokenizer = new Tokenizer("abc.hoge"); assertThat(tokenizer.nextToken(), is(Tokenizer.TT_WORD)); assertThat(tokenizer.getStringValue(), is("abc.hoge")); assertThat(tokenizer.nextToken(), is(Tokenizer.TT_EOF)); }
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/fess/sso/aad/AzureAdAuthenticatorTest.java
assertEquals("******@****.***", list.get(0)); list.clear(); authenticator.addGroupOrRoleName(list, "******@****.***@hoge.com", true); assertEquals(2, list.size()); assertEquals("******@****.***@hoge.com", list.get(0)); assertEquals("test", list.get(1)); }
Java - Registered: Mon May 06 08:04:11 GMT 2024 - Last Modified: Thu Feb 22 01:37:57 GMT 2024 - 2K bytes - Viewed (0) -
src/test/java/org/codelibs/core/lang/ObjectUtilTest.java
*/ @Test public void testDefaultValue() { final Hoge hoge = new Hoge(); assertSame(ObjectUtil.defaultValue(null, hoge), hoge); assertSame(ObjectUtil.defaultValue(hoge, null), hoge); assertSame(ObjectUtil.defaultValue(hoge, hoge), hoge); assertSame(ObjectUtil.defaultValue(null, null), null);
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
assertThat(ctor.getParameterTypes().length, is(1)); assertThat(ctor.isPublic(), is(true)); final MyBean myBean = ctor.newInstance("hoge"); assertThat(myBean, is(notNullValue())); assertThat(myBean.s, is("hoge")); } /** */ public static class MyBean { /** */ public String s; /** * */
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/misc/AssertionUtilTest.java
exception.expect(ClIllegalArgumentException.class); exception.expectMessage(is("[ECL0009]argument[hoge] is illegal. because hogeだからです。.")); assertArgument("hoge", false, "hogeだからです。"); } /** * Test method for * {@link org.codelibs.core.misc.AssertionUtil#assertState(boolean, String)} . */ @Test public void testAssertState() {
Java - Registered: Fri May 03 20:58:11 GMT 2024 - Last Modified: Thu Mar 07 01:59:08 GMT 2024 - 3K bytes - Viewed (0) -
src/test/java/org/codelibs/core/lang/ModifierUtilTest.java
final Field f = Hoge.class.getDeclaredField("s"); assertTrue(ModifierUtil.isPublicStaticFinalField(f)); final Method m = Hoge.class.getDeclaredMethod("hoge", new Class[] {}); assertTrue(ModifierUtil.isPublic(m)); } /** * @throws Exception */ public void testIsInstanceField() throws Exception { Field f = Hoge.class.getDeclaredField("aaa");
Java - Registered: Fri May 03 20:58:11 GMT 2024 - Last Modified: Thu Mar 07 01:59:08 GMT 2024 - 2.4K bytes - Viewed (0) -
src/test/java/org/codelibs/core/io/SerializeUtilTest.java
assertEquals("2", "1", b[0]); assertEquals("3", "2", b[1]); } /** * @throws Exception */ public void testObjectAndBinary() throws Exception { final String o = "hoge"; final byte[] binary = SerializeUtil.fromObjectToBinary(o); assertEquals(o, SerializeUtil.fromBinaryToObject(binary)); }
Java - Registered: Fri May 03 20:58:11 GMT 2024 - Last Modified: Thu Mar 07 01:59:08 GMT 2024 - 1.3K bytes - Viewed (0)