- Sort Score
- Num 10 results
- Language All
Results 271 - 280 of 1,051 for Verify (0.09 seconds)
-
src/test/java/jcifs/context/BaseContextTest.java
void testConstructorUsesConfiguration() { // Then assertSame(mockConfig, context.getConfig(), "Should use provided configuration"); verify(mockConfig).getDefaultUsername(); verify(mockConfig).getDefaultPassword(); verify(mockConfig).getDefaultDomain(); } @Test @DisplayName("Constructor should handle credentials from configuration")
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 15.1K bytes - Click Count (0) -
src/test/java/jcifs/EmptyIteratorTest.java
assertNull(emptyIterator.next(), "This implementation returns null instead of throwing"); // Verify remove can be called (even though no-op) assertDoesNotThrow(() -> emptyIterator.remove(), "remove() should be safe to call"); // Verify still empty after operations assertFalse(emptyIterator.hasNext(), "Should remain empty after operations"); }
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 12K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/ServerMessageBlock2ResponseTest.java
when(mockConfig.isRequireSecureNegotiate()).thenReturn(true); when(mockDigest.verify(buffer, 0, 100, 0, response)).thenReturn(false); boolean result = response.verifySignature(buffer, 0, 100); assertTrue(result); verify(mockDigest).verify(buffer, 0, 100, 0, response); } } @Nested @DisplayName("Expiration Tests")
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 19.3K bytes - Click Count (0) -
.teamcity/README.md
## Develop and verify After you make a change, you can run `mvn clean teamcity-configs:generate` to generate and verify the generated TeamCity configuration XMLs. You also need to run `mvn clean verify` with Java 8 before committing changes.
Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Wed Mar 06 23:02:25 GMT 2024 - 4K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/Smb2ConstantsTest.java
// Verify each is a power of 2 for (int cap : capabilities) { assertTrue(isPowerOfTwo(cap), "Capability 0x" + Integer.toHexString(cap) + " should be a power of 2"); } // Verify no overlapping bits for (int i = 0; i < capabilities.length; i++) {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 14.1K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/create/CreateContextResponseTest.java
int dataLength = 200; contextResponse.decode(dataBuffer, dataOffset, dataLength); // Verify assertArrayEquals(nameBytes, contextResponse.getName()); assertEquals(dataLength, contextResponse.getData().length); // Verify data content for (int i = 0; i < dataLength; i++) {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 16.2K bytes - Click Count (0) -
src/test/java/jcifs/smb/SmbSessionImplSecurityTest.java
import org.junit.jupiter.api.Test; import org.mockito.Mockito; import jcifs.CIFSContext; import jcifs.Configuration; import jcifs.Credentials; /** * Security-focused test cases for SmbSessionImpl to verify race condition fixes. */ public class SmbSessionImplSecurityTest { private CIFSContext mockContext; private SmbTransportImpl mockTransport; private Configuration mockConfig;Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 11K bytes - Click Count (0) -
okhttp-testing-support/src/main/kotlin/okhttp3/RecordingHostnameVerifier.kt
class RecordingHostnameVerifier : HostnameVerifier { @JvmField val calls: MutableList<String> = mutableListOf() @Synchronized override fun verify( hostname: String, session: SSLSession, ): Boolean { calls.add("verify $hostname") return true }Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 980 bytes - Click Count (0) -
docs/en/docs/tutorial/security/oauth2-jwt.md
And your users would be able to login from your Django app or from your **FastAPI** app, at the same time. /// ## Hash and verify the passwords { #hash-and-verify-the-passwords } Import the tools we need from `pwdlib`. Create a PasswordHash instance with recommended settings - it will be used for hashing and verifying passwords. /// tipCreated: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 05 18:13:19 GMT 2026 - 10.7K bytes - Click Count (0) -
docs/metrics/prometheus/alerts.md
``` ## Verify the configuration and alerts To verify the above sample alert follow below steps 1. Start a distributed MinIO instance (4 nodes setup) 2. Start Prometheus server and AlertManager 3. Bring down couple of MinIO instances to bring down the Erasure Set tolerance to -1 and verify the same with `mc admin prometheus metrics ALIAS | grep minio_cluster_health_erasure_set_status`
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Wed Apr 23 15:13:23 GMT 2025 - 4.4K bytes - Click Count (0)