- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 25 for olur (0.02 sec)
-
src/test/java/jcifs/dcerpc/ndr/NdrObjectTest.java
* @throws NdrException if encoding fails. */ @Test void testEncode() throws NdrException { // When ndrObject.encode(mockBuffer); // Then // Verify that our mock buffer had the expected method called. verify(mockBuffer).enc_ndr_long(123); } /** * Test case for the decode method. * Verifies that the decode method of a concrete implementation is calledRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 3.4K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/suggest/analysis/SuggestAnalyzerTest.java
List<AnalyzeToken> tokens = analyzer.analyzeAndReading(text, field, lang); assertNotNull(tokens); assertEquals(2, tokens.size()); // "Test123" and "ABC-456" (hyphen is not a split char in our tokenizer) assertEquals("Test123", tokens.get(0).getTerm()); assertEquals("ABC-456", tokens.get(1).getTerm()); assertEquals("TEST123", ((TestAnalyzeToken) tokens.get(0)).getReading());Registered: Sat Dec 20 13:04:59 UTC 2025 - Last Modified: Mon Sep 01 13:33:03 UTC 2025 - 15.7K bytes - Viewed (0) -
src/test/java/jcifs/internal/dfs/DfsReferralDataInternalTest.java
verify(mockReferralData, times(1)).getDomain(); // Test with concrete implementation String concreteDomain = concreteImplementation.getDomain(); // Should be DOMAIN based on our initialization assertEquals("DOMAIN", concreteDomain); } @Test @DisplayName("Should get link") void testGetLink() {
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 28.2K bytes - Viewed (0) -
src/main/java/jcifs/smb/SpnegoContext.java
} this.completed = true; } else if (this.mechContext.isMICAvailable() && (!this.disableMic || this.requireMic)) { // we need to send our final data mechMIC = calculateMechListMIC(); } else if (targ.getResult() == NegTokenTarg.REJECTED) { throw new SmbException("SPNEGO mechanism was rejected"); }Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 14.5K bytes - Viewed (0) -
src/test/java/jcifs/MsrpcDfsRootEnumTest.java
netdfs.DfsEnumArray200 emptyArray = new netdfs.DfsEnumArray200(); emptyArray.count = 0; emptyArray.s = new netdfs.DfsInfo200[0]; // Replace the info.e field with our empty array setDfsEnumArray(dfsRootEnum, emptyArray); // Test getEntries returns empty array FileEntry[] entries = dfsRootEnum.getEntries(); assertNotNull(entries);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.9K bytes - Viewed (0) -
src/test/java/jcifs/http/HandlerTest.java
return mock(HttpURLConnection.class); } }; URL url = new URL("http://custom.protocol/path"); // Configure the mock factory to return our handler for the 'http' protocol. when(mockFactory.createURLStreamHandler("http")).thenReturn(mockStreamHandler); Handler.setURLStreamHandlerFactory(mockFactory);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.1K bytes - Viewed (0) -
src/test/java/jcifs/SmbResourceLocatorTest.java
URL returned = loc.getURL(); if (returned != null) { assertEquals(url, returned.toString()); } // Test that getAddress returns null for our dummy implementation assertNull(loc.getAddress()); } @Test @DisplayName("Test DFS referral data") void testDfsReferralData() throws Exception {
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 8K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/trans2/Trans2FindFirst2Response.java
bufferIndex += e.getNextEntryOffset(); } setResults(results); /* * last nextEntryOffset for NT 4(but not 98) is 0 so we must * use dataCount or our accounting will report an error for NT :~( */ return getDataCount(); } @Override public String toString() { String c;Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 6.2K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/Trans2FindFirst2Response.java
resumeKey = e.fileIndex; } bufferIndex += e.nextEntryOffset; } /* last nextEntryOffset for NT 4(but not 98) is 0 so we must * use dataCount or our accounting will report an error for NT :~( */ //return bufferIndex - start; return dataCount; } @Override public String toString() { String c;Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 8.6K bytes - Viewed (0) -
src/test/java/jcifs/internal/witness/WitnessClientTest.java
WitnessRpcClient mockRpc = mock(WitnessRpcClient.class); lenient().when(mockRpc.register(any(WitnessRegisterRequest.class))).thenReturn(mockResponse); // Create a test witness client that uses our mock RPC client TestWitnessClient client = new TestWitnessClient(witnessServer, mockContext, mockRpc); TestNotificationListener listener = new TestNotificationListener();Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 23 09:06:40 UTC 2025 - 9.8K bytes - Viewed (0)