- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 208 for consistently (0.16 sec)
-
src/test/java/jcifs/EmptyIteratorTest.java
@Test @DisplayName("EmptyIterator should behave consistently across multiple calls") void testConsistentBehavior() { // When & Then - test multiple sequential calls for (int i = 0; i < 10; i++) { assertFalse(emptyIterator.hasNext(), "hasNext should consistently return false"); assertNull(emptyIterator.next(), "next should consistently return null"); } } @RepeatedTest(5)Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/Helpers.java
* consistently between their order within {@code valuesInExpectedOrder} and the order implied by * the given {@code comparator}. * * <p>In detail, this method asserts * * <ul> * <li><i>reflexivity</i>: {@code comparator.compare(t, t) = 0} for all {@code t} in {@code * valuesInExpectedOrder}; and * <li><i>consistency</i>: {@code comparator.compare(ti, tj) < 0} and {@codeRegistered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Aug 10 19:54:19 UTC 2025 - 17.2K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans/TransWaitNamedPipeResponseTest.java
// This is expected behavior since they're created with the same configuration assertEquals(response1.toString(), response2.toString()); } @Test @DisplayName("All write methods should consistently return 0") void testAllWriteMethodsReturnZero() { // Arrange byte[] buffer = new byte[100]; // Act & Assert assertEquals(0, response.writeSetupWireFormat(buffer, 0));
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.1K bytes - Viewed (0) -
src/test/java/jcifs/context/BaseContextTest.java
// Then - should be same instances assertSame(config1, config2, "Configuration should be consistent"); assertSame(dfs1, dfs2, "DFS resolver should be consistent"); assertSame(cache1, cache2, "Buffer cache should be consistent"); } @Test @DisplayName("Context should provide working resource creation")Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 15.1K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/exception/InvalidAccessTokenExceptionTest.java
assertEquals(message, exception.getMessage()); assertNull(exception.getCause()); } public void test_getType_immutability() { // Test that getType returns the same value consistently String type = "ApiKey"; String message = "API key expired"; InvalidAccessTokenException exception = new InvalidAccessTokenException(type, message);
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 10.4K bytes - Viewed (0) -
src/test/java/jcifs/smb/NtlmPasswordAuthenticatorTimingAttackTest.java
assertFalse(auth1.equals(auth3)); // Test empty vs password assertFalse(auth2.equals(auth3)); // These operations should complete quickly and consistently long startTime = System.nanoTime(); for (int i = 0; i < 1000; i++) { auth1.equals(auth2); auth1.equals(auth3); auth2.equals(auth3);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 11.2K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/info/Smb2SetInfoResponseTest.java
// Call readBytesWireFormat multiple times for (int i = 0; i < 5; i++) { int result = response.readBytesWireFormat(buffer, bufferIndex); assertEquals(2, result, "Should consistently return 2 on call " + (i + 1)); } } @Test @DisplayName("Test edge case with maximum buffer index") void testReadBytesWireFormatMaxBufferIndex() throws SMBProtocolDecodingException {Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.3K bytes - Viewed (0) -
README.md
- **Assertion-based validation** - All methods validate inputs using `AssertionUtil.assertArgumentNotNull()` and `AssertionUtil.assertArgumentNotEmpty()` - **Exception wrapping** - Checked exceptions are consistently wrapped in runtime exceptions (e.g., `ClassNotFoundException` → `ClassNotFoundRuntimeException`)
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Sun Aug 31 02:56:02 UTC 2025 - 12.7K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans2/Trans2GetDfsReferralResponseTest.java
@Test @DisplayName("Should always force unicode") void testIsForceUnicode() { assertTrue(response.isForceUnicode()); } @Test @DisplayName("Should consistently return true for unicode") void testIsForceUnicodeMultipleCalls() { for (int i = 0; i < 5; i++) { assertTrue(response.isForceUnicode()); } } }Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 19.4K bytes - Viewed (0) -
src/test/java/jcifs/SmbSessionTest.java
} } @Nested @DisplayName("Edge Case Tests") class EdgeCaseTest { @Test @DisplayName("Should handle repeated method calls consistently") void shouldHandleRepeatedMethodCallsConsistently() { SmbSession mockSession = mock(SmbSession.class); Configuration mockConfig = mock(Configuration.class);Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.1K bytes - Viewed (0)