Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1601 - 1610 of 3,933 for avoid (0.02 sec)

  1. guava-tests/test/com/google/common/util/concurrent/SettableFutureTest.java

      @Override
      protected void setUp() throws Exception {
        super.setUp();
    
        future = SettableFuture.create();
        tester = new ListenableFutureTester(future);
        tester.setUp();
      }
    
      public void testDefaultState() throws Exception {
        assertThrows(TimeoutException.class, () -> future.get(5, MILLISECONDS));
      }
    
      public void testSetValue() throws Exception {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/collect/EnumBiMapTest.java

        assertEquals(bimap3, emptyBimap);
      }
    
      @GwtIncompatible // keyType
      public void testKeyType() {
        EnumBiMap<Currency, Country> bimap = EnumBiMap.create(Currency.class, Country.class);
        assertEquals(Currency.class, bimap.keyType());
      }
    
      @GwtIncompatible // valueType
      public void testValueType() {
        EnumBiMap<Currency, Country> bimap = EnumBiMap.create(Currency.class, Country.class);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 11.9K bytes
    - Viewed (0)
  3. src/test/java/jcifs/context/CIFSContextCredentialWrapperTest.java

        private CIFSContextCredentialWrapper wrapper;
    
        @BeforeEach
        void setUp() {
            MockitoAnnotations.openMocks(this);
            wrapper = new CIFSContextCredentialWrapper(mockDelegate, mockCredentials);
        }
    
        @Test
        @DisplayName("Should construct with delegate and credentials")
        void testConstructor() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.4K bytes
    - Viewed (0)
  4. src/test/java/jcifs/util/SecureCredentialStorageTest.java

        private SecureCredentialStorage storage;
        private char[] masterPassword;
    
        @BeforeEach
        public void setUp() throws Exception {
            masterPassword = "MasterPassword123!@#".toCharArray();
            storage = new SecureCredentialStorage(masterPassword.clone());
        }
    
        @AfterEach
        public void tearDown() throws Exception {
            if (storage != null && !storage.isDestroyed()) {
                try {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 12.7K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb1/smb1/SmbComTransactionResponseTest.java

                return (boolean) getFieldValue("dataDone");
            }
    
            boolean isHasMore() {
                return hasMore;
            }
    
            void setErrorCode(int code) {
                errorCode = code;
            }
    
            void setHasMore(boolean val) {
                hasMore = val;
            }
    
            boolean getParametersDone() {
                return (boolean) getFieldValue("parametersDone");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12K bytes
    - Viewed (0)
  6. android/guava-testlib/src/com/google/common/collect/testing/google/MultimapContainsValueTester.java

      @CollectionSize.Require(absent = ZERO)
      public void testContainsValueYes() {
        assertTrue(multimap().containsValue(v0()));
      }
    
      public void testContainsValueNo() {
        assertFalse(multimap().containsValue(v3()));
      }
    
      @MapFeature.Require(ALLOWS_NULL_VALUES)
      @CollectionSize.Require(absent = ZERO)
      public void testContainsNullValueYes() {
        initMultimapWithNullValue();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Nov 14 23:40:07 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  7. android/guava-testlib/src/com/google/common/collect/testing/google/MultimapPutTester.java

        extends AbstractMultimapTester<K, V, Multimap<K, V>> {
      @MapFeature.Require(absent = SUPPORTS_PUT)
      public void testPutUnsupported() {
        assertThrows(UnsupportedOperationException.class, () -> multimap().put(k3(), v3()));
      }
    
      @MapFeature.Require(SUPPORTS_PUT)
      public void testPutEmpty() {
        int size = getNumElements();
    
        assertGet(k3(), ImmutableList.<V>of());
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  8. guava-testlib/src/com/google/common/collect/testing/google/MultimapPutTester.java

        extends AbstractMultimapTester<K, V, Multimap<K, V>> {
      @MapFeature.Require(absent = SUPPORTS_PUT)
      public void testPutUnsupported() {
        assertThrows(UnsupportedOperationException.class, () -> multimap().put(k3(), v3()));
      }
    
      @MapFeature.Require(SUPPORTS_PUT)
      public void testPutEmpty() {
        int size = getNumElements();
    
        assertGet(k3(), ImmutableList.<V>of());
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  9. src/test/java/jcifs/context/SingletonContextTest.java

            System.clearProperty("jcifs.smb.client.nativeLanMan");
        }
    
        @Test
        void testInitWithNullProperties() throws CIFSException {
            // Test successful initialization with null properties
            assertDoesNotThrow(() -> SingletonContext.init(null));
            assertNotNull(SingletonContext.getInstance());
        }
    
        @Test
        void testInitWithCustomProperties() throws CIFSException {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.9K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/fscc/FileRenameInformation2Test.java

        private FileRenameInformation2 fileRenameInfo;
    
        @BeforeEach
        void setUp() {
            fileRenameInfo = new FileRenameInformation2();
        }
    
        @Test
        @DisplayName("Test default constructor")
        void testDefaultConstructor() {
            assertNotNull(fileRenameInfo);
        }
    
        @Test
        @DisplayName("Test parameterized constructor")
        void testParameterizedConstructor() {
            String fileName = "test.txt";
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.3K bytes
    - Viewed (0)
Back to top