Loading...
Comment:
Create HttpMockServer, enabling tests on code that makes HTTP requests
Status: all builds with this change have finished
Revision: 8d3f31db2322c5a8d13cb01e180bac8ce26fa419 VCS Roots: minecraft-dev/MinecraftDev (Git), minecraft-dev/MinecraftDev Nightly (Git)
Parent revisions: 8536a62f8cc9bd7b459e673aed12dcba2659749c  
User: Unknown (none of TeamCity users defined kyle wood username in their VCS username settings)

Edit change description

Here you can change the description in TeamCity only. You may consider changing it in the VCS as well, to avoid an ambiguity and inconsistency.

Cancel
Changed: 111 files (106 added, 5 edited) in
edited .gitattributes
edited build.gradle.kts
edited gradle/libs.versions.toml
edited src/main/kotlin/creator/custom/npm/NpmEnvironment.kt
added src/main/kotlin/creator/custom/npm/NpmRegistry.kt
added src/test/kotlin/creator/NpmRegistryTest.kt
added src/test/kotlin/framework/http/HttpFixturePathsTest.kt
added src/test/kotlin/framework/http/HttpFixturesTest.kt
added src/test/kotlin/framework/http/HttpMockServerTest.kt
added src/test/kotlin/framework/http/recorder/FixtureRecorderTest.kt
added src/test/kotlin/framework/http/recorder/FixtureTrimmersTest.kt
edited src/test/kotlin/util/McdevHttpTest.kt
added src/test/resources/http-fixtures/__files/api.modrinth.com/v2/project/P7dR8mSH/version
added src/test/resources/http-fixtures/__files/api.modrinth.com/v2/project/architectury-api/version
added src/test/resources/http-fixtures/__files/files.minecraftforge.net/maven/net/minecraftforge/forge/maven-metadata.xml
added src/test/resources/http-fixtures/__files/fill.papermc.io/v3/projects/paper
added src/test/resources/http-fixtures/__files/maven.architectury.dev/dev/architectury/architectury-loom/maven-metadata.xml
added src/test/resources/http-fixtures/__files/maven.fabricmc.net/net/fabricmc/fabric-loom/maven-metadata.xml
added src/test/resources/http-fixtures/__files/maven.neoforged.net/releases/net/neoforged/gradle/userdev/maven-metadata.xml
added src/test/resources/http-fixtures/__files/maven.neoforged.net/releases/net/neoforged/moddev/net.neoforged.moddev.gradle.plugin/maven-metadata.xml
added src/test/resources/http-fixtures/__files/maven.neoforged.net/releases/net/neoforged/neoforge/maven-metadata.xml
added src/test/resources/http-fixtures/__files/maven.parchmentmc.org/org/parchmentmc/data/_index
added src/test/resources/http-fixtures/__files/maven.parchmentmc.org/org/parchmentmc/data/parchment-1.16.5/maven-metadata.xml
added src/test/resources/http-fixtures/__files/maven.parchmentmc.org/org/parchmentmc/data/parchment-1.17.1/maven-metadata.xml
added src/test/resources/http-fixtures/__files/maven.parchmentmc.org/org/parchmentmc/data/parchment-1.17/maven-metadata.xml
added src/test/resources/http-fixtures/__files/maven.parchmentmc.org/org/parchmentmc/data/parchment-1.18.1/maven-metadata.xml
added src/test/resources/http-fixtures/__files/maven.parchmentmc.org/org/parchmentmc/data/parchment-1.18.2/maven-metadata.xml
added src/test/resources/http-fixtures/__files/maven.parchmentmc.org/org/parchmentmc/data/parchment-1.19.2/maven-metadata.xml
added src/test/resources/http-fixtures/__files/maven.parchmentmc.org/org/parchmentmc/data/parchment-1.19.3/maven-metadata.xml
added src/test/resources/http-fixtures/__files/maven.parchmentmc.org/org/parchmentmc/data/parchment-1.19.4/maven-metadata.xml
added src/test/resources/http-fixtures/__files/maven.parchmentmc.org/org/parchmentmc/data/parchment-1.20.1/maven-metadata.xml
added src/test/resources/http-fixtures/__files/maven.parchmentmc.org/org/parchmentmc/data/parchment-1.20.2/maven-metadata.xml
added src/test/resources/http-fixtures/__files/maven.parchmentmc.org/org/parchmentmc/data/parchment-1.20.3/maven-metadata.xml
added src/test/resources/http-fixtures/__files/maven.parchmentmc.org/org/parchmentmc/data/parchment-1.20.4/maven-metadata.xml
added src/test/resources/http-fixtures/__files/maven.parchmentmc.org/org/parchmentmc/data/parchment-1.20.5/maven-metadata.xml
added src/test/resources/http-fixtures/__files/maven.parchmentmc.org/org/parchmentmc/data/parchment-1.20.6/maven-metadata.xml
added src/test/resources/http-fixtures/__files/maven.parchmentmc.org/org/parchmentmc/data/parchment-1.21.1/maven-metadata.xml
added src/test/resources/http-fixtures/__files/maven.parchmentmc.org/org/parchmentmc/data/parchment-1.21.10/maven-metadata.xml
added src/test/resources/http-fixtures/__files/maven.parchmentmc.org/org/parchmentmc/data/parchment-1.21.11/maven-metadata.xml
added src/test/resources/http-fixtures/__files/maven.parchmentmc.org/org/parchmentmc/data/parchment-1.21.3/maven-metadata.xml
added src/test/resources/http-fixtures/__files/maven.parchmentmc.org/org/parchmentmc/data/parchment-1.21.4/maven-metadata.xml
added src/test/resources/http-fixtures/__files/maven.parchmentmc.org/org/parchmentmc/data/parchment-1.21.5/maven-metadata.xml
added src/test/resources/http-fixtures/__files/maven.parchmentmc.org/org/parchmentmc/data/parchment-1.21.6-pre1/maven-metadata.xml
added src/test/resources/http-fixtures/__files/maven.parchmentmc.org/org/parchmentmc/data/parchment-1.21.6/maven-metadata.xml
added src/test/resources/http-fixtures/__files/maven.parchmentmc.org/org/parchmentmc/data/parchment-1.21.7/maven-metadata.xml
added src/test/resources/http-fixtures/__files/maven.parchmentmc.org/org/parchmentmc/data/parchment-1.21.8/maven-metadata.xml
added src/test/resources/http-fixtures/__files/maven.parchmentmc.org/org/parchmentmc/data/parchment-1.21.9/maven-metadata.xml
added src/test/resources/http-fixtures/__files/maven.parchmentmc.org/org/parchmentmc/data/parchment-1.21/maven-metadata.xml
added src/test/resources/http-fixtures/__files/meta.fabricmc.net/v2/versions
added src/test/resources/http-fixtures/__files/plugins.gradle.org/m2/io/papermc/paperweight/paperweight-userdev/maven-metadata.xml
added src/test/resources/http-fixtures/__files/plugins.gradle.org/m2/org/jetbrains/gradle/plugin/idea-ext/org.jetbrains.gradle.plugin.idea-ext.gradle.plugin/maven-metadata.xml
added src/test/resources/http-fixtures/__files/plugins.gradle.org/m2/xyz/jpenilla/gremlin-gradle/maven-metadata.xml
added src/test/resources/http-fixtures/__files/plugins.gradle.org/m2/xyz/jpenilla/resource-factory/maven-metadata.xml
added src/test/resources/http-fixtures/__files/plugins.gradle.org/m2/xyz/jpenilla/run-paper/xyz.jpenilla.run-paper.gradle.plugin/maven-metadata.xml
added src/test/resources/http-fixtures/__files/plugins.gradle.org/m2/xyz/jpenilla/run-velocity/xyz.jpenilla.run-velocity.gradle.plugin/maven-metadata.xml
added src/test/resources/http-fixtures/__files/registry.npmjs.org/@fabricmc%2Fcli/latest
added src/test/resources/http-fixtures/__files/repo.maven.apache.org/maven2/com/gradleup/shadow/shadow-gradle-plugin/maven-metadata.xml
added src/test/resources/http-fixtures/__files/repo1.maven.org/maven2/org/jetbrains/kotlin/kotlin-stdlib-jdk8/maven-metadata.xml
added src/test/resources/http-fixtures/mappings/api.modrinth.com/v2/project/P7dR8mSH/version.json
added src/test/resources/http-fixtures/mappings/api.modrinth.com/v2/project/architectury-api/version.json
added src/test/resources/http-fixtures/mappings/files.minecraftforge.net/maven/net/minecraftforge/forge/maven-metadata.xml.json
added src/test/resources/http-fixtures/mappings/fill.papermc.io/v3/projects/paper.json
added src/test/resources/http-fixtures/mappings/maven.architectury.dev/dev/architectury/architectury-loom/maven-metadata.xml.json
added src/test/resources/http-fixtures/mappings/maven.fabricmc.net/net/fabricmc/fabric-loom/maven-metadata.xml.json
added src/test/resources/http-fixtures/mappings/maven.neoforged.net/releases/net/neoforged/gradle/userdev/maven-metadata.xml.json
added src/test/resources/http-fixtures/mappings/maven.neoforged.net/releases/net/neoforged/moddev/net.neoforged.moddev.gradle.plugin/maven-metadata.xml.json
added src/test/resources/http-fixtures/mappings/maven.neoforged.net/releases/net/neoforged/neoforge/maven-metadata.xml.json
added src/test/resources/http-fixtures/mappings/maven.parchmentmc.org/org/parchmentmc/data/_index.json
added src/test/resources/http-fixtures/mappings/maven.parchmentmc.org/org/parchmentmc/data/parchment-1.16.5/maven-metadata.xml.json
added src/test/resources/http-fixtures/mappings/maven.parchmentmc.org/org/parchmentmc/data/parchment-1.17.1/maven-metadata.xml.json
added src/test/resources/http-fixtures/mappings/maven.parchmentmc.org/org/parchmentmc/data/parchment-1.17/maven-metadata.xml.json
added src/test/resources/http-fixtures/mappings/maven.parchmentmc.org/org/parchmentmc/data/parchment-1.18.1/maven-metadata.xml.json
added src/test/resources/http-fixtures/mappings/maven.parchmentmc.org/org/parchmentmc/data/parchment-1.18.2/maven-metadata.xml.json
added src/test/resources/http-fixtures/mappings/maven.parchmentmc.org/org/parchmentmc/data/parchment-1.19.2/maven-metadata.xml.json
added src/test/resources/http-fixtures/mappings/maven.parchmentmc.org/org/parchmentmc/data/parchment-1.19.3/maven-metadata.xml.json
added src/test/resources/http-fixtures/mappings/maven.parchmentmc.org/org/parchmentmc/data/parchment-1.19.4/maven-metadata.xml.json
added src/test/resources/http-fixtures/mappings/maven.parchmentmc.org/org/parchmentmc/data/parchment-1.20.1/maven-metadata.xml.json
added src/test/resources/http-fixtures/mappings/maven.parchmentmc.org/org/parchmentmc/data/parchment-1.20.2/maven-metadata.xml.json
added src/test/resources/http-fixtures/mappings/maven.parchmentmc.org/org/parchmentmc/data/parchment-1.20.3/maven-metadata.xml.json
added src/test/resources/http-fixtures/mappings/maven.parchmentmc.org/org/parchmentmc/data/parchment-1.20.4/maven-metadata.xml.json
added src/test/resources/http-fixtures/mappings/maven.parchmentmc.org/org/parchmentmc/data/parchment-1.20.5/maven-metadata.xml.json
added src/test/resources/http-fixtures/mappings/maven.parchmentmc.org/org/parchmentmc/data/parchment-1.20.6/maven-metadata.xml.json
added src/test/resources/http-fixtures/mappings/maven.parchmentmc.org/org/parchmentmc/data/parchment-1.21.1/maven-metadata.xml.json
added src/test/resources/http-fixtures/mappings/maven.parchmentmc.org/org/parchmentmc/data/parchment-1.21.10/maven-metadata.xml.json
added src/test/resources/http-fixtures/mappings/maven.parchmentmc.org/org/parchmentmc/data/parchment-1.21.11/maven-metadata.xml.json
added src/test/resources/http-fixtures/mappings/maven.parchmentmc.org/org/parchmentmc/data/parchment-1.21.3/maven-metadata.xml.json
added src/test/resources/http-fixtures/mappings/maven.parchmentmc.org/org/parchmentmc/data/parchment-1.21.4/maven-metadata.xml.json
added src/test/resources/http-fixtures/mappings/maven.parchmentmc.org/org/parchmentmc/data/parchment-1.21.5/maven-metadata.xml.json
added src/test/resources/http-fixtures/mappings/maven.parchmentmc.org/org/parchmentmc/data/parchment-1.21.6-pre1/maven-metadata.xml.json
added src/test/resources/http-fixtures/mappings/maven.parchmentmc.org/org/parchmentmc/data/parchment-1.21.6/maven-metadata.xml.json
added src/test/resources/http-fixtures/mappings/maven.parchmentmc.org/org/parchmentmc/data/parchment-1.21.7/maven-metadata.xml.json
added src/test/resources/http-fixtures/mappings/maven.parchmentmc.org/org/parchmentmc/data/parchment-1.21.8/maven-metadata.xml.json
added src/test/resources/http-fixtures/mappings/maven.parchmentmc.org/org/parchmentmc/data/parchment-1.21.9/maven-metadata.xml.json
added src/test/resources/http-fixtures/mappings/maven.parchmentmc.org/org/parchmentmc/data/parchment-1.21/maven-metadata.xml.json
added src/test/resources/http-fixtures/mappings/meta.fabricmc.net/v2/versions.json
added src/test/resources/http-fixtures/mappings/plugins.gradle.org/m2/io/papermc/paperweight/paperweight-userdev/maven-metadata.xml.json
added src/test/resources/http-fixtures/mappings/plugins.gradle.org/m2/org/jetbrains/gradle/plugin/idea-ext/org.jetbrains.gradle.plugin.idea-ext.gradle.plugin/maven-metadata.xml.json
added src/test/resources/http-fixtures/mappings/plugins.gradle.org/m2/xyz/jpenilla/gremlin-gradle/maven-metadata.xml.json
added src/test/resources/http-fixtures/mappings/plugins.gradle.org/m2/xyz/jpenilla/resource-factory/maven-metadata.xml.json
added src/test/resources/http-fixtures/mappings/plugins.gradle.org/m2/xyz/jpenilla/run-paper/xyz.jpenilla.run-paper.gradle.plugin/maven-metadata.xml.json
added src/test/resources/http-fixtures/mappings/plugins.gradle.org/m2/xyz/jpenilla/run-velocity/xyz.jpenilla.run-velocity.gradle.plugin/maven-metadata.xml.json
added src/test/resources/http-fixtures/mappings/registry.npmjs.org/@fabricmc%2Fcli/latest.json
added src/test/resources/http-fixtures/mappings/repo.maven.apache.org/maven2/com/gradleup/shadow/shadow-gradle-plugin/maven-metadata.xml.json
added src/test/resources/http-fixtures/mappings/repo1.maven.org/maven2/org/jetbrains/kotlin/kotlin-stdlib-jdk8/maven-metadata.xml.json
added src/testSupport/kotlin/framework/http/HttpFixturePaths.kt
added src/testSupport/kotlin/framework/http/HttpFixtures.kt
added src/testSupport/kotlin/framework/http/HttpMockExtension.kt
added src/testSupport/kotlin/framework/http/HttpMockServer.kt
added src/testSupport/kotlin/framework/http/recorder/FixtureEndpoints.kt
added src/testSupport/kotlin/framework/http/recorder/FixtureTrimmers.kt
added src/testSupport/kotlin/framework/http/recorder/HttpFixtureRecorder.kt

Add build comment

Cancel

Mute test

Server communication failure

Server is unavailable

Server stopped or communication with the server is not possible due to network failure.

Server shutdown started.

Please relogin to continue your work.

Run custom build

TODO

Loading related builds...
Cancel

Responsibility

Edit tags

Cancel

Loading...

Are you sure?

Cancel

Please type to confirm.
Cancel