This repository was archived by the owner on Sep 6, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 7.5k
Unit Tests for Find, Replace, Find in Files, File Filters #7328
Merged
Merged
Changes from all commits
Commits
Show all changes
14 commits
Select commit
Hold shift + click to select a range
e2db934
initial query tests
redmunds 1e5230a
Merge remote-tracking branch 'origin/master' into randy/find-replace-…
redmunds c5d466d
unit test for replace all static text
redmunds 9f39b1a
add test for skip
redmunds a9463c2
add test for scroll track markers
redmunds 0324bca
Merge remote-tracking branch 'origin/master' into randy/find-replace-…
redmunds 1712e30
Find in Files tests - initial tests
redmunds 75e4f77
more tests
redmunds 0c955c6
interim checkin
redmunds 2b8d7a0
Finish Find in Files unit tests
redmunds 92d0cd7
better way to wait
redmunds 8df314a
Merge remote-tracking branch 'origin/master' into randy/find-replace-…
redmunds 73ffa3e
more filter tests
redmunds bfa88ad
rename function
redmunds File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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,3 @@ | ||
| bar.txt file | ||
|
|
||
| This file should *not* show up in certain searches |
This file contains hidden or 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,13 @@ | ||
| /* foo.css */ | ||
| body { | ||
| margin: 0; | ||
| } | ||
| h1, footer { | ||
| padding: 2px auto; | ||
| } | ||
| ul.foo { | ||
| list-style: none; | ||
| } | ||
| .bar { | ||
| font-size: large; | ||
| } |
This file contains hidden or 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,22 @@ | ||
| <!doctype html> | ||
| <html> | ||
| <head> | ||
| <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> | ||
| <title>Foo</title> | ||
| <link rel="stylesheet" href="css/foo.css"> | ||
| <script src="foo.js"></script> | ||
| </head> | ||
|
|
||
| <body> | ||
|
|
||
| <h1>Foo</h1> | ||
| <p>Intro to foo</p> | ||
| <ul class="foo"> | ||
| <li>foo</li> | ||
| <li>bar</li> | ||
| <li>baz</li> | ||
| </ul> | ||
| <p class="bar">It's all about the bar</p> | ||
|
|
||
| </body> | ||
| </html> |
This file contains hidden or 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,13 @@ | ||
| /* Test comment */ | ||
| define(function (require, exports, module) { | ||
| var Foo = require("modules/Foo"), | ||
| Bar = require("modules/Bar"), | ||
| Baz = require("modules/Baz"); | ||
|
|
||
| function callFoo() { | ||
|
|
||
| foo(); | ||
|
|
||
| } | ||
|
|
||
| } |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Note that adding
ScrollTrackMarkerswas the only logical change here -- the rest was ordering alphabetically to make it easier to see what's in list.