package com.perforce.workshop.tjuricek.p4oauth import org.gradle.api.Plugin import org.gradle.api.Project /** */ class P4OAuthPlugin implements Plugin<Project> { @Override void apply(Project project) { project.extensions.add("p4oauth", P4OAuthExtension) project.task('createKeystore', type: CreateKeystoreTask, description: "Create a test keystore file") project.task("startTestServer", type: StartTestServerTask, description: "Starts a test application that will authenticate") project.task("stopTestServer", type: StopTestServerTask, description: "Halts the test application server") project.task('startP4OAuth', type: StartP4OAuthTask, description: "Start the p4oauth server") project.task('stopP4OAuth', type: StopP4OAuthTask, description: "Stop the p4oauth server") project.tasks.startTestServer.dependsOn(":test_server:assemble", "createKeystore") } }
# | Change | User | Description | Committed | |
---|---|---|---|---|---|
#3 | 9142 | tjuricek | Implemented 'startP4OAuth' and 'stopP4OAuth' tasks, fixed reference to test data, and updated plugin dependencies | ||
#2 | 9138 | tjuricek |
Added a "test server" with startTestServer and stopTestServer gradle tasks. The test server isn't 100% complete, but the gradle tasks should be. This is to be used to drive tests forward via a web browser. |
||
#1 | 9105 | tjuricek |
Added the 'createKeystore' task, and framework for how the functional tests will be set up. See the functional_tests/README. The short story is that we'll execute a "test webapp" that the actual tests will interact with. |