- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 337 for Given (1.43 sec)
-
src/test/java/jcifs/internal/smb2/ioctl/SrvCopychunkCopyTest.java
class ConstructorTests { @Test @DisplayName("Should create instance with source key and single chunk") void testConstructorWithSingleChunk() { // Given byte[] sourceKey = new byte[SOURCE_KEY_SIZE]; Arrays.fill(sourceKey, (byte) 0xAB); SrvCopychunk chunk = new SrvCopychunk(100, 200, 300); // WhenRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 23.1K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbSessionImplSecurityTest.java
} /** * Test that concurrent tree operations are thread-safe with CopyOnWriteArrayList. */ @Test public void testConcurrentTreeOperationsThreadSafe() throws Exception { // Given SmbSessionImpl session = new SmbSessionImpl(mockContext, "testhost", "testdomain", mockTransport); int threadCount = 10; int opsPerThread = 100;Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 11K 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/com/SmbComRenameTest.java
/** * Test constructor initialization with valid parameters */ @Test @DisplayName("Test constructor initializes fields correctly") public void testConstructor() throws Exception { // Given String oldFileName = "oldFile.txt"; String newFileName = "newFile.txt"; // When smbComRename = new SmbComRename(config, oldFileName, newFileName); // ThenRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.5K 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/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/internal/smb1/com/SmbComWriteAndXResponseTest.java
config = new PropertyConfiguration(new Properties()); } /** * Test of readParameterWordsWireFormat method */ @Test public void testReadParameterWordsWireFormat() { // Given byte[] buffer = new byte[] { (byte) 0xff, (byte) 0xff, 0, 0, 0, 0, 0, 0 }; SmbComWriteAndXResponse instance = new SmbComWriteAndXResponse(config); // When
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/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/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)