Skip to content

Commit

Permalink
Added proxy support to the DebugRunner to see the requests in fiddler
Browse files Browse the repository at this point in the history
  • Loading branch information
Brian Nesbitt committed Oct 31, 2010
1 parent 469ff37 commit 2199821
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions tests/src/com/mogade/java/tests/DebugRunner.java
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,11 @@ public class DebugRunner
{
public static void main(String[] args)
{
if (args.length == 2)
{
System.setProperty("http.proxyHost", args[0]);
System.setProperty("http.proxyPort", args[1]);
}
org.junit.runner.JUnitCore.runClasses(TestMogade.class);
org.junit.runner.JUnitCore.runClasses(TestScore.class);
org.junit.runner.JUnitCore.runClasses(TestUtility.class);
Expand Down

0 comments on commit 2199821

Please sign in to comment.