Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 493 for stette (0.03 sec)

  1. src/test/java/jcifs/internal/NotifyResponseTest.java

            @Override
            public boolean isError() {
                return this.error;
            }
    
            @Override
            public void error() {
                this.error = true;
            }
    
            // Setter methods for testing
            public void setGrantedCredits(int grantedCredits) {
                this.grantedCredits = grantedCredits;
            }
    
            public void setErrorCode(int errorCode) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 21.2K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb/SmbTransportImplTest.java

            assertEquals(0, transport.getNumSessions());
        }
    
        @Test
        @DisplayName("isDisconnected / isFailed reflect socket and state")
        void connectionStateChecks() throws Exception {
            // Arrange: simulate connected state and open socket
            setField(transport, "state", 3); // connected
            Socket s = mock(Socket.class);
            when(s.isClosed()).thenReturn(false);
            setField(transport, "socket", s);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.6K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/job/PurgeThumbnailJobTest.java

        }
    
        // Test getExpiry with default value
        public void test_getExpiry_default() {
            assertEquals(30L * 24 * 60 * 60 * 1000L, purgeThumbnailJob.getExpiry());
        }
    
        // Test expiry setter with valid value
        public void test_expiry_validValue() {
            long newExpiry = 60L * 24 * 60 * 60 * 1000L; // 60 days
            PurgeThumbnailJob result = purgeThumbnailJob.expiry(newExpiry);
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 7.2K bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/witness/WitnessEventType.java

    /**
     * Enumeration of SMB Witness Event Types as defined in MS-SWN specification.
     * These events represent different types of cluster state changes that clients
     * can be notified about.
     */
    public enum WitnessEventType {
        /**
         * Resource state changed - general resource state modification
         */
        RESOURCE_CHANGE(1),
    
        /**
         * Client should move to different node - directed failover
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 09:06:40 UTC 2025
    - 2.5K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/thumbnail/impl/BaseThumbnailGeneratorTest.java

            assertEquals("${temp}/file", generator.expandPath("${temp}/file")); // No partial replacement
        }
    
        public void test_directoryNameLength() {
            // Test directoryNameLength setter
            generator = new TestThumbnailGenerator();
    
            // Default value
            assertEquals(5, generator.directoryNameLength);
    
            // Set new value
            generator.setDirectoryNameLength(10);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 6.1K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb1/smb1/NtlmContextTest.java

            // Test that calling initSecContext in an invalid state throws an exception
            when(mockAuth.getDomain()).thenReturn(domain);
            when(mockAuth.getUsername()).thenReturn(username);
            when(mockAuth.getPassword()).thenReturn(password);
    
            NtlmContext context = new NtlmContext(mockAuth, true);
            context.initSecContext(new byte[0], 0, 0); // state -> 2
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb/NtlmContext.java

                    .append(",workstation=")
                    .append(this.workstation)
                    .append(",isEstablished=")
                    .append(this.isEstablished)
                    .append(",state=")
                    .append(this.state)
                    .append(",serverChallenge=");
            if (this.serverChallenge == null) {
                ret.append("null");
            } else {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 17.3K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb2/lease/Smb2LeaseStateTest.java

    import org.junit.jupiter.api.DisplayName;
    import org.junit.jupiter.api.Test;
    
    @DisplayName("Smb2LeaseState Tests")
    class Smb2LeaseStateTest {
    
        @Test
        @DisplayName("Should define correct lease state constants")
        void testLeaseStateConstants() {
            assertEquals(0x00, Smb2LeaseState.SMB2_LEASE_NONE);
            assertEquals(0x01, Smb2LeaseState.SMB2_LEASE_READ_CACHING);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 00:16:17 UTC 2025
    - 5.2K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/dcerpc/DcerpcHandle.java

        protected static DcerpcBinding parseBinding(final String str) throws DcerpcException {
            int state, mark, si;
            final char[] arr = str.toCharArray();
            String proto = null, key = null;
            DcerpcBinding binding = null;
    
            state = mark = si = 0;
            do {
                final char ch = arr[si];
    
                switch (state) {
                case 0:
                    if (ch == ':') {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 11.7K bytes
    - Viewed (0)
  10. src/test/java/jcifs/dcerpc/msrpc/netdfsTest.java

            assertEquals(info3.path, decodedInfo3.path);
            assertEquals(info3.comment, decodedInfo3.comment);
            assertEquals(info3.state, decodedInfo3.state);
            assertEquals(info3.num_stores, decodedInfo3.num_stores);
            assertEquals(info3.stores[0].state, decodedInfo3.stores[0].state);
            assertEquals(info3.stores[0].server_name, decodedInfo3.stores[0].server_name);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 30.9K bytes
    - Viewed (0)
Back to top