- Sort Score
- Num 10 results
- Language All
Results 201 - 210 of 1,040 for verifyCn (0.06 seconds)
-
src/test/java/jcifs/ACETest.java
ace.getAccessMask(); // Different methods called ace.isAllow(); ace.getFlags(); verify(ace, times(2)).getAccessMask(); verify(ace, times(1)).isAllow(); verify(ace, times(1)).getFlags(); } } @Nested @DisplayName("Real-world Usage Scenarios") class RealWorldUsageTests { @Test
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 24.4K bytes - Click Count (0) -
cmd/signature-v4.go
// Get the encoded query. encodedQuery := query.Encode() // Verify if date query is same. if req.Form.Get(xhttp.AmzDate) != query.Get(xhttp.AmzDate) { return ErrSignatureDoesNotMatch } // Verify if expires query is same. if req.Form.Get(xhttp.AmzExpires) != query.Get(xhttp.AmzExpires) { return ErrSignatureDoesNotMatch } // Verify if signed headers query is same.
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Dec 13 22:19:12 GMT 2024 - 12.4K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/sso/SsoManagerTest.java
} }; // Verify SSO is available assertTrue(ssoManager.available()); // Verify login credential retrieval LoginCredential credential = ssoManager.getLoginCredential(); assertNotNull(credential); assertEquals("samluser", ((TestLoginCredential) credential).username); // Verify response retrievalCreated: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 16.5K bytes - Click Count (0) -
src/test/java/jcifs/internal/SmbBasicFileInfoTest.java
Assertions.assertEquals(19L, s); Mockito.verify(mock, Mockito.times(1)).getAttributes(); Mockito.verify(mock, Mockito.times(1)).getCreateTime(); Mockito.verify(mock, Mockito.times(1)).getLastWriteTime(); Mockito.verify(mock, Mockito.times(1)).getLastAccessTime(); Mockito.verify(mock, Mockito.times(1)).getSize(); Mockito.verifyNoMoreInteractions(mock); }
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 5.8K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/util/concurrent/testing/MockFutureListener.java
} /** * Verify that the listener completes in a reasonable amount of time, and Asserts that the future * returns the expected data. * * @throws Throwable if the listener isn't called or if it resulted in a throwable or if the * result doesn't match the expected value. */ public void assertSuccess(Object expectedData) throws Throwable {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri May 12 18:12:42 GMT 2023 - 3K bytes - Click Count (0) -
src/test/java/jcifs/netbios/NameQueryRequestTest.java
doReturn(10).when((NameServicePacket) request).writeQuestionSectionWireFormat(any(byte[].class), anyInt()); int result = request.writeBodyWireFormat(dst, dstIndex); // Verify that writeQuestionSectionWireFormat was called verify((NameServicePacket) request, times(1)).writeQuestionSectionWireFormat(dst, dstIndex); assertEquals(10, result); } @Test void testReadBodyWireFormat() {
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 3.8K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb1/trans/nt/SmbComNtTransactionResponseTest.java
} @Test @DisplayName("Test constructor with Configuration") void testConstructor() { assertNotNull(response); // Verify configuration is set through parent constructor verify(mockConfig, atLeastOnce()).getPid(); } @Test @DisplayName("Test readParameterWordsWireFormat with zero setup count")Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 16.3K bytes - Click Count (0) -
impl/maven-cli/src/test/java/org/apache/maven/cling/transfer/SimplexTransferListenerTest.java
Thread.sleep(500); // to make sure queue is processed, cancellation applied Mockito.verify(delegate).transferInitiated(transferInitiatedEvent); Mockito.verify(delegate).transferStarted(transferStartedEvent); Mockito.verify(delegate).transferProgressed(transferProgressedEvent); Mockito.verify(delegate).transferSucceeded(transferSucceededEvent); } }
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Thu Feb 06 11:28:05 GMT 2025 - 5.1K bytes - Click Count (0) -
src/test/java/jcifs/ResolverTypeTest.java
*/ class ResolverTypeTest { /** * Tests that all expected enum constants exist. */ @Test void testEnumConstants() { // Verify that each enum constant exists and can be referenced assertNotNull(ResolverType.RESOLVER_WINS, "RESOLVER_WINS should not be null."); assertNotNull(ResolverType.RESOLVER_BCAST, "RESOLVER_BCAST should not be null.");Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 2.1K bytes - Click Count (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);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 10.7K bytes - Click Count (0)