Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1471 - 1480 of 3,220 for test5 (0.02 seconds)

  1. src/test/java/org/codelibs/fess/cors/CorsHandlerFactoryTest.java

        }
    
        @Test
        public void test_add_nullHandler() {
            // Setup
            String origin = "https://example.com";
    
            // Execute
            corsHandlerFactory.add(origin, null);
            CorsHandler result = corsHandlerFactory.get(origin);
    
            // Verify
            assertNull(result);
        }
    
        @Test
        public void test_add_caseInsensitiveOrigins() {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 9.3K bytes
    - Click Count (0)
  2. src/test/java/jcifs/pac/PacSidAttributesTest.java

        }
    
        /**
         * Test method for {@link jcifs.pac.PacSidAttributes#getId()}.
         */
        @Test
        void testGetId() {
            // Test the getId method
            assertEquals(sidMock, pacSidAttributes.getId(), "getId should return the correct SID.");
        }
    
        /**
         * Test method for {@link jcifs.pac.PacSidAttributes#getAttributes()}.
         */
        @Test
        void testGetAttributes() {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 1.6K bytes
    - Click Count (0)
  3. src/test/java/org/codelibs/fess/script/AbstractScriptEngineTest.java

            ComponentUtil.setFessConfig(null);
            super.tearDown(testInfo);
        }
    
        // Test default constructor
        @Test
        public void test_constructor() {
            assertNotNull(testScriptEngine);
        }
    
        // Test register method
        @Test
        public void test_register() {
            testScriptEngine.register();
    
            // Verify that the engine was registered with the factory
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 6.9K bytes
    - Click Count (0)
  4. src/test/java/org/codelibs/fess/sso/spnego/SpnegoAuthenticatorTest.java

            // This test verifies the typo fix by ensuring the class compiles
            SpnegoAuthenticator authenticator = new SpnegoAuthenticator();
            assertNotNull(authenticator);
    
            // The typo fix (SpengoConfig -> SpnegoConfig) is verified at compile time
            // If the class name was wrong, this test file wouldn't compile
            assertTrue(true);
        }
    
        @Test
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 4.8K bytes
    - Click Count (0)
  5. src/test/java/org/codelibs/fess/job/AggregateLogJobTest.java

    import org.junit.jupiter.api.Test;
    import org.junit.jupiter.api.TestInfo;
    
    public class AggregateLogJobTest extends UnitFessTestCase {
    
        private AggregateLogJob aggregateLogJob;
    
        @Override
        protected void setUp(TestInfo testInfo) throws Exception {
            super.setUp(testInfo);
            aggregateLogJob = new AggregateLogJob();
        }
    
        @Test
        public void test_constructor() {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 12.3K bytes
    - Click Count (0)
  6. tensorflow/c/eager/c_api_remote_function_test.cc

    }
    TEST(CAPI, RemoteExecuteSilentCopiesLocalAsyncFuncOrdering) {
      // A remote input may be not ready when we start running a function. Test that
      // the function execution should wait until the remote input is ready.
      TestRemoteExecuteSilentCopiesFunc(/*async=*/true, /*remote=*/false,
                                        /*heavy_load_on_streaming_rpc=*/true);
    }
    Created: Tue Apr 07 12:39:13 GMT 2026
    - Last Modified: Fri Dec 11 22:56:03 GMT 2020
    - 3.6K bytes
    - Click Count (0)
  7. src/test/java/jcifs/util/transport/ResponseTest.java

        }
    
        @Test
        void testReset() {
            // Call the method
            mockResponse.reset();
    
            // Verify that the method was called
            verify(mockResponse, times(1)).reset();
        }
    
        @Test
        void testGetException() {
            Exception testException = new RuntimeException("Test Exception");
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 6.5K bytes
    - Click Count (0)
  8. src/test/java/jcifs/internal/fscc/SmbInfoAllocationTest.java

    import org.junit.jupiter.api.Test;
    
    import jcifs.internal.SMBProtocolDecodingException;
    import jcifs.internal.util.SMBUtil;
    
    /**
     * Test class for SmbInfoAllocation
     */
    class SmbInfoAllocationTest {
    
        private SmbInfoAllocation smbInfoAllocation;
    
        @BeforeEach
        void setUp() {
            smbInfoAllocation = new SmbInfoAllocation();
        }
    
        @Test
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 14.2K bytes
    - Click Count (0)
  9. src/test/java/org/codelibs/fess/script/ScriptEngineTest.java

        // Test evaluate method with valid template and parameters
        @Test
        public void test_evaluate_withValidTemplateAndParams() {
            String template = "Hello ${name}";
            Map<String, Object> paramMap = new HashMap<>();
            paramMap.put("name", "World");
    
            Object result = scriptEngine.evaluate(template, paramMap);
            assertEquals("Hello World", result);
        }
    
        // Test evaluate method with empty template
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 12.5K bytes
    - Click Count (0)
  10. src/test/java/jcifs/smb1/smb1/SmbComQueryInformationTest.java

        }
    
        @Test
        public void testWriteParameterWordsWireFormat() {
            // This method is expected to do nothing and return 0
            int result = smbComQueryInformation.writeParameterWordsWireFormat(new byte[0], 0);
            assertEquals(0, result);
        }
    
        @Test
        public void testWriteBytesWireFormat() {
            // Test the writing of bytes to a byte array
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 2.4K bytes
    - Click Count (0)
Back to Top