Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 17 of 17 for testHost (0.1 sec)

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

            SmbTransportImpl mockTransport = Mockito.mock(SmbTransportImpl.class);
            Mockito.when(mockTransport.acquire()).thenReturn(mockTransport);
    
            SmbSessionImpl session = new SmbSessionImpl(mockContext, "testhost", "testdomain", mockTransport);
    
            int threadCount = 10;
            int operationsPerThread = 200;
            ExecutorService executor = Executors.newFixedThreadPool(threadCount);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 15.3K bytes
    - Viewed (0)
  2. src/test/java/jcifs/SmbTransportPoolTest.java

                // When
                SmbTransport result = transportPool.getSmbTransport(context, TEST_HOST, DEFAULT_PORT, false, false);
    
                // Then
                assertNotNull(result);
                assertEquals(transport, result);
                verify(transportPool).getSmbTransport(context, TEST_HOST, DEFAULT_PORT, false, false);
            }
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 22.6K bytes
    - Viewed (0)
  3. fess-crawler/src/test/java/org/codelibs/fess/crawler/helper/RobotsTxtHelperTest.java

            assertFalse(robotsTxt.allows("/valid1/", "TestBot"));
            assertFalse(robotsTxt.allows("/valid2/", "TestBot"));
            assertTrue(robotsTxt.allows("/valid3/", "TestBot"));
            assertFalse(robotsTxt.allows("/valid4/", "TestBot"));
        }
    
        public void testParse_emptyValues() {
            String robotsTxtContent = "User-agent: TestBot\n" + "Disallow:\n" + "Allow:\n" + "Crawl-delay:\n";
    
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Mon Nov 24 03:59:47 UTC 2025
    - 20.6K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/core/beans/impl/FieldDescImplTest.java

            final FieldDesc aaa = beanDesc.getFieldDesc("aaa");
            aaa.setStaticFieldValue(String.class);
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testList() throws Exception {
            final BeanDesc beanDesc = new BeanDescImpl(MyBean.class);
            final FieldDesc hoge = beanDesc.getFieldDesc("list");
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 5K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb2/rdma/RdmaIntegrationTest.java

     */
    public class RdmaIntegrationTest {
    
        private String testServer;
        private int testPort;
        private CIFSContext testContext;
    
        @BeforeEach
        public void setUp() throws Exception {
            testServer = System.getProperty("rdma.test.server");
            String portStr = System.getProperty("rdma.test.port", "445");
            testPort = Integer.parseInt(portStr);
    
            // Create RDMA-enabled context
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 23 05:11:12 UTC 2025
    - 13.8K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/core/lang/GenericsUtilTest.java

            assertThat(GenericsUtil.getGenericParameter(t2, 0), is(sameClass(String.class)));
        }
    
        /**
         * @throws Exception
         */
        public void testList() throws Exception {
            final Method m1 = ListType.class.getMethod("listOfString");
            final Type t1 = m1.getGenericReturnType();
            assertThat(GenericsUtil.isTypeOf(t1, List.class), is(true));
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb1/ServerMessageBlockTest.java

            }
    
            @Test
            @DisplayName("Test read string length without termination throws exception")
            void testReadStringLengthNoTermination() {
                byte[] buffer = "TestTest".getBytes();
    
                assertThrows(RuntimeCIFSException.class, () -> {
                    testBlock.readStringLength(buffer, 0, 3);
                });
            }
        }
    
        @Nested
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 36.2K bytes
    - Viewed (0)
Back to top