Skip to content

Commit

Permalink
updated windows file
Browse files Browse the repository at this point in the history
  • Loading branch information
erh committed Oct 26, 2011
1 parent 16d6cd0 commit bc55474
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions shell/mongo_vstudio.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1065,6 +1065,24 @@ const StringData _jscode_raw_utils =
"print( \"\\n\\n----\\n\" + msg + \"\\n----\\n\\n\" )\n"
"}\n"
"\n"
"jsTest = {}\n"
"\n"
"jsTest.name = jsTestName\n"
"jsTest.file = jsTestFile\n"
"jsTest.path = jsTestPath\n"
"jsTest.options = jsTestOptions\n"
"jsTest.log = jsTestLog\n"
"\n"
"jsTest.dir = function(){\n"
"return jsTest.path().replace( /\\/[^\\/]+$/, \"/\" )\n"
"}\n"
"\n"
"jsTest.randomize = function( seed ) {\n"
"if( seed == undefined ) seed = new Date().getTime()\n"
"Random.srand( seed )\n"
"print( \"Random seed for test : \" + seed )\n"
"}\n"
"\n"
"shellPrintHelper = function (x) {\n"
"if (typeof (x) == \"undefined\") {\n"
"// Make sure that we have a db var before we use it\n"
Expand Down

0 comments on commit bc55474

Please sign in to comment.