Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 391 - 400 of 621 for incorrectly (0.11 seconds)

  1. 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
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 8.9K bytes
    - Click Count (0)
  2. 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;
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 22.1K bytes
    - Click Count (0)
  3. tests/query_test.go

    		totalBatch += batch
    
    		if tx.RowsAffected != 2 {
    			t.Errorf("Incorrect affected rows, expects: 2, got %v", tx.RowsAffected)
    		}
    
    		if len(results) != 2 {
    			t.Errorf("Incorrect users length, expects: 2, got %v", len(results))
    		}
    
    		for idx := range results {
    			results[idx].Name = results[idx].Name + "_new"
    		}
    
    Created: Sun Dec 28 09:35:17 GMT 2025
    - Last Modified: Tue Jul 22 06:21:04 GMT 2025
    - 51K bytes
    - Click Count (0)
  4. src/test/java/jcifs/smb1/util/MimeMapTest.java

        class PerformanceTests {
    
            @Test
            @DisplayName("Should handle multiple lookups efficiently")
            void testMultipleLookups() throws IOException {
                // Test that multiple lookups work correctly
                for (int i = 0; i < 100; i++) {
                    assertEquals("application/pdf", mimeMap.getMimeType("pdf"));
                    assertEquals("text/html", mimeMap.getMimeType("html"));
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 9.1K bytes
    - Click Count (0)
  5. android/guava-testlib/src/com/google/common/testing/EqualsTester.java

                item + " must not be Object#equals to its Object#toString representation",
                !item.equals(item.toString()));
          }
        }
      }
    
      /**
       * Class used to test whether equals() correctly handles an instance of an incompatible class.
       * Since it is a private inner class, the invoker can never pass in an instance to the tester
       */
      private enum NotAnInstance {
        EQUAL_TO_NOTHING;
      }
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sat Aug 09 01:14:59 GMT 2025
    - 6.1K bytes
    - Click Count (0)
  6. guava-testlib/src/com/google/common/testing/EqualsTester.java

                item + " must not be Object#equals to its Object#toString representation",
                !item.equals(item.toString()));
          }
        }
      }
    
      /**
       * Class used to test whether equals() correctly handles an instance of an incompatible class.
       * Since it is a private inner class, the invoker can never pass in an instance to the tester
       */
      private enum NotAnInstance {
        EQUAL_TO_NOTHING;
      }
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sat Aug 09 01:14:59 GMT 2025
    - 6.1K bytes
    - Click Count (0)
  7. cmd/bitrot.go

    			return errFileCorrupt
    		}
    	}
    	return nil
    }
    
    // bitrotSelfTest performs a self-test to ensure that bitrot
    // algorithms compute correct checksums. If any algorithm
    // produces an incorrect checksum it fails with a hard error.
    //
    // bitrotSelfTest tries to catch any issue in the bitrot implementation
    // early instead of silently corrupting data.
    func bitrotSelfTest() {
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 7.7K bytes
    - Click Count (0)
  8. src/test/java/jcifs/internal/smb2/info/Smb2QueryInfoRequestTest.java

                byte[] actualFileId = (byte[]) fileIdField.get(request);
                assertArrayEquals(expectedFileId, actualFileId);
    
                // Verify outputBufferLength is calculated correctly
                Field outputBufferLengthField = Smb2QueryInfoRequest.class.getDeclaredField("outputBufferLength");
                outputBufferLengthField.setAccessible(true);
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 22.6K bytes
    - Click Count (0)
  9. fess-crawler/src/test/java/org/codelibs/fess/crawler/client/ftp/FtpClientTest.java

                assertTrue(e.getCause() instanceof InterruptedException);
            }
        }
    
        public void test_directory_child_urls() throws Exception {
            // Test that childUri (not typo chileUri) is correctly used in directory listing
            FtpServer server = null;
            try {
                String username = "testuser";
                String password = "testpass";
    Created: Sat Dec 20 11:21:39 GMT 2025
    - Last Modified: Mon Nov 24 03:59:47 GMT 2025
    - 21.5K bytes
    - Click Count (0)
  10. src/test/java/jcifs/smb1/smb1/SmbComNegotiateResponseTest.java

            // Assert that the correct number of bytes were read
            assertEquals(34, bytesRead);
    
            // Assert that the serverData fields are populated correctly
            assertEquals(0, response.dialectIndex);
            assertEquals(0x0F, serverData.securityMode);
            assertEquals(0x01, serverData.security);
            assertTrue(serverData.encryptedPasswords);
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 9.2K bytes
    - Click Count (0)
Back to Top