Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 1,185 for Given (0.02 sec)

  1. api/maven-api-core/src/main/java/org/apache/maven/api/JavaPathType.java

        }
    
        /**
         * Returns the path type associated to the given {@code javax.tool} location.
         * This method is the converse of {@link #location()}.
         *
         * @param location identification of a path in the {@code javax.tool} API
         * @return Java path type associated to the given location
         */
        public static Optional<JavaPathType> valueOf(JavaFileManager.Location location) {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Mon Dec 15 11:13:42 UTC 2025
    - 15.7K bytes
    - Viewed (1)
  2. fess-crawler/src/main/java/org/codelibs/fess/crawler/service/DataService.java

        /**
         * Stores the given access result.
         *
         * @param accessResult the access result to store
         */
        void store(RESULT accessResult);
    
        /**
         * Updates the given access result.
         *
         * @param accessResult the access result to update
         */
        void update(RESULT accessResult);
    
        /**
         * Updates the given list of access results.
         *
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sat Mar 15 06:52:00 UTC 2025
    - 2.7K bytes
    - Viewed (0)
  3. src/test/java/jcifs/DfsReferralDataTest.java

                mockReferralData.next();
                mockReferralData.getLink();
            });
        }
    
        @Test
        @DisplayName("Should get server")
        void testGetServer() {
            // Given
            String server = "testserver";
            when(mockReferralData.getServer()).thenReturn(server);
    
            // When
            String result = mockReferralData.getServer();
    
            // Then
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.1K bytes
    - Viewed (0)
  4. api/maven-api-core/src/main/java/org/apache/maven/api/Session.java

         * <p>
         * Shortcut for {@code DependencyScope.forId(...)} with a verification that the given identifier exists.
         *
         * @param id the identifier of the scope (case-sensitive)
         * @return the scope for the given identifier (never null)
         * @throws IllegalArgumentException if the given identifier is not a known scope
         *
         * @see org.apache.maven.api.DependencyScope#forId(String)
         */
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Thu Jul 03 14:18:26 UTC 2025
    - 36.5K bytes
    - Viewed (0)
  5. src/test/java/jcifs/dcerpc/DcerpcBindTest.java

            }
    
            @Test
            @DisplayName("Package constructor should initialize with binding and handle")
            void testPackageConstructor() throws Exception {
                // Given
                int maxXmit = 4096;
                int maxRecv = 4096;
                when(mockHandle.getMaxXmit()).thenReturn(maxXmit);
                when(mockHandle.getMaxRecv()).thenReturn(maxRecv);
    
                // When
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 22.7K bytes
    - Viewed (0)
  6. build-logic/binary-compatibility/src/test/groovy/gradlebuild/binarycompatibility/PublicAPIRulesTest.groovy

        }
    
        def cleanup() {
            repository?.close()
        }
    
        def "each new #apiElement requires a @Incubating annotation"() {
            given:
            JApiCompatibility jApiType = getProperty(jApiTypeName)
            def rule = withContext(new IncubatingMissingRule([:]))
            def annotations = []
            jApiType.annotations >> annotations
    
            when:
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Fri Jun 06 17:52:09 UTC 2025
    - 16K bytes
    - Viewed (0)
  7. build-logic/build-update-utils/src/test/groovy/gradlebuild/buildutils/tasks/UpdateKotlinVersionsTest.groovy

        def "latest patch version"() {
            given:
            def allVersions = ["2.0.30", "2.0.20", "2.0.10", "2.0.0"] + previousVersions
    
            when:
            def selected = UpdateKotlinVersions.selectVersionsFrom(minimumSupported, allVersions)
    
            then:
            selected == ["1.9.10", "1.9.25", "2.0.30"]
        }
    
        def "beta of latest patch version"() {
            given:
            def allVersions = [
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Wed Oct 29 08:29:55 UTC 2025
    - 3.1K bytes
    - Viewed (0)
  8. src/test/java/jcifs/AddressTest.java

        @Mock
        private Address mockAddress;
    
        @Test
        @DisplayName("Address interface should define correct method signatures")
        void testInterfaceContract() {
            // Given
            Address address = mockAddress;
    
            // When & Then - verify interface methods exist and can be called
            assertDoesNotThrow(() -> {
                address.getHostName();
                address.getHostAddress();
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.9K bytes
    - Viewed (0)
  9. build-logic/documentation/src/test/groovy/gradlebuild/docs/UserGuideTransformTaskTest.groovy

    class UserGuideTransformTaskTest extends Specification {
    
        def replacesTabsWith4Spaces() {
            given:
            String content = "test\ttest\ttest"
            when:
            def actual = UserGuideTransformTask.normalise(content)
    
            then:
            actual == "test    test    test"
        }
    
        def usesUnixLineEndings() {
            given:
            String content = "test\r\ntest\r\ntest"
            when:
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Tue Jul 27 19:28:51 UTC 2021
    - 1.9K bytes
    - Viewed (0)
  10. src/test/java/jcifs/config/PropertyConfigurationTest.java

                new PropertyConfiguration(null);
            });
        }
    
        @Test
        @DisplayName("Should handle empty properties")
        void testEmptyProperties() throws CIFSException {
            // Given
            Properties emptyProps = new Properties();
    
            // When
            PropertyConfiguration emptyConfig = new PropertyConfiguration(emptyProps);
    
            // Then
            assertNotNull(emptyConfig);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.3K bytes
    - Viewed (0)
Back to top