- Sort Score
- Result 10 results
- Languages All
Results 501 - 510 of 1,622 for Contains (0.04 sec)
-
guava-testlib/src/com/google/common/collect/testing/testers/CollectionRemoveTester.java
public void testRemove_unsupported() { assertThrows(UnsupportedOperationException.class, () -> collection.remove(e0())); expectUnchanged(); assertTrue("remove(present) should not remove the element", collection.contains(e0())); } @CollectionFeature.Require(absent = SUPPORTS_REMOVE) public void testRemove_unsupportedNotPresent() { try { assertFalse(
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue Feb 11 21:04:02 UTC 2025 - 5.6K bytes - Viewed (0) -
futures/listenablefuture9999/pom.xml
<name>Guava ListenableFuture only</name> <description> An empty artifact that Guava depends on to signal that it is providing ListenableFuture -- but is also available in a second "version" that contains com.google.common.util.concurrent.ListenableFuture class, without any other Guava classes. The idea is: - If users want only ListenableFuture, they depend on listenablefuture-1.0.
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Sep 12 21:42:09 UTC 2018 - 2.2K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/AbstractFutureTest.java
TimeoutException e = assertThrows(TimeoutException.class, () -> testFuture.get(1, NANOSECONDS)); assertThat(e).hasMessageThat().contains("1 nanoseconds"); assertThat(e).hasMessageThat().contains("Because this test isn't done"); } public void testToString_completesDuringToString() throws Exception { AbstractFuture<Object> testFuture =
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Fri Jul 11 18:52:30 UTC 2025 - 46.8K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/query/PrefixQueryCommandTest.java
try { queryProcessor.execute(context, termQuery, 1.0f); fail(); } catch (InvalidQueryException e) { // expected assertTrue(e.getMessage().contains("Unknown q:")); } } public void test_convertPrefixQuery_withDefaultField() throws Exception { QueryContext context = new QueryContext("test", false);
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 13.1K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/FeatureSpecificTestSuiteBuilder.java
} // Name private @Nullable String name; /** Configures this builder produce a TestSuite with the given name. */ @CanIgnoreReturnValue public B named(String name) { if (name.contains("(")) { throw new IllegalArgumentException( "Eclipse hides all characters after " + "'('; please use '[]' or other characters instead of parentheses"); } this.name = name;
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 10.4K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/project/interpolation/AbstractStringBasedModelInterpolator.java
* <li>If it starts with either "pom." or "project.", the expression is evaluated against the model.</li> * <li>If the value is null, get the value from the context.</li> * <li>If the value is null, but the context contains the expression, don't replace the expression string * with the value, and continue to find other expressions.</li> * <li>If the value is null, get it from the model properties.</li> * </ul> */
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Fri Jun 06 14:28:57 UTC 2025 - 13.6K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/job/PurgeThumbnailJobTest.java
assertTrue(result.contains("Purge failed")); } // Test execute with exception thrown (no message) public void test_execute_exceptionThrownNoMessage() { thumbnailManager.setThrowException(true); thumbnailManager.setExceptionMessage(null); String result = purgeThumbnailJob.execute(); assertTrue(result.contains("Test exception")); }
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 7.2K bytes - Viewed (0) -
guava-tests/test/com/google/common/io/FileBackedOutputStreamTest.java
return; } write(out, data, chunk1, chunk2, singleByte); file = out.getFile(); assertEquals(dataSize, file.length()); assertTrue(file.exists()); assertThat(file.getName()).contains("FileBackedOutputStream"); if (!isAndroid() && !isWindows()) { PosixFileAttributes attributes = java.nio.file.Files.getFileAttributeView(file.toPath(), PosixFileAttributeView.class)
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 5.6K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/com/SmbComCloseTest.java
// When String result = smbComClose.toString(); // Then assertTrue(result.startsWith("SmbComClose[")); assertTrue(result.contains("fid=" + fid)); assertTrue(result.contains("lastWriteTime=" + lastWriteTime)); assertTrue(result.endsWith("]")); } /** * Test method for {@link jcifs.internal.smb1.com.SmbComClose#getResponse()}. */
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 6.4K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/multichannel/ChannelInfoTest.java
} @Test void testToString() { String str = channelInfo.toString(); assertNotNull(str); assertTrue(str.contains("test-channel")); assertTrue(str.contains(ChannelState.DISCONNECTED.toString())); }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 21 11:13:46 UTC 2025 - 7.4K bytes - Viewed (0)