Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 171 - 180 of 579 for test$ (0.03 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. src/test/java/org/codelibs/fess/entity/FessUserTest.java

    import org.junit.jupiter.api.Test;
    
    public class FessUserTest extends UnitFessTestCase {
    
        @Test
        public void test_getName() {
            // Test with normal user name
            FessUser user = new TestFessUser("testuser", new String[] { "role1" }, new String[] { "group1" }, new String[] { "perm1" });
            assertEquals("testuser", user.getName());
    
            // Test with empty name
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 11.2K bytes
    - Click Count (0)
  2. src/test/java/org/codelibs/fess/util/OptionalUtilTest.java

    import java.util.Map;
    
    import org.codelibs.fess.unit.UnitFessTestCase;
    import org.dbflute.optional.OptionalEntity;
    import org.junit.jupiter.api.Test;
    
    public class OptionalUtilTest extends UnitFessTestCase {
    
        @Test
        public void test_ofNullable_withNonNullString() {
            String testValue = "test string";
            OptionalEntity<String> result = OptionalUtil.ofNullable(testValue);
    
            assertNotNull(result);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 13.3K bytes
    - Click Count (0)
  3. build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/JSpecifyNullabilityChangesTest.kt

     * limitations under the License.
     */
    
    package gradlebuild.binarycompatibility
    
    import org.junit.Test
    
    class JSpecifyNullabilityChangesTest : AbstractJavaNullabilityChangesTest() {
    
        override val nullableAnnotationName: String = "org.jspecify.annotations.Nullable"
    
        @Test
        fun `from non-null array returning to null returning is breaking`() {
    
            checkNotBinaryCompatibleJava(
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Thu May 15 17:05:08 GMT 2025
    - 18K bytes
    - Click Count (0)
  4. src/test/java/org/codelibs/fess/helper/RelatedQueryHelperTest.java

        @Test
        public void test_getRelatedQueries_nullQueriesArray() {
            List<RelatedQuery> testData = new ArrayList<>();
            testData.add(createRelatedQuery("test", null, ""));
            mockBhv.setTestData(testData);
    
            relatedQueryHelper.load();
    
            String[] results = relatedQueryHelper.getRelatedQueries("test");
            assertEquals(0, results.length);
        }
    
        @Test
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 16.7K bytes
    - Click Count (0)
  5. src/test/java/org/codelibs/fess/query/BooleanQueryCommandTest.java

            booleanQueryCommand.register();
        }
    
        // Test getQueryClassName method
        @Test
        public void test_getQueryClassName() {
            assertEquals("BooleanQuery", booleanQueryCommand.getQueryClassName());
        }
    
        // Test execute method with valid BooleanQuery
        @Test
        public void test_execute_withBooleanQuery() {
            // Create a simple BooleanQuery with MUST clause
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 14.4K bytes
    - Click Count (0)
  6. src/test/java/org/codelibs/fess/it/admin/BadWordTests.java

            updateMap.put(KEY_PROPERTY, NAME_PREFIX + "new");
            return updateMap;
        }
    
        @Test
        void crudTest() {
            testCreate();
            testRead();
            testUpdate();
            testDelete();
        }
    
        @Test
        void testDownloadCsv_ok() {
            // First create some test data
            for (int i = 0; i < 3; i++) {
                final Map<String, Object> requestBody = createTestParam(i + 100);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Dec 20 03:03:44 GMT 2025
    - 4.1K bytes
    - Click Count (0)
  7. src/test/java/org/codelibs/fess/entity/PingResponseTest.java

            super.tearDown(testInfo);
        }
    
        @Test
        public void test_getStatus_returnsCorrectValue() {
            // Since we cannot easily create a real ClusterHealthResponse without a running cluster,
            // we'll test the class behavior through unit tests that verify the logic
            // The actual integration with ClusterHealthResponse is tested in integration tests
    
            // Test that the constructor and getters work with proper setup
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 7.7K bytes
    - Click Count (0)
  8. src/test/java/org/codelibs/fess/helper/SuggestHelperTest.java

                assertTrue(true);
            }
        }
    
        @Test
        public void test_deleteElevateWord() {
            try {
                suggestHelper.deleteElevateWord("test", true);
                assertTrue(true);
            } catch (Exception e) {
                assertTrue(true);
            }
        }
    
        @Test
        public void test_addElevateWord() {
            try {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 16.3K bytes
    - Click Count (0)
  9. src/test/java/org/codelibs/fess/validation/CustomSizeTest.java

        private String testFieldMinOnly;
    
        // Test field with only maxKey
        @CustomSize(maxKey = "test.max.only")
        private String testFieldMaxOnly;
    
        // Test field with custom message
        @CustomSize(minKey = "test.min", maxKey = "test.max", message = "Custom error message")
        private String testFieldWithMessage;
    
        // Test field with groups
        @CustomSize(groups = { TestGroup.class })
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 17.4K bytes
    - Click Count (0)
  10. src/test/java/org/codelibs/fess/helper/ProtocolHelperTest.java

        // ==================================================================================
        //                                                              isFilePathProtocol Tests
        //                                                              =========================
    
        @Test
        public void test_isFilePathProtocol_validProtocols() {
            final ProtocolHelper protocolHelper = new ProtocolHelper();
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 35.1K bytes
    - Click Count (0)
Back to Top