- Sort Score
- Result 10 results
- Languages All
Results 1 - 7 of 7 for testWatch (0.39 sec)
-
src/test/java/jcifs/SmbWatchHandleTest.java
mockNotifications.add(fileNotifyInfo2); mockNotifications.add(fileNotifyInfo3); } /** * Test watch() method returning notifications */ @Test void testWatch() throws CIFSException { // Setup mock behavior when(watchHandle.watch()).thenReturn(mockNotifications); // Execute List<FileNotifyInformation> result = watchHandle.watch();
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 13.2K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans2/Trans2GetDfsReferralResponseTest.java
// Need to include space for actual string data int stringDataStart = 28; // After the referral structure String testPath = "\\server\\share"; byte[] pathBytes = testPath.getBytes(java.nio.charset.StandardCharsets.UTF_16LE); int bufferSize = stringDataStart + pathBytes.length + 2; // +2 for null terminator byte[] buffer = new byte[bufferSize];
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 19.4K bytes - Viewed (0) -
cmd/lock-rest-server-common_test.go
func TestLockRpcServerRemoveEntry(t *testing.T) { ctx, cancel := context.WithCancel(t.Context()) defer cancel() testPath, locker, _ := createLockTestServer(ctx, t) defer os.RemoveAll(testPath) lockRequesterInfo1 := lockRequesterInfo{ Owner: "owner", Writer: true, UID: "0123-4567", Timestamp: UTCNow().UnixNano(),
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Wed Apr 09 14:28:39 UTC 2025 - 3.2K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/SmbTreeTest.java
tree.connectionState = 2; // Connected state tree.tid = 123; tree.inDfs = true; // Create request with path ServerMessageBlock request = new SmbComOpenAndX("\\testPath", 0x01, 0, null); ServerMessageBlock response = new SmbComOpenAndXResponse(); // Execute send tree.send(request, response); // Verify session.send was called
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 10.2K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/tree/Smb2TreeConnectRequestTest.java
// Given - Path with various characters String testPath = "\\\\server\\test123"; Smb2TreeConnectRequest req = new Smb2TreeConnectRequest(mockConfig, testPath); byte[] buffer = new byte[512]; // When req.encode(buffer, 0); // Then - Verify UTF-16LE encoding byte[] expectedBytes = testPath.getBytes(StandardCharsets.UTF_16LE);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.6K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/job/ExecJobTest.java
assertSame(execJob, result); } // Test logFilePath setter public void test_logFilePath() { String testPath = "/path/to/log"; ExecJob result = execJob.logFilePath(testPath); assertEquals(testPath, execJob.logFilePath); assertSame(execJob, result); } // Test logLevel setter public void test_logLevel() {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 24.5K bytes - Viewed (0) -
docs/pl/docs/index.md
<small>* oszacowania bazowane na testach wykonanych przez wewnętrzny zespół deweloperów, budujących aplikacie używane na środowisku produkcyjnym.</small> ## Sponsorzy <!-- sponsors --> {% if sponsors %} {% for sponsor in sponsors.gold -%}
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Aug 31 10:49:48 UTC 2025 - 19.6K bytes - Viewed (0)