Search Options

Results per page
Sort
Preferred Languages
Advance

Results 351 - 360 of 583 for incorrectly (0.08 sec)

  1. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/LookupInvokerLoggingTest.java

    import static org.junit.jupiter.api.Assertions.assertNull;
    
    /**
     * Test for logging configuration behavior in LookupInvoker.
     * This test verifies that the fix for GH-11199 works correctly.
     */
    class LookupInvokerLoggingTest {
    
        private String originalSystemProperty;
    
        @BeforeEach
        void setUp() {
            // Save original system property
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Oct 08 21:10:33 UTC 2025
    - 6.4K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/base/FunctionsTest.java

            .addEqualityGroup(Functions.constant("incorrect"))
            .addEqualityGroup(Functions.toStringFunction())
            .addEqualityGroup(g)
            .testEquals();
    
        new EqualsTester()
            .addEqualityGroup(g, Functions.<@Nullable Object>constant(null))
            .addEqualityGroup(Functions.constant("incorrect"))
            .addEqualityGroup(Functions.toStringFunction())
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Oct 28 16:03:47 UTC 2025
    - 16K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb1/smb1/Trans2QueryPathInformationResponseTest.java

                infoLevel.setAccessible(true);
                assertEquals(Trans2QueryPathInformationResponse.SMB_QUERY_FILE_BASIC_INFO, infoLevel.getInt(resp));
    
                // Verify subCommand is set correctly
                Field subCmd = SmbComTransactionResponse.class.getDeclaredField("subCommand");
                subCmd.setAccessible(true);
                assertEquals(SmbComTransaction.TRANS2_QUERY_PATH_INFORMATION, subCmd.getInt(resp));
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb1/trans/TransTransactNamedPipeResponseTest.java

        @Test
        void testConstructor() {
            // Verify that the response is created with correct configuration and buffer
            assertNotNull(response);
    
            // Use reflection to verify the outputBuffer is set correctly
            try {
                Field outputBufferField = TransTransactNamedPipeResponse.class.getDeclaredField("outputBuffer");
                outputBufferField.setAccessible(true);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.5K bytes
    - Viewed (0)
  5. internal/hash/checksum_test.go

    		t.Run(tt.name, func(t *testing.T) {
    			// Skip invalid cases where SHA1 or SHA256 is used with full object
    			if (tt.checksum.Is(ChecksumSHA1) || tt.checksum.Is(ChecksumSHA256)) && tt.fullobj {
    				// Validate that NewChecksumType correctly marks these as invalid
    				alg := tt.checksum.String()
    				typ := NewChecksumType(alg, xhttp.AmzChecksumTypeFullObject)
    				if !typ.Is(ChecksumInvalid) {
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Aug 22 14:15:21 UTC 2025
    - 7.1K bytes
    - Viewed (0)
  6. cmd/api-errors.go

    		Description:    "Error parsing the Credential/X-Amz-Credential parameter; incorrect service. This endpoint belongs to \"s3\".",
    		HTTPStatusCode: http.StatusBadRequest,
    	},
    	ErrInvalidServiceSTS: {
    		Code:           "AuthorizationParametersError",
    		Description:    "Error parsing the Credential parameter; incorrect service. This endpoint belongs to \"sts\".",
    		HTTPStatusCode: http.StatusBadRequest,
    	},
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Wed Apr 16 07:34:24 UTC 2025
    - 93K bytes
    - Viewed (3)
  7. okhttp/src/commonJvmAndroid/kotlin/okhttp3/MediaType.kt

          var s = typeSubtype.range.last + 1
          while (s < length) {
            val parameter = PARAMETER.matchAt(this, s)
            require(parameter != null) {
              "Parameter is not formatted correctly: \"${substring(s)}\" for: \"$this\""
            }
    
            val name = parameter.groups[1]?.value
            if (name == null) {
              s = parameter.range.last + 1
              continue
            }
    
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Tue May 27 14:51:08 UTC 2025
    - 5.9K bytes
    - Viewed (0)
  8. src/test/java/jcifs/RuntimeCIFSExceptionTest.java

            // The class should be serializable as it extends RuntimeException
            assertTrue(exception instanceof java.io.Serializable);
        }
    
        @Test
        @DisplayName("Should behave correctly in catch blocks")
        void testCatchBlockBehavior() {
            // Test that RuntimeCIFSException can be caught as RuntimeException
            assertThrows(RuntimeException.class, () -> {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.2K bytes
    - Viewed (0)
  9. src/test/java/jcifs/smb1/smb1/SmbComTransactionTest.java

        }
    
        @Test
        @DisplayName("Test transaction name handling")
        void testTransactionName() {
            assertEquals("\\PIPE\\test", transaction.name, "Transaction name should be set correctly");
    
            // Test with different name
            transaction.name = "\\MAILSLOT\\browse";
            assertEquals("\\MAILSLOT\\browse", transaction.name, "Transaction name should be changeable");
        }
    
        @Test
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb2/io/Smb2ReadResponseTest.java

            assertEquals(dataLength, largeResponse.getDataLength());
            assertEquals(dataRemaining, largeResponse.getDataRemaining());
        }
    
        @Test
        @DisplayName("Should handle empty data correctly")
        void testReadBytesWireFormatEmptyData() throws Exception {
            // Given
            byte[] buffer = new byte[256];
            int bodyStart = 0;
            int dataLength = 0;
            int dataRemaining = 0;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 22.1K bytes
    - Viewed (0)
Back to top