- Sort Score
- Num 10 results
- Language All
Results 1 - 2 of 2 for testEngineUpdateByte (0.2 seconds)
-
src/test/java/jcifs/smb1/util/HMACT64Test.java
// Test constructor with a key shorter than BLOCK_LENGTH (64 bytes) HMACT64 hmac = new HMACT64(SHORT_TEST_KEY); assertNotNull(hmac); } @Test void testEngineUpdateByte() { // Test engineUpdate(byte b) HMACT64 hmac = new HMACT64(TEST_KEY); hmac.engineUpdate((byte) 0x01); // No exception means success } @Test
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 10.1K bytes - Click Count (0) -
src/test/java/jcifs/util/HMACT64Test.java
assertNotNull(hmac); verify(mockMd5, times(1)).reset(); verify(mockMd5, times(1)).update(any(byte[].class)); // Should update with ipad } } @Test void testEngineUpdateByte() throws NoSuchAlgorithmException { // Test engineUpdate(byte b) try (MockedStatic<Crypto> mockedCrypto = mockStatic(Crypto.class)) { mockedCrypto.when(Crypto::getMD5).thenReturn(mockMd5);
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 14.6K bytes - Click Count (0)