- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 604 for Ensure (0.09 sec)
-
android-test/src/test/kotlin/okhttp/android/test/DisabledInitialiserTest.kt
import org.robolectric.annotation.Config @RunWith(RobolectricTestRunner::class) @Config( sdk = [23, 26, 30, 33, 35], ) class DisabledInitialiserTest { @Before fun setContext() { // Ensure we aren't succeeding because of another test Platform.resetForTests() PlatformRegistry.applicationContext = null } @Test fun testWithoutContext() {
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sat Aug 30 16:25:39 UTC 2025 - 2.1K bytes - Viewed (0) -
src/test/java/jcifs/smb1/dcerpc/ndr/NdrHyperTest.java
} /** * Ensure encode throws NPE when passed a null buffer. */ @Test @DisplayName("Encode with null buffer throws NullPointerException") public void testEncodeNullBuffer() throws NdrException { NdrHyper hyper = new NdrHyper(5L); assertThrows(NullPointerException.class, () -> hyper.encode(null)); } /** * Ensure decode throws NPE when passed a null buffer.
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4.3K bytes - Viewed (0) -
src/test/java/jcifs/internal/witness/WitnessRegistrationTest.java
assertTrue(seq3 > seq2); } @Test void testHeartbeatUpdate() throws InterruptedException { long initialTime = registration.getLastHeartbeat(); Thread.sleep(50); // Ensure sufficient time difference registration.updateHeartbeat(); // After update, should not be expired with long timeout assertFalse(registration.isExpired(60000));
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 23 09:06:40 UTC 2025 - 5.1K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/Request.java
* <li>Performance monitoring of nested operations</li> * </ul> * * <p>This interface is designed to be extended by specific request types that handle * different Maven operations. All implementations must be immutable to ensure thread safety * and predictable behavior in concurrent environments. * * @param <S> the type of ProtoSession associated with this request, allowing for
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Fri Feb 07 00:45:02 UTC 2025 - 4K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/lease/LeaseManagerTest.java
Thread.sleep(5); // Small delay to ensure different timestamps Smb2LeaseKey key2 = limitedManager.requestLease("/share/file2.txt", Smb2LeaseState.SMB2_LEASE_READ_CACHING); Thread.sleep(5); // Small delay to ensure different timestamps
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 21 00:16:17 UTC 2025 - 13.2K bytes - Viewed (0) -
src/test/java/jcifs/context/CIFSContextWrapperTest.java
// Mocking SmbFile constructor is tricky, so we'll just verify the call to the delegate // and ensure no exception is thrown for a valid URL. // The actual SmbFile creation is outside the scope of this wrapper's direct responsibility. // For coverage, we'll ensure the method doesn't throw MalformedURLException for a valid URL // and that it attempts to create an SmbFile.
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.7K bytes - Viewed (0) -
okhttp/okhttp3.pro
# JSR 305 annotations are for embedding nullability information. -dontwarn javax.annotation.** # Animal Sniffer compileOnly dependency to ensure APIs are compatible with older versions of Java. -dontwarn org.codehaus.mojo.animal_sniffer.* # OkHttp platform used only on JVM and when Conscrypt and other security providers are available. # May be used with robolectric or deliberate use of Bouncy Castle on Android -dontwarn okhttp3.internal.platform.**
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sat Jul 19 13:25:00 UTC 2025 - 512 bytes - Viewed (0) -
docs/en/docs/advanced/generate-clients.md
In this case, you will have to ensure that each operation ID is **unique** in some other way. For example, you could make sure that each *path operation* has a tag, and then generate the operation ID based on the **tag** and the *path operation* **name** (the function name). ### Custom Generate Unique ID Function { #custom-generate-unique-id-function }
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Aug 31 09:15:41 UTC 2025 - 10.1K bytes - Viewed (0) -
android/guava/src/com/google/common/eventbus/Subscriber.java
* events to it. * * <p>Two subscribers are equivalent when they refer to the same method on the same object (not * class). This property is used to ensure that no subscriber method is registered more than once. * * @author Colin Decker */ class Subscriber { /** Creates a {@code Subscriber} for {@code method} on {@code listener}. */
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed May 14 19:40:47 UTC 2025 - 4.7K bytes - Viewed (0) -
LICENSES/third_party/forked/libcontainer/NOTICE
The following is courtesy of our legal counsel: Use and transfer of Docker may be subject to certain restrictions by the United States and other governments. It is your responsibility to ensure that your use and/or transfer does not violate applicable laws. For more information, please see http://www.bis.doc.gov
Registered: Fri Sep 05 09:05:11 UTC 2025 - Last Modified: Tue Oct 22 13:56:22 UTC 2024 - 518 bytes - Viewed (0)