Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 252 for minimal (0.27 sec)

  1. src/test/java/jcifs/pac/PacTest.java

                pacMacMock.when(() -> PacMac.calculateMac(anyInt(), any(), any())).thenReturn(mockChecksum);
    
                // Create a minimal valid PAC structure
                ByteArrayOutputStream baos = new ByteArrayOutputStream();
                writeLittleEndianInt(baos, 3); // bufferCount = 3 (minimum required)
                writeLittleEndianInt(baos, PacConstants.PAC_VERSION); // version
    
                // Buffer 1: LOGON_INFO
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.9K bytes
    - Viewed (0)
  2. src/test/java/jcifs/pac/kerberos/KerberosApRequestTest.java

    import org.junit.jupiter.params.ParameterizedTest;
    import org.junit.jupiter.params.provider.ValueSource;
    
    import jcifs.pac.PACDecodingException;
    
    class KerberosApRequestTest {
    
        // Helper: build a minimal, valid-looking ASN.1 AP-REQ sequence with tags 0/1/2
        private ASN1Sequence buildMinimalApReqSeq(byte apOptions) {
            ASN1EncodableVector v = new ASN1EncodableVector();
            // pvno [0] INTEGER 5
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.3K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/dtyp/ACETest.java

            testBuffer[5] = 0x00; // Access mask byte 1
            testBuffer[6] = 0x12; // Access mask byte 2
            testBuffer[7] = 0x00; // Access mask byte 3
    
            // Add minimal SID data (S-1-1-0 - Everyone)
            testBuffer[8] = 0x01; // Revision
            testBuffer[9] = 0x01; // Sub-authority count
            testBuffer[10] = 0x00; // Identifier authority
            testBuffer[11] = 0x00;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.6K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/helper/DataIndexHelperTest.java

                    return forceStop.get();
                }
    
                public void setForceStop(boolean value) {
                    forceStop.set(value);
                }
            }, "systemHelper");
    
            // Minimal FessConfig
            ComponentUtil.setFessConfig(new FessConfig.SimpleImpl() {
                private static final long serialVersionUID = 1L;
    
                @Override
                public int getCrawlingThreadCount() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 05:35:01 UTC 2025
    - 12.7K bytes
    - Viewed (0)
  5. src/test/java/jcifs/pac/PacCredentialTypeTest.java

            assertEquals("Invalid PAC credential type", exception.getMessage());
        }
    
        /**
         * Tests the constructor with a byte array that is larger than the minimal buffer size.
         */
        @Test
        void testConstructorWithDataMuchLarger() {
            // A byte array with a length greater than 32 should also be considered too large.
            byte[] veryLargeData = new byte[100];
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3.9K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb1/trans2/Trans2GetDfsReferralResponseTest.java

                assertThrows(ArrayIndexOutOfBoundsException.class, () -> {
                    response.readDataWireFormat(buffer, 0, 0);
                });
            }
    
            @Test
            @DisplayName("Should handle minimal DFS referral buffer")
            void testReadDataWireFormatMinimalBuffer() {
                byte[] buffer = createMinimalDfsReferralBuffer();
    
                int bytesRead = response.readDataWireFormat(buffer, 0, buffer.length);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 19.4K bytes
    - Viewed (0)
  7. src/test/java/jcifs/spnego/SpnegoTokenTest.java

    import java.io.IOException;
    
    import org.junit.jupiter.api.DisplayName;
    import org.junit.jupiter.api.Test;
    
    /**
     * Tests for SpnegoToken.
     * Uses a minimal concrete subclass to exercise abstract methods.
     */
    class SpnegoTokenTest {
    
        /**
         * Minimal concrete implementation for testing.
         * - parse: sets mechanismToken, throws on null
         * - toByteArray: returns mechanismToken or empty array if null
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.6K bytes
    - Viewed (0)
  8. src/test/java/jcifs/netbios/NameServiceClientImplTest.java

    import jcifs.Configuration;
    import jcifs.NetbiosAddress;
    import jcifs.NetbiosName;
    import jcifs.ResolverType;
    
    /**
     * Test class for NameServiceClientImpl focusing on public API methods.
     * Optimized for fast execution with minimal network calls.
     */
    @ExtendWith(MockitoExtension.class)
    @MockitoSettings(strictness = Strictness.LENIENT)
    @DisplayName("NameServiceClientImpl Tests")
    class NameServiceClientImplTest {
    
        @Mock
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 11K bytes
    - Viewed (0)
  9. src/test/java/jcifs/pac/kerberos/KerberosPacAuthDataTest.java

                Mockito.when(mock.getServerSignature()).thenReturn(mockServerSig);
                Mockito.when(mock.getKdcSignature()).thenReturn(mockKdcSig);
            })) {
    
                // Create minimal PAC data
                byte[] pacData = createMinimalPacData();
    
                // Test constructor
                KerberosPacAuthData authData = new KerberosPacAuthData(pacData, keys);
                assertNotNull(authData.getPac());
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 6.3K bytes
    - Viewed (0)
  10. README.md

    - Automatic in-memory or on-disk caching of request/response bodies
    - Synchronous and asynchronous (callback) execution
    - Minimal dependencies (only Apache Commons IO)
    
    ## Installation
    
    ### Maven
    
    Add the dependency to your `pom.xml` (replace `x.y.z` with the latest version):
    
    ```xml
    <dependency>
      <groupId>org.codelibs</groupId>
    Registered: Thu Sep 04 15:34:10 UTC 2025
    - Last Modified: Sat Jul 05 01:11:14 UTC 2025
    - 2.5K bytes
    - Viewed (0)
Back to top