Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 121 - 130 of 3,203 for 2test (0.02 seconds)

  1. src/test/java/org/codelibs/fess/util/ResourceUtilTest.java

            value = "${\\$}";
            assertEquals(value, ResourceUtil.resolve(value));
    
            System.setProperty("test.dir", "c:\\test1\\test2");
    
            value = "${test.dir}";
            assertEquals("c:\\test1\\test2", ResourceUtil.resolve(value));
    
        }
    
        @Test
        public void test_getAppType() {
            // Test default empty when no env var is set
            String originalAppType = System.getenv("FESS_APP_TYPE");
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 11.8K bytes
    - Click Count (0)
  2. src/test/java/jcifs/smb/NtlmPasswordAuthenticatorTest.java

    import java.util.concurrent.TimeUnit;
    
    import org.junit.jupiter.api.DisplayName;
    import org.junit.jupiter.api.Test;
    
    /**
     * Test secure password handling in NtlmPasswordAuthenticator
     */
    public class NtlmPasswordAuthenticatorTest {
    
        /**
         * Test password storage using char arrays
         */
        @Test
        public void testPasswordAsCharArray() {
            String testPassword = "TestPassword123!";
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 23.3K bytes
    - Click Count (0)
  3. src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessTimeResourceProviderTest.java

            }
        }
    
        // Test boundary conditions for time adjustments
        @Test
        public void test_boundaryTimeAdjustments() {
            // Test zero boundary
            testBoundaryValue(0L);
    
            // Test one millisecond boundaries
            testBoundaryValue(1L);
            testBoundaryValue(-1L);
    
            // Test one second boundaries
            testBoundaryValue(1000L);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 17.8K bytes
    - Click Count (0)
  4. docs/site-replication/run-ssec-object-replication.sh

    echo "Create bucket in source MinIO instance"
    ./mc mb minio1/test-bucket --insecure
    
    # Load objects to source site
    echo "Loading objects to source MinIO instance"
    set -x
    ./mc cp /tmp/data/plainfile minio1/test-bucket --insecure
    ./mc cp /tmp/data/encrypted minio1/test-bucket/encrypted --enc-c "minio1/test-bucket/encrypted=${TEST_MINIO_ENC_KEY}" --insecure
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Tue Sep 24 08:03:58 GMT 2024
    - 9.9K bytes
    - Click Count (0)
  5. src/test/java/org/codelibs/fess/mylasta/action/FessUserBeanTest.java

        }
    
        @Test
        public void test_getUserId() {
            // Test with normal user
            testUser.setName("testuser");
            assertEquals("testuser", fessUserBean.getUserId());
    
            // Test with another name
            testUser.setName("admin");
            assertEquals("admin", fessUserBean.getUserId());
        }
    
        @Test
        public void test_getPermissions() {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 11.8K bytes
    - Click Count (0)
  6. src/test/java/jcifs/internal/fscc/FileEndOfFileInformationTest.java

            fileInfo = new FileEndOfFileInformation();
        }
    
        @Test
        @DisplayName("Test default constructor creates valid instance")
        void testDefaultConstructor() {
            // Verify instance is created
            assertNotNull(fileInfo);
            assertEquals(FileInformation.FILE_ENDOFFILE_INFO, fileInfo.getFileInformationLevel());
        }
    
        @Test
        @DisplayName("Test parameterized constructor with end of file value")
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 9.9K bytes
    - Click Count (0)
  7. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/ElasticsearchTestBasePlugin.java

                        test.systemProperty("java.locale.providers", "SPI,COMPAT");
                    }
                });
                test.getJvmArgumentProviders().add(nonInputProperties);
                test.getExtensions().add("nonInputProperties", nonInputProperties);
    
                test.setWorkingDir(project.file(project.getBuildDir() + "/testrun/" + test.getName()));
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Aug 24 22:14:49 GMT 2021
    - 10.4K bytes
    - Click Count (0)
  8. src/test/java/org/codelibs/fess/exception/UnsupportedSearchExceptionTest.java

                    break;
                }
            }
            assertTrue(foundTestMethod);
        }
    
        @Test
        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);
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 8.7K bytes
    - Click Count (0)
  9. src/test/java/org/codelibs/fess/exception/InvalidAccessTokenExceptionTest.java

    import static org.junit.jupiter.api.Assertions.assertNotSame;
    
    import org.codelibs.fess.unit.UnitFessTestCase;
    import org.junit.jupiter.api.Test;
    
    public class InvalidAccessTokenExceptionTest extends UnitFessTestCase {
    
        @Test
        public void test_constructor_withTypeAndMessage() {
            // Test constructor with type and message
            String type = "Bearer";
            String message = "Invalid access token provided";
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 10.7K bytes
    - Click Count (0)
  10. src/test/java/org/codelibs/fess/thumbnail/impl/EmptyGeneratorTest.java

            assertEquals("test/path", emptyGenerator.expandPath("test/path"));
            assertNull(emptyGenerator.expandPath(null));
    
            // Test with file path mappings
            emptyGenerator.filePathMap.put("${path}/test", "/usr/bin/test");
            assertEquals("/usr/bin/test", emptyGenerator.expandPath("${path}/test"));
            assertEquals("other/path", emptyGenerator.expandPath("other/path"));
        }
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 6.5K bytes
    - Click Count (0)
Back to Top