- Sort Score
- Num 10 results
- Language All
Results 31 - 40 of 3,136 for Then (0.02 seconds)
-
src/test/java/jcifs/internal/SmbNegotiationRequestTest.java
@DisplayName("Test isSigningEnforced returns true when signing is enforced") void testIsSigningEnforcedReturnsTrue() { // Given when(negotiationRequest.isSigningEnforced()).thenReturn(true); // When boolean result = negotiationRequest.isSigningEnforced(); // Then assertTrue(result, "isSigningEnforced should return true when signing is enforced");Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 6.4K bytes - Click Count (0) -
src/test/java/jcifs/netbios/NameServiceClientImplTest.java
when(mockConfig.getNetbiosLocalAddress()).thenReturn(InetAddress.getByName("127.0.0.1")); when(mockConfig.getBroadcastAddress()).thenReturn(InetAddress.getByName("255.255.255.255")); when(mockConfig.getNetbiosSndBufSize()).thenReturn(576); when(mockConfig.getNetbiosRcvBufSize()).thenReturn(576);
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 11K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/tree/Smb2TreeDisconnectRequestTest.java
CIFSContext mockContext = mock(CIFSContext.class); when(mockContext.getConfig()).thenReturn(mockConfig); Smb2TreeDisconnectRequest request = new Smb2TreeDisconnectRequest(mockConfig); // When Smb2TreeDisconnectResponse response = request.createResponse(mockContext, request); // Then assertNotNull(response);
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 14.1K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb1/com/SmbComRenameTest.java
int dstIndex = 0; // When int result = smbComRename.writeBytesWireFormat(dst, dstIndex); // Then assertTrue(result > 0); assertEquals((byte) 0x04, dst[0]); // First buffer format byte // Find the second buffer format byte by searching for it // In Unicode mode, the old filename is written as Unicode, then 0x04, then an alignment byteCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 12.5K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessCurtainBeforeHookTest.java
TimeZone.setDefault(testTimeZone); // When DfFinalTimeZoneProvider provider = curtainBeforeHook.createFinalTimeZoneProvider(); // Then // Provider should still use FessUserTimeZoneProcessProvider.centralTimeZone // which was set when the class was loaded TimeZone providedTimeZone = provider.provide();
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 8.4K bytes - Click Count (0) -
src/test/java/jcifs/smb1/smb1/Trans2QueryPathInformationTest.java
// Given String filename = "testFile.txt"; int informationLevel = 0x0100; // SMB_QUERY_FILE_BASIC_INFO // When Trans2QueryPathInformation trans = new Trans2QueryPathInformation(filename, informationLevel); // Then assertEquals(filename, trans.path, "The path should be set correctly.");Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 5.8K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/notify/Smb2ChangeNotifyRequestTest.java
void testConstructor() { // Given Configuration config = mock(Configuration.class); when(config.getNotifyBufferSize()).thenReturn(8192); // When Smb2ChangeNotifyRequest req = new Smb2ChangeNotifyRequest(config, testFileId); // Then assertNotNull(req); assertTrue(req instanceof ServerMessageBlock2Request);
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 17.1K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/tree/Smb2TreeConnectRequestTest.java
byte[] buffer = new byte[256]; // When req.encode(buffer, 0); // Then assertEquals(0, SMBUtil.readInt2(buffer, Smb2Constants.SMB2_HEADER_LENGTH + 6)); // Path length should be 0 } @Test @DisplayName("Should handle null path") void testNullPath() { // When creating with null path
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 18.6K bytes - Click Count (0) -
android/guava/src/com/google/common/math/StatsAccumulator.java
* <p>If the dataset contains {@link Double#NaN} then the result is {@link Double#NaN}. If it * contains {@link Double#NEGATIVE_INFINITY} and not {@link Double#NaN} then the result is {@link * Double#NEGATIVE_INFINITY}. If it contains {@link Double#POSITIVE_INFINITY} and finite values * only then the result is the lowest finite value. If it contains {@link * Double#POSITIVE_INFINITY} only then the result is {@link Double#POSITIVE_INFINITY}. *Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Apr 14 16:36:11 GMT 2025 - 15.8K bytes - Click Count (0) -
src/test/java/jcifs/NetbiosNameTest.java
// Given when(mockNetbiosName.getNameType()).thenReturn(nameType); // When int result = mockNetbiosName.getNameType(); // Then assertEquals(nameType, result); } @Test @DisplayName("Should handle null name") void testNullName() { // Given when(mockNetbiosName.getName()).thenReturn(null); // WhenCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 8K bytes - Click Count (0)