- Sort Score
- Result 10 results
- Languages All
Results 1521 - 1530 of 4,254 for avoid (0.03 sec)
-
android/guava-tests/test/com/google/common/collect/ContiguousSetTest.java
} public void testSubSet_outOfOrder() { ImmutableSortedSet<Integer> set = ContiguousSet.create(Range.closed(1, 3), integers()); assertThrows(IllegalArgumentException.class, () -> set.subSet(3, 2)); } public void testSubSet_tooLarge() { assertThat(ContiguousSet.create(Range.closed(1, 3), integers()).subSet(4, 6)).isEmpty(); } public void testSubSet_tooSmall() {
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 19.6K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/Smb3KeyDerivationTest.java
*/ @DisplayName("Smb3KeyDerivation Tests") class Smb3KeyDerivationTest { private byte[] sessionKey; private byte[] preauthIntegrity; @BeforeEach void setUp() { // Initialize test keys sessionKey = new byte[16]; // 128-bit session key preauthIntegrity = new byte[64]; // Preauth integrity hash new SecureRandom().nextBytes(sessionKey);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 17.5K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/HashBiMapTest.java
} public void testInsertionOrder() { BiMap<String, Integer> map = HashBiMap.create(); map.put("foo", 1); map.put("bar", 2); map.put("quux", 3); assertThat(map.entrySet()) .containsExactly( immutableEntry("foo", 1), immutableEntry("bar", 2), immutableEntry("quux", 3)) .inOrder(); } public void testInsertionOrderAfterRemoveFirst() {
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Oct 28 16:03:47 UTC 2025 - 8.4K bytes - Viewed (0) -
guava/src/com/google/common/util/concurrent/Service.java
@SuppressWarnings("GoodTime") // should accept a java.time.Duration void awaitRunning(long timeout, TimeUnit unit) throws TimeoutException; /** * Waits for the {@link Service} to reach the {@linkplain State#TERMINATED terminated state}. * * @throws IllegalStateException if the service {@linkplain State#FAILED fails}. * @since 15.0 */ void awaitTerminated(); /**Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sat Dec 21 03:10:51 UTC 2024 - 12.2K bytes - Viewed (0) -
src/test/java/jcifs/SmbTreeHandleTest.java
@Mock private Configuration mockConfig; /** * Test for getConfig() method. * Verifies that the method returns the expected Configuration object. */ @Test void testGetConfig() { when(smbTreeHandle.getConfig()).thenReturn(mockConfig); Configuration config = smbTreeHandle.getConfig(); assertNotNull(config, "Configuration should not be null");Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7.1K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionContainsAllTester.java
} public void testContainsAll_sameElements() { assertTrue( "containsAll(sameElements) should return true", collection.containsAll(MinimalCollection.of(createSamplesArray()))); } @SuppressWarnings("ModifyingCollectionWithItself") public void testContainsAll_self() { assertTrue("containsAll(this) should return true", collection.containsAll(collection)); }
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Nov 14 23:40:07 UTC 2024 - 4K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionAddAllTester.java
extends AbstractCollectionTester<E> { @CollectionFeature.Require(SUPPORTS_ADD) public void testAddAll_supportedNothing() { assertFalse("addAll(nothing) should return false", collection.addAll(emptyCollection())); expectUnchanged(); } @CollectionFeature.Require(absent = SUPPORTS_ADD) public void testAddAll_unsupportedNothing() { try { assertFalse(
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 7.9K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/google/MultisetEntrySetTester.java
@CollectionFeature.Require(SUPPORTS_REMOVE) public void testEntrySet_clear() { getMultiset().entrySet().clear(); assertTrue("multiset not empty after entrySet().clear()", getMultiset().isEmpty()); } @CollectionSize.Require(ONE) @CollectionFeature.Require(SUPPORTS_ITERATOR_REMOVE) public void testEntrySet_iteratorRemovePropagates() {
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Nov 14 23:40:07 UTC 2024 - 9.6K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/DefaultWagonManager.java
// Publisher // @Override public void putArtifact( File source, Artifact artifact, ArtifactRepository deploymentRepository, TransferListener downloadMonitor) throws TransferFailedException { putRemoteFile(deploymentRepository, source, deploymentRepository.pathOf(artifact), downloadMonitor); } @OverrideRegistered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Sat Apr 05 11:52:05 UTC 2025 - 29.9K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/suggest/normalizer/ICUNormalizerTest.java
public class ICUNormalizerTest extends TestCase { public void test_FullwidthHalfwidth() { ICUNormalizer normalizer = new ICUNormalizer("Fullwidth-Halfwidth"); assertEquals("abcd", normalizer.normalize("abcd", null)); assertEquals("みかん", normalizer.normalize("みかん", null)); assertEquals("みかん リンゴ", normalizer.normalize("みかん リンゴ", null)); } public void test_AnyLower() {Registered: Sat Dec 20 13:04:59 UTC 2025 - Last Modified: Mon Nov 17 14:23:01 UTC 2025 - 2.2K bytes - Viewed (0)