- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 90 for justru (2.18 sec)
-
src/test/java/jcifs/netbios/UniAddressTest.java
when(mockInetAddress.getHostName()).thenReturn("h.ostname"); UniAddress uniAddress = new UniAddress(mockInetAddress); // Dot at position 1, which is NOT > 1, so it doesn't substring, just uppercase assertEquals("H.OSTNAME", uniAddress.firstCalledName()); } } @Nested @DisplayName("nextCalledName method tests") class NextCalledNameTests {
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 16.4K bytes - Viewed (0) -
src/main/java/jcifs/util/transport/Transport.java
*/ public synchronized boolean disconnect(boolean hard, final boolean inUse) throws IOException { IOException ioe = null; switch (this.state) { case 0: /* not connected - just return */ case 5: case 6: return false; case 2: hard = true; case 3: /* connected - go ahead and disconnect */Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 27.8K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/lease/DirectoryLeasingIntegrationTest.java
readThreads[i] = new Thread(() -> { for (int j = 0; j < 100; j++) { List<DirectoryCacheEntry.FileInfo> children = entry.getChildren(); // Just read, don't assert specific counts due to race conditions assertNotNull(children); } }); readThreads[i].start(); }
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 23 01:47:47 UTC 2025 - 14.2K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbFile.java
* * @throws IOException thrown by {@code SmbFileInputStream} constructor */ @Override public InputStream getInputStream() throws IOException { return new SmbFileInputStream(this); } /** * This URLConnection method just returns a new {@code SmbFileOutputStream} created with this file. *Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 112.2K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/CrawlerThreadTest.java
method.setAccessible(true); method.invoke(crawlerThread, urlQueue, responseData); // Should not throw exception, just log } /** * Test run method with no URLs in queue. */ public void test_run_noUrlsInQueue() throws Exception { when(urlQueueService.poll(anyString())).thenReturn(null);
Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Mon Nov 24 03:59:47 UTC 2025 - 18.3K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/nego/Smb2NegotiateRequestTest.java
int contextOffset = SMBUtil.readInt4(buffer, 28); assertTrue(contextOffset > 0); // Skip detailed context verification since we can't access headerStart // Just verify that contexts were written assertTrue(bytesWritten > 60); // Should be larger than basic negotiate request } @Test @DisplayName("Should handle empty negotiate contexts array")
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 20.7K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/builder/RequestDataBuilderTest.java
assertEquals("https://second.com", data.getUrl()); assertEquals(2.0f, data.getWeight(), 0.001f); } public void test_minimalUsage() { // Test minimal usage (just URL) RequestData data = RequestDataBuilder.newRequestData().url("https://example.com").build(); assertNull(data.getMethod()); assertEquals("https://example.com", data.getUrl());
Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Mon Nov 24 03:59:47 UTC 2025 - 10.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/create/Smb2CreateResponseTest.java
SMBUtil.writeInt4(ctx.length, base, offsetFieldPos + 4); // Assemble full body: base (fixed-size fields only), but actual context bytes sit elsewhere in the full packet // Return just the base; caller is responsible for placing ctx at the correct absolute offset. // We will return a composite buffer from the test when building the full packet.
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.5K bytes - Viewed (0) -
src/test/java/jcifs/http/NtlmHttpURLConnectionTest.java
assertEquals(HTTP_UNAUTHORIZED, responseCode); // In a real scenario, the connection would reconnect and send Type1/Type3 messages // This simplified test just verifies the initial handshake detection } /** * Test handshake failure when the server does not return an NTLM challenge. * @throws IOException */ @Test
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 12.6K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/msrpc/lsarpcTest.java
assertEquals(2, sidArray.sids.length); assertNotNull(sidArray.sids[0]); assertNotNull(sidArray.sids[1]); // Cannot verify decode on non-mock objects - they are created by decode // Just verify they were created assertNotNull(sidArray.sids[0]); assertNotNull(sidArray.sids[1]); } @Test void testLsarSidArrayDecodeNullSids() throws NdrException {
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 60.8K bytes - Viewed (0)