Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 2,534 for Void (0.02 sec)

  1. src/test/java/jcifs/util/ServerResponseValidatorTest.java

        @BeforeEach
        public void setUp() {
            validator = new ServerResponseValidator();
        }
    
        @Test
        public void testValidBuffer() throws Exception {
            byte[] buffer = new byte[1024];
            validator.validateBuffer(buffer, 100, 2048);
            // Should pass without exception
        }
    
        @Test
        public void testNullBuffer() throws Exception {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 14.2K bytes
    - Viewed (0)
  2. src/test/java/jcifs/netbios/UniAddressTest.java

            void shouldReturnTrueForValidIpAddresses(String ip) {
                assertTrue(UniAddress.isDotQuadIP(ip));
            }
    
            @ParameterizedTest(name = "should return false for invalid IP address or hostname: {0}")
            @ValueSource(strings = { "192.168.1", "hostname", "1.2.3.4.5", "192.168.1.1a", "a.b.c.d" })
            void shouldReturnFalseForInvalidIpAddressesOrHostnames(String input) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 16.4K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb/SmbFileTest.java

            @Test
            void testGetCanonicalPath() {
                // Act & Assert
                assertEquals("smb://localhost/share/file.txt", smbFile.getCanonicalPath());
            }
    
            @Test
            void testGetServer() {
                // Act & Assert
                assertEquals("localhost", smbFile.getServer());
            }
    
            @Test
            void testGetShare() {
                // Act & Assert
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.8K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb2/ServerMessageBlock2Test.java

            }
    
            public void setBytesWritten(int bytes) {
                this.bytesWritten = bytes;
            }
    
            public void setBytesRead(int bytes) {
                this.bytesRead = bytes;
            }
    
            public void setThrowOnRead(boolean throwOnRead) {
                this.throwOnRead = throwOnRead;
            }
        }
    
        @BeforeEach
        void setUp() {
            MockitoAnnotations.openMocks(this);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 39.5K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/SmbNegotiationResponseTest.java

        @Mock
        private CommonServerMessageBlock serverMessageBlock;
    
        @Mock
        private Response response;
    
        @BeforeEach
        void setUp() {
            MockitoAnnotations.openMocks(this);
        }
    
        @Test
        @DisplayName("Test isValid returns true for valid negotiation")
        void testIsValidReturnsTrue() {
            // Arrange
            when(negotiationResponse.isValid(cifsContext, negotiationRequest)).thenReturn(true);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.6K bytes
    - Viewed (0)
  6. android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionRetainAllTester.java

      // retainAll(empty)
    
      @CollectionFeature.Require(SUPPORTS_REMOVE)
      @CollectionSize.Require(ZERO)
      public void testRetainAll_emptyPreviouslyEmpty() {
        expectReturnsFalse(empty);
        expectUnchanged();
      }
    
      @CollectionFeature.Require(absent = SUPPORTS_REMOVE)
      @CollectionSize.Require(ZERO)
      public void testRetainAll_emptyPreviouslyEmptyUnsupported() {
        expectReturnsFalseOrThrows(empty);
        expectUnchanged();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Jul 18 15:05:43 UTC 2025
    - 10.7K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/entity/FacetInfoTest.java

        private FacetInfo facetInfo;
    
        @Override
        public void setUp() throws Exception {
            super.setUp();
            facetInfo = new FacetInfo();
        }
    
        @Override
        public void tearDown() throws Exception {
            super.tearDown();
        }
    
        // Test default constructor
        public void test_constructor() {
            FacetInfo info = new FacetInfo();
            assertNull(info.field);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 13K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/sso/SsoManagerTest.java

        }
    
        // Test available() method
        public void test_available_withNoneSsoType() {
            currentSsoType = Constants.NONE;
            assertFalse(ssoManager.available());
        }
    
        public void test_available_withValidSsoType() {
            currentSsoType = "saml";
            assertTrue(ssoManager.available());
        }
    
        public void test_available_withEmptySsoType() {
            currentSsoType = "";
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 13.9K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb2/Smb2ConstantsTest.java

            void testSmb2HeaderLength() {
                assertEquals(64, Smb2Constants.SMB2_HEADER_LENGTH, "SMB2 header must be exactly 64 bytes");
            }
        }
    
        @Nested
        @DisplayName("Negotiation Constants")
        class NegotiationConstants {
    
            @Test
            @DisplayName("Signing enabled flag should be 0x0001")
            void testSigningEnabledFlag() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.1K bytes
    - Viewed (0)
  10. src/test/java/jcifs/util/transport/TransportTest.java

            }
    
            // Test control methods
            public void setState(int state) {
                this.state = state;
            }
    
            public void setPeekedKey(Long key) {
                this.peekedKey = key;
            }
    
            public void setSendException(IOException e) {
                this.sendException = e;
            }
    
            public void setRecvException(IOException e) {
                this.recvException = e;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.5K bytes
    - Viewed (0)
Back to top