-
Notifications
You must be signed in to change notification settings - Fork 781
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
test: Convert memory-leak test cases to
.tap.txt
fixture
- Loading branch information
Showing
6 changed files
with
33 additions
and
40 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
11 changes: 11 additions & 0 deletions
11
test/cli/fixtures/memory-leak-module-closure-filtered.tap.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
# name: memory leak module-closure filtered | ||
# command: ["node", "--expose-gc", "../../../bin/qunit.js", "--filter", "!child", "memory-leak-module-closure.js"] | ||
|
||
TAP version 13 | ||
ok 1 module-closure > example test | ||
ok 2 module-closure check > memory release | ||
1..2 | ||
# pass 2 | ||
# skip 0 | ||
# todo 0 | ||
# fail 0 |
12 changes: 12 additions & 0 deletions
12
test/cli/fixtures/memory-leak-module-closure-unfiltered.tap.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
# name: memory leak module-closure unfiltered | ||
# command: ["node", "--expose-gc", "../../../bin/qunit.js", "memory-leak-module-closure.js"] | ||
|
||
TAP version 13 | ||
ok 1 module-closure > example test | ||
ok 2 module-closure > example child module > example child module test | ||
ok 3 module-closure check > memory release | ||
1..3 | ||
# pass 3 | ||
# skip 0 | ||
# todo 0 | ||
# fail 0 |
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
# name: memory leak test-object | ||
# command: ["node", "--expose-gc", "../../../bin/qunit.js", "memory-leak-test-object.js"] | ||
|
||
TAP version 13 | ||
ok 1 test-object > example test | ||
1..1 | ||
# pass 1 | ||
# skip 0 | ||
# todo 0 | ||
# fail 0 |