- Sort Score
- Result 10 results
- Languages All
Results 141 - 150 of 1,009 for verify (0.04 sec)
-
src/test/java/jcifs/smb/SmbRandomAccessFileTest.java
raf.writeFloat(1.0f); raf.writeDouble(1.0); // Verify length counts - using times() to check exact counts verify(raf, times(2)).write(any(byte[].class), anyInt(), eq(2)); // short and char verify(raf, times(2)).write(any(byte[].class), anyInt(), eq(4)); // int and float verify(raf, times(2)).write(any(byte[].class), anyInt(), eq(8)); // long and double } @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.1K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/Smb2EncryptionContextTest.java
// When encryptionContext.secureWipeKeys(); // Then - Verify keys are wiped (we can't directly access private fields, // but we can verify the context behaves correctly after wiping) // After wiping, operations that require keys should failRegistered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 44.1K bytes - Viewed (0) -
src/test/java/jcifs/config/SecurityConfigurationTest.java
BaseConfiguration config = new BaseConfiguration(true); // Verify minimum SMB version is at least SMB 2.0.2 (SMB1 disabled) assertTrue("Minimum version should be at least SMB2.0.2", config.getMinimumVersion().atLeast(DialectVersion.SMB202)); // Verify LM compatibility level is 3 or higher (NTLMv2 only)
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 3.1K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans/TransTransactNamedPipeResponseTest.java
response = new TransTransactNamedPipeResponse(mockConfig, outputBuffer); } @Test void testConstructor() { // Verify that the response is created with correct configuration and buffer assertNotNull(response); // Use reflection to verify the outputBuffer is set correctly try { Field outputBufferField = TransTransactNamedPipeResponse.class.getDeclaredField("outputBuffer");
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.5K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/msrpc/LsarSidArrayXTest.java
jcifs.SID[] sids = { mockSid1, mockSid2 }; LsarSidArrayX lsarSidArrayX = new LsarSidArrayX(sids); // Verify num_sids assertEquals(2, lsarSidArrayX.num_sids, "num_sids should match the array length"); // Verify sids array and its contents assertNotNull(lsarSidArrayX.sids, "sids array should not be null");Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 3.1K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/exception/ServletRuntimeExceptionTest.java
ServletRuntimeException runtimeException = new ServletRuntimeException(servletException); // Verify that the cause is correctly set assertNotNull(runtimeException); assertEquals(servletException, runtimeException.getCause()); // Verify that the message is preserved from the cause assertTrue(runtimeException.getMessage().contains(ServletException.class.getName()));
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 5.8K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/query/PhraseQueryCommandTest.java
// Verify query was processed // Note: Field logging behavior depends on implementation } public void test_convertPhraseQuery_longPhrase() { // Test with long phrase (many terms) PhraseQuery.Builder builder = new PhraseQuery.Builder(); String[] words = { "this", "is", "a", "very", "long", "phrase", "query" }; for (String word : words) {Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 9.2K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessUserTimeZoneProcessProviderTest.java
} // Test isUseTimeZoneHandling() method public void test_isUseTimeZoneHandling() { // Verify that time zone handling is disabled assertFalse(provider.isUseTimeZoneHandling()); } // Test isAcceptCookieTimeZone() method public void test_isAcceptCookieTimeZone() { // Verify that cookie time zone is not accepted assertFalse(provider.isAcceptCookieTimeZone()); }Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 6.9K bytes - Viewed (0) -
src/test/java/jcifs/CloseableIteratorTest.java
package jcifs; import static org.junit.jupiter.api.Assertions.assertTrue; import static org.mockito.Mockito.verify; import org.junit.jupiter.api.DisplayName; import org.junit.jupiter.api.Test; import org.mockito.Mock; /** * Test class for CloseableIterator interface functionality */ @DisplayName("CloseableIterator Tests") class CloseableIteratorTest extends BaseTest { @MockRegistered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 964 bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans/SmbComTransactionTest.java
@Test @DisplayName("Test constructor initialization") void testConstructor() { // Verify command and subcommand are set correctly assertEquals(SmbComTransaction.SMB_COM_TRANSACTION, transaction.getCommand()); assertEquals(SmbComTransaction.TRANS2_FIND_FIRST2, transaction.getSubCommand()); // Verify maxDataCount and maxParameterCount are initialized assertTrue(transaction.maxDataCount > 0);Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.7K bytes - Viewed (0)