Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 371 - 380 of 621 for incorrectly (0.1 seconds)

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

            assertEquals("-", ConsoleIcon.DETAIL.getAsciiFallback());
            assertEquals(">", ConsoleIcon.ACTION.getAsciiFallback());
        }
    
        @Test
        @DisplayName("should handle different charset encodings correctly")
        void shouldHandleDifferentCharsetEncodingsCorrectly() {
            Terminal mockTerminal = mock(Terminal.class);
    
            // Test with ISO-8859-1 (Latin-1) - should support some but not all Unicode chars
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Jul 15 09:35:08 GMT 2025
    - 6.8K bytes
    - Click Count (0)
  2. cmd/erasure-object-conditional_test.go

    	"context"
    	"testing"
    
    	xhttp "github.com/minio/minio/internal/http"
    )
    
    // TestPutObjectConditionalWithReadQuorumFailure tests that conditional
    // PutObject operations (with if-match/if-none-match) behave correctly when read quorum
    // cannot be reached.
    //
    // Related to: https://github.com/minio/minio/issues/21603
    //
    // Should return an error when read quorum cannot
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Oct 24 04:05:31 GMT 2025
    - 4.9K bytes
    - Click Count (0)
  3. cmd/api-response_test.go

    	}
    	body, err := io.ReadAll(resp.Body)
    	if err != nil {
    		t.Fatalf("reading response body failed: %v", err)
    	}
    	if string(body) != "hello" {
    		t.Fatalf("response body incorrect: %v", string(body))
    	}
    
    	// Check that Unwrap works
    	if trw.Unwrap() != rw {
    		t.Fatalf("Unwrap returned wrong result: %v", trw.Unwrap())
    	}
    }
    
    func TestHeadersAlreadyWritten(t *testing.T) {
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Oct 24 04:05:19 GMT 2025
    - 5.8K bytes
    - Click Count (0)
  4. internal/mountinfo/mountinfo_linux.go

    	for {
    		line, err := scanner.ReadString('\n')
    		if err == io.EOF {
    			break
    		}
    
    		fields := strings.Fields(line)
    		if len(fields) != expectedNumFieldsPerLine {
    			// ignore incorrect lines.
    			continue
    		}
    
    		// Freq should be an integer.
    		if _, err := strconv.Atoi(fields[4]); err != nil {
    			return nil, err
    		}
    
    		// Pass should be an integer.
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Tue Feb 18 16:25:55 GMT 2025
    - 4.7K bytes
    - Click Count (0)
  5. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/links/ClassLinkMetaData.java

                        method, className, CollectionUtils.join(", ", candidates));
                message += "\nThis problem may happen when some apilink from docbook template xmls is incorrect. Example:"
                        + "\nIncorrect: <apilink class=\"org.gradle.api.Project\" method=\"tarTree\"/>"
                        + "\nCorrect:   <apilink class=\"org.gradle.api.Project\" method=\"tarTree(Object)\"/>";
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Fri Apr 11 11:17:34 GMT 2025
    - 7.4K bytes
    - Click Count (0)
  6. 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));
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 11.5K bytes
    - Click Count (0)
  7. 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);
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 9.5K bytes
    - Click Count (0)
  8. 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) {
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 22 14:15:21 GMT 2025
    - 7.1K bytes
    - Click Count (0)
  9. ci/official/utilities/setup.sh

      source ./ci/official/envs/ci_default
    
      # TODO(angerson) write this documentation
      # Sources every env, in order, from the comma-separated list "TFCI"
      # Assumes variables will resolve themselves correctly.
      set +u
      for env_file in ${TFCI//,/ }; do
        source "./ci/official/envs/$env_file"
      done
      set -u
      echo '==TFCI==: Evaluated the following TFCI variables from $TFCI:'
      export -p | grep TFCI
    
    Created: Tue Dec 30 12:39:10 GMT 2025
    - Last Modified: Thu Jan 09 18:37:25 GMT 2025
    - 6.2K bytes
    - Click Count (0)
  10. src/test/java/jcifs/smb1/smb1/Trans2FindNext2Test.java

    import org.junit.jupiter.api.Test;
    
    /**
     * Unit tests for the Trans2FindNext2 class.
     */
    class Trans2FindNext2Test {
    
        /**
         * Verifies constructor initializes protocol fields and limits correctly.
         */
        @Test
        void testConstructorInitializesFields() {
            // Given
            int sid = 0x2222;
            int resumeKey = 0x12345678;
            String filename = "dir\\pattern*";
    
            // When
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 6.9K bytes
    - Click Count (0)
Back to Top