- Sort Score
- Num 10 results
- Language All
Results 701 - 710 of 951 for EXPECTED (0.06 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
guava-tests/test/com/google/common/util/concurrent/AbstractFutureFallbackAtomicHelperTest.java
} } private void checkHelperVersion(ClassLoader classLoader, String expectedHelperClassName) throws Exception { // Make sure we are actually running with the expected helper implementation Class<?> abstractFutureStateClass = classLoader.loadClass(AbstractFutureState.class.getName()); Method helperMethod = abstractFutureStateClass.getDeclaredMethod("atomicHelperTypeForTest");
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Mar 07 02:20:33 GMT 2026 - 7.4K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/indexer/IndexUpdaterTest.java
indexUpdater.finishCrawling = true; indexUpdater.destroy(); // finishCrawling should be set when max empty list count is exceeded // In test environment this may not work as expected // assertTrue(indexUpdater.finishCrawling); } // Test addFinishedSessionId @Test public void test_addFinishedSessionId() { final String sessionId = "session123";Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 33.6K bytes - Click Count (0) -
docs/en/docs/how-to/migrate-from-pydantic-v1-to-pydantic-v2.md
## Tests { #tests } Make sure you have [tests](../tutorial/testing.md) for your app and you run them on continuous integration (CI). This way, you can do the upgrade and make sure everything is still working as expected. ## `bump-pydantic` { #bump-pydantic } In many cases, when you use regular Pydantic models without customizations, you will be able to automate most of the process of migrating from Pydantic v1 to Pydantic v2.Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 05 18:13:19 GMT 2026 - 5.4K bytes - Click Count (0) -
tests/postgres_test.go
} var things []Thing if err := DB.Find(&things).Error; err != nil { t.Errorf("Failed, got error: %v", err) } if len(things) > 1 { t.Errorf("expected 1 thing got more") } } type CompanyNew struct { ID int Name int } func TestAlterColumnDataType(t *testing.T) { DB.AutoMigrate(Company{})
Created: Sun Apr 05 09:35:12 GMT 2026 - Last Modified: Sat Oct 08 09:16:32 GMT 2022 - 6.4K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/concurrent/TaskRunnerTest.kt
} @Test fun cancelAllWhenEmptyDoesNotStartWorkerThread() { redQueue.execute("red task", 100.µs) { error("expected to be canceled") } assertThat(taskFaker.executeCallCount).isEqualTo(1) blueQueue.execute("task", 100.µs) { error("expected to be canceled") } assertThat(taskFaker.executeCallCount).isEqualTo(1) redQueue.cancelAll()
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Feb 03 22:17:59 GMT 2026 - 23K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/exception/ThemeExceptionTest.java
// Test that the exception is serializable ThemeException exception = new ThemeException("Serialization test"); // Verify that the exception can be created and has the expected structure assertNotNull(exception); assertTrue(exception instanceof java.io.Serializable); } @Test public void test_nestedExceptions() { // Test nested exception handlingCreated: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sun Jan 11 08:43:05 GMT 2026 - 8.4K bytes - Click Count (0) -
guava-tests/test/com/google/common/collect/PeekingIteratorTest.java
iterator.next(); assertNextThrows(iterator); } private void assertNextThrows(Iterator<?> iterator) { try { iterator.next(); fail(); } catch (ThrowsAtEndException expected) { } }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Sep 23 17:50:58 GMT 2025 - 8.5K bytes - Click Count (0) -
android/guava/src/com/google/common/base/Verify.java
* of {@link java.util.Formatter} specifiers. However, note that if the number of arguments does not * match the number of occurrences of {@code "%s"} in the format string, {@code Verify} will still * behave as expected, and will still include all argument values in the error message; the message * will simply not be formatted exactly as intended. * * <h3>More information</h3> *Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Dec 29 17:36:00 GMT 2025 - 18.5K bytes - Click Count (0) -
docs/recipes.md
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Sun Mar 15 09:01:42 GMT 2026 - 47.8K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/info/Smb2QueryInfoRequestTest.java
@DisplayName("Test size method without input buffer") void testSizeWithoutInputBuffer() { request = new Smb2QueryInfoRequest(mockConfig); int size = request.size(); // Expected size calculation: size8(SMB2_HEADER_LENGTH + 40) // size8 rounds up to nearest multiple of 8 int expectedRawSize = Smb2Constants.SMB2_HEADER_LENGTH + 40;Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 22.6K bytes - Click Count (0)