-
-
Notifications
You must be signed in to change notification settings - Fork 85
Converted test recorder for bulk recordings #169
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
Merged
Changes from 4 commits
Commits
Show all changes
7 commits
Select commit
Hold shift + click to select a range
2840077
Converted test recorded for bulk recordings
AndreasArvidsson 5781a68
File name in camel case
AndreasArvidsson 4b2a5bd
Added spoken form to test suit
AndreasArvidsson ddfcce7
Added test recordings for actions
AndreasArvidsson c859b98
Innumerate test cases with same name
AndreasArvidsson 705e6df
Remove breakpoint test
AndreasArvidsson 896e282
Added exception
AndreasArvidsson 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
27 changes: 27 additions & 0 deletions
27
src/test/suite/fixtures/recorded/actions/breakpointCap.yml
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,27 @@ | ||
spokenForm: breakpoint cap | ||
languageId: typescript | ||
command: | ||
actionName: setBreakpoint | ||
partialTargets: | ||
- type: primitive | ||
mark: {type: decoratedSymbol, symbolColor: default, character: c} | ||
extraArgs: [] | ||
marks: | ||
default.c: | ||
start: {line: 0, character: 0} | ||
end: {line: 0, character: 5} | ||
initialState: | ||
documentContents: "const myVariableValue = \"hello\";\r\n" | ||
selections: | ||
- anchor: {line: 1, character: 0} | ||
active: {line: 1, character: 0} | ||
finalState: | ||
documentContents: "const myVariableValue = \"hello\";\r\n" | ||
selections: | ||
- anchor: {line: 1, character: 0} | ||
active: {line: 1, character: 0} | ||
thatMark: | ||
- anchor: {line: 0, character: 0} | ||
active: {line: 0, character: 5} | ||
returnValue: null | ||
fullTargets: [{type: primitive, mark: {type: decoratedSymbol, symbolColor: default, character: c}, selectionType: token, position: contents, modifier: {type: identity}, insideOutsideType: inside}] |
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,33 @@ | ||
spokenForm: bring made | ||
languageId: typescript | ||
command: | ||
actionName: bring | ||
partialTargets: | ||
- type: primitive | ||
mark: {type: decoratedSymbol, symbolColor: default, character: m} | ||
- type: primitive | ||
mark: {type: cursor} | ||
selectionType: token | ||
position: contents | ||
modifier: {type: identity} | ||
insideOutsideType: inside | ||
extraArgs: [] | ||
marks: | ||
default.m: | ||
start: {line: 0, character: 6} | ||
end: {line: 0, character: 21} | ||
initialState: | ||
documentContents: "const myVariableValue = \"hello\";\r\n" | ||
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. Hmm. So I don't think it's worth re-recording everything, but I believe if you don't use line feeds these will get turned into block output and be a bit nicer to read. At least I think that's what's happening here. Check out the example yamls |
||
selections: | ||
- anchor: {line: 1, character: 0} | ||
active: {line: 1, character: 0} | ||
finalState: | ||
documentContents: "const myVariableValue = \"hello\";\r\nmyVariableValue" | ||
selections: | ||
- anchor: {line: 1, character: 15} | ||
active: {line: 1, character: 15} | ||
thatMark: | ||
- anchor: {line: 1, character: 15} | ||
active: {line: 1, character: 0} | ||
returnValue: null | ||
fullTargets: [{type: primitive, mark: {type: decoratedSymbol, symbolColor: default, character: m}, selectionType: token, position: contents, modifier: {type: identity}, insideOutsideType: null}, {type: primitive, mark: {type: cursor}, selectionType: token, position: contents, modifier: {type: identity}, insideOutsideType: inside}] |
32 changes: 32 additions & 0 deletions
32
src/test/suite/fixtures/recorded/actions/bringMadeToCap.yml
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,32 @@ | ||
spokenForm: bring made to cap | ||
languageId: typescript | ||
command: | ||
actionName: bring | ||
partialTargets: | ||
- type: primitive | ||
mark: {type: decoratedSymbol, symbolColor: default, character: m} | ||
- type: primitive | ||
mark: {type: decoratedSymbol, symbolColor: default, character: c} | ||
extraArgs: [] | ||
marks: | ||
default.m: | ||
start: {line: 0, character: 6} | ||
end: {line: 0, character: 21} | ||
default.c: | ||
start: {line: 0, character: 0} | ||
end: {line: 0, character: 5} | ||
initialState: | ||
documentContents: "const myVariableValue = \"hello\";\r\n" | ||
selections: | ||
- anchor: {line: 1, character: 0} | ||
active: {line: 1, character: 0} | ||
finalState: | ||
documentContents: "myVariableValue myVariableValue = \"hello\";\r\n" | ||
selections: | ||
- anchor: {line: 1, character: 0} | ||
active: {line: 1, character: 0} | ||
thatMark: | ||
- anchor: {line: 0, character: 0} | ||
active: {line: 0, character: 15} | ||
returnValue: null | ||
fullTargets: [{type: primitive, mark: {type: decoratedSymbol, symbolColor: default, character: m}, selectionType: token, position: contents, modifier: {type: identity}, insideOutsideType: null}, {type: primitive, mark: {type: decoratedSymbol, symbolColor: default, character: c}, selectionType: token, position: contents, modifier: {type: identity}, insideOutsideType: null}] |
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,27 @@ | ||
spokenForm: carve made | ||
languageId: typescript | ||
command: | ||
actionName: cut | ||
partialTargets: | ||
- type: primitive | ||
mark: {type: decoratedSymbol, symbolColor: default, character: m} | ||
extraArgs: [] | ||
marks: | ||
default.m: | ||
start: {line: 0, character: 6} | ||
end: {line: 0, character: 21} | ||
initialState: | ||
documentContents: "const myVariableValue = \"hello\";\r\n" | ||
selections: | ||
- anchor: {line: 1, character: 0} | ||
active: {line: 1, character: 0} | ||
finalState: | ||
documentContents: "const = \"hello\";\r\n" | ||
selections: | ||
- anchor: {line: 1, character: 0} | ||
active: {line: 1, character: 0} | ||
thatMark: | ||
- anchor: {line: 0, character: 6} | ||
active: {line: 0, character: 6} | ||
returnValue: null | ||
fullTargets: [{type: primitive, mark: {type: decoratedSymbol, symbolColor: default, character: m}, selectionType: token, position: contents, modifier: {type: identity}, insideOutsideType: null}] |
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,27 @@ | ||
spokenForm: chuck made | ||
languageId: typescript | ||
command: | ||
actionName: delete | ||
partialTargets: | ||
- type: primitive | ||
mark: {type: decoratedSymbol, symbolColor: default, character: m} | ||
extraArgs: [] | ||
marks: | ||
default.m: | ||
start: {line: 0, character: 6} | ||
end: {line: 0, character: 21} | ||
initialState: | ||
documentContents: "const myVariableValue = \"hello\";\r\n" | ||
selections: | ||
- anchor: {line: 1, character: 0} | ||
active: {line: 1, character: 0} | ||
finalState: | ||
documentContents: "const = \"hello\";\r\n" | ||
selections: | ||
- anchor: {line: 1, character: 0} | ||
active: {line: 1, character: 0} | ||
thatMark: | ||
- anchor: {line: 0, character: 6} | ||
active: {line: 0, character: 6} | ||
returnValue: null | ||
fullTargets: [{type: primitive, mark: {type: decoratedSymbol, symbolColor: default, character: m}, selectionType: token, position: contents, modifier: {type: identity}, insideOutsideType: outside}] |
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.
Uh oh!
There was an error while loading. Please reload this page.