- Sort Score
- Result 10 results
- Languages All
Results 271 - 280 of 889 for certify (0.14 sec)
-
src/test/java/jcifs/internal/smb1/AndXServerMessageBlockTest.java
int length = testBlock.readAndXWireFormat(buffer, 0); assertTrue(length > 0); verify(mockAndxCommand).setCommand((byte) 0x42); verify(mockAndxCommand).setUseUnicode(anyBoolean()); // For non-AndX commands, the implementation calls received() instead of read methods verify(mockAndxCommand).received(); } @Test @DisplayName("Test readAndXWireFormat with error code")Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 19.4K bytes - Viewed (0) -
src/test/java/jcifs/smb/SIDCacheImplTest.java
// Resolve first two entries cache.resolveSids(ctx, null, arr, 0, 2); // Verify resolveSids0 called exactly once with the two SIDs needing resolution ArgumentCaptor<SID[]> captor = ArgumentCaptor.forClass(SID[].class); verify(cache, times(1)).resolveSids0(isNull(), same(ctx), captor.capture()); SID[] resolvedFirst = captor.getValue();Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/exec/CrawlerTest.java
Crawler.Options options = new Crawler.Options(); options.sessionId = "test-session"; options.propertiesPath = propFile.getAbsolutePath(); // Verify the properties path is set assertEquals(propFile.getAbsolutePath(), options.propertiesPath); assertTrue(new File(options.propertiesPath).exists()); }Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 30.5K bytes - Viewed (0) -
src/test/java/jcifs/http/NtlmHttpServletRequestTest.java
when(mockPrincipal.getName()).thenReturn(expectedUserName); // Act: Call the method under test String actualUserName = ntlmRequest.getRemoteUser(); // Assert: Verify that the returned user name is the expected one assertEquals(expectedUserName, actualUserName, "getRemoteUser should return the principal's name."); } /**
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 21 04:51:33 UTC 2025 - 2.7K bytes - Viewed (0) -
src/test/java/jcifs/EmptyIteratorTest.java
assertNull(emptyIterator.next(), "This implementation returns null instead of throwing"); // Verify remove can be called (even though no-op) assertDoesNotThrow(() -> emptyIterator.remove(), "remove() should be safe to call"); // Verify still empty after operations assertFalse(emptyIterator.hasNext(), "Should remain empty after operations"); }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/create/CreateContextResponseTest.java
int dataLength = 200; contextResponse.decode(dataBuffer, dataOffset, dataLength); // Verify assertArrayEquals(nameBytes, contextResponse.getName()); assertEquals(dataLength, contextResponse.getData().length); // Verify data content for (int i = 0; i < dataLength; i++) {Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 16.2K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/script/ScriptEngineFactoryTest.java
scriptEngineFactory.add("testEngine", engine); // Verify engine is accessible by name ScriptEngine retrieved = scriptEngineFactory.getScriptEngine("testengine"); assertNotNull(retrieved); assertEquals(engine, retrieved); // Verify engine is accessible by class simple name
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 12.1K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/TransWaitNamedPipeResponseTest.java
* <li>string representation containing the class name</li> * <li>null buffer handling</li> * </ul> */ final class TransWaitNamedPipeResponseTest { /** * Verify that the default constructor creates an instance. */ @Test void constructorInitialisesInstance() { // Arrange & Act TransWaitNamedPipeResponse resp = new TransWaitNamedPipeResponse();
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 5.4K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbRenewableCredentialsTest.java
// Act: invoke renew() CredentialsInternal result = renewable.renew(); // Assert: verify interaction and returned value verify(renewable, times(1)).renew(); assertSame(returned, result, "renew() should return the stubbed value"); // Negative interaction check: no further interactions with the mock verifyNoMoreInteractions(renewable); }Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/lock/Smb2LockRequestTest.java
int bytesWritten = req.writeBytesWireFormat(buffer, 0); // Verify structure assertEquals(48, SMBUtil.readInt2(buffer, 0)); // Structure size assertEquals(1, SMBUtil.readInt2(buffer, 2)); // Lock count // Verify lock sequence (bits 4-7 are sequence number, bits 0-27 are index) int lockSequence = SMBUtil.readInt4(buffer, 4);Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 25.3K bytes - Viewed (0)