blob: dabd3d039c2eef5ecc7b19c4e92a467733bd99a3 [file] [log] [blame]
["^ ","~:rename-macros",["^ "],"~:renames",["^ "],"~:externs",["^ ","~$Error",["^ "],"~$parseInt",["^ "]],"~:use-macros",["^ "],"~:excludes",["~#set",[]],"~:name","~$cljs.test","~:imports",null,"~:requires",["^ ","~$string","~$clojure.string","^=","^=","~$pprint","~$cljs.pprint","^?","^?"],"~:cljs.spec/speced-vars",[],"~:uses",null,"~:defs",["^ ","~$default-fixture",["^ ","~:protocol-inline",null,"~:meta",["^ ","~:file","/Users/rchaves/.cljs/.aot_cache/1.10.597/A52ED07/cljs/test.cljs","~:line",502,"~:column",8,"~:end-line",502,"~:end-column",23,"~:private",true,"~:arglists",["~#list",["~$quote",["^M",[["~$f"]]]]],"~:doc","The default, empty, fixture function. Just calls its argument.\n\n NOTE: Incompatible with map fixtures."],"^K",true,"^8","~$cljs.test/default-fixture","^F","/Users/rchaves/.cljs/.aot_cache/1.10.597/A52ED07/cljs/test.cljs","^J",23,"~:method-params",["^M",[["~$f"]]],"~:protocol-impl",null,"~:arglists-meta",["^M",[null,null]],"^H",1,"~:variadic?",false,"^G",502,"~:ret-tag","~$any","^I",502,"~:max-fixed-arity",1,"~:fn-var",true,"^L",["^M",["^N",["^M",[["~$f"]]]]],"^O","The default, empty, fixture function. Just calls its argument.\n\n NOTE: Incompatible with map fixtures."],"~$test-var",["^ ","^D",null,"^E",["^ ","^F","/Users/rchaves/.cljs/.aot_cache/1.10.597/A52ED07/cljs/test.cljs","^G",496,"^H",7,"^I",496,"^J",15,"^L",["^M",["^N",["^M",[["~$v"]]]]],"^O","If v has a function in its :test metadata, calls that function,\n add v to :testing-vars property of env."],"^8","~$cljs.test/test-var","^F","/Users/rchaves/.cljs/.aot_cache/1.10.597/A52ED07/cljs/test.cljs","^J",15,"^Q",["^M",[["~$v"]]],"^R",null,"^S",["^M",[null,null]],"^H",1,"^T",false,"^G",496,"^U",["^7",["^V","~$clj-nil"]],"^I",496,"^W",1,"^X",true,"^L",["^M",["^N",["^M",[["~$v"]]]]],"^O","If v has a function in its :test metadata, calls that function,\n add v to :testing-vars property of env."],"~$execution-strategy",["^ ","^D",null,"^E",["^ ","^F","/Users/rchaves/.cljs/.aot_cache/1.10.597/A52ED07/cljs/test.cljs","^G",532,"^H",8,"^I",532,"^J",26,"^K",true,"^L",["^M",["^N",["^M",[["~$once","~$each"]]]]]],"^K",true,"^8","~$cljs.test/execution-strategy","^F","/Users/rchaves/.cljs/.aot_cache/1.10.597/A52ED07/cljs/test.cljs","^J",26,"^Q",["^M",[["^11","^12"]]],"^R",null,"^S",["^M",[null,null]],"^H",1,"^T",false,"^G",532,"^I",532,"^W",2,"^X",true,"^L",["^M",["^N",["^M",[["^11","^12"]]]]]],"~$do-report",["^ ","^D",null,"^E",["^ ","^F","/Users/rchaves/.cljs/.aot_cache/1.10.597/A52ED07/cljs/test.cljs","^G",420,"^H",7,"^I",420,"^J",16,"^L",["^M",["^N",["^M",[["~$m"]]]]]],"^8","~$cljs.test/do-report","^F","/Users/rchaves/.cljs/.aot_cache/1.10.597/A52ED07/cljs/test.cljs","^J",16,"^Q",["^M",[["~$m"]]],"^R",null,"^S",["^M",[null,null]],"^H",1,"^T",false,"^G",420,"^U","^V","^I",420,"^W",1,"^X",true,"^L",["^M",["^N",["^M",[["~$m"]]]]]],"~$async?",["^ ","^D",null,"^E",["^ ","^F","/Users/rchaves/.cljs/.aot_cache/1.10.597/A52ED07/cljs/test.cljs","^G",434,"^H",7,"^I",434,"^J",13,"^L",["^M",["^N",["^M",[["~$x"]]]]],"^O","Returns whether x implements IAsyncTest."],"^8","~$cljs.test/async?","^F","/Users/rchaves/.cljs/.aot_cache/1.10.597/A52ED07/cljs/test.cljs","^J",13,"^Q",["^M",[["~$x"]]],"^R",null,"^S",["^M",[null,null]],"^H",1,"^T",false,"^G",434,"^U","~$boolean","^I",434,"^W",1,"^X",true,"^L",["^M",["^N",["^M",[["~$x"]]]]],"^O","Returns whether x implements IAsyncTest."],"~$testing-contexts-str",["^ ","^D",null,"^E",["^ ","^F","/Users/rchaves/.cljs/.aot_cache/1.10.597/A52ED07/cljs/test.cljs","^G",299,"^H",7,"^I",299,"^J",27,"^L",["^M",["^N",["^M",[[]]]]],"^O","Returns a string representation of the current test context. Joins\n strings in *testing-contexts* with spaces."],"^8","~$cljs.test/testing-contexts-str","^F","/Users/rchaves/.cljs/.aot_cache/1.10.597/A52ED07/cljs/test.cljs","^J",27,"^Q",["^M",[[]]],"^R",null,"^S",["^M",[null,null]],"^H",1,"^T",false,"^G",299,"^U","^V","^I",299,"^W",0,"^X",true,"^L",["^M",["^N",["^M",[[]]]]],"^O","Returns a string representation of the current test context. Joins\n strings in *testing-contexts* with spaces."],"~$join-fixtures",["^ ","^D",null,"^E",["^ ","^F","/Users/rchaves/.cljs/.aot_cache/1.10.597/A52ED07/cljs/test.cljs","^G",517,"^H",7,"^I",517,"^J",20,"^L",["^M",["^N",["^M",[["~$fixtures"]]]]],"^O","Composes a collection of fixtures, in order. Always returns a valid\n fixture function, even if the collection is empty.\n\n NOTE: Incompatible with map fixtures."],"^8","~$cljs.test/join-fixtures","^F","/Users/rchaves/.cljs/.aot_cache/1.10.597/A52ED07/cljs/test.cljs","^J",20,"^Q",["^M",[["^1<"]]],"^R",null,"^S",["^M",[null,null]],"^H",1,"^T",false,"^G",517,"^U",["^7",[null,"^V"]],"^I",517,"^W",1,"^X",true,"^L",["^M",["^N",["^M",[["^1<"]]]]],"^O","Composes a collection of fixtures, in order. Always returns a valid\n fixture function, even if the collection is empty.\n\n NOTE: Incompatible with map fixtures."],"~$inc-report-counter!",["^ ","^D",null,"^E",["^ ","^F","/Users/rchaves/.cljs/.aot_cache/1.10.597/A52ED07/cljs/test.cljs","^G",305,"^H",7,"^I",305,"^J",26,"^L",["^M",["^N",["^M",[["~$name"]]]]],"^O","Increments the named counter in *report-counters*, a ref to a map.\n Does nothing if *report-counters* is nil."],"^8","~$cljs.test/inc-report-counter!","^F","/Users/rchaves/.cljs/.aot_cache/1.10.597/A52ED07/cljs/test.cljs","^J",26,"^Q",["^M",[["^1?"]]],"^R",null,"^S",["^M",[null,null]],"^H",1,"^T",false,"^G",305,"^U",["^7",["^V","^["]],"^I",305,"^W",1,"^X",true,"^L",["^M",["^N",["^M",[["^1?"]]]]],"^O","Increments the named counter in *report-counters*, a ref to a map.\n Does nothing if *report-counters* is nil."],"~$get-current-env",["^ ","^D",null,"^E",["^ ","^F","/Users/rchaves/.cljs/.aot_cache/1.10.597/A52ED07/cljs/test.cljs","^G",271,"^H",7,"^I",271,"^J",22,"^L",["^M",["^N",["^M",[[]]]]]],"^8","~$cljs.test/get-current-env","^F","/Users/rchaves/.cljs/.aot_cache/1.10.597/A52ED07/cljs/test.cljs","^J",22,"^Q",["^M",[[]]],"^R",null,"^S",["^M",[null,null]],"^H",1,"^T",false,"^G",271,"^U","^V","^I",271,"^W",0,"^X",true,"^L",["^M",["^N",["^M",[[]]]]]],"~$file-and-line",["^ ","^D",null,"^E",["^ ","^F","/Users/rchaves/.cljs/.aot_cache/1.10.597/A52ED07/cljs/test.cljs","^G",406,"^H",7,"^I",406,"^J",20,"^L",["^M",["^N",["^M",[["~$exception","~$depth"]]]]]],"^8","~$cljs.test/file-and-line","^F","/Users/rchaves/.cljs/.aot_cache/1.10.597/A52ED07/cljs/test.cljs","^J",20,"^Q",["^M",[["^1D","^1E"]]],"^R",null,"^S",["^M",[null,null]],"^H",1,"^T",false,"^G",406,"^U","~$cljs.core/IMap","^I",406,"^W",2,"^X",true,"^L",["^M",["^N",["^M",[["^1D","^1E"]]]]]],"~$block",["^ ","^D",null,"^E",["^ ","^F","/Users/rchaves/.cljs/.aot_cache/1.10.597/A52ED07/cljs/test.cljs","^G",458,"^H",7,"^I",458,"^J",12,"^L",["^M",["^N",["^M",[["~$fns"]]]]],"^O","Tag a seq of fns to be picked up by run-block as injected\n continuation. See run-block."],"^8","~$cljs.test/block","^F","/Users/rchaves/.cljs/.aot_cache/1.10.597/A52ED07/cljs/test.cljs","^J",12,"^Q",["^M",[["^1I"]]],"^R",null,"^S",["^M",[null,null]],"^H",1,"^T",false,"^G",458,"^U",["^7",["~$clj","~$cljs.core/MetaFn","^["]],"^I",458,"^W",1,"^X",true,"^L",["^M",["^N",["^M",[["^1I"]]]]],"^O","Tag a seq of fns to be picked up by run-block as injected\n continuation. See run-block."],"~$report",["^ ","^E",["^ ","^F","/Users/rchaves/.cljs/.aot_cache/1.10.597/A52ED07/cljs/test.cljs","^G",318,"^H",3,"^I",318,"^J",9,"^O","Generic reporting function, may be overridden to plug in\n different report formats (e.g., TAP, JUnit). Assertions such as\n 'is' call 'report' to indicate results. The argument given to\n 'report' will be a map with a :type key.","~:dynamic",true],"^8","~$cljs.test/report","^F","/Users/rchaves/.cljs/.aot_cache/1.10.597/A52ED07/cljs/test.cljs","^J",9,"^H",1,"^1N",true,"^G",312,"^I",318,"~:tag","^V","^O","Generic reporting function, may be overridden to plug in\n different report formats (e.g., TAP, JUnit). Assertions such as\n 'is' call 'report' to indicate results. The argument given to\n 'report' will be a map with a :type key."],"~$compose-fixtures",["^ ","^D",null,"^E",["^ ","^F","/Users/rchaves/.cljs/.aot_cache/1.10.597/A52ED07/cljs/test.cljs","^G",509,"^H",7,"^I",509,"^J",23,"^L",["^M",["^N",["^M",[["~$f1","~$f2"]]]]],"^O","Composes two fixture functions, creating a new fixture function\n that combines their behavior.\n\n NOTE: Incompatible with map fixtures."],"^8","~$cljs.test/compose-fixtures","^F","/Users/rchaves/.cljs/.aot_cache/1.10.597/A52ED07/cljs/test.cljs","^J",23,"^Q",["^M",[["^1R","^1S"]]],"^R",null,"^S",["^M",[null,null]],"^H",1,"^T",false,"^G",509,"^U","~$function","^I",509,"^W",2,"^X",true,"^L",["^M",["^N",["^M",[["^1R","^1S"]]]]],"^O","Composes two fixture functions, creating a new fixture function\n that combines their behavior.\n\n NOTE: Incompatible with map fixtures."],"~$disable-async",["^ ","^D",null,"^E",["^ ","^F","/Users/rchaves/.cljs/.aot_cache/1.10.597/A52ED07/cljs/test.cljs","^G",549,"^H",8,"^I",549,"^J",21,"^K",true,"^L",["^M",["^N",["^M",[["~$f"]]]]]],"^K",true,"^8","~$cljs.test/disable-async","^F","/Users/rchaves/.cljs/.aot_cache/1.10.597/A52ED07/cljs/test.cljs","^J",21,"^Q",["^M",[["~$f"]]],"^R",null,"^S",["^M",[null,null]],"^H",1,"^T",false,"^G",549,"^U","^1U","^I",549,"^W",1,"^X",true,"^L",["^M",["^N",["^M",[["~$f"]]]]]],"~$test-var-block*",["^ ","^D",null,"^E",["^ ","^F","/Users/rchaves/.cljs/.aot_cache/1.10.597/A52ED07/cljs/test.cljs","^G",468,"^H",8,"^I",468,"^J",23,"^K",true,"^L",["^M",["^N",["^M",[["~$v","~$t"]]]]]],"^K",true,"^8","~$cljs.test/test-var-block*","^F","/Users/rchaves/.cljs/.aot_cache/1.10.597/A52ED07/cljs/test.cljs","^J",23,"^Q",["^M",[["~$v","~$t"]]],"^R",null,"^S",["^M",[null,null]],"^H",1,"^T",false,"^G",468,"^U","~$cljs.core/IVector","^I",468,"^W",2,"^X",true,"^L",["^M",["^N",["^M",[["~$v","~$t"]]]]]],"~$js-line-and-column",["^ ","^D",null,"^E",["^ ","^F","/Users/rchaves/.cljs/.aot_cache/1.10.597/A52ED07/cljs/test.cljs","^G",366,"^H",7,"^I",366,"^J",25,"^L",["^M",["^N",["^M",[["~$stack-element"]]]]]],"^8","~$cljs.test/js-line-and-column","^F","/Users/rchaves/.cljs/.aot_cache/1.10.597/A52ED07/cljs/test.cljs","^J",25,"^Q",["^M",[["^20"]]],"^R",null,"^S",["^M",[null,null]],"^H",1,"^T",false,"^G",366,"^U","^1Z","^I",366,"^W",1,"^X",true,"^L",["^M",["^N",["^M",[["^20"]]]]]],"~$IAsyncTest",["^ ","^E",["^ ","~:protocol-symbol",true,"^F","/Users/rchaves/.cljs/.aot_cache/1.10.597/A52ED07/cljs/test.cljs","^J",24,"^H",14,"^G",430,"~:protocol-info",["^ ","~:methods",["^ "]],"^I",430,"~:sigs",["^ "],"^O","Marker protocol denoting CPS function to begin asynchronous\n testing.","~:jsdoc",["^M",["@interface"]]],"^23",true,"^8","~$cljs.test/IAsyncTest","^F","/Users/rchaves/.cljs/.aot_cache/1.10.597/A52ED07/cljs/test.cljs","^J",24,"^H",1,"^G",430,"^24",["^ ","^25",["^ "]],"~:info",null,"^I",430,"^1P","^V","^26",["^ "],"~:impls",["^7",[]],"^O","Marker protocol denoting CPS function to begin asynchronous\n testing.","^27",["^M",["@interface"]]],"~$print-comparison",["^ ","^D",null,"^E",["^ ","^F","/Users/rchaves/.cljs/.aot_cache/1.10.597/A52ED07/cljs/test.cljs","^G",325,"^H",8,"^I",325,"^J",24,"^K",true,"^L",["^M",["^N",["^M",[["~$m"]]]]]],"^K",true,"^8","~$cljs.test/print-comparison","^F","/Users/rchaves/.cljs/.aot_cache/1.10.597/A52ED07/cljs/test.cljs","^J",24,"^Q",["^M",[["~$m"]]],"^R",null,"^S",["^M",[null,null]],"^H",1,"^T",false,"^G",325,"^U","^[","^I",325,"^W",1,"^X",true,"^L",["^M",["^N",["^M",[["~$m"]]]]]],"~$test-vars-block",["^ ","^D",null,"^E",["^ ","^F","/Users/rchaves/.cljs/.aot_cache/1.10.597/A52ED07/cljs/test.cljs","^G",556,"^H",7,"^I",556,"^J",22,"^L",["^M",["^N",["^M",[["~$vars"]]]]],"^O","Like test-vars, but returns a block for further composition and\n later execution."],"^8","~$cljs.test/test-vars-block","^F","/Users/rchaves/.cljs/.aot_cache/1.10.597/A52ED07/cljs/test.cljs","^J",22,"^Q",["^M",[["^2>"]]],"^R",null,"^S",["^M",[null,null]],"^H",1,"^T",false,"^G",556,"^U","~$cljs.core/LazySeq","^I",556,"^W",1,"^X",true,"^L",["^M",["^N",["^M",[["^2>"]]]]],"^O","Like test-vars, but returns a block for further composition and\n later execution."],"~$clear-env!",["^ ","^D",null,"^E",["^ ","^F","/Users/rchaves/.cljs/.aot_cache/1.10.597/A52ED07/cljs/test.cljs","^G",280,"^H",7,"^I",280,"^J",17,"^L",["^M",["^N",["^M",[[]]]]]],"^8","~$cljs.test/clear-env!","^F","/Users/rchaves/.cljs/.aot_cache/1.10.597/A52ED07/cljs/test.cljs","^J",17,"^Q",["^M",[[]]],"^R",null,"^S",["^M",[null,null]],"^H",1,"^T",false,"^G",280,"^I",280,"^W",0,"^X",true,"^L",["^M",["^N",["^M",[[]]]]]],"~$set-env!",["^ ","^D",null,"^E",["^ ","^F","/Users/rchaves/.cljs/.aot_cache/1.10.597/A52ED07/cljs/test.cljs","^G",277,"^H",7,"^I",277,"^J",15,"^L",["^M",["^N",["^M",[["~$new-env"]]]]]],"^8","~$cljs.test/set-env!","^F","/Users/rchaves/.cljs/.aot_cache/1.10.597/A52ED07/cljs/test.cljs","^J",15,"^Q",["^M",[["^2D"]]],"^R",null,"^S",["^M",[null,null]],"^H",1,"^T",false,"^G",277,"^I",277,"^W",1,"^X",true,"^L",["^M",["^N",["^M",[["^2D"]]]]]],"~$wrap-map-fixtures",["^ ","^D",null,"^E",["^ ","^F","/Users/rchaves/.cljs/.aot_cache/1.10.597/A52ED07/cljs/test.cljs","^G",525,"^H",8,"^I",525,"^J",25,"^K",true,"^L",["^M",["^N",["^M",[["~$map-fixtures","^1H"]]]]],"^O","Wraps block in map-fixtures."],"^K",true,"^8","~$cljs.test/wrap-map-fixtures","^F","/Users/rchaves/.cljs/.aot_cache/1.10.597/A52ED07/cljs/test.cljs","^J",25,"^Q",["^M",[["^2G","^1H"]]],"^R",null,"^S",["^M",[null,null]],"^H",1,"^T",false,"^G",525,"^U","^2@","^I",525,"^W",2,"^X",true,"^L",["^M",["^N",["^M",[["^2G","^1H"]]]]],"^O","Wraps block in map-fixtures."],"~$mapped-line-and-column",["^ ","^D",null,"^E",["^ ","^F","/Users/rchaves/.cljs/.aot_cache/1.10.597/A52ED07/cljs/test.cljs","^G",388,"^H",7,"^I",388,"^J",29,"^L",["^M",["^N",["^M",[["~$filename","~$line","~$column"]]]]]],"^8","~$cljs.test/mapped-line-and-column","^F","/Users/rchaves/.cljs/.aot_cache/1.10.597/A52ED07/cljs/test.cljs","^J",29,"^Q",["^M",[["^2J","^2K","^2L"]]],"^R",null,"^S",["^M",[null,null]],"^H",1,"^T",false,"^G",388,"^U",["^7",["^1K","^1Z","^V","^1L","^["]],"^I",388,"^W",3,"^X",true,"^L",["^M",["^N",["^M",[["^2J","^2K","^2L"]]]]]],"~$test-vars",["^ ","^D",null,"^E",["^ ","^F","/Users/rchaves/.cljs/.aot_cache/1.10.597/A52ED07/cljs/test.cljs","^G",589,"^H",7,"^I",589,"^J",16,"^L",["^M",["^N",["^M",[["^2>"]]]]],"^O","Groups vars by their namespace and runs test-vars on them with\n appropriate fixtures assuming they are present in the current\n testing environment."],"^8","~$cljs.test/test-vars","^F","/Users/rchaves/.cljs/.aot_cache/1.10.597/A52ED07/cljs/test.cljs","^J",16,"^Q",["^M",[["^2>"]]],"^R",null,"^S",["^M",[null,null]],"^H",1,"^T",false,"^G",589,"^U",["^7",["^V","^["]],"^I",589,"^W",1,"^X",true,"^L",["^M",["^N",["^M",[["^2>"]]]]],"^O","Groups vars by their namespace and runs test-vars on them with\n appropriate fixtures assuming they are present in the current\n testing environment."],"~$get-and-clear-env!",["^ ","^D",null,"^E",["^ ","^F","/Users/rchaves/.cljs/.aot_cache/1.10.597/A52ED07/cljs/test.cljs","^G",283,"^H",7,"^I",283,"^J",25,"^L",["^M",["^N",["^M",[[]]]]]],"^8","~$cljs.test/get-and-clear-env!","^F","/Users/rchaves/.cljs/.aot_cache/1.10.597/A52ED07/cljs/test.cljs","^J",25,"^Q",["^M",[[]]],"^R",null,"^S",["^M",[null,null]],"^H",1,"^T",false,"^G",283,"^U","^V","^I",283,"^W",0,"^X",true,"^L",["^M",["^N",["^M",[[]]]]]],"~$test-var-block",["^ ","^D",null,"^E",["^ ","^F","/Users/rchaves/.cljs/.aot_cache/1.10.597/A52ED07/cljs/test.cljs","^G",489,"^H",7,"^I",489,"^J",21,"^L",["^M",["^N",["^M",[["~$v"]]]]],"^O","Like test-var, but returns a block for further composition and\n later execution."],"^8","~$cljs.test/test-var-block","^F","/Users/rchaves/.cljs/.aot_cache/1.10.597/A52ED07/cljs/test.cljs","^J",21,"^Q",["^M",[["~$v"]]],"^R",null,"^S",["^M",[null,null]],"^H",1,"^T",false,"^G",489,"^U",["^7",["^1Z","^["]],"^I",489,"^W",1,"^X",true,"^L",["^M",["^N",["^M",[["~$v"]]]]],"^O","Like test-var, but returns a block for further composition and\n later execution."],"~$successful?",["^ ","^D",null,"^E",["^ ","^F","/Users/rchaves/.cljs/.aot_cache/1.10.597/A52ED07/cljs/test.cljs","^G",601,"^H",7,"^I",601,"^J",18,"^L",["^M",["^N",["^M",[["~$summary"]]]]],"^O","Returns true if the given test summary indicates all tests\n were successful, false otherwise."],"^8","~$cljs.test/successful?","^F","/Users/rchaves/.cljs/.aot_cache/1.10.597/A52ED07/cljs/test.cljs","^J",18,"^Q",["^M",[["^2U"]]],"^R",null,"^S",["^M",[null,null]],"^H",1,"^T",false,"^G",601,"^U","^18","^I",601,"^W",1,"^X",true,"^L",["^M",["^N",["^M",[["^2U"]]]]],"^O","Returns true if the given test summary indicates all tests\n were successful, false otherwise."],"~$empty-env",["^ ","^D",null,"^E",["^ ","^F","/Users/rchaves/.cljs/.aot_cache/1.10.597/A52ED07/cljs/test.cljs","^G",252,"^H",7,"^I",252,"^J",16,"^L",["^M",["^N",["^M",[[],["~$reporter"]]]]],"^O","Generates a testing environment with a reporter.\n (empty-env) - uses the :cljs.test/default reporter.\n (empty-env :cljs.test/pprint) - pretty prints all data structures. \n (empty-env reporter) - uses a reporter of your choosing.\n\n To create your own reporter see cljs.test/report","~:top-fn",["^ ","^T",false,"~:fixed-arity",1,"^W",1,"^Q",["^M",[[],["^2X"]]],"^L",["^M",[[],["^2X"]]],"^S",["^M",[null,null]]]],"^8","~$cljs.test/empty-env","^F","/Users/rchaves/.cljs/.aot_cache/1.10.597/A52ED07/cljs/test.cljs","^J",16,"^2Y",["^ ","^T",false,"^2Z",1,"^W",1,"^Q",["^M",[[],["^2X"]]],"^L",["^M",[[],["^2X"]]],"^S",["^M",[null,null]]],"^Q",["^M",[[],["^2X"]]],"^R",null,"^2Z",1,"^S",["^M",[null,null]],"^H",1,"^T",false,"^25",[["^ ","^2Z",0,"^T",false,"^1P","^V"],["^ ","^2Z",1,"^T",false,"^1P",["^7",["^1K","^V","^1G"]]]],"^G",252,"^I",252,"^W",1,"^X",true,"^L",["^M",[[],["^2X"]]],"^O","Generates a testing environment with a reporter.\n (empty-env) - uses the :cljs.test/default reporter.\n (empty-env :cljs.test/pprint) - pretty prints all data structures. \n (empty-env reporter) - uses a reporter of your choosing.\n\n To create your own reporter see cljs.test/report"],"~$testing-vars-str",["^ ","^D",null,"^E",["^ ","^F","/Users/rchaves/.cljs/.aot_cache/1.10.597/A52ED07/cljs/test.cljs","^G",289,"^H",7,"^I",289,"^J",23,"^L",["^M",["^N",["^M",[["~$m"]]]]],"^O","Returns a string representation of the current test. Renders names\n in *testing-vars* as a list, then the source file and line of\n current assertion."],"^8","~$cljs.test/testing-vars-str","^F","/Users/rchaves/.cljs/.aot_cache/1.10.597/A52ED07/cljs/test.cljs","^J",23,"^Q",["^M",[["~$m"]]],"^R",null,"^S",["^M",[null,null]],"^H",1,"^T",false,"^G",289,"^U","^<","^I",289,"^W",1,"^X",true,"^L",["^M",["^N",["^M",[["~$m"]]]]],"^O","Returns a string representation of the current test. Renders names\n in *testing-vars* as a list, then the source file and line of\n current assertion."],"~$*current-env*",["^ ","^E",["^ ","^F","/Users/rchaves/.cljs/.aot_cache/1.10.597/A52ED07/cljs/test.cljs","^G",269,"^H",16,"^I",269,"^J",29,"^1N",true],"^8","~$cljs.test/*current-env*","^F","/Users/rchaves/.cljs/.aot_cache/1.10.597/A52ED07/cljs/test.cljs","^J",29,"^H",1,"^1N",true,"^G",269,"^I",269,"^1P","^V"],"~$run-block",["^ ","^D",null,"^E",["^ ","^F","/Users/rchaves/.cljs/.aot_cache/1.10.597/A52ED07/cljs/test.cljs","^G",439,"^H",7,"^I",439,"^J",16,"^L",["^M",["^N",["^M",[["^1I"]]]]],"^O","Invoke all functions in fns with no arguments. A fn can optionally\n return\n\n an async test - is invoked with a continuation running left fns\n\n a seq of fns tagged per block - are invoked immediately after fn"],"^8","~$cljs.test/run-block","^F","/Users/rchaves/.cljs/.aot_cache/1.10.597/A52ED07/cljs/test.cljs","^J",16,"^Q",["^M",[["^1I"]]],"^R",null,"^S",["^M",[null,null]],"^H",1,"^T",false,"^G",439,"^U",["^7",["^V","^["]],"^I",439,"^W",1,"^X",true,"^L",["^M",["^N",["^M",[["^1I"]]]]],"^O","Invoke all functions in fns with no arguments. A fn can optionally\n return\n\n an async test - is invoked with a continuation running left fns\n\n a seq of fns tagged per block - are invoked immediately after fn"],"~$update-current-env!",["^ ","^D",null,"^E",["^ ","^F","/Users/rchaves/.cljs/.aot_cache/1.10.597/A52ED07/cljs/test.cljs","^G",274,"^H",7,"^I",274,"^J",26,"^L",["^M",["^N",["^M",[["~$ks","~$f","~$&","~$args"]]]]],"^2Y",["^ ","^T",true,"^2Z",2,"^W",2,"^Q",[["^M",["^37","~$f","^38"]]],"^L",["^M",[["^37","~$f","~$&","^38"]]],"^S",["^M",[null]]]],"^8","~$cljs.test/update-current-env!","^F","/Users/rchaves/.cljs/.aot_cache/1.10.597/A52ED07/cljs/test.cljs","^J",26,"^2Y",["^ ","^T",true,"^2Z",2,"^W",2,"^Q",[["^M",["^37","~$f","^38"]]],"^L",["^M",[["^37","~$f","~$&","^38"]]],"^S",["^M",[null]]],"^Q",[["^M",["^37","~$f","^38"]]],"^R",null,"^2Z",2,"^S",["^M",[null]],"^H",1,"^T",true,"^25",[["^ ","^2Z",2,"^T",true]],"^G",274,"^U","^V","^I",274,"^W",2,"^X",true,"^L",["^M",[["^37","~$f","~$&","^38"]]]],"~$js-filename",["^ ","^D",null,"^E",["^ ","^F","/Users/rchaves/.cljs/.aot_cache/1.10.597/A52ED07/cljs/test.cljs","^G",378,"^H",7,"^I",378,"^J",18,"^L",["^M",["^N",["^M",[["^20"]]]]]],"^8","~$cljs.test/js-filename","^F","/Users/rchaves/.cljs/.aot_cache/1.10.597/A52ED07/cljs/test.cljs","^J",18,"^Q",["^M",[["^20"]]],"^R",null,"^S",["^M",[null,null]],"^H",1,"^T",false,"^G",378,"^U",["^7",["^V","^["]],"^I",378,"^W",1,"^X",true,"^L",["^M",["^N",["^M",[["^20"]]]]]]],"~:cljs.spec/registry-ref",[],"~:require-macros",["^ ","~$temp","~$clojure.template","^3?","^3?","~$test","^9","^9","^9","^>","^?","^?","^?"],"~:cljs.analyzer/constants",["^ ","~:seen",["^7",["~:async","~:testing-vars","~:fn","~:begin-test-var","~:testing-contexts","~:report-counters","~:default","~:ns","^8","~:each-fixtures","~:cljs.test/pprint","~:formatter","^F","~:type","~:source","~:sync","~:cljs.test/async-disabled","^H","~:summary","~:end-test-var","~:fail","~:after","~:reporter","^G","~:var","~:end-run-tests","~:col","~:end-test-all-vars","~:expected","~:cljs.test/default","~:source-map","~:begin-test-ns","~:error","~:pass","~:hierarchy","~:actual","~:before","~:end-test-ns","~:map","~:test","~:cljs.test/block?","~:none","~:message","~:vars","~:once-fixtures","~:end-test-vars"]],"~:order",["^40","^3H","^3D","^3G","^3M","^3V","^4:","^44","^3T","^43","^3L","^F","^G","^H","^8","^45","^3N","^3I","^3[","^46","^4=","^3R","^42","^3J","^48","^3F","^3S","^3X","^3Z","^4@","^41","^3O","^3Y","^4;","^3W","^47","^3U","^4<","^49","^3E","^3C","^3P","^3Q","^4?","^3K","^4>"]],"^O","A unit testing framework.\n\n ASSERTIONS\n\n The core of the library is the \"is\" macro, which lets you make\n assertions of any arbitrary expression:\n\n (is (= 4 (+ 2 2)))\n (is (instance? Integer 256))\n (is (.startsWith \"abcde\" \"ab\"))\n\n You can type an \"is\" expression directly at the REPL, which will\n print a message if it fails.\n\n user> (is (= 5 (+ 2 2)))\n\n FAIL in (:1)\n expected: (= 5 (+ 2 2))\n actual: (not (= 5 4))\n false\n\n The \"expected:\" line shows you the original expression, and the\n \"actual:\" shows you what actually happened. In this case, it\n shows that (+ 2 2) returned 4, which is not = to 5. Finally, the\n \"false\" on the last line is the value returned from the\n expression. The \"is\" macro always returns the result of the\n inner expression.\n\n There are two special assertions for testing exceptions. The\n \"(is (thrown? c ...))\" form tests if an exception of class c is\n thrown:\n\n (is (thrown? ArithmeticException (/ 1 0))) \n\n \"(is (thrown-with-msg? c re ...))\" does the same thing and also\n tests that the message on the exception matches the regular\n expression re:\n\n (is (thrown-with-msg? ArithmeticException #\"Divide by zero\"\n (/ 1 0)))\n\n DOCUMENTING TESTS\n\n \"is\" takes an optional second argument, a string describing the\n assertion. This message will be included in the error report.\n\n (is (= 5 (+ 2 2)) \"Crazy arithmetic\")\n\n In addition, you can document groups of assertions with the\n \"testing\" macro, which takes a string followed by any number of\n assertions. The string will be included in failure reports.\n Calls to \"testing\" may be nested, and all of the strings will be\n joined together with spaces in the final report, in a style\n similar to RSpec <http://rspec.info/>\n\n (testing \"Arithmetic\"\n (testing \"with positive integers\"\n (is (= 4 (+ 2 2)))\n (is (= 7 (+ 3 4))))\n (testing \"with negative integers\"\n (is (= -4 (+ -2 -2)))\n (is (= -1 (+ 3 -4)))))\n\n Note that, unlike RSpec, the \"testing\" macro may only be used\n INSIDE a \"deftest\" form (see below).\n\n\n DEFINING TESTS\n\n (deftest addition\n (is (= 4 (+ 2 2)))\n (is (= 7 (+ 3 4))))\n\n (deftest subtraction\n (is (= 1 (- 4 3)))\n (is (= 3 (- 7 4))))\n\n This creates functions named \"addition\" and \"subtraction\", which\n can be called like any other function. Therefore, tests can be\n grouped and composed, in a style similar to the test framework in\n Peter Seibel's \"Practical Common Lisp\"\n <http://www.gigamonkeys.com/book/practical-building-a-unit-test-framework.html>\n\n (deftest arithmetic\n (addition)\n (subtraction))\n\n The names of the nested tests will be joined in a list, like\n \"(arithmetic addition)\", in failure reports. You can use nested\n tests to set up a context shared by several tests.\n\n DEFINING ASYNC TESTS\n\n (deftest addition\n (async done\n (is (= 4 (+ 2 2)))\n (is (= 7 (+ 3 4)))\n (done)))\n\n Async tests are constructed with the async macro. The first argument to\n the macro is the test completion callback. The body of the async macro may\n be any series of expressions. The completion callback must be invoked when\n all assertions have run. There is no support for asynchronous coordination -\n core.async is recommended for this. Note the body of the async test must be\n truly asynchronous to avoid stack overflow.\n\n RUNNING TESTS\n\n Run tests with the function \"(run-tests namespaces...)\":\n\n (run-tests 'your.namespace 'some.other.namespace)\n\n If you don't specify any namespaces, the current namespace is\n used. To run all tests in all namespaces, use \"(run-all-tests)\".\n\n By default, these functions will search for all tests defined in\n a namespace and run them in an undefined order. However, if you\n are composing tests, as in the \"arithmetic\" example above, you\n probably do not want the \"addition\" and \"subtraction\" tests run\n separately. In that case, you must define a special function\n named \"test-ns-hook\" that runs your tests in the correct order:\n\n (defn test-ns-hook []\n (arithmetic))\n\n \"run-tests\" also optionally takes a testing enviroment. A default\n one is supplied for you by invoking \"empty-env\". The test\n environment contains everything needed to run tests including the\n report results map. Fixtures must be present here if you want them\n to run. Note that code that relies on \"test-ns\" will\n automatically be supplied the appropriate defined fixtures. For\n example, this is done for you if you use \"run-tests\".\n\n Note: test-ns-hook prevents execution of fixtures (see below).\n\n\n OMITTING TESTS FROM PRODUCTION CODE\n\n You can set the ClojureScript compiler build option\n \":load-tests\" to false when loading or compiling code in\n production. This will prevent any tests from being created by\n or \"deftest\".\n\n\n FIXTURES\n\n Fixtures allow you to run code before and after tests, to set up\n the context in which tests should be run.\n\n A fixture is a map of one or two functions that run code before and\n after tests. It looks like this:\n\n {:before (fn []\n Perform setup, establish bindings, whatever.\n )\n :after (fn []\n Tear-down / clean-up code here.\n )}\n\n Both are optional and can be left out.\n\n Fixtures are attached to namespaces in one of two ways. \"each\"\n fixtures are run repeatedly, once for each test function created\n with \"deftest\". \"each\" fixtures are useful for\n establishing a consistent before/after state for each test, like\n clearing out database tables.\n\n \"each\" fixtures can be attached to the current namespace like this:\n (use-fixtures :each fixture1 fixture2 ...)\n The fixture1, fixture2 are just maps like the example above.\n They can also be passed directly, like this:\n (use-fixtures :each\n {:before (fn [] setup...), :after (fn [] cleanup...)})\n\n The other kind of fixture, a \"once\" fixture, is only run once,\n around ALL the tests in the namespace. \"once\" fixtures are useful\n for tasks that only need to be performed once, like establishing\n database connections, or for time-consuming tasks.\n\n Attach \"once\" fixtures to the current namespace like this:\n (use-fixtures :once fixture1 fixture2 ...)\n\n Note: Fixtures and test-ns-hook are mutually incompatible. If you\n are using test-ns-hook, fixture functions will *never* be run.\n\n\n WRAPPING FIXTURES\n\n Instead of a map, a fixture can be specified like this:\n\n (defn my-fixture [f]\n Perform setup, establish bindings, whatever.\n (f) Then call the function we were passed.\n Tear-down / clean-up code here.\n )\n\n This style is incompatible with async tests. If an async test is\n encountered, testing will be aborted. It can't be mixed with\n fixtures specified as maps.\n\n\n EXTENDING TEST-IS (ADVANCED)\n\n You can extend the behavior of the \"is\" macro by defining new\n methods for the \"assert-expr\" multimethod. These methods are\n called during expansion of the \"is\" macro, so they should return\n quoted forms to be evaluated.\n\n You can plug in your own test-reporting framework by specifying a\n :reporter key in the test environment. It is normally set to\n :cljs.test/default. Set this to the desired key and supply custom\n implementations of the \"report\" multimethod.\n\n The 'event' argument is a map. It will always have a :type key,\n whose value will be a keyword signaling the type of event being\n reported. Standard events with :type value of :pass, :fail, and\n :error are called when an assertion passes, fails, and throws an\n exception, respectively. In that case, the event will also have\n the following keys:\n\n :expected The form that was expected to be true\n :actual A form representing what actually occurred\n :message The string message given as an argument to 'is'\n\n The \"testing\" strings will be a list in the :testing-contexts\n property of the test environment, and the vars being tested will be\n a list in the :testing-vars property of the test environment.\n\n For additional event types, see the examples in the code.\n"]