Page MenuHomePhabricator

Auto-change target URL when testing.
ClosedPublic

Authored by CLOVIS on Jul 9 2018, 8:07 PM.

Details

Summary

Detected using the System property set by Gradle when running the tests to differentiate between the runners, see the documentation.

  • Using the system property set by Gradle when running tests to know whether to use the official or the dev URL.
  • Adding test for the test environment
  • Fixing badly-written test
Test Plan

Run ./gradlew test, none should fail.

Diff Detail

Repository
rLIBWFJVA WildFyre Java Libary
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

Info-Screen retitled this revision from Auto-change target URL when testing. Detected using the System property set by Gradle when running the tests to differentiate between the runners, [see the documentation](https://docs.gradle.org/current/userguide/java_testing.html#sec... to Auto-change target URL when testing..
Info-Screen edited the summary of this revision. (Show Details)
This revision is now accepted and ready to land.Jul 9 2018, 8:14 PM
This revision was automatically updated to reflect the committed changes.