- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 4,281 for should (0.37 sec)
-
src/test/java/jcifs/smb/NtlmPasswordAuthenticatorSecurityTest.java
assertNotNull(password, "Password char array should not be null"); assertArrayEquals(testPassword.toCharArray(), password, "Password should match"); // Verify it returns a clone, not the original password[0] = 'X'; char[] password2 = authenticator.getPasswordAsCharArray(); assertNotEquals(password[0], password2[0], "Should return a clone, not the original"); } @Test
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 8.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/ServerMessageBlock2Test.java
@Test @DisplayName("Should create with configuration only") void testConstructorWithConfig() { ServerMessageBlock2 msg = new TestServerMessageBlock2(mockConfig); assertNotNull(msg); assertEquals(mockConfig, msg.getConfig()); assertEquals(0, msg.getCommand()); } @Test @DisplayName("Should create with configuration and command")Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 39.5K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/Trans2SetFileInformationResponseTest.java
* It should always return 0. */ @Test void testWriteSetupWireFormat() { byte[] dst = new byte[10]; // The method should not write anything and return 0 assertEquals(0, response.writeSetupWireFormat(dst, 0), "writeSetupWireFormat should return 0."); } /** * Test for the writeParametersWireFormat method. * It should always return 0. */ @TestRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 3.8K bytes - Viewed (0) -
impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/DomUtilsTest.java
assertTrue(nameIndex > 0, "Should contain name element"); assertTrue(descriptionIndex > 0, "Should contain description element"); assertTrue(propertiesIndex > 0, "Should contain properties element"); // According to ELEMENT_ORDER: name should come before description, and properties should come much later assertTrue(nameIndex < descriptionIndex, "name should come before description");Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Tue Nov 18 18:03:26 UTC 2025 - 31.3K bytes - Viewed (0) -
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: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.4K bytes - Viewed (0) -
api/maven-api-core/src/test/java/org/apache/maven/api/MonotonicClockTest.java
@DisplayName("MonotonicClock singleton instance should always return the same instance") void testSingletonInstance() { MonotonicClock clock1 = MonotonicClock.get(); MonotonicClock clock2 = MonotonicClock.get(); assertSame(clock1, clock2, "Multiple calls to get() should return the same instance"); } @Test @DisplayName("MonotonicClock should always use UTC timezone") void testClockTimezone() {Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Wed Jan 15 06:28:29 UTC 2025 - 5.8K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/suggest/SuggesterResourceLoadingTest.java
assertNotNull("Resource should exist", is); contentNew = new String(is.readAllBytes(), StandardCharsets.UTF_8); } // Verify content is valid JSON assertTrue("Content should start with {", contentNew.trim().startsWith("{")); assertTrue("Content should end with }", contentNew.trim().endsWith("}")); assertTrue("Content should be substantial", contentNew.length() > 100);
Registered: Sat Dec 20 13:04:59 UTC 2025 - Last Modified: Mon Nov 24 03:40:05 UTC 2025 - 9.6K bytes - Viewed (0) -
src/test/java/jcifs/util/SecureCredentialStorageTest.java
assertNotNull(encryptedStr, "Encrypted string should not be null"); assertFalse(encryptedStr.contains("TestPassword456"), "Plaintext should not be visible in encrypted string"); // Should be valid base64 assertTrue(encryptedStr.matches("^[A-Za-z0-9+/]*={0,2}$"), "Should be valid Base64 format"); // Decrypt from string
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 12.7K bytes - Viewed (0) -
src/test/java/jcifs/smb/SMBSignatureValidationExceptionTest.java
assertNull(ex.getMessage(), "Default ctor should not set a message"); assertNull(ex.getCause(), "Default ctor should not set a cause"); assertTrue(ex instanceof SmbException, "Should be an SmbException subtype"); // SmbException default ctor leaves status 0, which equals NT_STATUS_SUCCESS assertEquals(NtStatus.NT_STATUS_SUCCESS, ex.getNtStatus(), "Default status should be success (0)"); }
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.3K bytes - Viewed (0) -
src/test/java/jcifs/smb/DirFileEntryAdapterIteratorTest.java
assertTrue(iterator.hasNext(), "Should have first element"); SmbResource first = iterator.next(); assertNotNull(first, "First element should not be null"); assertEquals("file1.txt", first.getName()); assertTrue(iterator.hasNext(), "Should have second element"); SmbResource second = iterator.next(); assertNotNull(second, "Second element should not be null");
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 14.4K bytes - Viewed (0)