- Sort Score
- Result 10 results
- Languages All
Results 301 - 310 of 863 for verifyCn (0.19 sec)
-
android/guava-testlib/test/com/google/common/collect/testing/IteratorTesterTest.java
numCallsToNewTargetIterator++; return Lists.newArrayList(1).iterator(); } @Override protected void verify(List<Integer> elements) { numCallsToVerify++; super.verify(elements); } } public void testVerifyGetsCalled() { TesterThatCountsCalls tester = new TesterThatCountsCalls(); tester.test();
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Aug 06 18:32:41 UTC 2025 - 10.3K bytes - Viewed (0) -
cmd/admin-handlers-users_test.go
c.Fatalf("policy add error: %v", err) } // 2. Verify that policy json is validated by server invalidPolicyBytes := policyBytes[:len(policyBytes)-1] err = s.adm.AddCannedPolicy(ctx, policy1+"invalid", invalidPolicyBytes) if err == nil { c.Fatalf("invalid policy creation success") } // 3. Create a user, associate policy and verify access accessKey, secretKey := mustGenerateCredentials(c)
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 47.4K bytes - Viewed (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++) {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.1K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans2/Trans2GetDfsReferralTest.java
// Then // These fields are protected in parent class, so we can't access them directly // We verify the object was created successfully instead assertNotNull(trans2GetDfsReferral); // Verify that request buffer was created with correct parameters Field requestField = Trans2GetDfsReferral.class.getDeclaredField("request");
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/Smb2EchoRequestTest.java
Smb2EchoRequest request = new Smb2EchoRequest(mockConfig); assertNotNull(request); // Verify command is set to SMB2_ECHO (0x000D) assertEquals(0x000D, request.getCommand()); // Verify configuration is set Field configField = ServerMessageBlock2.class.getDeclaredField("config"); configField.setAccessible(true);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.3K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/AbstractIteratorTester.java
/** * Override this to verify anything after running a list of Stimuli. * * <p>For example, verify that calls to remove() actually removed the correct elements. * * @param elements the expected elements passed to the constructor, as mutated by {@code * remove()}, {@code set()}, and {@code add()} calls */ protected void verify(List<E> elements) {} /** Executes the test. */
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed May 14 19:40:47 UTC 2025 - 21.4K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans2/Trans2QueryPathInformationTest.java
// Verify lengths assertEquals(2, setupWritten); assertTrue(paramWritten > 6); assertEquals(0, dataWritten); // Verify setup content assertEquals(SmbComTransaction.TRANS2_QUERY_PATH_INFORMATION, setupBuffer[0]); assertEquals(0x00, setupBuffer[1]); // Verify parameter content
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.4K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/exception/ScheduledJobExceptionTest.java
ScheduledJobException exception = new ScheduledJobException("Stack trace test"); assertNotNull(exception.getStackTrace()); assertTrue(exception.getStackTrace().length > 0); // Verify the first stack trace element is from this test method StackTraceElement firstElement = exception.getStackTrace()[0]; assertEquals(this.getClass().getName(), firstElement.getClassName());
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 6.8K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/thumbnail/impl/EmptyGeneratorTest.java
// when proper conditions are not met. Map<String, Object> docMap = new HashMap<>(); // This will return false because getFessConfig() will fail // We verify the method handles the case gracefully try { emptyGenerator.isTarget(docMap); } catch (IllegalStateException e) { // Expected when container is not initialized
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 6.3K bytes - Viewed (0) -
src/test/java/jcifs/SmbPipeHandleTest.java
public void testClose() throws CIFSException { assertDoesNotThrow(() -> smbPipeHandle.close(), "close() should not throw an exception on a mock object."); // Verify that the close method was called Mockito.verify(smbPipeHandle).close(); } /** * Verifies that the isOpen method returns true for an open handle. */ @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7K bytes - Viewed (0)