- Sort Score
- Num 10 results
- Language All
Results 461 - 470 of 588 for Assert (0.08 seconds)
-
compat/maven-model/src/test/java/org/apache/maven/model/BuildTest.java
assertNotNull(new Build().toString()); } @Test public void testToStringNotNonsense() { Build build = new Build(); String s = build.toString(); assert "Build {BuildBase {PluginConfiguration {PluginContainer {}}}}".equals(s) : s; }
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Wed Sep 17 10:01:14 GMT 2025 - 1.8K bytes - Click Count (0) -
tests/test_wrapped_method_forward_reference.py
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Tue Dec 02 17:23:14 GMT 2025 - 997 bytes - Click Count (0) -
tests/test_dependency_wrapped.py
"/wrapped-endpoint-async-wrapper/", "/async-wrapped-endpoint-async-wrapper/", ], ) def test_class_dependency(route): response = client.get(route) assert response.status_code == 200, response.textCreated: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 21:25:59 GMT 2025 - 11.2K bytes - Click Count (0) -
build-logic/binary-compatibility/src/test/groovy/gradlebuild/binarycompatibility/rules/AbstractContextAwareRuleSpecification.groovy
ClassPool instanceScopedPool = new ClassPool() JApiClass apiClass = Stub(JApiClass) def setup() { instanceScopedPool.appendSystemPath() } void noViolation(def rule) { assert rule.maybeViolation(apiClass) == null } Map getInitializationParams() { return [ publicApiPatterns: ['gradlebuild[.]binarycompatibility[.]rules.[^.]+'],Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Tue Dec 30 10:14:25 GMT 2025 - 2K bytes - Click Count (0) -
compat/maven-embedder/src/test/java/org/apache/maven/cli/MavenCliTest.java
// Arrange CliRequest request = new CliRequest(new String[] {"-Dw=x=y", "validate"}, null); // Act cli.cli(request); cli.properties(request); // Assert assertEquals("x=y", request.getUserProperties().getProperty("w")); } @Test void populatePropertiesSpace() throws Exception { // ArrangeCreated: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Wed Sep 17 10:01:14 GMT 2025 - 30.9K bytes - Click Count (0) -
build-logic-commons/gradle-plugin/src/main/kotlin/gradlebuild.private-javadoc.gradle.kts
pluginManager.withPlugin("gradlebuild.code-quality") { tasks { named("codeQuality") { dependsOn(tasks.withType<Javadoc>()) } } } tasks.withType<Javadoc>().configureEach { assert(name != "javadocAll") // This plugin should not be applied to the :docs project. onlyIf("Do not run the task if there are no java sources") { // Javadoc task will complain if we only have package-info.java files and no
Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Tue Aug 20 14:11:17 GMT 2024 - 2.3K bytes - Click Count (0) -
cmd/object-handlers_test.go
credentials auth.Credentials, t *testing.T, ) { objectName := "test-object" // set of byte data for PutObject. // object has to be created before running tests for HeadObject. // this is required even to assert the HeadObject data, // since dataInserted === dataFetched back is a primary criteria for any object storage this assertion is critical. bytesData := []struct { byteData []byte }{Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 163.1K bytes - Click Count (0) -
compat/maven-model/src/test/java/org/apache/maven/model/IssueManagementTest.java
IssueManagement im = new IssueManagement(); im.setSystem("Velociraptor"); im.setUrl("https://velo.localdomain"); String s = im.toString(); assert "IssueManagement {system=Velociraptor, url=https://velo.localdomain}".equals(s) : s; }
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Wed Sep 17 10:01:14 GMT 2025 - 2K bytes - Click Count (0) -
tests/prepared_stmt_test.go
} // Wait for 40 seconds to give the statements in the cache enough time to expire. time.Sleep(time.Second * 40) // Assert whether the connection pool of tx is successfully converted to the *gorm.PreparedStmtDB type. AssertEqual(t, ok, true) // Assert whether the number of statement keys stored in the PreparedStmtDB is 0 after 40 seconds.
Created: Sun Dec 28 09:35:17 GMT 2025 - Last Modified: Fri Apr 25 08:22:26 GMT 2025 - 8K bytes - Click Count (0) -
tests/test_tutorial/test_generate_clients/test_tutorial004.py
with patch("pathlib.Path", return_value=tmp_file): importlib.import_module("docs_src.generate_clients.tutorial004_py39") modified_openapi = json.loads(tmp_file.read_text()) assert modified_openapi == { "components": { "schemas": { "HTTPValidationError": { "properties": { "detail": {Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Fri Dec 26 10:43:02 GMT 2025 - 8.3K bytes - Click Count (0)