- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 247 for interactions (0.04 sec)
-
src/test/java/jcifs/pac/PacLogonInfoTest.java
assertNotNull(logonInfo.getGroupSids()); assertNotNull(logonInfo.getExtraSids()); assertNotNull(logonInfo.getResourceGroupSids()); // Verify mock interactions verify(logonInfo).getUserName(); verify(logonInfo).getDomainName(); verify(logonInfo).getServerName(); } @Test @DisplayName("Test date conversion from FILETIME")
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.3K bytes - Viewed (0) -
src/test/java/jcifs/smb/DirFileEntryEnumIteratorBaseTest.java
assertNotNull(e2); assertEquals("first", e1.getName()); assertEquals(acceptedName, e2.getName(), "Should return the first name accepted by filter"); // Verify filter interactions: not called for '.' and '..', called for others verify(nameFilter, never()).accept(parent, "."); verify(nameFilter, never()).accept(parent, "..");
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.5K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbFileInputStreamTest.java
assertEquals(0, in.skip(0)); assertEquals(0, in.skip(-1)); assertEquals(5, in.skip(5)); } } @Nested @DisplayName("SMB1 interactions") class Smb1Behavior { @Test @DisplayName("Named pipe: broken pipe maps to -1") void namedPipeBrokenPipeReturnsMinusOne() throws Exception {
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 12.8K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbWatchHandleImplTest.java
import jcifs.internal.NotifyResponse; import jcifs.internal.smb1.trans.nt.NtTransNotifyChange; import jcifs.internal.smb2.notify.Smb2ChangeNotifyRequest; /** * Tests for SmbWatchHandleImpl focusing on behavior and interactions. */ @ExtendWith(MockitoExtension.class) class SmbWatchHandleImplTest { @Mock SmbFileHandleImpl handle; @Mock SmbTreeHandleImpl tree;Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.5K bytes - Viewed (0) -
SECURITY.md
variables from your model are also going to be untrusted. That means that if your code interacts with the filesystem, network, etc. and uses checkpointed variables as part of those interactions (ex: using a string variable to build a filesystem path), a maliciously created checkpoint might be able to change the targets of those operations, which could result in arbitrary read/write/executions.
Registered: Tue Dec 30 12:39:10 UTC 2025 - Last Modified: Wed Oct 16 16:10:43 UTC 2024 - 9.6K bytes - Viewed (0) -
src/test/java/jcifs/http/NtlmHttpFilterTest.java
@Mock private ServletOutputStream servletOutputStream; @BeforeEach void setUp() throws Exception { filter = new NtlmHttpFilter(); // Setup lenient stubs for common mock interactions lenient().when(request.getSession()).thenReturn(httpSession); lenient().when(request.getSession(anyBoolean())).thenReturn(httpSession);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 21 04:51:33 UTC 2025 - 12.8K bytes - Viewed (0) -
src/test/java/jcifs/smb/DirFileEntryEnumIterator2Test.java
assertFalse(it.hasNext(), "Iterator should be exhausted"); // Close explicitly to exercise doCloseInternal it.close(); // Verify interactions: one create, two additional directory queries (for fetchMore), one close verify(tree, times(1)).send(argThat((Request<?> r) -> r instanceof Smb2CreateRequest));
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 13.7K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/TestThread.java
import org.jspecify.annotations.Nullable; /** * A helper for concurrency testing. One or more {@code TestThread} instances are instantiated in a * test with reference to the same "lock-like object", and then their interactions with that object * are choreographed via the various methods on this class. * * <p>A "lock-like object" is really any object that may be used for concurrency control. If theRegistered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Dec 11 21:00:51 UTC 2025 - 11.4K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbResourceLocatorImplTest.java
when(config.isIpcSigningEnforced()).thenReturn(true); when(creds.isAnonymous()).thenReturn(true); assertFalse(ipc.shouldForceSigning()); // Verify interactions sequence for one call InOrder inOrder = inOrder(config, creds); ipc = locator("smb://server/IPC$/"); ipc.shouldForceSigning(); inOrder.verify(config, atLeastOnce()).isIpcSigningEnforced();
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 17.6K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/ServiceManagerTest.java
assertFalse("stopAsync has deadlocked!.", stoppingThread.isAlive()); failLeave.countDown(); // release the background thread } /** * Catches a bug where when constructing a service manager failed, later interactions with the * service could cause IllegalStateExceptions inside the partially constructed ServiceManager. * This ISE wouldn't actually bubble up but would get logged by ExecutionQueue. This obfuscated
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Sep 22 17:49:12 UTC 2025 - 25.5K bytes - Viewed (0)