Search Options

Results per page
Sort
Preferred Languages
Advance

Results 311 - 320 of 373 for steste (1.61 sec)

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

            // With enforcement enabled, should throw exception
            assertThrows(CIFSException.class, () -> {
                preauthService.updatePreauthHash("non-existent", "test".getBytes());
            });
        }
    
        @Test
        @DisplayName("Test context invalidation")
        public void testContextInvalidation() throws CIFSException {
            String sessionId = "test-session-invalidation";
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 11.1K bytes
    - Viewed (0)
  2. src/test/java/jcifs/SmbResourceTest.java

        }
    
        @BeforeEach
        void setUp() {
            // Reset mocks to ensure clean state for each test
            reset(mockResource, mockLocator, mockContext);
        }
    
        @Nested
        @DisplayName("Interface Contract Tests")
        class InterfaceContractTests {
    
            @Test
            @DisplayName("SmbResource should extend AutoCloseable")
            void testInterfaceInheritance() {
                // Then
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 35K bytes
    - Viewed (0)
  3. src/test/java/jcifs/context/BaseContextTest.java

    import jcifs.SmbPipeResource;
    import jcifs.SmbResource;
    import jcifs.SmbTransportPool;
    import jcifs.config.BaseConfiguration;
    
    /**
     * Comprehensive test suite for BaseContext class.
     * Tests CIFS context implementation and component integration.
     */
    @DisplayName("BaseContext Tests")
    class BaseContextTest extends BaseTest {
    
        @Mock
        private Configuration mockConfig;
    
        private BaseContext context;
    
        @BeforeEach
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 15.1K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/util/GsaConfigParser.java

            this.fileProtocols = fileProtocols;
        }
    
        /**
         * Returns a string representation of this parser's current state.
         * Includes information about parsed label types and configuration objects.
         *
         * @return a string representation of the parser state
         */
        @Override
        public String toString() {
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 21.6K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/smb2/create/Smb2CreateRequest.java

                this.createContexts = newContexts;
            }
        }
    
        /**
         * Add a lease V1 context to this request
         * @param leaseKey the lease key
         * @param requestedState the requested lease state
         */
        public void addLeaseV1Context(Smb2LeaseKey leaseKey, int requestedState) {
            LeaseV1CreateContextRequest leaseContext = new LeaseV1CreateContextRequest(leaseKey, requestedState);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 23 02:21:31 UTC 2025
    - 22.9K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb1/trans2/Trans2FindFirst2Test.java

            assertEquals("\\test\\path\\", trans2FindFirst2.getPath());
        }
    
        @Test
        @DisplayName("Test constructor with path ending in backslash")
        void testConstructorWithPathEndingInBackslash() {
            // Test path already ending with backslash
            trans2FindFirst2 = new Trans2FindFirst2(mockConfig, "\\test\\path\\", "*.doc", 0x16, 20, 2048);
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.8K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/suggest/SuggesterResourceLoadingTest.java

    import org.junit.Test;
    
    /**
     * Test class for resource loading functionality in Suggester class.
     *
     * Tests cover:
     * - Successful resource loading
     * - Missing resource error handling
     * - Resource content validation
     * - InputStream null safety in try-with-resources
     */
    public class SuggesterResourceLoadingTest {
    
        /**
    Registered: Sat Dec 20 13:04:59 UTC 2025
    - Last Modified: Mon Nov 24 03:40:05 UTC 2025
    - 9.6K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/core/collection/ArrayMap.java

            public V setValue(final V value) {
                final V oldValue = this.value;
                this.value = value;
                return oldValue;
            }
    
            /**
             * Clears the state.
             */
            public void clear() {
                key = null;
                value = null;
                next = null;
            }
    
            @Override
            public boolean equals(final Object o) {
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Sat Nov 22 11:21:59 UTC 2025
    - 20.1K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb1/trans/nt/NtTransQuerySecurityDescResponseTest.java

            response = new NtTransQuerySecurityDescResponse(mockConfig);
        }
    
        @Test
        @DisplayName("Test constructor creates instance with null security descriptor")
        void testConstructor() {
            assertNotNull(response);
            assertNull(response.getSecurityDescriptor());
        }
    
        @Test
        @DisplayName("Test writeSetupWireFormat returns 0")
        void testWriteSetupWireFormat() {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.8K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/RequestWithPathTest.java

            verify(requestWithPath, times(1)).getPath();
    
            // Test with implementation
            testImplementation.setPath(expectedPath);
            assertEquals(expectedPath, testImplementation.getPath());
        }
    
        @Test
        @DisplayName("Test setPath updates path correctly")
        void testSetPath() {
            // Test with mock
            String newPath = "/new/path/file.txt";
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.2K bytes
    - Viewed (0)
Back to top