Search Options

Results per page
Sort
Preferred Languages
Advance

Results 2131 - 2140 of 4,151 for text (0.02 sec)

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

        }
    
        /**
         * Test method for {@link jcifs.pac.PacGroup#getId()}.
         */
        @Test
        void testGetId() {
            // Test the getId method
            assertEquals(mockSid, pacGroup.getId(), "getId() should return the correct SID.");
        }
    
        /**
         * Test method for {@link jcifs.pac.PacGroup#getAttributes()}.
         */
        @Test
        void testGetAttributes() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 1.5K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/cors/CorsHandlerTest.java

            }
        }
    
        // Test constructor
        public void test_constructor() {
            CorsHandler handler = new CorsHandler() {
                @Override
                public void process(String origin, ServletRequest request, ServletResponse response) {
                    // Test implementation
                }
            };
            assertNotNull(handler);
        }
    
        // Test process method with null origin
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 25.9K bytes
    - Viewed (0)
  3. src/test/java/jcifs/DecodableTest.java

    import org.junit.jupiter.api.DisplayName;
    import org.junit.jupiter.api.Test;
    import org.mockito.Mock;
    
    import jcifs.internal.SMBProtocolDecodingException;
    
    /**
     * Test class for Decodable interface functionality
     */
    @DisplayName("Decodable Interface Tests")
    class DecodableTest extends BaseTest {
    
        @Mock
        private Decodable mockDecodable;
    
        @Test
        @DisplayName("Should define decode method")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 1K bytes
    - Viewed (0)
  4. src/test/java/jcifs/tests/persistent/HandleReconnectorTest.java

        }
    
        @Test
        public void testReconnectHandleNoHandle() throws Exception {
            when(mockManager.getHandleForReconnect("/test/file.txt")).thenReturn(null);
    
            CompletableFuture<HandleInfo> future = reconnector.reconnectHandle("/test/file.txt", new IOException("Network error"));
    
            assertThrows(ExecutionException.class, () -> {
                future.get();
            });
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 04:51:33 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/helper/LabelTypeHelperTest.java

            // Should match included path
            assertTrue(pattern.match("/test/path"));
    
            // Should not match non-included path
            assertFalse(pattern.match("/other/path"));
        }
    
        public void test_labelTypePattern_match_onlyExcluded() {
            LabelTypePattern pattern = new LabelTypePattern("test", null, "/exclude.*");
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 19 23:49:30 UTC 2025
    - 12.4K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/mylasta/direction/FessConfigImplTest.java

        // Test property that should be consistent
        public void test_get_propertyFilter() {
            // Test a regular property that passes through
            String value = fessConfig.get("domain.title");
            assertEquals("Test Fess", value);
        }
    
        // Test null property handling
        public void test_get_nullProperty() {
            // Test getting non-existent property
            try {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 12.6K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb1/trans/nt/NtTransQuerySecurityDescTest.java

        @Test
        @DisplayName("Test readDataWireFormat returns zero")
        void testReadDataWireFormat() {
            querySecurityDesc = new NtTransQuerySecurityDesc(mockConfig, 0x1234, OWNER_SECURITY_INFORMATION);
            byte[] buffer = new byte[100];
    
            int result = querySecurityDesc.readDataWireFormat(buffer, 10, 50);
    
            assertEquals(0, result);
        }
    
        @Test
        @DisplayName("Test toString method with basic values")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.9K bytes
    - Viewed (0)
  8. src/test/java/jcifs/config/MultiChannelConfigurationTest.java

    import static org.junit.jupiter.api.Assertions.assertTrue;
    
    import java.util.Properties;
    
    import org.junit.jupiter.api.Test;
    
    import jcifs.CIFSException;
    
    /**
     * Unit tests for Multi-Channel configuration properties
     */
    class MultiChannelConfigurationTest {
    
        @Test
        void testDefaultMultiChannelSettings() throws CIFSException {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 11:13:46 UTC 2025
    - 8.3K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/smb1/DfsReferral.java

        public long expiration;
    
        /** The next DFS referral in the chain */
        DfsReferral next;
        /** Map containing DFS referral entries */
        Map map;
        /** The cache key for this referral */
        String key = null;
    
        /**
         * Constructs a new DfsReferral instance
         */
        public DfsReferral() {
            this.next = this;
        }
    
        void append(final DfsReferral dr) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.5K bytes
    - Viewed (0)
  10. okhttp-testing-support/src/main/kotlin/okhttp3/internal/concurrent/TaskFaker.kt

          },
          logger = logger,
        )
    
      /** Runs all tasks that are ready. Used by the test thread only. */
      fun runTasks() {
        advanceUntil(nanoTime)
      }
    
      /** Advance the simulated clock, then runs tasks that are ready. Used by the test thread only. */
      fun advanceUntil(newTime: Long) {
        taskRunner.assertLockNotHeld()
    
        taskRunner.withLock {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed May 28 23:28:25 UTC 2025
    - 11.9K bytes
    - Viewed (0)
Back to top