Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 101 - 110 of 214 for expects (0.03 seconds)

  1. src/test/java/org/codelibs/fess/sso/spnego/SpnegoAuthenticatorTest.java

            // This is a compile-time check that the code structure is correct
            assertTrue(true);
        }
    
        @Test
        public void test_constantsExist() {
            // Verify all expected configuration constants are defined
            SpnegoAuthenticator authenticator = new SpnegoAuthenticator();
    
            // These constants should be accessible (would fail at compile time if not)
    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)
  2. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/ClassDocPropertiesBuilder.java

            Element tr = getChild(thead, "tr");
            List<Element> header = children(tr, "td");
            if (header.size() < 1) {
                throw new RuntimeException(String.format("Expected at least 1 <td> in <thead>/<tr>, found: %s", header));
            }
            Map<String, Element> inheritedValueTitleMapping = new HashMap<String, Element>();
            List<Element> valueTitles = new ArrayList<Element>();
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 6.2K bytes
    - Click Count (0)
  3. build-logic-commons/module-identity/src/main/kotlin/gradlebuild.module-identity.gradle.kts

            )
        }.reduce { acc, next ->
            acc.zip(next) { left, right ->
                when {
                    left.isPresent -> {
                        require(!right.isPresent) {
                            "Expected at most one provider to be present"
                        }
                        left
                    }
                    else -> right
                }
            }
        }.map { it.orElse(null) }
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Wed Mar 11 22:46:35 GMT 2026
    - 5.8K bytes
    - Click Count (0)
  4. src/test/java/org/codelibs/fess/helper/SearchHelperTest.java

                        if ("ja".equals(lang))
                            hasJa = true;
                    }
                    assertTrue("Should contain expected languages", hasEn || hasJa || languages.length >= 0);
                }
            } catch (NullPointerException e) {
                // Expected in test environment due to missing dependencies
                assertTrue("Test environment limitation", true);
            }
        }
    
        @Test
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 19.2K bytes
    - Click Count (0)
  5. build-logic/build-update-utils/src/test/groovy/gradlebuild/buildutils/tasks/UpdateReleasedVersionsIntegrationTest.groovy

        def format = new SimpleDateFormat('yyyyMMddHHmmssZ')
    
        @TempDir
        File tmpDir
    
        def setup() {
            format.timeZone = TimeZone.getTimeZone("UTC")
        }
    
        def "updated released version file has expected format"() {
            given:
            def releasedVersionsFile = new File(tmpDir, "released-versions.json")
            releasedVersionsFile << '''{
      "latestReleaseSnapshot": {
        "version": "6.6-20200702230251+0000",
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Mon Mar 23 14:47:12 GMT 2026
    - 2.4K bytes
    - Click Count (0)
  6. src/test/java/org/codelibs/fess/job/IndexExportJobTest.java

                fail("Expected IllegalArgumentException");
            } catch (final IllegalArgumentException e) {
                assertTrue(e.getMessage().contains("xml"));
            }
        }
    
        @Test
        public void test_createFormatter_null() {
            try {
                indexExportJob.createFormatter(null);
                fail("Expected IllegalArgumentException");
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Mar 15 09:08:38 GMT 2026
    - 66.1K bytes
    - Click Count (0)
  7. src/test/java/org/codelibs/fess/util/GsaConfigParserTest.java

            assertEscapePattern(".*\\.exe$", "regexp:\\.exe$");
            assertEscapePattern("index.html", "regexp:index.html");
        }
    
        private void assertEscapePattern(String expect, String value) {
            GsaConfigParser parser = new GsaConfigParser();
            assertEquals(expect, parser.getFilterPath(value));
        }
    
        @Test
        public void test_parseFilterPaths_web() {
            GsaConfigParser parser = new GsaConfigParser();
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 11.7K bytes
    - Click Count (0)
  8. src/test/java/org/codelibs/fess/app/web/base/FessAdminActionTest.java

            try {
                runnable.run();
                throw new AssertionError("Expected " + expectedType.getSimpleName() + " to be thrown");
            } catch (final Throwable t) {
                if (!expectedType.isInstance(t)) {
                    throw new AssertionError("Expected " + expectedType.getSimpleName() + " but got " + t.getClass().getSimpleName(), t);
                }
            }
        }
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 26 14:36:23 GMT 2026
    - 22.7K bytes
    - Click Count (0)
  9. src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessCurtainFinallyHookTest.java

                        method.setAccessible(true);
                        method.invoke(this);
                    } catch (Exception e) {
                        // Expected to catch exception silently
                    }
                }
            };
    
            FwAssistantDirector assistantDirector = createMockAssistantDirector();
    
            // Should handle ClassNotFoundException gracefully
    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)
  10. build-logic-commons/module-identity/src/main/kotlin/gradlebuild/identity/extension/GradleModuleExtension.kt

                            true -> Optional.of(entry.value)
                            false -> Optional.empty()
                        }
                    }.orElse(provider {
                        throw GradleException("Expected boolean flag to be configured")
                    })
                }
                .reduce { acc, next ->
                    acc.zip(next) { left , right ->
                        when {
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Wed Mar 11 22:40:18 GMT 2026
    - 4.8K bytes
    - Click Count (0)
Back to Top