- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 116 for argument (0.16 sec)
-
android/guava-tests/test/com/google/common/eventbus/SubscriberTest.java
Subscriber subscriber = Subscriber.create(bus, this, method); subscriber.invokeSubscriberMethod(FIXTURE_ARGUMENT); assertTrue("Subscriber must call provided method", methodCalled); assertTrue( "Subscriber argument must be exactly the provided object.", methodArgument == FIXTURE_ARGUMENT); } public void testInvokeSubscriberMethod_exceptionWrapping() throws Throwable {
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed Sep 06 17:04:31 GMT 2023 - 4.8K bytes - Viewed (0) -
android/guava/src/com/google/common/net/InetAddresses.java
* @return {@link InetAddress} representing the argument * @throws IllegalArgumentException if the argument is not a valid IP string literal */ @CanIgnoreReturnValue // TODO(b/219820829): consider removing public static InetAddress forString(String ipString) { byte[] addr = ipStringToBytes(ipString); // The argument was malformed, i.e. not an IP string literal. if (addr == null) {
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Fri Dec 15 19:31:54 GMT 2023 - 44K bytes - Viewed (1) -
guava-tests/test/com/google/common/eventbus/SubscriberTest.java
Subscriber subscriber = Subscriber.create(bus, this, method); subscriber.invokeSubscriberMethod(FIXTURE_ARGUMENT); assertTrue("Subscriber must call provided method", methodCalled); assertTrue( "Subscriber argument must be exactly the provided object.", methodArgument == FIXTURE_ARGUMENT); } public void testInvokeSubscriberMethod_exceptionWrapping() throws Throwable {
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Wed Sep 06 17:04:31 GMT 2023 - 4.8K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/es/config/allcommon/EsSqlClause.java
return null; } @Override public void fetchFirst(int fetchSize) { _fetchScopeEffective = true; if (fetchSize < 0) { String msg = "Argument[fetchSize] should be plus: " + fetchSize; throw new IllegalArgumentException(msg); } _fetchStartIndex = 0; _fetchSize = fetchSize; _fetchPageNumber = 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/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) -
guava-tests/test/com/google/common/util/concurrent/FuturesTransformAsyncTest.java
inputFuture.cancel(true); // argument is ignored assertThrows(CancellationException.class, () -> resultFuture.get()); } public void testFutureGetThrowsCancellationIfOutputCancelled() throws Exception { inputFuture.set(SLOW_OUTPUT_VALID_INPUT_DATA); outputFuture.cancel(true); // argument is ignored assertThrows(CancellationException.class, () -> resultFuture.get()); }
Java - Registered: Fri Apr 12 12:43:09 GMT 2024 - Last Modified: Wed Sep 06 17:04:31 GMT 2023 - 6.1K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/io/ByteSourceTest.java
pos += lenToRead; return lenToRead; } } } /** * @param input the size of the input source * @param offset the first argument to {@link ByteSource#slice} * @param length the second argument to {@link ByteSource#slice} * @param expectRead the number of bytes we expect to read */ private static void assertCorrectSlice(int input, int offset, long length, int expectRead)
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed Sep 06 17:04:31 GMT 2023 - 16.9K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/OrderingTest.java
assertEquals(9, (int) numberOrdering.max(ints.iterator())); assertEquals(0, (int) numberOrdering.min(ints.iterator())); // when the values are the same, the first argument should be returned Integer a = new Integer(4); Integer b = new Integer(4); ints = Lists.newArrayList(a, b, b); assertSame(a, numberOrdering.max(ints.iterator()));
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Thu Mar 07 18:34:03 GMT 2024 - 42.5K bytes - Viewed (0)