- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 235 for interaction (0.78 seconds)
-
src/test/java/jcifs/smb/FileEntryTest.java
int apply(FileEntry e); } private interface LongGetter { long apply(FileEntry e); } // --- Mockito-based interaction tests --- @Test @DisplayName("Mocked FileEntry returns stubbed values and verifies interactions") void mockedEntry_happyPath_and_interactions() { // Arrange: stub all methods with representative values
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 10K bytes - Click Count (0) -
src/test/java/jcifs/internal/fscc/FileInformationTest.java
// Test interface method byte level = mockFileInfo.getFileInformationLevel(); assertEquals(FileInformation.FILE_BASIC_INFO, level); // Verify interaction verify(mockFileInfo).getFileInformationLevel(); } /** * Test FileInformation as Decodable */ @Test @DisplayName("Test FileInformation decode method")Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 11.5K bytes - Click Count (0) -
src/test/java/jcifs/smb/CredentialsInternalTest.java
if (tc == null) { throw new NullPointerException("tc"); } // Exercise interaction with dependency for verification purposes // These methods do not throw and allow interaction checks. tc.getConfig(); tc.getCredentials(); // Minimal behavior: return a mock SSPContext with lenient stubbing
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 9.9K bytes - Click Count (0) -
src/test/java/jcifs/smb/Kerb5ContextTest.java
void supportsIntegrity_alwaysTrue() { assertTrue(ctx.supportsIntegrity()); } @Test @DisplayName("calculateMIC returns value from GSS and verifies interaction") void calculateMIC_success() throws Exception { byte[] data = new byte[] { 1, 2, 3 }; byte[] mic = new byte[] { 9, 8 }; when(gssContext.getMIC(eq(data), eq(0), eq(3), any())).thenReturn(mic);
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 14.2K bytes - Click Count (0) -
src/test/java/jcifs/smb1/smb1/Trans2QueryPathInformationResponseTest.java
int result = resp.readDataWireFormat(buffer, 0, 50); assertEquals(0, result); assertNull(resp.info); } } @Nested @DisplayName("Mock Interaction Tests") class MockInteractionTests { @Test @DisplayName("Should interact with mock Info interface") void testMockInfoInteraction() { // Create a mock of the Info interface
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 11.5K bytes - Click Count (0) -
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(); }Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 9.9K bytes - Click Count (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 {
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 15.1K bytes - Click Count (0) -
docs/uk/docs/index.md
 * Потім натисніть кнопку "Execute", інтерфейс користувача зв'яжеться з вашим API, надішле параметри, отримає результати та покаже їх на екрані: 
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 18:27:41 GMT 2026 - 29.1K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/ds/DataStoreTest.java
assertEquals(3.14, captured.get("double")); assertNotNull(captured.get("map")); } @Test public void test_store_withCallbackInteraction() { // Test store with callback interaction final TestIndexUpdateCallback callback = new TestIndexUpdateCallback(); dataStore = new DataStore() { @Override
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Wed Jan 14 14:29:07 GMT 2026 - 13.2K bytes - Click Count (0) -
docs/ru/docs/index.md
 * Затем нажмите кнопку «Execute», интерфейс свяжется с вашим API, отправит параметры, получит результаты и отобразит их на экране: 
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 17:56:20 GMT 2026 - 30.4K bytes - Click Count (0)