Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 151 - 160 of 4,547 for Test (0.04 seconds)

  1. src/test/java/jcifs/internal/smb2/ioctl/Smb2IoctlRequestTest.java

        }
    
        @Test
        @DisplayName("Test setFlags method")
        void testSetFlags() {
            setupMockConfig();
            Smb2IoctlRequest request = new Smb2IoctlRequest(mockConfig, TEST_CONTROL_CODE);
    
            request.setFlags(Smb2IoctlRequest.SMB2_O_IOCTL_IS_FSCTL);
    
            assertNotNull(request);
        }
    
        @Test
        @DisplayName("Test setMaxInputResponse method")
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 14.3K bytes
    - Click Count (0)
  2. src/test/java/org/codelibs/fess/exception/ScheduledJobExceptionTest.java

    package org.codelibs.fess.exception;
    
    import org.codelibs.fess.unit.UnitFessTestCase;
    import org.junit.jupiter.api.Test;
    
    public class ScheduledJobExceptionTest extends UnitFessTestCase {
    
        @Test
        public void test_constructorWithMessage() {
            // Test constructor with message only
            String message = "Test scheduled job error";
            ScheduledJobException exception = new ScheduledJobException(message);
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 6.9K bytes
    - Click Count (0)
  3. src/test/java/org/codelibs/fess/thumbnail/ThumbnailGeneratorTest.java

            }
            super.tearDown(testInfo);
        }
    
        @Test
        public void test_getName() {
            // Test getting the generator name
            assertEquals("TestGenerator", thumbnailGenerator.getName());
        }
    
        @Test
        public void test_generate_withValidThumbnailId() {
            // Test successful thumbnail generation
            String thumbnailId = "test-thumbnail-001";
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 11.7K bytes
    - Click Count (0)
  4. src/test/java/jcifs/internal/smb1/trans/nt/NtTransNotifyChangeResponseTest.java

        }
    
        @Test
        @DisplayName("Test constructor creates instance with empty notification list")
        void testConstructor() {
            assertNotNull(response);
            assertNotNull(response.getNotifyInformation());
            assertTrue(response.getNotifyInformation().isEmpty());
        }
    
        @Test
        @DisplayName("Test writeSetupWireFormat returns 0")
        void testWriteSetupWireFormat() {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 14.7K bytes
    - Click Count (0)
  5. src/test/java/org/codelibs/fess/exception/PluginExceptionTest.java

            }
        }
    
        @Test
        public void test_stackTrace() {
            // Test that stack trace is properly set
            PluginException exception = new PluginException("Stack trace test");
    
            assertNotNull(exception.getStackTrace());
            assertTrue(exception.getStackTrace().length > 0);
    
            // Verify that the first stack trace element is from this test method
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 8.1K bytes
    - Click Count (0)
  6. 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++) {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 10.9K bytes
    - Click Count (0)
  7. src/test/java/jcifs/internal/smb1/trans/TransPeekNamedPipeResponseTest.java

            });
        }
    
        @Test
        @DisplayName("Test inherited behavior from parent class")
        void testInheritedBehavior() {
            // Test that response inherits from SmbComTransactionResponse
            assertTrue(response.hasMoreElements());
            assertNotNull(response.nextElement());
    
            // Test reset behavior
            response.reset();
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 15.8K bytes
    - Click Count (0)
  8. cmd/streaming-signature-v4_test.go

    		bytes.NewReader(fmt.Appendf(nil, "%4097d", 1)),
    		// Test - 4
    		bytes.NewReader([]byte("1000;chunk-signature=111123333333333333334444211\r\n")),
    	}
    	testCases := []testCase{
    		// Test - 1 - small bufio reader.
    		{
    			bufio.NewReaderSize(readers[0], 16),
    			errLineTooLong,
    			nil,
    			nil,
    		},
    		// Test - 2 - unexpected end of the reader.
    		{
    			bufio.NewReader(readers[1]),
    			io.ErrUnexpectedEOF,
    			nil,
    			nil,
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 5.7K bytes
    - Click Count (0)
  9. src/test/java/org/codelibs/fess/exception/LdapConfigurationExceptionTest.java

            StackTraceElement firstElement = stackTrace[0];
            assertEquals("test_stackTrace", firstElement.getMethodName());
            assertEquals(this.getClass().getName(), firstElement.getClassName());
        }
    
        @Test
        public void test_serialization() {
            // Test that the exception is serializable
            String message = "Serialization test";
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 7.8K bytes
    - Click Count (0)
  10. src/test/java/org/codelibs/fess/helper/FileTypeHelperTest.java

            fileTypeHelper.add("test/null", null);
            assertEquals("others", fileTypeHelper.get("test/null"));
        }
    
        @Test
        public void test_getDefaultValue() {
            assertEquals("others", fileTypeHelper.getDefaultValue());
        }
    
        @Test
        public void test_setDefaultValue() {
            fileTypeHelper.setDefaultValue("unknown");
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 5.6K bytes
    - Click Count (0)
Back to Top