- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 23 for me (0.19 sec)
-
guava-tests/test/com/google/common/base/VerifyTest.java
fail(); } catch (VerifyException expected) { assertThat(expected).hasMessageThat().isEqualTo("message"); } } public void testVerify_complexMessage_success() { verify(true, "%s", IGNORE_ME); } public void testVerify_complexMessage_failure() { try { verify(false, FORMAT, 5); fail(); } catch (VerifyException expected) { checkMessage(expected); } }
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Thu May 04 09:41:29 GMT 2023 - 3.2K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/ComparisonChainTest.java
.compare("a", "b") .compare(DONT_COMPARE_ME, DONT_COMPARE_ME) .result()) .isLessThan(0); } public void testShortCircuitGreater() { assertThat( ComparisonChain.start() .compare("b", "a") .compare(DONT_COMPARE_ME, DONT_COMPARE_ME) .result()) .isGreaterThan(0); }
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Tue Feb 27 13:27:08 GMT 2024 - 7.5K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/base/PreconditionsTest.java
fail("no exception thrown"); } catch (IllegalArgumentException expected) { } } public void testCheckArgument_simpleMessage_success() { Preconditions.checkArgument(true, IGNORE_ME); } public void testCheckArgument_simpleMessage_failure() { try { Preconditions.checkArgument(false, new Message()); fail("no exception thrown"); } catch (IllegalArgumentException expected) {
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Fri Feb 09 15:49:48 GMT 2024 - 19.8K bytes - Viewed (0) -
guava/src/com/google/common/cache/CacheBuilder.java
this.maximumSize); } // safely limiting the kinds of caches this can produce @SuppressWarnings("unchecked") CacheBuilder<K1, V1> me = (CacheBuilder<K1, V1>) this; me.weigher = checkNotNull(weigher); return me; } long getMaximumWeight() { if (expireAfterWriteNanos == 0 || expireAfterAccessNanos == 0) { return 0; }
Java - Registered: Fri Apr 05 12:43:09 GMT 2024 - Last Modified: Thu Feb 15 16:12:13 GMT 2024 - 51.3K bytes - Viewed (0) -
android/guava/src/com/google/common/cache/CacheBuilder.java
this.maximumSize); } // safely limiting the kinds of caches this can produce @SuppressWarnings("unchecked") CacheBuilder<K1, V1> me = (CacheBuilder<K1, V1>) this; me.weigher = checkNotNull(weigher); return me; } long getMaximumWeight() { if (expireAfterWriteNanos == 0 || expireAfterAccessNanos == 0) { return 0; }
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Thu Feb 15 16:12:13 GMT 2024 - 44.8K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/base/VerifyTest.java
fail(); } catch (VerifyException expected) { assertThat(expected).hasMessageThat().isEqualTo("message"); } } public void testVerify_complexMessage_success() { verify(true, "%s", IGNORE_ME); } public void testVerify_complexMessage_failure() { try { verify(false, FORMAT, 5); fail(); } catch (VerifyException expected) { checkMessage(expected); } }
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Thu May 04 09:41:29 GMT 2023 - 3.2K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/ComparisonChainTest.java
.compare("a", "b") .compare(DONT_COMPARE_ME, DONT_COMPARE_ME) .result()) .isLessThan(0); } public void testShortCircuitGreater() { assertThat( ComparisonChain.start() .compare("b", "a") .compare(DONT_COMPARE_ME, DONT_COMPARE_ME) .result()) .isGreaterThan(0); }
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Mon Feb 19 20:34:55 GMT 2024 - 4K bytes - Viewed (0) -
android/guava/src/com/google/common/eventbus/Dispatcher.java
// queue, immediately followed by another thread taking the next element in the queue. That // second thread can then dispatch to the subscriber it took before the first thread does. // // All this makes me really wonder if there's any value in queueing here at all. A dispatcher // that simply loops through the subscribers and dispatches the event to each would actually
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Fri Dec 15 19:31:54 GMT 2023 - 7.3K bytes - Viewed (0) -
android/guava/src/com/google/common/io/Closer.java
* Registers the given {@code closeable} to be closed when this {@code Closer} is {@linkplain * #close closed}. * * @return the given {@code closeable} */ // close. this word no longer has any meaning to me. @CanIgnoreReturnValue @ParametricNullness public <C extends @Nullable Closeable> C register(@ParametricNullness C closeable) { if (closeable != null) { stack.addFirst(closeable); }
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Wed Mar 06 15:15:46 GMT 2024 - 11.9K bytes - Viewed (0) -
guava-tests/test/com/google/common/base/CharMatcherTest.java
} private static final CharMatcher WHATEVER = new CharMatcher() { @Override public boolean matches(char c) { throw new AssertionFailedError("You weren't supposed to actually invoke me!"); } }; public void testAnyAndNone_logicalOps() throws Exception { // These are testing behavior that's never promised by the API, but since
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Wed Feb 21 18:32:41 GMT 2024 - 30.1K bytes - Viewed (0)