- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 93 for focusin (0.03 sec)
-
src/test/java/jcifs/smb1/smb1/WinErrorTest.java
import org.junit.jupiter.api.Nested; import org.junit.jupiter.api.Test; import org.mockito.Mockito; /** * Tests for {@link WinError} interface constants and static arrays. * The interface has no instance methods, so the tests focus on * value correctness and array integrity. A tiny Mockito example * demonstrates that the interface can be mocked if another class * depends on it. */ public class WinErrorTest { @NestedRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 2.7K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/SmbFileFilterTest.java
import org.junit.jupiter.api.DisplayName; import org.junit.jupiter.api.Nested; import org.junit.jupiter.api.Test; /** * Unit tests for {@link SmbFileFilter}. The filter interface is small; the * tests focus on the contract that implementations should honour and the * interaction with {@link SmbFile} instances. The tests make heavy use of * Mockito to guarantee that implementation classes do not inadvertently * bypass the filter logic.Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 3.2K 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) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/ModelProblemCollector.java
* an expressive source hint for the model problem. Instead, the source hint is configured by the model builder before * it delegates to other components that potentially encounter problems. Then, the problem reporter can focus on * providing a simple error message, leaving the donkey work of creating a nice model problem to this component. * */ public interface ModelProblemCollector { ProblemCollector<ModelProblem> getProblemCollector();Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Thu Dec 19 14:50:21 UTC 2024 - 2.9K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/BufferCacheSecurityTest.java
import java.util.concurrent.Executors; import java.util.concurrent.TimeUnit; import java.util.concurrent.atomic.AtomicInteger; import org.junit.jupiter.api.Test; /** * Security-focused test cases for BufferCache to verify buffer overflow protection. */ public class BufferCacheSecurityTest { /** * Test that buffer allocation validates size to prevent overflow. */ @TestRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 9.6K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/com/SmbComSetInformationResponseTest.java
import org.mockito.Mock; import org.mockito.junit.jupiter.MockitoExtension; import jcifs.Configuration; /** * Tests for {@link SmbComSetInformationResponse}. * * Tests focus on the wire format methods which all return 0, * and the toString method implementation. */ @ExtendWith(MockitoExtension.class) @DisplayName("SmbComSetInformationResponse tests")Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 4.1K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbSessionImplSecurityTest.java
import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; import org.mockito.Mockito; import jcifs.CIFSContext; import jcifs.Configuration; import jcifs.Credentials; /** * Security-focused test cases for SmbSessionImpl to verify race condition fixes. */ public class SmbSessionImplSecurityTest { private CIFSContext mockContext; private SmbTransportImpl mockTransport;Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 11K bytes - Viewed (0) -
docs/en/docs/tutorial/dependencies/index.md
## First Steps { #first-steps } Let's see a very simple example. It will be so simple that it is not very useful, for now. But this way we can focus on how the **Dependency Injection** system works. ### Create a dependency, or "dependable" { #create-a-dependency-or-dependable } Let's first focus on the dependency. It is just a function that can take all the same parameters that a *path operation function* can take:Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sun Aug 31 09:15:41 UTC 2025 - 9.6K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbPipeOutputStreamTest.java
void close_doesNothing() throws Exception { // Arrange SmbPipeOutputStream out = newStream(); // constructor already calls handle.getPipe(); clear interactions to focus on close() clearInvocations(handle); // Act out.close(); // Assert verifyNoInteractions(handle); } @Nested
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.4K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/TransWaitNamedPipeResponseTest.java
/** * Unit tests for {@link TransWaitNamedPipeResponse}. * * The implementation contains only trivial methods that return {@code 0} * or construct a string representation. The tests focus on: * * <ul> * <li>happy‑path behaviour</li> * <li>boundary arguments (e.g., negative indices, large values)</li> * <li>string representation containing the class name</li> * <li>null buffer handling</li>Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 5.4K bytes - Viewed (0)