Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 11 - 20 of 1,082 for constants (0.13 seconds)

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

  1. api/maven-api-cli/src/main/java/org/apache/maven/api/cli/CoreExtensions.java

     * @param source The source file of core extensions, is never {@code null}.
     * @param coreExtensions The configured core extensions, is never {@code null}. Contents of list is guaranteed to be unique by GA.
     *
     * @see Constants#MAVEN_PROJECT_EXTENSIONS
     * @see Constants#MAVEN_USER_EXTENSIONS
     * @see Constants#MAVEN_INSTALLATION_EXTENSIONS
     */
    @Experimental
    public record CoreExtensions(Path source, List<CoreExtension> coreExtensions) {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Thu Mar 13 12:50:59 GMT 2025
    - 1.9K bytes
    - Click Count (0)
  2. src/test/java/org/codelibs/fess/mylasta/action/FessLabelsTest.java

                }
            }
    
            assertEquals("Should have exactly one serialVersionUID", 1, serialVersionUIDCount);
            assertTrue("Should have many label constants", labelConstantCount > 100);
        }
    
        /**
         * Test that label constant values match their field names
         */
        @Test
        public void test_labelConstantValueMatchesName() throws Exception {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 14K bytes
    - Click Count (0)
  3. src/test/java/org/codelibs/fess/sso/SsoResponseTypeTest.java

            assertEquals(logoutHashCode, SsoResponseType.LOGOUT.hashCode());
    
            // Different enum constants should have different hash codes (usually)
            assertNotSame(metadataHashCode, logoutHashCode);
        }
    
        @Test
        public void test_compareTo() {
            // Test compareTo method for enum constants
            assertEquals(0, SsoResponseType.METADATA.compareTo(SsoResponseType.METADATA));
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 6.3K bytes
    - Click Count (0)
  4. src/test/java/org/codelibs/fess/crawler/FessCrawlerThreadTest.java

        }
    
        /**
         * Test HTTP status code constants are defined correctly
         */
        @Test
        public void test_httpStatusCodeConstants() {
            // Verify the constants are accessible via reflection or by checking their usage
            // Since the constants are private, we test their values indirectly
    
            // The constants should match standard HTTP status codes
            // HTTP_STATUS_NOT_FOUND = 404
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 9.3K bytes
    - Click Count (0)
  5. src/test/java/jcifs/internal/smb2/Smb2ConstantsTest.java

        }
    
        @Nested
        @DisplayName("Header Constants")
        class HeaderConstants {
    
            @Test
            @DisplayName("SMB2 header length should be 64 bytes")
            void testSmb2HeaderLength() {
                assertEquals(64, Smb2Constants.SMB2_HEADER_LENGTH, "SMB2 header must be exactly 64 bytes");
            }
        }
    
        @Nested
        @DisplayName("Negotiation Constants")
        class NegotiationConstants {
    
            @Test
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 14.1K bytes
    - Click Count (0)
  6. src/test/java/jcifs/smb/WinErrorTest.java

        }
    
        @Test
        @DisplayName("Constants: values match Windows error codes")
        void constants_have_expected_values() {
            // Ensure each public constant has its documented numeric value (happy path)
            assertAll(() -> assertEquals(0, WinError.ERROR_SUCCESS), () -> assertEquals(5, WinError.ERROR_ACCESS_DENIED),
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 8.4K bytes
    - Click Count (0)
  7. src/test/java/jcifs/smb/RequestParamTest.java

        // Happy path: values() returns all constants in declaration order
        @Test
        @DisplayName("values() returns all declared constants in order")
        void valuesContainsAllInOrder() {
            RequestParam[] values = RequestParam.values();
    
            assertNotNull(values, "values() must not return null");
            assertEquals(4, values.length, "There must be exactly 4 constants");
            assertArrayEquals(
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 5.2K bytes
    - Click Count (0)
  8. src/test/java/jcifs/pac/kerberos/KerberosConstantsTest.java

        /**
         * This test primarily exists to ensure the constants interface can be loaded
         * and to provide a basic check of its values.
         * Since it's an interface with only static final fields, there is no complex logic to test.
         */
        @Test
        void testConstants() {
            // A simple assertion to verify that some of the constants have the expected values.
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 1.1K bytes
    - Click Count (1)
  9. src/test/java/org/codelibs/fess/sso/spnego/SpnegoAuthenticatorTest.java

            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)
            assertTrue(SpnegoAuthenticator.class.getName().contains("SpnegoAuthenticator"));
    
    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)
  10. src/test/java/jcifs/dcerpc/DcerpcConstantsTest.java

    import org.junit.jupiter.api.DisplayName;
    import org.junit.jupiter.api.Nested;
    import org.junit.jupiter.api.Test;
    
    @DisplayName("DcerpcConstants Tests")
    class DcerpcConstantsTest {
    
        @Nested
        @DisplayName("UUID Constants Tests")
        class UuidConstantsTests {
    
            @Test
            @DisplayName("DCERPC_UUID_SYNTAX_NDR should have correct UUID value")
            void testDcerpcUuidSyntaxNdr() {
                // Arrange
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 13.5K bytes
    - Click Count (0)
Back to Top