- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 26 for testKey (1.1 sec)
-
src/test/java/jcifs/internal/smb2/create/LeaseV1CreateContextRequestTest.java
private LeaseV1CreateContextRequest leaseContext; private Smb2LeaseKey testKey; private int testState; @BeforeEach void setUp() { byte[] keyBytes = new byte[] { 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08, 0x09, 0x0A, 0x0B, 0x0C, 0x0D, 0x0E, 0x0F, 0x10 }; testKey = new Smb2LeaseKey(keyBytes); testState = Smb2LeaseState.SMB2_LEASE_READ_WRITE;Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 21 00:16:17 UTC 2025 - 5.8K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/Smb3KeyDerivationTest.java
for (int size : keySizes) { // Given byte[] testKey = new byte[size]; new SecureRandom().nextBytes(testKey); // When byte[] derivedKey = Smb3KeyDerivation.deriveSigningKey(dialect, testKey, preauthIntegrity); // Then assertNotNull(derivedKey, "Should handle " + size + "-byte session key");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/internal/smb2/Smb2EncryptionContextTest.java
byte[] testKey = new byte[16]; new SecureRandom().nextBytes(testKey); // When - Create context with SecureKeyManager using same key for both operations Smb2EncryptionContext context = new Smb2EncryptionContext(EncryptionNegotiateContext.CIPHER_AES128_GCM, DialectVersion.SMB311, testKey, testKey, keyManager);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 44.1K bytes - Viewed (0) -
src/test/java/jcifs/internal/dfs/DfsReferralDataImplTest.java
assertEquals("\\\\server\\share\\link", referralData.getLink()); } @Test @DisplayName("Should get and set key") void testKey() { assertNull(referralData.getKey()); referralData.setKey("cache-key-123"); assertEquals("cache-key-123", referralData.getKey()); } @Test
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 30.6K bytes - Viewed (0) -
docs/pt-BR/README.md
$ mvn dbflute:freegen $ mvn license:format ### Testes de Integração Inicie o servidor Fess e execute o seguinte comando: $ mvn test -P integrationTests -Dtest.fess.url="http://localhost:8080" -Dtest.search_engine.url="http://localhost:9201" Para executar um único caso de teste, você pode usar:Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Tue Nov 11 22:42:32 UTC 2025 - 7.6K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/util/DocMap.java
return parent.isEmpty(); } /** * Returns true if this map contains a mapping for the specified key. * * @param key the key whose presence in this map is to be tested * @return true if this map contains a mapping for the specified key */ @Override public boolean containsKey(final Object key) { return parent.containsKey(key); } /**
Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 5.7K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/msrpc/MsrpcGetMembersInAliasTest.java
*/ @Test void testConstructor() throws NoSuchFieldException, IllegalAccessException { // Create an instance of the class to be tested MsrpcGetMembersInAlias request = new MsrpcGetMembersInAlias(aliasHandle, sids); // Assert that the public 'sids' field is initialized as expectedRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 2.1K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/impl/EXTRACTOR_TESTS_README.md
## Testing Best Practices 1. **Isolation**: Each test is independent and doesn't affect others 2. **Clarity**: Test names clearly describe what is being tested 3. **Coverage**: Both success and failure paths are tested 4. **Edge Cases**: Null, empty, and boundary conditions are covered 5. **Resources**: Test resources are properly managed and cleaned up ## Contributing When adding new tests:
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/SmbTreeHandleTest.java
import org.mockito.quality.Strictness; /** * Tests for SmbTreeHandle interface. * This test class uses Mockito to create a mock implementation of the SmbTreeHandle interface. * Each method of the interface is tested to ensure it behaves as expected. */ @ExtendWith(MockitoExtension.class) @MockitoSettings(strictness = Strictness.LENIENT) class SmbTreeHandleTest { @Mock private SmbTreeHandle smbTreeHandle;Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7.1K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/msrpc/MsrpcSamrCloseHandleTest.java
"flags should be DCERPC_FIRST_FRAG | DCERPC_LAST_FRAG"); // Verify that the super constructor was called with the correct handle. // This is implicitly tested by the object being created without error and // the fields set by the constructor being correct. }
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 1.4K bytes - Viewed (0)