- Sort Score
- Num 10 results
- Language All
Results 21 - 30 of 110 for snappy (0.05 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
src/test/java/jcifs/smb/SmbResourceLocatorInternalTest.java
assertEquals(0, m3.getExceptionTypes().length); // Package check to ensure we are validating the correct type assertEquals("jcifs.smb", clazz.getPackage().getName()); } // Happy path: shouldForceSigning returns the configured value @ParameterizedTest @ValueSource(booleans = { true, false }) @DisplayName("shouldForceSigning returns stubbed boolean value")
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 6.9K bytes - Click Count (0) -
mockwebserver/src/main/kotlin/mockwebserver3/Dispatcher.kt
* be received. The default implementation returns an empty response. Mischievous implementations * can return other values to test HTTP edge cases, such as unhappy socket policies or throttled * request bodies. */ public open fun peek(): MockResponse = MockResponse() /** * Release any resources held by this dispatcher. Any requests that are currently being dispatched
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Fri Jun 20 11:46:46 GMT 2025 - 1.6K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/Callback.kt
* body on another thread. * * Note that transport-layer success (receiving a HTTP response code, headers and body) does not * necessarily indicate application-layer success: `response` may still indicate an unhappy HTTP * response code like 404 or 500. */ @Throws(IOException::class) fun onResponse( call: Call, response: Response, )
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Fri Dec 27 13:39:56 GMT 2024 - 1.6K bytes - Click Count (0) -
src/test/java/jcifs/smb/WinErrorTest.java
if (codes[i] == code) { return Optional.of(msgs[i]); } } return Optional.empty(); } // Producer for code->message pairs covering all known constants (happy path) static Stream<Arguments> knownCodeMessagePairs() { return Stream.of(Arguments.of(WinError.ERROR_SUCCESS, "The operation completed successfully."),
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 8.4K bytes - Click Count (0) -
src/test/java/jcifs/smb/RequestParamTest.java
import org.mockito.junit.jupiter.MockitoExtension; /** * Tests for {@link RequestParam} covering enum mechanics and edge cases. */ @ExtendWith(MockitoExtension.class) public class RequestParamTest { // Happy path: values() returns all constants in declaration order @Test @DisplayName("values() returns all declared constants in order") void valuesContainsAllInOrder() { RequestParam[] values = RequestParam.values();Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 5.2K bytes - Click Count (0) -
src/test/java/jcifs/smb/SessionSetupHandlerTest.java
} @ParameterizedTest(name = "Implementation is instance: {0}") @MethodSource("implementations") @DisplayName("Happy path: can create implementations and use type checks") void testImplementationsAreUsable(SessionSetupHandler impl) { // Arrange is provided by method source // Act & AssertCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 4.3K bytes - Click Count (0) -
src/test/java/jcifs/SmbResourceLocatorTest.java
public class SmbResourceLocatorTest { /** * A very small concrete implementation used only by the tests. It parses * the URL string and performs minimal validation – just enough to make the * happy-path expectations deterministic. */ private static class DummySmbResourceLocator implements SmbResourceLocator { private final String urlStr; private final String host;Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 8K bytes - Click Count (0) -
src/test/java/jcifs/smb/SMBSignatureValidationExceptionTest.java
import org.junit.jupiter.params.provider.ValueSource; import org.mockito.junit.jupiter.MockitoExtension; @ExtendWith(MockitoExtension.class) class SMBSignatureValidationExceptionTest { // Happy path: default constructor creates an exception with no message/cause @Test @DisplayName("Default ctor: null message/cause and success status") void defaultConstructor_hasNullMessageAndCause_andDefaultStatus() {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 5.3K bytes - Click Count (0) -
src/test/java/jcifs/smb/SmbFilenameFilterTest.java
* including normal operation, null handling, edge cases, and exception flow. */ @ExtendWith(MockitoExtension.class) class SmbFilenameFilterTest { @Mock SmbFile mockDir; /** * Happy-path: a filter that accepts any name. */ @ParameterizedTest @DisplayName("accepts any non-null/any string") @ValueSource(strings = { "file.txt", "data.DAT", "a", "x.y.z", " spaced " })Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 7.3K bytes - Click Count (0) -
guava-gwt/src/com/google/common/base/Base.gwt.xml
tests, either. This causes it to fail to find AtomicLongMapTest. Our workaround is to tell GWT that util.concurrent and all other packages have prod supersource, even if they have none. GWT is happy to ignore us when we specify a nonexistent path. (I hope that this workaround does not cause its own problems in the future.) --> <super-source path="super"/>Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Jul 19 16:02:36 GMT 2024 - 1.4K bytes - Click Count (0)