Skip to content

Commit

Permalink
Fixed error with Selenium Driver and standalone YUI Test
Browse files Browse the repository at this point in the history
  • Loading branch information
Nicholas committed Jan 18, 2011
1 parent 727d1db commit ff0684f
Show file tree
Hide file tree
Showing 6 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion java/ant.properties
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ tmp.dir = tmp
tests.dir = tests tests.dir = tests


#Version information #Version information
version.number = 0.6.2 version.number = 0.6.4


#Code paths #Code paths
codepath.root.dir = com/yahoo/platform/yuitest codepath.root.dir = com/yahoo/platform/yuitest
Expand Down
Binary file modified java/build/yuitest-coverage-report.jar
Binary file not shown.
Binary file modified java/build/yuitest-coverage.jar
Binary file not shown.
Binary file modified java/build/yuitest-selenium-driver.jar
Binary file not shown.
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -1622,7 +1622,7 @@ scope {
$functionDeclaration::funcLine = $start.getLine(); $functionDeclaration::funcLine = $start.getLine();
} }
@after { @after {
$program::functions.add("\"" + $functionDeclaration::funcName + "\":" + $start.getLine()); $program::functions.add("\"" + $functionDeclaration::funcName + ":" + $start.getLine() + "\"");
if (verbose){ if (verbose){
System.err.println("\n[INFO] Instrumenting function " + $functionDeclaration::funcName + " on line " + $start.getLine()); System.err.println("\n[INFO] Instrumenting function " + $functionDeclaration::funcName + " on line " + $start.getLine());
} }
Expand Down
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ public class SeleniumDriver {


testFormats.put("2", "YAHOO.tool.TestFormat"); testFormats.put("2", "YAHOO.tool.TestFormat");
testFormats.put("3", "Y.Test.Format"); testFormats.put("3", "Y.Test.Format");
testFormats.put("4", "YUITest.ResultsFormat"); testFormats.put("4", "YUITest.TestFormat");


coverageFormats.put("2", "YAHOO.tool.CoverageFormat"); coverageFormats.put("2", "YAHOO.tool.CoverageFormat");
coverageFormats.put("3", "Y.Coverage.Format"); coverageFormats.put("3", "Y.Coverage.Format");
Expand Down

0 comments on commit ff0684f

Please sign in to comment.