Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 561 - 570 of 3,979 for TeSt (0.21 seconds)

  1. src/test/java/org/codelibs/fess/mylasta/direction/FessConfigImplTest.java

        }
    
        // Test property that should be consistent
        @Test
        public void test_get_propertyFilter() {
            // Test a regular property that passes through
            String value = fessConfig.get("domain.title");
            assertEquals("Test Fess", value);
        }
    
        // Test null property handling
        @Test
        public void test_get_nullProperty() {
            // Test getting non-existent property
            try {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 12.9K bytes
    - Click Count (0)
  2. src/test/java/org/codelibs/fess/suggest/index/SuggestIndexResponseTest.java

            assertNotNull(response.getErrors());
            assertEquals(0, response.getErrors().size());
        }
    
        @Test
        public void test_constructorWithErrors() throws Exception {
            List<Throwable> errors = new ArrayList<>();
            errors.add(new Exception("Test error 1"));
            errors.add(new Exception("Test error 2"));
    
            SuggestIndexResponse response = new SuggestIndexResponse(10, 5, errors, 100);
    
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Thu Nov 13 00:40:54 GMT 2025
    - 4.2K bytes
    - Click Count (0)
  3. src/test/java/org/codelibs/fess/suggest/util/SuggestUtilTest.java

            assertEquals("test\\?query", escaped2);
    
            // Test escaping both
            String query3 = "test*query?end";
            String escaped3 = SuggestUtil.escapeWildcardQuery(query3);
            assertEquals("test\\*query\\?end", escaped3);
    
            // Test with no wildcards
            String query4 = "test query";
            String escaped4 = SuggestUtil.escapeWildcardQuery(query4);
            assertEquals("test query", escaped4);
    
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Mon Nov 24 03:40:05 GMT 2025
    - 26.7K bytes
    - Click Count (0)
  4. src/test/java/jcifs/internal/witness/WitnessClientTest.java

        }
    
        @Test
        void testSuccessfulRegistration() throws Exception {
            // Setup mock RPC response
            WitnessRegisterResponse mockResponse = mock(WitnessRegisterResponse.class);
            lenient().when(mockResponse.isSuccess()).thenReturn(true);
            lenient().when(mockResponse.getRegistrationId()).thenReturn("test-reg-123");
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 23 09:06:40 GMT 2025
    - 9.8K bytes
    - Click Count (0)
  5. src/test/java/org/codelibs/core/crypto/CachedCipherTest.java

    import static org.hamcrest.CoreMatchers.not;
    import static org.junit.Assert.assertArrayEquals;
    import static org.junit.Assert.assertThat;
    
    import org.junit.Test;
    
    /**
     * Tests for {@link CachedCipher}.
     */
    public class CachedCipherTest {
    
        @Test
        public void testEncryptDecryptBytes() {
            final CachedCipher cipher = new CachedCipher();
            cipher.setKey("mySecretKey");
    
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Sat Nov 22 11:21:59 GMT 2025
    - 5.3K bytes
    - Click Count (0)
  6. src/test/java/jcifs/tests/persistent/HandleGuidTest.java

    import static org.junit.jupiter.api.Assertions.assertThrows;
    
    import java.util.UUID;
    
    import org.junit.jupiter.api.Test;
    
    import jcifs.internal.smb2.persistent.HandleGuid;
    
    /**
     * Test class for HandleGuid functionality
     */
    public class HandleGuidTest {
    
        @Test
        public void testHandleGuidGeneration() {
            HandleGuid guid1 = new HandleGuid();
            HandleGuid guid2 = new HandleGuid();
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 21 04:51:33 GMT 2025
    - 2.4K bytes
    - Click Count (0)
  7. src/test/java/org/codelibs/fess/suggest/util/SettingsResourceLoaderTest.java

            substitutions.put("${test.placeholder}", "replaced_value");
    
            // Test loading with substitution - using a resource that exists
            String content = SettingsResourceLoader.loadJsonResource("suggest_indices/suggest_settings.json", substitutions);
            assertNotNull(content);
        }
    
        @Test
        public void testLoadJsonResourceWithDictionaryPath() throws IOException {
            // Set the dictionary path for testing
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Sun Feb 01 12:48:24 GMT 2026
    - 4K bytes
    - Click Count (0)
  8. src/test/java/jcifs/ntlmssp/NtlmFlagsTest.java

    import org.junit.jupiter.api.Test;
    
    /**
     * Test class for NtlmFlags, verifying the values of all defined constants.
     */
    public class NtlmFlagsTest {
    
        @Test
        void testNtlmNegotiateUnicode() {
            assertEquals(0x00000001, NtlmFlags.NTLMSSP_NEGOTIATE_UNICODE, "NTLMSSP_NEGOTIATE_UNICODE should be 0x00000001");
        }
    
        @Test
        void testNtlmNegotiateOem() {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 4.9K bytes
    - Click Count (0)
  9. src/test/java/jcifs/AddressTest.java

    import org.junit.jupiter.api.Test;
    import org.mockito.Mock;
    
    /**
     * Comprehensive test suite for Address interface.
     * Tests the contract and behavior of Address implementations.
     */
    @DisplayName("Address Interface Tests")
    class AddressTest extends BaseTest {
    
        @Mock
        private CIFSContext mockContext;
    
        @Mock
        private Address mockAddress;
    
        @Test
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 4.9K bytes
    - Click Count (0)
  10. CLAUDE.md

    ├── xml/         # XML processing
    ├── zip/         # ZIP file utilities
    └── CoreLibConstants.java
    src/test/java/   # Test classes (mirrors main structure)
    ```
    
    ## Development Commands
    
    ```bash
    mvn test                              # Run tests
    mvn test -Dtest=ClassName#methodName  # Run specific test
    mvn clean package                     # Build
    mvn install                           # Install to local Maven repo
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Thu Mar 12 03:38:56 GMT 2026
    - 3K bytes
    - Click Count (0)
Back to Top