-
Notifications
You must be signed in to change notification settings - Fork 929
WIP: refactor(database): Add migrated test harness [Part 3/3] #71
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
jshcrowthe
merged 35 commits into
ts-database/final
from
ts-database/migrate-test-harness
Jul 6, 2017
Merged
Changes from all commits
Commits
Show all changes
35 commits
Select commit
Hold shift + click to select a range
4a0df56
refactor(database): add typescript implementation
jshcrowthe dcf2f5c
refactor(database): update build process to include database.ts
jshcrowthe 7e609d6
refactor(*): refactor environment builds to be based on separate .ts …
jshcrowthe e72bfbe
WIP: patch database code in nodeJS
jshcrowthe 2f6a406
refactor(database): classes for typescript database implementation (#55)
jsayol 19519ac
WIP: add the /tests/config dir to the .gitignore
jshcrowthe 2758ca7
WIP: add test harness
jshcrowthe 7f78f89
WIP: add query tests
jshcrowthe b12a61f
WIP: add database.test.ts
jshcrowthe a046261
WIP: add node.test.ts
jshcrowthe 622fed8
WIP: add sortedmap.test.ts
jshcrowthe d35b183
WIP: add datasnapshot.test.ts
jshcrowthe c81583d
WIP: add sparsesnapshottree.test.ts
jshcrowthe f4fc618
refactor(database): refactor query.test.ts to better preserve origina…
jshcrowthe 342d527
WIP: add crawler_support.test.ts
jshcrowthe c51999a
WIP: refactor EventAccumulator.ts for data.test.ts
jshcrowthe c0eba9c
WIP: fix issue with query.test.ts
jshcrowthe e290f67
WIP: add connection.test.ts
jshcrowthe c0af997
WIP: add info.test.ts
jshcrowthe 1223678
WIP: add order_by.test.ts
jshcrowthe 9e08172
WIP: fix several code signature problems, add test files
jshcrowthe 379a263
WIP: add transaction.test.ts
jshcrowthe 3193651
WIP: working on the broken npm test command
jshcrowthe d5f99d8
WIP: working on fixes
jshcrowthe 58f8bff
WIP: remove logging
jshcrowthe 869b9a5
WIP: fix node tests
jshcrowthe ebe491c
fix(*): fixing test files and CI integration
jshcrowthe 2b1efa4
WIP: tEMP: Allow branch builds
jshcrowthe c40a189
WIP: escape string
jshcrowthe d78d6c4
refactor(CI): use ChromeHeadless launcher
jshcrowthe 2939025
Merge branch 'ts-database/final' into ts-database/migrate-test-harness
jshcrowthe d214ba0
WIP: fixes from review.
jshcrowthe dc5c374
WIP: skip flakey test
jshcrowthe 71ff51c
WIP: remove unneeded debugger statement
jshcrowthe 2531901
WIP: fixing nits
jshcrowthe 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,6 +4,7 @@ | |
npm-debug.log | ||
/coverage | ||
/.nyc_output | ||
/tests/integration/config | ||
/tests/config | ||
/temp | ||
/.vscode | ||
/.vscode | ||
/.ts-node |
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
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
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 |
---|---|---|
@@ -1,6 +1,6 @@ | ||
import { IndexedFilter } from "./IndexedFilter"; | ||
import { PRIORITY_INDEX } from "../../../core/snap/indexes/PriorityIndex"; | ||
import { NamedNode } from "../../../core/snap/Node"; | ||
import { Node, NamedNode } from "../../../core/snap/Node"; | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This doesn't seem to be needed. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Typescript throws an "Unknown Symbol" compiler error if it isn't present :( |
||
import { ChildrenNode } from "../../../core/snap/ChildrenNode"; | ||
/** | ||
* Filters nodes by range and uses an IndexFilter to track any changes after filtering the node | ||
|
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.
Intentional?
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.
Yes, the value is originally
null
. I set it because I was using the logging everywhere.