- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 268 for Ensure (0.05 sec)
-
src/test/java/jcifs/ResolverTypeTest.java
@Test void testNumberOfEnumConstants() { // Ensure there are exactly 4 resolver types assertEquals(4, ResolverType.values().length, "There should be exactly 4 resolver types."); } /** * Tests the names of the enum constants. */ @Test void testEnumNames() { // Verify the names of the enum constants to ensure they are not accidentally changed
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 2.1K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/MonotonicClock.java
* <p> * This class provides precise time measurements using {@link System#nanoTime()} * while maintaining wall-clock time information in UTC. The wall-clock time * is computed from the monotonic duration since system start to ensure consistency * between time measurements. * <p> * This implementation is singleton-based and always uses UTC timezone. The clock * cannot be adjusted to different timezones to maintain consistent monotonic behavior.
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Wed Jan 15 06:28:29 UTC 2025 - 5.6K bytes - Viewed (0) -
src/test/java/jcifs/smb/WinErrorTest.java
} @Test @DisplayName("Constants: values match Windows error codes") void constants_have_expected_values() { // Ensure each public constant has its documented numeric value (happy path) assertAll(() -> assertEquals(0, WinError.ERROR_SUCCESS), () -> assertEquals(5, WinError.ERROR_ACCESS_DENIED),
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 8.4K bytes - Viewed (0) -
.github/DISCUSSION_TEMPLATE/translations.yml
value: | Thanks for your interest in helping translate the FastAPI docs! 🌍 Please follow these instructions carefully to propose a new language translation. 🙏 This structured process helps ensure translations can be properly maintained long-term. - type: checkboxes id: checks attributes: label: Initial Checks description: Please confirm and check all the following options. options:
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sat Jul 26 11:35:42 UTC 2025 - 1.7K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/timer/SystemMonitorTargetTest.java
try { // Create a new instance to ensure clean state SystemMonitorTarget testTarget = new SystemMonitorTarget(); // Try to call the expired method // Note: This method may fail in test environments due to system dependencies // but we mainly want to ensure the method signature is correct testTarget.expired();
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sun Aug 31 08:19:00 UTC 2025 - 8.9K bytes - Viewed (0) -
guava-tests/test/com/google/common/graph/MapCacheTest.java
} } @Test public void testPutNewValue() { assertThat(mapCache.put("key", "value")).isNull(); assertThat(mapCache.get("key")).isEqualTo("value"); // ensure key/value is cached assertThat(mapCache.put("key", "new value")).isEqualTo("value"); assertThat(mapCache.get("key")).isEqualTo("new value"); } @Test public void testRemoveEqualKeyWithDifferentReference() {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 3.2K bytes - Viewed (0) -
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)