Search Options

Results per page
Sort
Preferred Languages
Advance

Results 201 - 210 of 3,084 for shouldn (0.14 sec)

  1. src/test/java/jcifs/internal/smb1/trans2/Trans2QueryPathInformationTest.java

            byte[] buffer = new byte[256];
            int written = trans2QueryPathInfo.writeSetupWireFormat(buffer, 0);
    
            // Should write 2 bytes: subcommand and 0x00
            assertEquals(2, written);
            assertEquals(SmbComTransaction.TRANS2_QUERY_PATH_INFORMATION, buffer[0]);
            assertEquals(0x00, buffer[1]);
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.4K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb1/smb1/NetShareEnumResponseTest.java

            assertEquals("Remark 1", share1.remark.trim(), "Share 1 remark should be correct.");
    
            SmbShareInfo share2 = (SmbShareInfo) response.results[1];
            assertEquals("IPC$", share2.getName().trim(), "Share 2 name should be correct.");
            assertEquals(3, share2.type, "Share 2 raw type should be 3.");
            assertEquals("Inter-Process Communication", share2.remark.trim(), "Share 2 remark should be correct.");
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.4K bytes
    - Viewed (0)
  3. src/test/java/jcifs/pac/kerberos/KerberosRelevantAuthDataTest.java

            assertNotNull(authorizations, "The authorizations list should not be null.");
            assertEquals(2, authorizations.size(), "The authorizations list should contain two elements.");
            assertTrue(authorizations.contains(mockAuthData1), "The list should contain the first mocked auth data.");
            assertTrue(authorizations.contains(mockAuthData2), "The list should contain the second mocked auth data.");
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9K bytes
    - Viewed (0)
  4. src/test/java/jcifs/dcerpc/DcerpcExceptionTest.java

            assertEquals(0, exception.getErrorCode(), "Error code should be 0 for message and cause constructor.");
            assertEquals(message, exception.getMessage(), "Message should match the input.");
            assertEquals(cause, exception.getCause(), "Cause should match the input.");
            assertEquals(cause, exception.getRootCause(), "getRootCause() should return the same cause as getCause().");
        }
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.8K bytes
    - Viewed (0)
  5. src/test/java/jcifs/spnego/SpnegoExceptionTest.java

        @Test
        @DisplayName("Should create SpnegoException with default constructor")
        void testDefaultConstructor() {
            // When
            SpnegoException ex = new SpnegoException();
    
            // Then
            assertNotNull(ex, "Exception should be created");
            assertNull(ex.getMessage(), "Default message should be null");
            assertNull(ex.getCause(), "Default cause should be null");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.9K bytes
    - Viewed (0)
  6. tests/connpool_test.go

    	db.Logger = DB.Logger
    	if err != nil {
    		t.Fatalf("Should open db success, but got %v", err)
    	}
    
    	tx := db.Begin()
    	user := *GetUser("transaction", Config{})
    
    	if err = tx.Save(&user).Error; err != nil {
    		t.Fatalf("No error should raise, but got %v", err)
    	}
    
    	if err = tx.First(&User{}, "name = ?", "transaction").Error; err != nil {
    		t.Fatalf("Should find saved record, but got %v", err)
    	}
    
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Sun May 25 07:40:40 UTC 2025
    - 5.5K bytes
    - Viewed (0)
  7. src/main/java/jcifs/SmbPipeResource.java

     *
     */
    public interface SmbPipeResource extends SmbResource {
    
        /**
         * The pipe should be opened read-only.
         */
    
        int PIPE_TYPE_RDONLY = SmbConstants.O_RDONLY;
    
        /**
         * The pipe should be opened only for writing.
         */
    
        int PIPE_TYPE_WRONLY = SmbConstants.O_WRONLY;
    
        /**
         * The pipe should be opened for both reading and writing.
         */
    
        int PIPE_TYPE_RDWR = SmbConstants.O_RDWR;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb2/tree/Smb2TreeDisconnectResponseTest.java

        }
    
        @Test
        @DisplayName("Should handle getNextResponse correctly")
        void testGetNextResponse() {
            // When
            CommonServerMessageBlockResponse nextResponse = response.getNextResponse();
    
            // Then - should return null as no next response is set
            assertEquals(null, nextResponse);
        }
    
        @Test
        @DisplayName("Should handle prepare method correctly")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.1K bytes
    - Viewed (0)
  9. android/guava-testlib/src/com/google/common/collect/testing/MinimalIterable.java

     * </ul>
     *
     * <p>Because of this situation, any public method accepting an iterable should invoke the {@code
     * iterator} method only once, and should be tested using this class. Exceptions to this rule should
     * be clearly documented.
     *
     * <p>Note that although your APIs should be liberal in what they accept, your methods which
     * <i>return</i> iterables should make every attempt to return ones of the robust variety.
     *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  10. guava-testlib/src/com/google/common/collect/testing/testers/MapPutTester.java

      public void testPut_supportedPresent() {
        assertEquals("put(present, value) should return the old value", v0(), getMap().put(k0(), v3()));
        expectReplacement(entry(k0(), v3()));
      }
    
      @MapFeature.Require(SUPPORTS_PUT)
      public void testPut_supportedNotPresent() {
        assertNull("put(notPresent, value) should return null", put(e3()));
        expectAdded(e3());
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 9.1K bytes
    - Viewed (0)
Back to top