- Sort Score
- Result 10 results
- Languages All
Results 151 - 160 of 837 for certify (0.04 sec)
-
src/test/java/jcifs/internal/dfs/DfsReferralRequestBufferTest.java
buffer.encode(dst, 0); // Verify SMBUtil.writeInt2 was called for referral level (with long parameter) mockedSMBUtil.verify(() -> SMBUtil.writeInt2(eq((long) maxReferralLevel), any(byte[].class), eq(0))); // Verify SMBUtil.writeInt2 was called for null terminator mockedSMBUtil.verify(() -> SMBUtil.writeInt2(eq(0L), any(byte[].class), anyInt())); }
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 17.5K bytes - Viewed (0) -
src/test/java/jcifs/MsrpcQueryInformationPolicyTest.java
// Verify that the super constructor was called with the correct arguments // Note: Mockito cannot directly verify super constructor calls. // We assume if the object is created, the super constructor was called. // We can verify the state of the object after construction. // Verify ptype and flags are set correctlyRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 1.7K bytes - Viewed (0) -
src/test/java/jcifs/pac/PacConstantsTest.java
* This prevents accidental modification of these critical constants. */ @Test void testConstantValues() { // Verify the PAC version assertEquals(0, PacConstants.PAC_VERSION, "PAC_VERSION should be 0"); // Verify PAC buffer types assertEquals(1, PacConstants.LOGON_INFO, "LOGON_INFO should be 1");Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 2K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans/SmbComTransactionTest.java
@Test @DisplayName("Test constructor initialization") void testConstructor() { // Verify command and subcommand are set correctly assertEquals(SmbComTransaction.SMB_COM_TRANSACTION, transaction.getCommand()); assertEquals(SmbComTransaction.TRANS2_FIND_FIRST2, transaction.getSubCommand()); // Verify maxDataCount and maxParameterCount are initialized assertTrue(transaction.maxDataCount > 0);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.7K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/ndr/NdrLongTest.java
ndrLong.decode(mockNdrBuffer); // Verify that dec_ndr_long was called exactly once verify(mockNdrBuffer, times(1)).dec_ndr_long(); // Verify that the value field was updated correctly assertEquals(decodedValue, ndrLong.value, "Decode should correctly assign the value returned by dec_ndr_long."); // Verify that no other interactions occurred with the mock buffer
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 3.2K bytes - Viewed (0) -
src/test/java/jcifs/smb/FileEntryTest.java
assertEquals(12345L, size); // Verify precise interactions verify(mockEntry, times(1)).getName(); verify(mockEntry, times(2)).getType(); verify(mockEntry, times(1)).getAttributes(); verify(mockEntry, times(1)).createTime(); verify(mockEntry, times(1)).lastModified(); verify(mockEntry, times(1)).lastAccess(); verify(mockEntry, times(1)).length();
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/ioctl/SrvCopychunkTest.java
// Verify source offset assertEquals(sourceOffset, SMBUtil.readInt8(buffer, startIndex)); // Verify target offset assertEquals(targetOffset, SMBUtil.readInt8(buffer, startIndex + 8)); // Verify length assertEquals(length, SMBUtil.readInt4(buffer, startIndex + 16)); // Verify reserved bytes are zerosRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.4K bytes - Viewed (0) -
impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/UpgradeWorkflowIntegrationTest.java
// Execute apply goal int result = applyGoal.execute(context); // Verify success assertEquals(0, result, "Apply should succeed"); // Verify POM was upgraded String upgradedPom = Files.readString(pomFile); assertTrue( upgradedPom.contains("http://maven.apache.org/POM/4.1.0"),Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Wed Sep 17 10:01:14 UTC 2025 - 9.3K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/msrpc/MsrpcShareEnumTest.java
assertEquals(3, entries.length); // Verify disk share assertEquals("DiskShare", entries[0].getName()); assertEquals(8, entries[0].getType()); // TYPE_SHARE // Verify printer share assertEquals("PrinterShare", entries[1].getName()); assertEquals(32, entries[1].getType()); // TYPE_PRINTER (0x20) // Verify named pipe
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 8.1K bytes - Viewed (0) -
impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/CheckTest.java
.thenReturn(UpgradeResult.empty()); checkGoal.execute(context); // Verify that the Check-specific header is logged verify(context.logger).info("Maven Upgrade Tool - Check"); } finally { // Clean up - delete all files in the directory first try {
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Sat Jun 07 06:22:47 UTC 2025 - 4.9K bytes - Viewed (0)