- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 698 for Given (0.12 sec)
-
src/test/java/jcifs/SmbResourceTest.java
} @Test @DisplayName("SmbResource should have all required methods") void testRequiredMethods() throws NoSuchMethodException { // Given Class<SmbResource> clazz = SmbResource.class; // When/Then - Verify essential methods exist assertNotNull(clazz.getMethod("getLocator"), "Should have getLocator method");
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 35K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/io/Smb2ReadResponseTest.java
} @Test @DisplayName("Should create response with configuration and output buffer") void testConstructor() { // Given byte[] buffer = new byte[512]; int offset = 10; // When Smb2ReadResponse resp = new Smb2ReadResponse(mockConfig, buffer, offset); // Then assertNotNull(resp);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 22.1K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbFileOutputStreamTest.java
lenient().when(mockTreeHandle.getConfig()).thenReturn(mockConfig); } @Test void testWriteSingleByte() throws IOException, CIFSException { // Given when(mockTreeHandle.isSMB2()).thenReturn(true); when(mockTreeHandle.getSendBufferSize()).thenReturn(65536);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.8K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/DcerpcBindTest.java
} @Test @DisplayName("Package constructor should initialize with binding and handle") void testPackageConstructor() throws Exception { // Given int maxXmit = 4096; int maxRecv = 4096; when(mockHandle.getMaxXmit()).thenReturn(maxXmit); when(mockHandle.getMaxRecv()).thenReturn(maxRecv); // When
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 22.7K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/nego/Smb2NegotiateRequestTest.java
assertTrue(request instanceof ServerMessageBlock2Request); } @Test @DisplayName("Should set DFS capability when enabled") void testDfsCapability() { // Given when(mockConfig.isDfsDisabled()).thenReturn(false); // When request = new Smb2NegotiateRequest(mockConfig, 0); // Then
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 20.7K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/it/CrawlTestBase.java
} protected static Response deleteMethod(final String path) { return given().contentType("application/json").header("Authorization", getTestToken()).delete(path); } protected static void deleteDocuments(final String queryString) { List<String> docIds = new ArrayList<>(); Response response = given().contentType("application/json") .param("scroll", "1m")
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 10K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/ndr/NdrShortTest.java
void testConstructorZero() { // Given/When: Creating NdrShort with zero NdrShort ndrShort = new NdrShort(0); // Then: Value should be zero assertEquals(0, ndrShort.value); } @Test @DisplayName("Should handle maximum byte value correctly") void testConstructorMaxByte() { // Given/When: Creating NdrShort with max byte value
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.2K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/notify/Smb2ChangeNotifyRequestTest.java
request = new Smb2ChangeNotifyRequest(mockConfig, testFileId); } @Test @DisplayName("Should create request with configuration and file ID") void testConstructor() { // Given Configuration config = mock(Configuration.class); when(config.getNotifyBufferSize()).thenReturn(8192); // When Smb2ChangeNotifyRequest req = new Smb2ChangeNotifyRequest(config, testFileId);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 17.1K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/Session.java
* <p> * Shortcut for {@code DependencyScope.forId(...)} with a verification that the given identifier exists. * * @param id the identifier of the scope (case-sensitive) * @return the scope for the given identifier (never null) * @throws IllegalArgumentException if the given identifier is not a known scope * * @see org.apache.maven.api.DependencyScope#forId(String) */
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Thu Jul 03 14:18:26 UTC 2025 - 36.5K bytes - Viewed (0) -
src/test/java/jcifs/DfsReferralDataTest.java
mockReferralData.next(); mockReferralData.getLink(); }); } @Test @DisplayName("Should get server") void testGetServer() { // Given String server = "testserver"; when(mockReferralData.getServer()).thenReturn(server); // When String result = mockReferralData.getServer(); // Then
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4.1K bytes - Viewed (0)