Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for handlerTest (0.05 sec)

  1. src/test/java/jcifs/http/HandlerTest.java

    import jcifs.CIFSContext;
    
    /**
     * Tests for the {@link Handler} class.
     * This class tests the functionality of the NTLM URLStreamHandler wrapper.
     */
    @ExtendWith(MockitoExtension.class)
    class HandlerTest {
    
        @Mock
        private CIFSContext mockCifsContext;
    
        private Handler handler;
    
        private Properties originalSystemProperties;
    
        @BeforeEach
        void setUp() throws Exception {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.1K bytes
    - Viewed (0)
  2. fess-crawler/src/test/java/org/codelibs/fess/net/protocol/gcs/HandlerTest.java

    /**
     * Test class for {@link Handler} and its inner class {@link Handler.GcsURLConnection}.
     * This test covers URL parsing, connection state management, and thread-safety.
     */
    public class HandlerTest extends PlainTestCase {
        @Override
        protected void setUp() throws Exception {
            super.setUp();
            new StandardCrawlerContainer();
        }
    
        /**
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Thu Dec 11 08:38:29 UTC 2025
    - 14.1K bytes
    - Viewed (0)
  3. fess-crawler/src/test/java/org/codelibs/fess/net/protocol/storage/HandlerTest.java

    /**
     * Test class for {@link Handler} and its inner class {@link Handler.StorageURLConnection}.
     * This test covers URL parsing, connection state management, and thread-safety.
     */
    public class HandlerTest extends PlainTestCase {
        @Override
        protected void setUp() throws Exception {
            super.setUp();
            new StandardCrawlerContainer();
        }
    
        /**
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Thu Dec 11 08:38:29 UTC 2025
    - 14.4K bytes
    - Viewed (0)
  4. internal/grid/grid_test.go

    	}
    	// local to remote, unbuffered
    	t.Run("unbuffered", func(t *testing.T) {
    		testHandler(t, handlerTest, false)
    	})
    	t.Run("buffered", func(t *testing.T) {
    		testHandler(t, handlerTest2, false)
    	})
    	t.Run("buffered", func(t *testing.T) {
    		testHandler(t, handlerTest2, true)
    	})
    }
    
    // testStreamDeadline will test if server
    func testStreamDeadline(t *testing.T, local, remote *Manager) {
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 36.1K bytes
    - Viewed (0)
  5. internal/grid/benchmark_test.go

    			b.Fatal(err)
    		}
    	}
    	rpc := NewSingleHandler[*testRequest, *testResponse](handlerTest2, newTestRequest, newTestResponse)
    	grid, err := SetupTestGrid(n)
    	errFatal(err)
    	b.Cleanup(grid.Cleanup)
    	// Create n managers.
    	for _, remote := range grid.Managers {
    		// Register a single handler which echos the payload.
    		errFatal(remote.RegisterSingleHandler(handlerTest, func(payload []byte) ([]byte, *RemoteErr) {
    			defer PutByteBuffer(payload)
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 15.5K bytes
    - Viewed (0)
  6. internal/grid/handlers.go

    	// Extend the type to uint16 when hit.
    	if uint32(handlerLast) > 255 {
    		panic(fmt.Sprintf("out of handler IDs. %d > %d", handlerLast, 255))
    	}
    }
    
    func (h HandlerID) valid() bool {
    	return h != handlerInvalid && h < handlerLast
    }
    
    func (h HandlerID) isTestHandler() bool {
    	return h >= handlerTest && h <= handlerTest2
    }
    
    // RemoteErr is a remote error type.
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Tue Feb 18 16:25:55 UTC 2025
    - 27.7K bytes
    - Viewed (0)
  7. cmd/auth-handler_test.go

    Harshavardhana <******@****.***> 1744208919 -0700
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Wed Apr 09 14:28:39 UTC 2025
    - 15.4K bytes
    - Viewed (0)
Back to top