- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 408 for behaviour (0.07 sec)
-
src/test/java/jcifs/smb1/smb1/TransWaitNamedPipeResponseTest.java
* * 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> * </ul> */
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 5.4K bytes - Viewed (0) -
src/test/java/jcifs/smb1/dcerpc/ndr/NdrShortTest.java
import org.mockito.junit.jupiter.MockitoExtension; /** * Unit tests for {@link NdrShort}. The tests cover construction, * encoding and decoding logic, masking behaviour, alignment handling and * interaction with {@link NdrBuffer}. All public behaviour is exercised. */ @ExtendWith(MockitoExtension.class) class NdrShortTest { /** * A small reusable buffer for encode/decode tests. */
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.1K bytes - Viewed (0) -
samples/compare/src/test/kotlin/okhttp3/compare/ApacheHttpClientTest.kt
import org.junit.jupiter.api.Test /** * Apache HttpClient 5.x. * * https://hc.apache.org/httpcomponents-client-5.0.x/index.html * * Baseline test if we ned to validate OkHttp behaviour against other popular clients. */ class ApacheHttpClientTest { private val httpClient = HttpClients.createDefault() @StartStop private val server = MockWebServer() @AfterEach fun tearDown() {
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Jun 18 12:28:21 UTC 2025 - 2.1K bytes - Viewed (0) -
samples/compare/src/test/kotlin/okhttp3/compare/JettyHttpClientTest.kt
import org.junit.jupiter.api.Test /** * Jetty HTTP client. * * https://www.eclipse.org/jetty/documentation/current/http-client.html * * Baseline test if we ned to validate OkHttp behaviour against other popular clients. */ class JettyHttpClientTest { private val client = HttpClient() @StartStop private val server = MockWebServer() @BeforeEach fun setUp() { client.start() }
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Jun 18 12:28:21 UTC 2025 - 2.1K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/SmbConstantsTest.java
* * <p>Mockito is exercised in a dummy scenario to satisfy the * request for an interaction test. The mock represents a * {@code SmbTransport} collaborator and is used only for * demonstration – the real class behaviour is not required for * validating constants. */ public class SmbConstantsTest { /** * Verify that the hard‑coded default values are present. */ @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4.2K bytes - Viewed (0) -
samples/compare/src/test/kotlin/okhttp3/compare/JavaHttpClientTest.kt
import org.junit.jupiter.api.extension.RegisterExtension /** * Java HTTP Client. * * https://openjdk.java.net/groups/net/httpclient/intro.html * * Baseline test if we ned to validate OkHttp behaviour against other popular clients. */ class JavaHttpClientTest { @JvmField @RegisterExtension val platform = PlatformRule() @StartStop private val server = MockWebServer() @Test fun get() {
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Jun 18 12:28:21 UTC 2025 - 2.8K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/SmbSessionTest.java
import org.mockito.MockedStatic; import org.mockito.junit.jupiter.MockitoExtension; import jcifs.smb1.UniAddress; /** * Very small test suite that exercises the most important state-changing * behaviour of {@link SmbSession}. The tests use Mockito to stub the * heavy network interactions through {@link SmbTransport}. */ @ExtendWith(MockitoExtension.class) public class SmbSessionTest { @Mock
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.6K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/NtTransQuerySecurityDescTest.java
* The class under test contains a number of straightforward data‑layout * methods (writing parameters and handling empty wire formats) and an * informative {@link NtTransQuerySecurityDesc#toString()}. The tests * exercise normal behaviour, boundary values, and the interaction with * the underlying wire‑format helpers. */ @ExtendWith(MockitoExtension.class) class NtTransQuerySecurityDescTest { /**
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4.6K bytes - Viewed (0) -
guava/src/com/google/common/hash/Fingerprint2011.java
import com.google.common.annotations.VisibleForTesting; /** * Implementation of Geoff Pike's fingerprint2011 hash function. See {@link Hashing#fingerprint2011} * for information on the behaviour of the algorithm. * * <p>On Intel Core2 2.66, on 1000 bytes, fingerprint2011 takes 0.9 microseconds compared to * fingerprint at 4.0 microseconds and md5 at 4.5 microseconds. *
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Aug 11 19:31:30 UTC 2025 - 6.5K bytes - Viewed (0) -
src/test/java/jcifs/smb1/UniAddressTest.java
import org.mockito.junit.jupiter.MockitoExtension; import jcifs.smb1.netbios.NbtAddress; /** * Unit tests for {@link UniAddress}. The focus of these tests is on * the public API of {@code UniAddress} and its behaviour when provided * with different kinds of inputs. Many static helpers in {@code * UniAddress} are network dependent and therefore not exercised here – they * would require complex stubbing of static methods. Instead the tests
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7.9K bytes - Viewed (0)