Search Options

Results per page
Sort
Preferred Languages
Advance

Results 331 - 340 of 2,899 for test$ (0.41 sec)

  1. src/test/java/jcifs/dcerpc/msrpc/srvsvcTest.java

    import static org.mockito.Mockito.when;
    
    import org.junit.jupiter.api.BeforeEach;
    import org.junit.jupiter.api.Test;
    import org.mockito.Mock;
    import org.mockito.MockitoAnnotations;
    
    import jcifs.dcerpc.ndr.NdrBuffer;
    import jcifs.dcerpc.ndr.NdrException;
    
    /**
     * Test class for srvsvc.java classes
     */
    class srvsvcTest {
    
        @Mock
        private NdrBuffer mockNdrBuffer;
    
        @Mock
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/xml/XmlEscapersTest.java

        // Simple examples (smoke tests)
        assertEquals("xxx", xmlEscaper.escape("xxx"));
        assertEquals("test & test & test", xmlEscaper.escape("test & test & test"));
        assertEquals("test &lt;&lt; 1", xmlEscaper.escape("test << 1"));
        assertEquals("test &gt;&gt; 1", xmlEscaper.escape("test >> 1"));
        assertEquals("&lt;tab&gt;", xmlEscaper.escape("<tab>"));
    
        // Test all non-escaped ASCII characters.
        String s =
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/exec/ThumbnailGeneratorTest.java

        public void test_Options_toString() {
            // Test Options toString method
            ThumbnailGenerator.Options options = new ThumbnailGenerator.Options();
            options.sessionId = "test-session";
            options.name = "test-name";
            options.propertiesPath = "/path/to/props";
            options.numOfThreads = 5;
    
            String expected = "Options [sessionId=test-session, name=test-name, propertiesPath=/path/to/props, numOfThreads=5]";
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 11.1K bytes
    - Viewed (0)
  4. src/test/java/jcifs/dcerpc/UnicodeStringTest.java

    import static org.junit.jupiter.api.Assertions.assertNull;
    import static org.junit.jupiter.api.Assertions.assertTrue;
    
    import org.junit.jupiter.api.Test;
    
    class UnicodeStringTest {
    
        @Test
        void testConstructorWithZterm() {
            // Test with zterm = true
            UnicodeString unicodeStringTrue = new UnicodeString(true);
            assertTrue(unicodeStringTrue.zterm, "zterm should be true");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.3K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb2/tree/Smb2TreeConnectRequestTest.java

    import jcifs.internal.smb2.ServerMessageBlock2Request;
    import jcifs.internal.smb2.Smb2Constants;
    import jcifs.internal.util.SMBUtil;
    
    /**
     * Test class for Smb2TreeConnectRequest functionality
     */
    @DisplayName("Smb2TreeConnectRequest Tests")
    @MockitoSettings(strictness = Strictness.LENIENT)
    class Smb2TreeConnectRequestTest extends BaseTest {
    
        private Configuration mockConfig;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.6K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessApiFailureHookTest.java

            }
            super.tearDown();
        }
    
        // Test basic initialization
        public void test_hookInitialization() {
            assertNotNull(apiFailureHook);
        }
    
        // Test API result status codes
        public void test_apiResultStatusCodes() {
            // Test OK status
            ApiResult okResult = new ApiResult.ApiResponse().status(Status.OK).result();
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 7K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/exception/StorageExceptionTest.java

        public void test_constructorWithNullMessage() {
            // Test constructor with null message
            StorageException exception = new StorageException(null);
    
            assertNotNull(exception);
            assertNull(exception.getMessage());
            assertNull(exception.getCause());
        }
    
        public void test_constructorWithNullMessageAndCause() {
            // Test constructor with null message and null cause
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 7K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/SmbNegotiationTest.java

        }
    
        @Test
        @DisplayName("Test with large buffers")
        void testWithLargeBuffers() {
            // Test with large byte arrays
            byte[] largeRequestBuffer = new byte[1024];
            byte[] largeResponseBuffer = new byte[2048];
    
            // Fill with some test data
            for (int i = 0; i < largeRequestBuffer.length; i++) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.9K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/exec/SuggestCreatorTest.java

        }
    
        // Test main method with valid arguments
        public void test_main_validArguments() {
            // Cannot directly test main as it calls System.exit
            // Test options parsing instead
            SuggestCreator.Options options = new SuggestCreator.Options();
            options.sessionId = "test-session";
            options.name = "test-name";
            assertEquals("test-session", options.sessionId);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 11.1K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/dict/DictionaryExceptionTest.java

        }
    
        public void test_stackTrace() {
            // Test that stack trace is properly set
            DictionaryException exception = new DictionaryException("Stack trace test");
    
            assertNotNull(exception.getStackTrace());
            assertTrue(exception.getStackTrace().length > 0);
    
            // Verify that the stack trace contains this test method
            boolean foundTestMethod = false;
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 6.4K bytes
    - Viewed (0)
Back to top