Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 41 - 50 of 114 for getAction (0.33 seconds)

  1. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/ModelVersionUtilsTest.java

    /**
     * Unit tests for the {@link ModelVersionUtils} utility class.
     * Tests model version detection, validation, upgrade logic, and namespace operations.
     */
    @DisplayName("ModelVersionUtils")
    class ModelVersionUtilsTest {
    
        @Nested
        @DisplayName("Model Version Detection")
        class ModelVersionDetectionTests {
    
            @Test
            @DisplayName("should detect model version from document")
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 19.6K bytes
    - Click Count (0)
  2. api/maven-api-core/src/main/java/org/apache/maven/api/services/RepositoryAwareRequest.java

         *   <li>Ensures no duplicate repositories exist in the list</li>
         *   <li>Ensures no null repository entries exist in the list</li>
         * </ul>
         *
         * <p>Duplicate detection is based on the {@code RemoteRepository#equals(Object)}
         * method, which typically compares repository IDs and URLs.
         *
         * @param repositories the list of repositories to validate, may be {@code null}
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Oct 10 07:30:49 GMT 2025
    - 5K bytes
    - Click Count (0)
  3. src/main/java/jcifs/spnego/NegTokenInit.java

        public static final int DELEGATION = 0x80;
        /**
         * Context flag for mutual authentication requirement
         */
        public static final int MUTUAL_AUTHENTICATION = 0x40;
        /**
         * Context flag for replay detection capability
         */
        public static final int REPLAY_DETECTION = 0x20;
        /**
         * Context flag for sequence checking capability
         */
        public static final int SEQUENCE_CHECKING = 0x10;
        /**
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 10.3K bytes
    - Click Count (0)
  4. src/test/java/jcifs/SmbResourceTest.java

                boolean canWrite = mockResource.canWrite();
    
                // Then
                assertTrue(exists, "Should support SMB existence checks");
                assertTrue(isFile, "Should support SMB file type detection");
                assertTrue(canRead, "Should support SMB read permission checks");
                assertTrue(canWrite, "Should support SMB write permission checks");
            }
    
            @Test
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 35K bytes
    - Click Count (0)
  5. src/test/java/jcifs/smb/SmbTransportInternalTest.java

            SmbSession result = transport.getSmbSession(ctx, host, domain);
            assertSame(session, result);
            verify(transport).getSmbSession(eq(ctx), eq(host), eq(domain));
        }
    
        // SMB2 detection: true/false and exception path
        @Test
        @DisplayName("isSMB2 returns true/false and can throw")
        void isSMB2_variants() throws Exception {
            when(transport.isSMB2()).thenReturn(true, false);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 12.1K bytes
    - Click Count (0)
  6. src/test/java/jcifs/util/ResourceManagerTest.java

            assertTrue(cleaned >= 2);
    
            assertTrue(resource1.isClosed());
            assertTrue(resource2.isClosed());
        }
    
        @Test
        @DisplayName("Test leak detection for unclosed resources")
        @Timeout(value = 5, unit = TimeUnit.SECONDS)
        void testLeakDetection() throws InterruptedException {
            // Create resource that will be garbage collected without closing
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 8.9K bytes
    - Click Count (0)
  7. src/test/resources/thumbnail/test_generate_thumbnail.sh

        echo -e "${GREEN}PASSED${NC}"
        ((TESTS_PASSED++))
    else
        echo -e "${RED}FAILED${NC}"
        ((TESTS_FAILED++))
    fi
    
    echo ""
    echo "--- ImageMagick version detection tests ---"
    
    echo -n "Testing: get_imagemagick_cmd function exists... "
    if grep -q 'get_imagemagick_cmd()' "${GENERATE_THUMBNAIL}"; then
        echo -e "${GREEN}PASSED${NC}"
        ((TESTS_PASSED++))
    else
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Dec 04 08:02:36 GMT 2025
    - 7.9K bytes
    - Click Count (0)
  8. src/test/java/org/codelibs/fess/api/WebApiRequestTest.java

            webApiRequest = new WebApiRequest(mockRequest, customPath);
    
            assertEquals(originalPath, webApiRequest.getServletPath());
        }
    
        // Test edge cases for SAStruts.method detection
        @Test
        public void test_getServletPath_withSAStrutsMethodSubstring_returnsSuperPath() {
            final String originalPath = "/original/path";
            final String customPath = "/api/v1/search";
    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)
  9. src/test/java/jcifs/smb/NtlmPasswordAuthenticatorTest.java

         */
        @Test
        public void testAuthTypeGuessing() {
            // Test guest detection
            NtlmPasswordAuthenticator guestAuth = new NtlmPasswordAuthenticator("guest", "anypass");
            assertTrue(guestAuth.isGuest());
            assertFalse(guestAuth.isAnonymous());
    
            // Test anonymous detection
            NtlmPasswordAuthenticator anonAuth = new NtlmPasswordAuthenticator("", new char[0]);
    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)
  10. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/platform/Platform.kt

     * manager that was used to create an [SSLSocketFactory].
     *
     * Not supported by choice on JDK9+ due to access checks.
     *
     * ### Android Cleartext Permit Detection
     *
     * Supported on Android 6.0+ via `NetworkSecurityPolicy`.
     */
    open class Platform {
      /** Prefix used on custom headers. */
      fun getPrefix() = "OkHttp"
    
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Feb 03 22:17:59 GMT 2026
    - 8.1K bytes
    - Click Count (0)
Back to Top