Name: js-handler/node_modules/nodeunit/node_modules/tap/test/test-test.js 
1:
var tap = require("../")
2:
  , test = tap.test
3:
  , Test = require("../lib/tap-test")
4:
  , Harness = require("../lib/tap-harness")
5:
 
6:
test("testing the test object", function (t) {
7:
 
8:
  t.isa(t, Test, "test object should be instanceof Test")
9:
  t.isa(t, Harness, "test object should be instanceof Harness")
10:
  t.is(t._Test, Test, "test._Test should be the Test class")
11:
 
12:
  // now test all the methods.
13:
  ; [ "isNotDeepEqual"
14:
    , "equals"
15:
    , "inequivalent"
16:
    , "threw"
17:
    , "strictEqual"
18:
    , "emit"
19:
    , "fail"
20:
    , "strictEquals"
21:
    , "notLike"
22:
    , "dissimilar"
23:
    , "true"
24:
    , "assert"
25:
    , "is"
26:
    , "ok"
27:
    , "isEqual"
28:
    , "isDeeply"
29:
    , "deepEqual"
30:
    , "deepEquals"
31:
    , "pass"
32:
    , "length"
33:
    , "skip"
34:
    , "isNotEqual"
35:
    , "looseEquals"
36:
    , "false"
37:
    , "notDeeply"
38:
    , "ifErr"
39:
    , "hasFields"
40:
    , "isNotDeeply"
41:
    , "like"
42:
    , "similar"
43:
    , "notOk"
44:
    , "isDissimilar"
45:
    , "isEquivalent"
46:
    , "doesNotEqual"
47:
    , "isSimilar"
48:
    , "notDeepEqual"
49:
    , "type"
50:
    , "notok"
51:
    , "isInequivalent"
52:
    , "isNot"
53:
    , "same"
54:
    , "isInequal"
55:
    , "_endNice"
56:
    , "ifError"
57:
    , "iferror"
58:
    , "clear"
59:
    , "has"
60:
    , "not"
61:
    , "timeout"
62:
    , "notSimilar"
63:
    , "isUnlike"
64:
    , "notEquals"
65:
    , "unsimilar"
66:
    , "result"
67:
    , "doesNotThrow"
68:
    , "error"
69:
    , "constructor"
70:
    , "notEqual"
71:
    , "throws"
72:
    , "isLike"
73:
    , "isNotSimilar"
74:
    , "isNotEquivalent"
75:
    , "inequal"
76:
    , "notEquivalent"
77:
    , "isNotLike"
78:
    , "equivalent"
79:
    , "looseEqual"
80:
    , "equal"
81:
    , "unlike"
82:
    , "doesNotHave"
83:
    , "comment"
84:
    , "isa"
85:
    ].forEach(function (method) {
86:
      t.ok(t[method], "should have "+method+" method")
87:
      t.isa(t[method], "function", method+" method should be a function")
88:
    })
89:
    t.end()
90:
})