- Sort Score
- Result 10 results
- Languages All
Results 151 - 160 of 3,743 for AssertJ (0.1 sec)
-
platforms/ide/ide-plugins/src/test/groovy/org/gradle/plugins/ide/eclipse/EclipseWtpPluginTest.groovy
assert wtp.rootConfigurations == [] as Set assert wtp.libConfigurations == [project.configurations.runtimeClasspath] as Set assert wtp.minusConfigurations == [] as Set assert wtp.deployName == project.name assert wtp.contextPath == null assert wtp.resources == [] assert wtp.classesDeployPath == "/" assert wtp.libDeployPath == "../" }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Aug 08 10:14:49 UTC 2023 - 16.2K bytes - Viewed (0) -
platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/api/ArtifactCollectionResultProviderIntegrationTest.groovy
assert result.id.componentIdentifier.group == 'org.external' assert result.id.componentIdentifier.module == 'external-lib' assert result.id.componentIdentifier.version == '1.0' assert result.id.fileName == 'external-lib-1.0.jar' assert result.variant instanceof org.gradle.api.internal.artifacts.result.DefaultResolvedVariantResult
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Apr 02 20:50:18 UTC 2024 - 6.4K bytes - Viewed (0) -
platforms/core-runtime/serialization/src/test/groovy/org/gradle/internal/serialize/AbstractCodecTest.groovy
assert decoder.inputStream.read(buffer) == 3 assert buffer == [Byte.MIN_VALUE, Byte.MAX_VALUE, -1] as byte[] assert decoder.inputStream.read(buffer, 1, 2) == 2 assert buffer[1] == 1 assert buffer[2] == 2 assert decoder.inputStream.read() == 3 assert decoder.inputStream.read() == 4 assert decoder.inputStream.read() == 0xc3
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Apr 15 16:06:56 UTC 2024 - 14.9K bytes - Viewed (0) -
tests/test_tutorial/test_security/test_tutorial003_an_py310.py
assert response.status_code == 400, response.text assert response.json() == {"detail": "Incorrect username or password"} @needs_py310 def test_no_token(client: TestClient): response = client.get("/users/me") assert response.status_code == 401, response.text assert response.json() == {"detail": "Not authenticated"} assert response.headers["WWW-Authenticate"] == "Bearer"
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Fri Jul 07 17:12:13 UTC 2023 - 8.4K bytes - Viewed (0) -
tests/test_tutorial/test_security/test_tutorial003_py310.py
assert response.status_code == 400, response.text assert response.json() == {"detail": "Incorrect username or password"} @needs_py310 def test_no_token(client: TestClient): response = client.get("/users/me") assert response.status_code == 401, response.text assert response.json() == {"detail": "Not authenticated"} assert response.headers["WWW-Authenticate"] == "Bearer"
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Fri Jul 07 17:12:13 UTC 2023 - 8.4K bytes - Viewed (0) -
platforms/jvm/code-quality/src/test/groovy/org/gradle/api/plugins/quality/PmdPluginTest.groovy
assert reports.xml.outputLocation.asFile.get() == project.file("build/reports/pmd/${sourceSet.name}.xml") assert reports.html.outputLocation.asFile.get() == project.file("build/reports/pmd/${sourceSet.name}.html") assert ignoreFailures == false assert maxFailures.get() == 0 assert rulesMinimumPriority.get() == 5 assert incrementalAnalysis.get() == true assert threads.get() == 1
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Dec 01 14:47:31 UTC 2023 - 12.4K bytes - Viewed (0) -
tests/test_datastructures.py
stream = io.BytesIO(b"data") file = UploadFile(filename="file", file=stream, size=4) assert await file.read() == b"data" assert file.size == 4 await file.write(b" and more data!") assert await file.read() == b"" assert file.size == 19 await file.seek(0) assert await file.read() == b"data and more data!"
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Wed Oct 18 12:36:40 UTC 2023 - 2K bytes - Viewed (0) -
tests/test_security_http_basic_realm.py
assert response.status_code == 200, response.text assert response.json() == {"username": "john", "password": "secret"} def test_security_http_basic_no_credentials(): response = client.get("/users/me") assert response.json() == {"detail": "Not authenticated"} assert response.status_code == 401, response.text assert response.headers["WWW-Authenticate"] == 'Basic realm="simple"'
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Fri Jun 30 18:25:16 UTC 2023 - 2.6K bytes - Viewed (0) -
test/typeparam/equal.go
} func main() { assert(f(3, 3)) assert(!f(3, 5)) assert(g(3, 3)) assert(!g(3, 5)) assert(h(myint(3), myint(3))) assert(!h(myint(3), myint(5))) type S struct{ a, b float64 } assert(f(S{3, 5}, S{3, 5})) assert(!f(S{3, 5}, S{4, 6})) assert(g(S{3, 5}, S{3, 5})) assert(!g(S{3, 5}, S{4, 6})) assert(k(3, struct{ a, b int }{3, 3})) assert(!k(3, struct{ a, b int }{3, 4})) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Mar 01 19:45:34 UTC 2022 - 1.3K bytes - Viewed (0) -
tests/test_tutorial/test_security/test_tutorial006_an_py39.py
assert response.status_code == 401, response.text assert response.headers["WWW-Authenticate"] == "Basic" assert response.json() == {"detail": "Invalid authentication credentials"} @needs_py39 def test_openapi_schema(client: TestClient): response = client.get("/openapi.json") assert response.status_code == 200, response.text assert response.json() == { "openapi": "3.1.0",
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Fri Jun 30 18:25:16 UTC 2023 - 2.5K bytes - Viewed (0)