- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 90 for consistently (3.43 sec)
-
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: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Sun Aug 31 02:56:02 UTC 2025 - 12.7K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans/TransPeekNamedPipeResponseTest.java
assertNotSame(response1, response2); assertEquals(100, response1.getAvailable()); assertEquals(0, response2.getAvailable()); } @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: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.8K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/ioctl/SrvCopychunkCopyTest.java
assertEquals(13312L, SMBUtil.readInt8(buffer, offset + 8)); assertEquals(16384, SMBUtil.readInt4(buffer, offset + 16)); } @Test @DisplayName("Should encode consistently with size method") void testEncodeSizeConsistency() { // Given byte[] sourceKey = new byte[SOURCE_KEY_SIZE]; Arrays.fill(sourceKey, (byte) 0x55);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 23.1K bytes - Viewed (0) -
src/test/java/jcifs/internal/dfs/DfsReferralRequestBufferTest.java
byte[] encodedPath = new byte[pathBytes.length]; bb.get(encodedPath); assertArrayEquals(pathBytes, encodedPath); } @Test @DisplayName("Should encode consistently on multiple calls") void testEncodeIdempotency() { String path = "\\\\server\\share"; buffer = new DfsReferralRequestBuffer(path, 3); byte[] dst1 = new byte[buffer.size()];
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 17.5K bytes - Viewed (0) -
src/test/java/jcifs/DialectVersionTest.java
assertEquals(0, DialectVersion.SMB302.compareTo(DialectVersion.SMB302)); } @Test @DisplayName("Should return consistent ordinal values") void testOrdinalValues() { // Ordinal values should be consistent with enum declaration order assertTrue(DialectVersion.SMB1.ordinal() < DialectVersion.SMB202.ordinal());
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7.1K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/impl/EXTRACTOR_TESTS_README.md
- Exception types and messages - Stream consumption (should not consume) - Consistency across multiple calls **Test Count**: 11 tests **Key Scenarios**: - ✅ Validates non-null streams - ✅ Throws CrawlerSystemException for null - ✅ Called during getText execution - ✅ Does not consume or modify stream - ✅ Consistent behavior across multiple calls - ✅ Works with various InputStream types ---
Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Wed Nov 19 08:55:01 UTC 2025 - 5.7K bytes - Viewed (0) -
src/test/java/jcifs/util/CryptoTest.java
MessageDigest md5 = Crypto.getMD5(); md5.digest(null); }); } @Test @DisplayName("Should produce consistent hash results") void testHashConsistency() { // Given String input = "Test consistency"; byte[] data = input.getBytes(); // When MessageDigest md5_1 = Crypto.getMD5(); MessageDigest md5_2 = Crypto.getMD5();
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7.4K bytes - Viewed (0) -
src/test/java/jcifs/MsrpcDfsRootEnumTest.java
FileEntry[] entries1 = dfsRootEnum.getEntries(); FileEntry[] entries2 = dfsRootEnum.getEntries(); FileEntry[] entries3 = dfsRootEnum.getEntries(); // Verify consistency assertNotNull(entries1); assertNotNull(entries2); assertNotNull(entries3); assertEquals(entries1.length, entries2.length); assertEquals(entries2.length, entries3.length);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/fscc/FsctlPipeWaitRequestTest.java
assertEquals(0x1, buffer[12]); } @Test @DisplayName("Test size method consistency") void testSizeMethodConsistency() { // Test that size() method returns consistent value with encode() String pipeName = "ConsistencyTest"; // Test without timeout
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 13.1K bytes - Viewed (0) -
src/test/java/jcifs/BaseTest.java
import org.slf4j.Logger; import org.slf4j.LoggerFactory; /** * Base test class providing common test infrastructure and utilities. * All test classes should extend this to ensure consistent test setup. */ @ExtendWith(MockitoExtension.class) public abstract class BaseTest { protected final Logger logger = LoggerFactory.getLogger(getClass()); @BeforeEach void baseSetUp() {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 1.2K bytes - Viewed (0)