- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 31 for asserts (0.44 seconds)
-
compat/maven-model-builder/src/main/java/org/apache/maven/model/validation/DefaultModelValidator.java
String string, InputLocationTracker tracker) { return validateStringNotEmpty(EMPTY, fieldName, problems, severity, version, string, null, tracker); } /** * Asserts: * <p/> * <ul> * <li><code>string != null</code> * <li><code>string.length > 0</code> * </ul> */ @SuppressWarnings("checkstyle:parameternumber")Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Wed Sep 03 15:06:05 GMT 2025 - 66.8K bytes - Click Count (0) -
cmd/xl-storage_test.go
t.Fatalf("TestXLStorage %d failed wanted: %s, got: %s", i+1, err, testCase.err) } } } // TestXLStorageMakeVol - TestXLStorage validate the logic for creation of new xlStorage volume. // Asserts the failures too against the expected failures. func TestXLStorageMakeVol(t *testing.T) { // create xlStorage test setup xlStorage, path, err := newXLStorageTestSetup(t) if err != nil {
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 66K bytes - Click Count (0) -
guava-tests/test/com/google/common/util/concurrent/AbstractClosingFutureTest.java
} try { ClosingFuture.whenAllSucceed(asList(closingFuture)); fail(); } catch (IllegalStateException expected) { } } /** Asserts that marking this step a final step throws {@link IllegalStateException}. */ protected void assertFinalStepThrowsIllegalStateException(ClosingFuture<?> closingFuture) { try { closingFuture.finishToFuture();Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 22:45:21 GMT 2026 - 63K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/util/concurrent/AbstractClosingFutureTest.java
} try { ClosingFuture.whenAllSucceed(asList(closingFuture)); fail(); } catch (IllegalStateException expected) { } } /** Asserts that marking this step a final step throws {@link IllegalStateException}. */ protected void assertFinalStepThrowsIllegalStateException(ClosingFuture<?> closingFuture) { try { closingFuture.finishToFuture();Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 22:45:21 GMT 2026 - 63K bytes - Click Count (0) -
tests/test_response_model_as_return_annotation.py
assert response.status_code == 200, response.text assert response.json() == {"name": "John", "surname": "Doe"} def test_no_response_model_no_annotation_return_dict(): response = client.get("/no_response_model-no_annotation-return_dict") assert response.status_code == 200, response.text assert response.json() == {"name": "John", "surname": "Doe"}Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Tue Feb 17 09:59:14 GMT 2026 - 50.3K bytes - Click Count (0) -
tests/test_application.py
response = client.get(path) assert response.status_code == expected_status assert response.json() == expected_response def test_swagger_ui(): response = client.get("/docs") assert response.status_code == 200, response.text assert response.headers["content-type"] == "text/html; charset=utf-8" assert "swagger-ui-dist" in response.text assert (
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sun Feb 08 10:18:38 GMT 2026 - 56.9K bytes - Click Count (0) -
tests/test_generate_unique_id_function.py
warnings.simplefilter("always") client.get("/openapi.json") assert len(w) >= 2 duplicate_warnings = [ warning for warning in w if issubclass(warning.category, UserWarning) ] assert len(duplicate_warnings) > 0
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sun Feb 08 10:18:38 GMT 2026 - 75K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/EventListenerTest.kt
package okhttp3 import app.cash.burst.Burst import assertk.all import assertk.assertThat import assertk.assertions.contains import assertk.assertions.containsExactly import assertk.assertions.doesNotContain import assertk.assertions.isEmpty import assertk.assertions.isEqualTo import assertk.assertions.isFalse import assertk.assertions.isIn import assertk.assertions.isInstanceOf import assertk.assertions.isNotEmpty
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Feb 03 22:17:59 GMT 2026 - 70.7K bytes - Click Count (0) -
cmd/admin-handlers-users_test.go
} groupInfo, err := s.adm.GetGroupDescription(ctx, group) if err != nil { c.Fatalf("group desc err: %v", err) } c.Assert(groupInfo.Name, group) c.Assert(set.CreateStringSet(groupInfo.Members...), set.CreateStringSet(accessKey)) c.Assert(groupInfo.Policy, policy) c.Assert(groupInfo.Status, string(madmin.GroupEnabled)) // 5. Disable/enable the group and verify that user access is revoked/restored.
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Wed Oct 15 17:00:45 GMT 2025 - 50.6K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/cache/DiskLruCacheTest.kt
* limitations under the License. */ package okhttp3.internal.cache import app.cash.burst.Burst import assertk.assertThat import assertk.assertions.isEqualTo import assertk.assertions.isFalse import assertk.assertions.isNull import assertk.assertions.isSameInstanceAs import assertk.assertions.isTrue import assertk.fail import java.io.File import java.io.FileNotFoundException import java.io.IOException
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Feb 03 22:17:59 GMT 2026 - 59.4K bytes - Click Count (0)