- Sort Score
- Result 10 results
- Languages All
Results 651 - 660 of 1,009 for verify (0.04 sec)
-
docs/en/docs/advanced/async-tests.md
Being able to use asynchronous functions in your tests could be useful, for example, when you're querying your database asynchronously. Imagine you want to test sending requests to your FastAPI application and then verify that your backend successfully wrote the correct data in the database, while using an async database library. Let's look at how we can make that work. ## pytest.mark.anyio { #pytest-mark-anyio }
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Aug 31 09:15:41 UTC 2025 - 3.9K bytes - Viewed (0) -
src/test/java/jcifs/pac/kerberos/KerberosEncDataTest.java
byte[] decrypted = KerberosEncData.decrypt(data, key, KerberosConstants.DES_ENC_TYPE); assertNotNull(decrypted); // With dummy data, we can't verify the content, just that it decrypts without error // and returns a result of the expected size. assertEquals(data.length - 24, decrypted.length); } /**
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7.7K bytes - Viewed (0) -
src/test/java/jcifs/smb1/util/LogStreamTest.java
// Test setting a custom instance LogStream.setInstance(testStream); LogStream instance = LogStream.getInstance(); assertNotNull(instance); // Write something to verify it uses our test stream instance.println("test message"); instance.flush(); String output = testOutput.toString(); assertTrue(output.contains("test message")); } @TestRegistered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 8.3K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/IteratorTester.java
* without changing its state, so the tester needs a steady supply of fresh Iterators. * * <p>If your iterator supports modification through {@code remove()}, you may wish to override the * verify() method, which is called after each sequence and is guaranteed to be called * using the latest values obtained from {@link IteratorTester#newTargetIterator()}. *Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Mar 17 20:26:29 UTC 2025 - 4.3K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/HandlerTest.java
URL url2 = new URL(null, "smb://host:1234/share/file.txt", handler); URL url3 = new URL(null, "smb://user:pass@host/share", handler); // Assert - Verify URL components assertEquals("smb", url1.getProtocol()); assertEquals("host", url1.getHost()); assertEquals(445, url1.getPort()); assertEquals("/share", url1.getPath());
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 5.4K bytes - Viewed (0) -
src/test/java/jcifs/netbios/SessionServicePacketTest.java
import static org.junit.jupiter.api.Assertions.assertThrows; import static org.mockito.ArgumentMatchers.any; import static org.mockito.ArgumentMatchers.anyInt; import static org.mockito.Mockito.times; import static org.mockito.Mockito.verify; import static org.mockito.Mockito.when; import java.io.ByteArrayInputStream; import java.io.IOException; import java.io.InputStream; import java.util.stream.Stream; import org.junit.jupiter.api.BeforeEach;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.5K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/api/WebApiRequestTest.java
mockRequest.setMethod("POST"); mockRequest.setRequestURI("/test/uri"); webApiRequest = new WebApiRequest(mockRequest, customPath); // Verify that other methods are properly delegated assertEquals("POST", webApiRequest.getMethod()); assertEquals("/test/uri", webApiRequest.getRequestURI());
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 17.5K bytes - Viewed (0) -
docs/en/docs/tutorial/security/first-steps.md
* The API checks that `username` and `password`, and responds with a "token" (we haven't implemented any of this yet). * A "token" is just a string with some content that we can use later to verify this user. * Normally, a token is set to expire after some time. * So, the user will have to log in again at some point later.
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Aug 31 09:15:41 UTC 2025 - 8.4K bytes - Viewed (0) -
src/test/java/jcifs/util/ResourceManagerTest.java
@Test @DisplayName("Test configuration updates") void testConfigurationUpdates() { resourceManager.configure(5000, 1000, false, false); // Configuration should be applied (we can't directly verify private fields, // but we can ensure it doesn't throw) assertDoesNotThrow(() -> resourceManager.checkForLeaks()); assertDoesNotThrow(() -> resourceManager.performCleanup()); }Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 8.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans/TransWaitNamedPipeTest.java
// Assert assertNotNull(result); assertTrue(result.contains("pipeName=" + specialPipeName)); } @Test @DisplayName("Verify parent class command types") void testParentClassCommandTypes() { // Arrange transWaitNamedPipe = new TransWaitNamedPipe(mockConfig, testPipeName); // AssertRegistered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 8.8K bytes - Viewed (0)