- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 2,295 for _shouldn (0.09 seconds)
-
impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/UpgradeResultTest.java
assertTrue(result.success(), "Result should be successful when no errors"); assertEquals(2, result.processedCount(), "Should have 2 processed POMs"); assertEquals(1, result.modifiedCount(), "Should have 1 modified POM"); assertEquals(1, result.unmodifiedCount(), "Should have 1 unmodified POM"); assertEquals(0, result.errorCount(), "Should have no errors"); } @TestCreated: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Sat Jun 07 06:22:47 GMT 2025 - 9.4K bytes - Click Count (0) -
src/test/java/jcifs/dcerpc/DcerpcBindingTest.java
assertEquals(SERVER, dcerpcBinding.getServer(), "Server should match the constructor argument."); assertNull(dcerpcBinding.getOptions(), "Options should be null initially."); assertNull(dcerpcBinding.getEndpoint(), "Endpoint should be null initially."); assertNull(dcerpcBinding.getUuid(), "UUID should be null initially.");
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 8.5K bytes - Click Count (0) -
src/test/java/jcifs/smb1/smb1/SmbComNtTransactionTest.java
assertEquals(smbComNtTransaction.parameterOffset, SmbComTransaction.readInt4(dst, 23), "parameterOffset should be written correctly"); assertEquals(smbComNtTransaction.dataCount, SmbComTransaction.readInt4(dst, 27), "dataCount should be written correctly"); assertEquals(smbComNtTransaction.dataOffset, SmbComTransaction.readInt4(dst, 31), "dataOffset should be written correctly");
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 7.9K bytes - Click Count (0) -
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
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 8.5K bytes - Click Count (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. */ @TestCreated: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 3.8K bytes - Click Count (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() {Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Wed Jan 15 06:28:29 GMT 2025 - 5.8K bytes - Click Count (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)"); }
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 5.3K bytes - Click Count (0) -
src/test/java/jcifs/smb/SecurityBlobTest.java
// Assert assertNotNull(blob.get(), "get() should never return null for default instance"); assertEquals(0, blob.get().length, "Internal array should be empty"); assertEquals(0, blob.length(), "length() should be 0 for empty"); assertEquals("", blob.toString(), "toString() of empty should be empty string"); assertTrue(blob.equals(blob), "Object should be equal to itself");Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 9.4K bytes - Click Count (0) -
src/test/java/jcifs/smb1/smb1/Trans2QueryFSInformationResponseTest.java
assertTrue(infoString.contains("alloc=1000"), "toString should contain alloc"); assertTrue(infoString.contains("free=500"), "toString should contain free"); assertTrue(infoString.contains("sectPerAlloc=100"), "toString should contain sectPerAlloc"); assertTrue(infoString.contains("bytesPerSect=512"), "toString should contain bytesPerSect"); }
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 8.6K bytes - Click Count (0) -
api/maven-api-cli/src/main/java/org/apache/maven/api/cli/mvn/MavenOptions.java
/** * Indicates whether Maven should never fail the build, regardless of project result. * * @return an {@link Optional} containing true if the build should never fail, false if it should fail normally, or empty if not specified */ @Nonnull Optional<Boolean> failNever(); /** * Indicates whether Maven should resume from the last failed project in a previous build. *Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Wed Jun 11 13:14:09 GMT 2025 - 8K bytes - Click Count (0)