Search Options

Results per page
Sort
Preferred Languages
Advance

Results 251 - 260 of 2,899 for test$ (0.02 sec)

  1. src/test/java/jcifs/internal/smb2/info/Smb2QueryInfoResponseTest.java

        }
    
        @Test
        @DisplayName("Test inheritance from ServerMessageBlock2Response")
        void testInheritance() {
            response = new Smb2QueryInfoResponse(mockConfig, (byte) 1, (byte) 2);
            assertTrue(response instanceof ServerMessageBlock2Response);
            assertTrue(response instanceof ServerMessageBlock2);
        }
    
        @Test
        @DisplayName("Test OVERHEAD constant value")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 24.5K bytes
    - Viewed (0)
  2. okhttp/src/jvmTest/kotlin/okhttp3/HeadersTest.kt

    package okhttp3
    
    import assertk.assertThat
    import assertk.assertions.isEqualTo
    import assertk.assertions.isNotEqualTo
    import kotlin.test.Test
    import kotlin.test.assertFailsWith
    import okhttp3.Headers.Companion.headersOf
    import okhttp3.Headers.Companion.toHeaders
    
    class HeadersTest {
      @Test fun ofTrims() {
        val headers = headersOf("\t User-Agent \n", " \r OkHttp ")
        assertThat(headers.name(0)).isEqualTo("User-Agent")
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 8.7K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb2/ioctl/SrvCopychunkCopyTest.java

        private static final int CHUNK_SIZE = 24;
    
        @Mock
        private SrvCopychunk mockChunk;
    
        @BeforeEach
        void setUp() {
        }
    
        @Nested
        @DisplayName("Constructor Tests")
        class ConstructorTests {
    
            @Test
            @DisplayName("Should create instance with source key and single chunk")
            void testConstructorWithSingleChunk() {
                // Given
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 23.1K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb1/com/SmbComNTCreateAndXTest.java

    import jcifs.Configuration;
    import jcifs.SmbConstants;
    import jcifs.internal.smb1.ServerMessageBlock;
    
    /**
     * Unit tests for {@link SmbComNTCreateAndX}.  The tests exercise the
     * constructor’s flag handling, response creation and simple accessors.
     *
     * <p>All tests run in the same package as the class under test so that
     * package‑private members are visible if required.
     */
    @ExtendWith(MockitoExtension.class)
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb1/trans/nt/NtTransNotifyChangeTest.java

        }
    
        @Test
        @DisplayName("Test readSetupWireFormat returns zero")
        void testReadSetupWireFormat() {
            notifyChange = new NtTransNotifyChange(mockConfig, 0x1234, FILE_NOTIFY_CHANGE_FILE_NAME, false);
            byte[] buffer = new byte[100];
    
            int result = notifyChange.readSetupWireFormat(buffer, 10, 50);
    
            assertEquals(0, result);
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.4K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/core/io/PropertiesUtilTest.java

        /**
         * Test method for
         * {@link org.codelibs.core.io.PropertiesUtil#load(java.util.Properties, java.io.InputStream)}
         * .
         */
        @Test
        public void testLoadPropertiesInputStream() {
            final InputStream inputStream = ResourceUtil.getResourceAsStream("org/codelibs/core/io/test.properties");
            final Properties properties = new Properties();
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 9.6K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/exception/UnsupportedSearchExceptionTest.java

                }
            }
            assertTrue(foundTestMethod);
        }
    
        public void test_serialization() {
            // Test that the exception has serialVersionUID
            // This test verifies the exception is serializable
            String message = "Serialization test";
            UnsupportedSearchException exception = new UnsupportedSearchException(message);
    
            // Verify basic properties are preserved
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 8.4K bytes
    - Viewed (0)
  8. src/test/java/jcifs/smb/CriticalPerformanceTest.java

        }
    
        /**
         * Performance regression test for all critical fixes
         */
        @Test
        public void testOverallPerformanceRegression() throws Exception {
            System.out.println("=== Critical Performance Fixes Validation ===");
    
            // Test multiple components together
            long start = System.nanoTime();
    
            // 1. Connection Pool Test
            SmbTransportPoolImpl pool = new SmbTransportPoolImpl();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 15.3K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/dtyp/SecurityDescriptorTest.java

        }
    
        @ParameterizedTest
        @DisplayName("Test decode with various ACE counts")
        @ValueSource(ints = { 0, 1, 10, 100, 1000, 4096 })
        void testDecodeWithVariousAceCounts(int aceCount) throws SMBProtocolDecodingException {
            // This test is theoretical as we can't create huge buffers
            // but tests the boundary conditions
            if (aceCount <= 10) { // Only test small counts practically
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.6K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/core/convert/DateConversionUtilTest.java

         * @throws Exception
         */
        @Test
        public void testToDate_Null() throws Exception {
            assertThat(toDate(null), is(nullValue()));
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testToDate_EmptyString() throws Exception {
            assertThat(toDate(""), is(nullValue()));
        }
    
        /**
         * @throws Exception
         */
        @Test
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 9.4K bytes
    - Viewed (0)
Back to top