- Sort Score
- Result 10 results
- Languages All
Results 61 - 70 of 346 for Given (0.9 sec)
-
src/test/java/jcifs/internal/smb2/tree/Smb2TreeConnectRequestTest.java
} @Test @DisplayName("Should create request with correct command type and path") void testConstructorSetsCorrectCommandAndPath() throws Exception { // Given & When String path = "\\\\testserver\\testshare"; Smb2TreeConnectRequest req = new Smb2TreeConnectRequest(mockConfig, path); // Then - verify command is set correctly using reflectionRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.6K bytes - Viewed (0) -
src/test/java/jcifs/smb/DosFileFilterTest.java
"1, 0, false", // No file attributes "0, 0, false" // No attributes on either }) void testAccept(int filterAttributes, int fileAttributes, boolean expectedResult) throws SmbException { // Given a DosFileFilter with specific attributes dosFileFilter = new DosFileFilter("*.*", filterAttributes); // and a mock SmbFile with specific attributes
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 6.2K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans/nt/SmbComNtCancelTest.java
} @Test @DisplayName("Should initialize with correct command and MID") void testConstructorInitialization() throws Exception { // Given int testMid = 42; // When Constructor<SmbComNtCancel> constructor = SmbComNtCancel.class.getDeclaredConstructor(Configuration.class, int.class); constructor.setAccessible(true);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 12.8K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/msrpc/MsrpcDfsRootEnumTest.java
/** * Test the constructor of MsrpcDfsRootEnum. * Verifies that the object is initialized with the correct default values. */ @Test void testConstructor() { // Given String serverName = "test-server"; // When MsrpcDfsRootEnum dfsRootEnum = new MsrpcDfsRootEnum(serverName); // ThenRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 3.5K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/DfsReferralTest.java
* It verifies that a new DfsReferral object is initialized with its 'next' * property pointing to itself. */ @Test void testDefaultConstructor() { // Given DfsReferral referral = new DfsReferral(); // When / Then assertNotNull(referral, "The DfsReferral object should not be null.");
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 2.8K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/service/UrlFilterService.java
* * @param sessionId the ID of the session for which to retrieve the include URL patterns * @return a list of compiled regular expression patterns representing the URLs to include */ List<Pattern> getIncludeUrlPatternList(String sessionId); /** * Retrieves a list of URL patterns to be excluded for a given session. *Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Sat Mar 15 06:52:00 UTC 2025 - 3.1K bytes - Viewed (0) -
src/test/java/jcifs/internal/CommonServerMessageBlockRequestTest.java
// Given when(request.split()).thenReturn(null); // When CommonServerMessageBlockRequest result = request.split(); // Then assertNull(result); verify(request, times(1)).split(); } @Test @DisplayName("Test size returns positive message size") void testSizeReturnsPositiveValue() { // Given int expectedSize = 1024;Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.1K bytes - Viewed (0) -
src/test/java/jcifs/internal/RequestTest.java
reset(request, response, context, disconnectRequest, nextRequest); } @Test @DisplayName("Test initResponse returns initialized response") void testInitResponse() { // Given when(request.initResponse(context)).thenReturn(response); // When CommonServerMessageBlockResponse result = request.initResponse(context); // Then assertNotNull(result);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.5K bytes - Viewed (0) -
src/test/java/jcifs/SmbTransportPoolTest.java
class GetSmbTransportTests { @Test @DisplayName("Should get transport by name with default parameters") void testGetSmbTransportByName() throws UnknownHostException, IOException { // Given when(transportPool.getSmbTransport(context, TEST_HOST, DEFAULT_PORT, false, false)).thenReturn(transport); // WhenRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 22.6K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/entity/ExtractData.java
} /** * Puts multiple values for a given key in the metadata. * * @param key the metadata key * @param values the values to associate with the key */ public void putValues(final String key, final String[] values) { metadata.put(key, values); } /** * Puts a single value for a given key in the metadata. * * @param key the metadata keyRegistered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Sat Sep 06 04:15:37 UTC 2025 - 3.8K bytes - Viewed (0)