Search Options

Results per page
Sort
Preferred Languages
Advance

Results 341 - 350 of 876 for certify (3.31 sec)

  1. src/test/java/jcifs/smb/DfsReferralTest.java

            DfsReferralData mockData = mock(DfsReferralData.class);
    
            // Create a DfsReferral instance with the mock data
            DfsReferral dfsReferral = new DfsReferral(mockData);
    
            // Verify that getData() returns the same mock data object
            assertEquals(mockData, dfsReferral.getData(), "getData() should return the DfsReferralData object passed to the constructor.");
        }
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 1.6K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb1/trans/TransTransactNamedPipeTest.java

            // Assert
            assertEquals(4, bytesWritten);
            assertEquals(SmbComTransaction.TRANS_TRANSACT_NAMED_PIPE, dst[0]);
            assertEquals(0x00, dst[1]);
    
            // Verify FID is written correctly (little-endian)
            int writtenFid = SMBUtil.readInt2(dst, 2);
            assertEquals(TEST_FID, writtenFid);
        }
    
        @Test
        @DisplayName("Test writeDataWireFormat with sufficient buffer")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.7K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb/MIENameTest.java

        }
    
        @Test
        @DisplayName("Mockito presence: no collaborator interactions to verify")
        void noDependenciesToMock() {
            // This class has no external collaborators; nothing to verify.
            // Keep Mockito import usage minimal to satisfy build-time linkage.
            Runnable r = mock(Runnable.class);
            r.run();
            verify(r, times(1)).run();
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.6K bytes
    - Viewed (0)
  4. src/test/java/jcifs/dcerpc/msrpc/MsrpcShareGetInfoTest.java

        }
    
        @Test
        void testConstructor() {
            // Verify constructor properly initializes the object
            assertNotNull(msrpcShareGetInfo);
            assertEquals(0, msrpcShareGetInfo.getPtype());
            assertEquals(DcerpcConstants.DCERPC_FIRST_FRAG | DcerpcConstants.DCERPC_LAST_FRAG, msrpcShareGetInfo.getFlags());
    
            // Verify parent class initialization
            assertNotNull(msrpcShareGetInfo.info);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.3K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb1/dcerpc/msrpc/MsrpcSamrConnect2Test.java

    /**
     * Tests for {@link jcifs.smb1.dcerpc.msrpc.MsrpcSamrConnect2} constructor.
     * <p>
     * The class under test is a simple wrapper around the base class that
     * sets internal fields in its constructor.
     * These tests verify that the constructor accepts various parameters
     * without throwing exceptions.
     */
    @ExtendWith(MockitoExtension.class)
    class MsrpcSamrConnect2Test {
    
        // Helper method to create a minimal SamrPolicyHandle instance.
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  6. .github/PULL_REQUEST_TEMPLATE.md

    - [ ] Provide integration tests (under `<subproject>/src/integTest`) to verify changes from a user perspective.
    - [ ] Provide unit tests (under `<subproject>/src/test`) to verify logic.
    - [ ] Update User Guide, DSL Reference, and Javadoc for public-facing changes.
    - [ ] Ensure that tests pass sanity check: `./gradlew sanityCheck`.
    Registered: Wed Sep 10 11:36:15 UTC 2025
    - Last Modified: Tue Feb 13 22:36:19 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb2/session/Smb2LogoffRequestTest.java

    import static org.junit.jupiter.api.Assertions.assertThrows;
    import static org.junit.jupiter.api.Assertions.assertTrue;
    import static org.mockito.Mockito.times;
    import static org.mockito.Mockito.verify;
    import static org.mockito.Mockito.verifyNoMoreInteractions;
    import static org.mockito.Mockito.when;
    
    import org.junit.jupiter.api.DisplayName;
    import org.junit.jupiter.api.Nested;
    import org.junit.jupiter.api.Test;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.4K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb1/net/NetShareEnumResponseTest.java

            // Create a spy to verify method call
            NetShareEnumResponse spyResponse = spy(new NetShareEnumResponse(mockConfig));
    
            setNumEntries(spyResponse, 0);
            byte[] buffer = new byte[100];
    
            spyResponse.readDataWireFormat(buffer, 0, buffer.length);
    
            // Verify setUseUnicode was called with false
            verify(spyResponse).setUseUnicode(false);
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.2K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb2/tree/Smb2TreeDisconnectResponseTest.java

            // When & Then
            assertThrows(ArrayIndexOutOfBoundsException.class, () -> {
                response.readBytesWireFormat(buffer, offset);
            });
        }
    
        @Test
        @DisplayName("Should verify inheritance from ServerMessageBlock2Response")
        void testInheritance() {
            // Then
            assertTrue(response instanceof ServerMessageBlock2Response);
            assertTrue(response instanceof ServerMessageBlock2);
    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. android/guava/src/com/google/common/net/HostSpecifier.java

     * recognized public suffix; see {@link InternetDomainName#isPublicSuffix()} for details.
     *
     * <p>Note that no network lookups are performed by any {@code HostSpecifier} methods. No attempt is
     * made to verify that a provided specifier corresponds to a real or accessible host. Only syntactic
     * and pattern-based checks are performed.
     *
     * <p>If you know that a given string represents a numeric IP address, use {@link InetAddresses} to
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 6K bytes
    - Viewed (0)
Back to top