Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 111 - 120 of 164 for expects (0.04 seconds)

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

  1. src/test/java/org/codelibs/fess/mylasta/action/FessLabelsTest.java

                    field.setAccessible(true);
                    String value = (String) field.get(null);
    
                    // Convert field name to expected value
                    String fieldNamePart = field.getName().substring("LABELS_".length());
                    String expectedValuePart = fieldNamePart.toLowerCase()
                            .replace("_", ".")
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 14K bytes
    - Click Count (0)
  2. build-logic/buildquality/src/test/kotlin/gradlebuild/testcleanup/TestFilesCleanupServiceTest.kt

        }
    
        private
        fun String.assertContains(text: String) {
            assertTrue(contains(text)) {
                "Did not find expected error message in $this"
            }
        }
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Tue Feb 10 00:16:44 GMT 2026
    - 11.6K bytes
    - Click Count (0)
  3. src/test/java/org/codelibs/fess/timer/HotThreadMonitorTargetTest.java

        }
    
        @Test
        public void test_expired_method_can_be_called() {
            try {
                target.expired();
            } catch (Exception e) {
                // Expected that it may fail due to missing dependencies in test environment
                // but method should be callable
                assertNotNull(e, "Exception should not be null if thrown");
            }
        }
    
        @Test
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 4.3K bytes
    - Click Count (0)
  4. build-logic/build-update-utils/src/main/kotlin/gradlebuild/buildutils/tasks/UpdateFixedIssuesInReleaseNotes.kt

            }
            val version = milestone.get()
            val parts = version.split(".")
            require(parts.size == 3 && parts[2].toIntOrNull()?.let { it != 0 } == true) {
                "Version '$version' is not a patch release. Expected format: x.y.z with z > 0."
            }
            val issues = getFixedIssues()
            require(!issues.isEmpty()) {
                "No fixed issues found for milestone ${milestone.get()}"
            }
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Mon Mar 23 14:49:33 GMT 2026
    - 5.1K bytes
    - Click Count (0)
  5. src/main/webapp/js/bootstrap.min.js

      * Copyright 2011-2023 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors)
      * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
      */
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 12 06:14:02 GMT 2025
    - 58.9K bytes
    - Click Count (0)
  6. src/test/java/org/codelibs/fess/helper/LanguageHelperTest.java

            try {
                languageHelper.updateDocument(doc);
                fail("Should throw NullPointerException without detector");
            } catch (NullPointerException e) {
                // Expected since we don't have a detector
            }
        }
    
        @Test
        public void test_updateDocument_emptyDoc() {
            Map<String, Object> doc = new HashMap<>();
    
            languageHelper.updateDocument(doc);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 13K bytes
    - Click Count (0)
  7. .teamcity/src/test/kotlin/PromotionProjectTests.kt

    import common.PLUGINS_PORTAL_URL_OVERRIDE as pluginPortalUrlOverride
    
    class PromotionProjectTests {
        init {
            DslContext.initForTest()
        }
    
        @Test
        fun `promotion project has expected build types for master branch`() {
            val model = setupModelFor("master")
    
            assertEquals("Promotion", model.name)
            assertEquals(10, model.buildTypes.size)
            assertEquals(
                listOf(
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Thu Jun 12 09:41:54 GMT 2025
    - 15.3K bytes
    - Click Count (1)
  8. src/test/java/org/codelibs/fess/opensearch/config/exentity/ScheduledJobTest.java

            scheduledJob.setId("nonexistent-job");
    
            try {
                scheduledJob.start(Map.of(Constants.JOB_LOG_ID, "some-id"));
                fail("Expected JobNotFoundException");
            } catch (final JobNotFoundException e) {
                // expected
            }
        }
    
        @Test
        public void test_startNoArg_callsLaunchNowWithoutParams() {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 28 11:55:54 GMT 2026
    - 15.8K bytes
    - Click Count (0)
  9. src/test/java/org/codelibs/fess/helper/ViewHelperTest.java

            assertUrlLink(" ", "#not-found-docId");
        }
    
        private void assertUrlLink(String url, String expected) {
            Map<String, Object> doc = new HashMap<>();
            doc.put("doc_id", "docId");
            doc.put("url", url);
            assertEquals(expected, viewHelper.getUrlLink(doc));
        }
    
        @Test
        public void test_replaceHighlightQueries() {
            String text;
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 27.8K bytes
    - Click Count (0)
  10. src/test/java/org/codelibs/fess/helper/ProtocolHelperTest.java

            protocolHelper.init();
    
            try {
                protocolHelper.isValidWebProtocol(null);
                fail("Should throw exception for null URL");
            } catch (Exception e) {
                // Expected
                assertNotNull(e);
            }
        }
    
        @Test
        public void test_isValidFileProtocol_nullUrl() {
            ComponentUtil.setFessConfig(new FessConfig.SimpleImpl() {
                @Override
    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