- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 13 for argument (0.27 sec)
-
src/test/java/org/codelibs/core/io/PropertiesUtilTest.java
* . */ @Test public void testLoadPropertiesInputStreamPropsNull() { exception.expect(NullArgumentException.class); exception.expectMessage(is("[ECL0008]argument[props] is null.")); final InputStream inputStream = ResourceUtil.getResourceAsStream("org/codelibs/core/io/test.properties"); PropertiesUtil.load(null, inputStream); } /** * Test method for
Java - Registered: Fri May 03 20:58:11 GMT 2024 - Last Modified: Thu Mar 07 01:59:08 GMT 2024 - 9.6K bytes - Viewed (0) -
src/test/java/org/codelibs/core/log/LoggerTest.java
*/ @SuppressWarnings("static-access") @Test public void testFormat() { exception.expect(ClIllegalArgumentException.class); exception.expectMessage(is("[ECL0009]argument[AUTL0009] is illegal. because messageCode : AUTL0009.")); Logger.format("AUTL0009", "hoge"); }
Java - Registered: Fri May 03 20:58:11 GMT 2024 - Last Modified: Thu Mar 07 01:59:08 GMT 2024 - 3.8K bytes - Viewed (0) -
src/test/java/org/codelibs/core/exception/NullArgumentExceptionTest.java
final NullArgumentException nullArgumentException = new NullArgumentException("hoge"); assertThat(nullArgumentException.getArgName(), is("hoge")); assertThat(nullArgumentException.getMessage(), is("[ECL0008]argument[hoge] is null.")); } /** * @throws Exception */ @Test public void testErrorMessage_en() throws Exception { // ## Arrange ## Locale.setDefault(Locale.ENGLISH);
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/misc/AssertionUtilTest.java
* . */ @Test public void testAssertArgumentNotNull() { exception.expect(NullArgumentException.class); exception.expectMessage(is("[ECL0008]argument[hoge] is null.")); assertArgumentNotNull("hoge", null); } /** * Test method for * {@link org.codelibs.core.misc.AssertionUtil#assertArgument(String, boolean, String)} * . */
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/convert/BinaryConversionUtilTest.java
* . */ @Test public void testToBinaryException() { exception.expect(ClIllegalArgumentException.class); exception.expectMessage(is("[ECL0009]argument[o] is illegal. because class java.lang.Object.")); BinaryConversionUtil.toBinary(new Object()); }
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/convert/CalendarConversionUtilTest.java
* . */ @Test public void testCreateAndCopySrcNull() { exception.expect(NullArgumentException.class); exception.expectMessage(is("[ECL0008]argument[calendar] is null.")); CalendarConversionUtil.localize(null); }
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/net/MimeTypeUtilTest.java
*/ @Test public void testGuessContentType() { exception.expect(EmptyArgumentException.class); exception.expectMessage(is("[ECL0010]argument[path] is null or empty string.")); MimeTypeUtil.guessContentType(null); }
Java - Registered: Fri May 03 20:58:11 GMT 2024 - Last Modified: Thu Mar 07 01:59:08 GMT 2024 - 2.7K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/PathType.java
* This type can appear in the return value of a call to * {@link Session#resolveDependencies resolveDependencies(...)} when at least one dependency * cannot be associated to any type specified in the {@code desiredTypes} argument. * Plugins can choose to report a warning to users when unresolved paths exist. */ PathType UNRESOLVED = new PathType() { @Override public String name() { return "UNRESOLVED";
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Fri Mar 01 17:18:13 GMT 2024 - 4.9K bytes - Viewed (0) -
src/test/java/org/codelibs/core/collection/EnumerationIteratorTest.java
* . */ @Test public void testCopyDestNull() { exception.expect(NullArgumentException.class); exception.expectMessage(is("[ECL0008]argument[enumeration] is null.")); new EnumerationIterator<Object>(null); }
Java - Registered: Fri May 03 20:58:11 GMT 2024 - Last Modified: Thu Mar 07 01:59:08 GMT 2024 - 3.4K bytes - Viewed (0) -
maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/DefaultRootLocator.java
} } } } catch (IOException | XMLStreamException e) { // The root locator can be used very early during the setup of Maven, // even before the arguments from the command line are parsed. Any exception // that would happen here should cause the build to fail at a later stage // (when actually parsing the POM) and will lead to a better exception being
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Fri Apr 12 10:50:18 GMT 2024 - 2.5K bytes - Viewed (0)