- Sort Score
- Num 10 results
- Language All
Results 601 - 610 of 854 for certify (0.05 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
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 }
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 05 18:13:19 GMT 2026 - 3.8K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/io/FileBackedOutputStreamTest.java
ByteSource source = out.asByteSource(); out.write(data); assertThat(source.read()).isEqualTo(data); out.close(); assertThrows(IOException.class, () -> out.write(42)); // Verify that write had no effect assertThat(source.read()).isEqualTo(data); out.reset(); } public void testReset() throws Exception { byte[] data = newPreFilledByteArray(100);
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 03 04:04:26 GMT 2026 - 8K bytes - Click Count (0) -
src/test/java/jcifs/smb1/smb1/SmbRandomAccessFileTest.java
} @Test void testSetLength() throws SmbException { long newLength = 2048L; smbRandomAccessFile.setLength(newLength); // Verify length was set (actual behavior depends on implementation) } @Test void testSkipBytes() throws SmbException { int skipAmount = 100;Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 9.3K bytes - Click Count (0) -
internal/hash/checksum_test.go
} // Compare the full checksum structs if !chksm.Equal(gotChksm) { t.Errorf("Checksum mismatch for %s: expected %+v, got %+v", tt.name, chksm, gotChksm) } // Verify the checksum type expectedType := chksm.Type if gotChksm.Type != expectedType { t.Errorf("Type mismatch for %s: expected %s, got %s", tt.name, expectedType.StringFull(), gotChksm.Type.StringFull()) } })
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 22 14:15:21 GMT 2025 - 7.1K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/exception/DataStoreCrawlingExceptionTest.java
assertFalse(exception.aborted()); } @Test public void test_constructorWithThrowableCause_BackwardCompatibilityWithException() { // Verify backward compatibility - Exception types still work String url = "http://example.com/test"; String message = "Crawling error"; // Test with IOException
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sun Jan 11 08:43:05 GMT 2026 - 16.6K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb1/ServerMessageBlock.java
* SMB_COM_SESSION_SETUP_ANDX Request (section 2.2.4.53.1). */ if (this.digest != null && getErrorCode() == 0) { final boolean verify = this.digest.verify(buffer, i, size, 0, this); this.verifyFailed = verify; return !verify; } return true; } /** * Writes a string to the destination buffer using the current encoding. *
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 38.9K bytes - Click Count (0) -
src/archive/zip/reader_test.go
// the file header and TOC. (0x7e -> 0x7f) b[0x11]++ b[0x9d]++ // TODO(bradfitz): add a new test that only corrupts // one of these values, and verify that that's also an // error. Currently, the reader code doesn't verify the // fileheader and TOC's crc32 match if they're both // non-zero and only the second line above, the TOC, // is what matters. }) }
Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Thu Jan 15 18:35:56 GMT 2026 - 57.9K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/crawler/transformer/AbstractFessFileTransformerTest.java
// Default should be UTF-8 or similar } @Test public void test_fessConfig_ignoreEmptyContent() { final FessConfig config = ComponentUtil.getFessConfig(); // Verify the config returns the expected default value (false) assertFalse(config.isCrawlerDocumentFileIgnoreEmptyContent()); } @Test public void test_responseData_defaultValues() {Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Jan 15 12:54:47 GMT 2026 - 8.1K bytes - Click Count (0) -
src/test/java/jcifs/smb1/UniAddressTest.java
when(addr.getHostName()).thenReturn("mycomputer.foo.com"); UniAddress ua = new UniAddress(addr); // Act: first call should set to SMBSERVER_NAME String initial = ua.firstCalledName(); // verify that subsequent call gives SMBSERVER_NAME String next = ua.nextCalledName(); // Assert assertEquals(NbtAddress.SMBSERVER_NAME, next, "nextCalledName should return SMBSERVER_NAME after first call");
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 7.9K bytes - Click Count (0) -
api/maven-api-core/src/test/java/org/apache/maven/api/feature/FeaturesTest.java
Map<String, Object> properties = new HashMap<>(); properties.put(Constants.MAVEN_DEPLOY_BUILD_POM, "false"); assertFalse(Features.deployBuildPom(properties)); // Verify the map wasn't modified assertEquals(1, properties.size()); assertEquals("false", properties.get(Constants.MAVEN_DEPLOY_BUILD_POM)); } @Test
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Jul 04 19:42:23 GMT 2025 - 7.2K bytes - Click Count (0)