- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 167 for interaction (1.69 sec)
-
src/test/java/jcifs/smb/JAASAuthenticatorTest.java
// Avoid real JAAS by stubbing getSubject doReturn(new Subject()).when(auth).getSubject(); // Act CredentialsInternal result = auth.renew(); // Assert interaction and return value assertSame(auth, result); verify(auth, times(1)).getSubject(); }Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 9.9K bytes - Viewed (0) -
src/test/java/jcifs/SmbResourceLocatorTest.java
assertEquals("server/", root.getName()); } } @Mock DfsReferralData dfs; @Mock Address addr; @Test @DisplayName("Mockito interaction – dependent objects are called appropriately") void testInteractionsWithStubbedDependencies() throws Exception { String url = "smb://server/share/";
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 8K bytes - Viewed (0) -
docs/SMB3_IMPLEMENTATION_PLAN.md
D --> F ``` ## Testing Strategy ### Unit Tests - Individual component testing for each feature - Mock-based testing for protocol interactions - State machine validation ### Integration Tests - Feature interaction testing - Network failure simulation - Performance benchmarking - Compatibility testing with Windows Server 2016/2019/2022 ### Test Infrastructure Requirements
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 02:53:50 UTC 2025 - 10.7K bytes - Viewed (0) -
src/test/java/jcifs/SmbTreeTest.java
assertThrows(NullPointerException.class, () -> smbTree.unwrap(null), "Should throw NullPointerException when type is null"); } /** * Test for method interaction. * Verifies that unwrap and close can be used in sequence. */ @Test void testMethodInteraction() { CustomSmbTree customTree = mock(CustomSmbTree.class);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.2K bytes - Viewed (0) -
src/test/java/jcifs/SmbSessionTest.java
session.getConfig(); } }, "Should propagate cleanup exceptions"); } } @Nested @DisplayName("Mock Interaction Tests") class MockInteractionTest { @Test @DisplayName("Should allow all methods to be mocked independently") void shouldAllowAllMethodsToBeMockedIndependently() throws Exception {
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.1K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbTreeHandleImplTest.java
void ensureDFSResolvedDelegates() throws Exception { // Confirms DFS resolution is delegated with the correct locator // Act handle.ensureDFSResolved(); // Assert & interaction verify verify(treeConnection).ensureDFSResolved(resourceLoc); } @Test @DisplayName("hasCapability delegates and propagates exceptions") void hasCapabilityDelegates() throws Exception {
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.4K bytes - Viewed (0) -
src/test/java/jcifs/smb/SIDCacheImplTest.java
assertEquals("Domain Users", s2.getAccountName()); assertEquals("TESTDOM", s2.getDomainName()); assertEquals(jcifs.SID.SID_TYPE_DOM_GRP, s2.getType()); // Interaction: sendrecv invoked exactly once verify(handle, times(1)).sendrecv(any(jcifs.dcerpc.msrpc.MsrpcLookupSids.class)); } @ParameterizedTestRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbRandomAccessFileTest.java
assertThrows(NullPointerException.class, () -> raf.writeChars(null)); assertThrows(NullPointerException.class, () -> raf.writeUTF(null)); } // Small reflection helpers to access private fields for interaction verification private static Object getField(Object target, String name) { try { var f = target.getClass().getDeclaredField(name); f.setAccessible(true);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.1K bytes - Viewed (0) -
CLAUDE.md
--- ## Architecture ### Module Structure ``` fess-crawler-parent/ ├── fess-crawler/ # Core framework ├── fess-crawler-lasta/ # LastaFlute DI integration └── fess-crawler-opensearch/ # OpenSearch backend ``` ### Key Design Patterns **Factory**: `CrawlerClientFactory`, `ExtractorFactory` - protocol/format-specific component selection
Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Fri Nov 28 17:31:34 UTC 2025 - 10.7K bytes - Viewed (0) -
src/test/java/jcifs/smb/NetServerFileEntryAdapterIteratorTest.java
assertTrue(r.getName().startsWith("OKSERVER"), "Expected valid entry to be adapted"); assertFalse(itr.hasNext()); } @Test @DisplayName("Filter rejects first, accepts second; interactions verified") void filterRejectsThenAccepts_nextYieldsAccepted() throws Exception { // Arrange: two entries; filter rejects first, accepts second setupParentForUrlCreation();
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7.9K bytes - Viewed (0)