Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 1,059 for withRoot (0.1 seconds)

  1. impl/maven-core/src/main/java/org/apache/maven/internal/transformation/impl/DefaultConsumerPomBuilder.java

        }
    
        static Model transformPom(Model model, MavenProject project) {
            boolean preserveModelVersion = model.isPreserveModelVersion();
    
            // raw to consumer transform
            model = model.withRoot(false).withModules(null).withSubprojects(null);
            Parent parent = model.getParent();
            if (parent != null) {
                model = model.withParent(parent.withRelativePath(null));
            }
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Mar 04 19:49:40 GMT 2026
    - 22.3K bytes
    - Click Count (0)
  2. src/test/java/org/codelibs/fess/validation/CustomSizeValidatorTest.java

            try {
                validator.initialize(annotation);
                assertTrue("Initialize should complete without exception", true);
            } catch (final Exception e) {
                fail("Initialize should not throw exception with valid annotation: " + e.getMessage());
            }
        }
    
        // Test parameter validation without relying on complex configuration
        @Test
        public void test_validateParameters_basic() {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 5.4K bytes
    - Click Count (0)
  3. src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessCurtainFinallyHookTest.java

     *
     *     http://www.apache.org/licenses/LICENSE-2.0
     *
     * Unless required by applicable law or agreed to in writing, software
     * distributed under the License is distributed on an "AS IS" BASIS,
     * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
     * either express or implied. See the License for the specific language
     * governing permissions and limitations under the License.
     */
    package org.codelibs.fess.mylasta.direction.sponsor;
    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)
  4. src/test/java/org/codelibs/fess/helper/LanguageHelperTest.java

            Map<String, Object> doc = new HashMap<>();
            doc.put("title", "xyz");
            doc.put("content", "xyz");
    
            // Without a real detector, this will throw NullPointerException
            try {
                languageHelper.updateDocument(doc);
                fail("Should throw NullPointerException without detector");
            } catch (NullPointerException e) {
                // Expected since we don't have a detector
            }
        }
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 13K bytes
    - Click Count (0)
  5. src/test/java/org/codelibs/fess/helper/DataIndexHelperTest.java

     *
     *     http://www.apache.org/licenses/LICENSE-2.0
     *
     * Unless required by applicable law or agreed to in writing, software
     * distributed under the License is distributed on an "AS IS" BASIS,
     * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
     * either express or implied. See the License for the specific language
     * governing permissions and limitations under the License.
     */
    package org.codelibs.fess.helper;
    
    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)
  6. src/test/java/org/codelibs/fess/mylasta/direction/FessConfigImplTest.java

                // Expected exception
                assertTrue(e.getMessage().contains("non.existent.property"));
            }
        }
    
        // Test system property without prefix
        @Test
        public void test_get_systemPropertyWithoutPrefix() {
            // Set system property without FESS_CONFIG_PREFIX
            String testKey = "test.property";
            String systemValue = "wrong-system-value";
            System.setProperty(testKey, systemValue);
    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)
  7. tests/test_stream_cancellation.py

    """
    Test that async streaming endpoints can be cancelled without hanging.
    
    Ref: https://github.com/fastapi/fastapi/issues/14680
    """
    
    from collections.abc import AsyncIterable
    
    import anyio
    import pytest
    from fastapi import FastAPI
    from fastapi.responses import StreamingResponse
    
    pytestmark = [
        pytest.mark.anyio,
        pytest.mark.filterwarnings("ignore::pytest.PytestUnraisableExceptionWarning"),
    ]
    
    
    app = FastAPI()
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Feb 27 18:56:47 GMT 2026
    - 2.7K bytes
    - Click Count (0)
  8. src/test/java/org/codelibs/fess/sso/SsoAuthenticatorTest.java

     *
     *     http://www.apache.org/licenses/LICENSE-2.0
     *
     * Unless required by applicable law or agreed to in writing, software
     * distributed under the License is distributed on an "AS IS" BASIS,
     * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
     * either express or implied. See the License for the specific language
     * governing permissions and limitations under the License.
     */
    package org.codelibs.fess.sso;
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 11.2K bytes
    - Click Count (1)
  9. src/test/java/org/codelibs/fess/util/ThreadDumpUtilTest.java

     *
     *     http://www.apache.org/licenses/LICENSE-2.0
     *
     * Unless required by applicable law or agreed to in writing, software
     * distributed under the License is distributed on an "AS IS" BASIS,
     * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
     * either express or implied. See the License for the specific language
     * governing permissions and limitations under the License.
     */
    package org.codelibs.fess.util;
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 15.6K bytes
    - Click Count (0)
  10. src/test/java/org/codelibs/fess/thumbnail/impl/CommandGeneratorTest.java

        public void test_command_timeout_configuration() throws Exception {
            // Test timeout configuration without triggering component dependencies
            generator.setCommandTimeout(100L); // Very short timeout
            generator.setCommandDestroyTimeout(50L);
    
            // Test that timeout values are set (we can't verify execution without components)
            assertTrue("Timeout values should be configurable", true);
    
            // Test edge cases
    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)
Back to Top