1
1
mirror of https://github.com/github/semantic.git synced 2024-12-21 13:51:44 +03:00
Commit Graph

187 Commits

Author SHA1 Message Date
Rick Winfrey
915a4f298c Subscript test fixture 2017-06-05 17:07:17 -07:00
Rick Winfrey
e45be85d53 List test fixture 2017-06-05 17:07:05 -07:00
Rick Winfrey
0d982c5f13 Identifier test fixture 2017-06-05 17:06:58 -07:00
Rick Winfrey
5b81301bea Dictionary test fixture 2017-06-05 17:06:50 -07:00
Rick Winfrey
af6f97e377 Function call test fixture 2017-06-05 17:06:42 -07:00
Rick Winfrey
28866ff051 Boolean operator test fixture 2017-06-05 17:06:33 -07:00
Rick Winfrey
9c2230df6d Binary operator test fixture 2017-06-05 17:06:22 -07:00
Rick Winfrey
b1b433e6ff Attribute test fixture 2017-06-05 17:06:09 -07:00
Rob Rix
b6ccf15d09 Update all the fixtures. 2017-05-24 14:42:12 -04:00
Timothy Clem
316169bab1 Properly handle null before/after in input JSON 2017-05-23 11:00:20 -07:00
Timothy Clem
7121f827e3 Handle various language inputs and test them 2017-05-18 14:05:29 -07:00
Timothy Clem
1a97d42acf Only require path on the blob level 2017-05-17 14:03:08 -07:00
Timothy Clem
08deafb142 Formatting of test file 2017-05-17 13:40:01 -07:00
Timothy Clem
4af9b02737 Expand API to support parsing 2017-05-17 13:34:09 -07:00
Timothy Clem
9777937d9d Read any handle and assert in specs 2017-05-17 12:47:45 -07:00
Timothy Clem
6e6d3e1432 Go tests with parse error have much smaller trees when we halt on error 2017-05-03 14:12:43 -07:00
joshvera
2224f87822 Regenerate public field definition tests 2017-03-30 18:07:52 -04:00
joshvera
eb512a6acf Add tests for method definition 2017-03-30 17:59:41 -04:00
joshvera
a20370b659 Add better interface tests 2017-03-30 17:48:16 -04:00
joshvera
7f568e8286 Update javascript tests since we parse JS with typescript now 2017-03-29 17:06:10 -04:00
joshvera
5339bd5ca8 add newlines 2017-03-29 16:56:25 -04:00
joshvera
b5f9938279 Remove ty from Method and throw every part of a call signature into a list 2017-03-29 16:24:54 -04:00
joshvera
89f307edf0 Don't pop off Params/Args from S.Function since type arguments can appear before or return types can appear after in some languages 2017-03-29 16:03:28 -04:00
joshvera
cdbd260b0f Remove type from Function and unpack call signatures 2017-03-29 12:36:05 -04:00
joshvera
d6334ac5a4 Update function call tests 2017-03-29 11:15:56 -04:00
joshvera
60b47317c1 Relax class heritage structure in Syntax.Class 2017-03-28 18:16:04 -04:00
joshvera
0058c371ec Map template_chars in JS and add missing Interface cases 2017-03-28 16:10:37 -04:00
joshvera
f86d43a6e5 Add namespace mapping 2017-03-28 15:43:21 -04:00
joshvera
d9c40de4e1 Update nested functions tests 2017-03-28 15:29:50 -04:00
joshvera
eeceeea4d2 Update template-string tests 2017-03-28 15:25:21 -04:00
joshvera
41915ff44a Update tests 2017-03-28 13:25:46 -04:00
joshvera
01a8087b0a Map public_field_definition to FieldDecl and fix up VarDecl and VarAssignment mappings 2017-03-28 13:00:15 -04:00
joshvera
285bd71606 Add function type and array type 2017-03-28 11:22:27 -04:00
joshvera
f2666fd5bd Add tuple type 2017-03-28 11:19:45 -04:00
joshvera
31361d2306 Add interface, intersection, union type tests 2017-03-27 17:54:37 -04:00
joshvera
3d27c9dd3e Add type assertions tests 2017-03-27 17:27:18 -04:00
joshvera
d5e90bdfeb Add module declarations 2017-03-27 17:09:29 -04:00
joshvera
48f4310428 Add ambient type declarations 2017-03-27 17:08:07 -04:00
joshvera
92ff890b9e Add export assignments 2017-03-27 17:06:24 -04:00
joshvera
845dcc2cda Add ambient exports tests 2017-03-27 17:04:42 -04:00
joshvera
0d123d1936 Add typeof type tests 2017-03-27 17:02:51 -04:00
joshvera
40423e47d5 Add ambient declaration tests 2017-03-27 17:00:44 -04:00
joshvera
9c220b9fe1 Generate ambient declarations 2017-03-27 16:58:40 -04:00
joshvera
48d46489d1 Merge remote-tracking branch 'origin/master' into typescript-mapping 2017-03-27 12:05:06 -04:00
joshvera
4515e581bf add typescript 2017-03-24 17:10:03 -04:00
joshvera
62057c5605 Map public_field_definition to VarAssignment 2017-03-24 16:56:59 -04:00
Rob Rix
1ab51de582 Update the failing test’s fixture.
I’m pretty sure this is due to us producing a different shortest edit script than the old implementation (but still a correct one, and a shortest one—just a different correct/shortest one), and that in turn causing RWS to make different choices.
2017-03-23 14:21:09 -04:00
joshvera
bcb85a3336 Tabs to spaces 2017-03-17 12:52:41 -04:00
joshvera
1b1f85015e Add ParseCommand changes back 2017-03-17 12:51:22 -04:00
joshvera
7a5bf48aac Rename js to ts 2017-03-17 10:52:18 -04:00
joshvera
f89e51f665 add js files 2017-03-17 10:48:51 -04:00
joshvera
e44e884b98 Add class properties 2017-03-16 17:18:49 -04:00
joshvera
643d289bf0 Add tests for assignment-pattern 2017-03-16 16:47:14 -04:00
joshvera
129da112b3 Map yield expression, lexical declaration and assignment pattern 2017-03-16 16:36:19 -04:00
Timothy Clem
e9315fafe2 Merge remote-tracking branch 'origin/master' into interpreter-decomposition 2017-02-28 09:33:44 -08:00
Timothy Clem
929a17d913 Add/Remove integration tests for JavaScript 2017-02-28 08:33:11 -08:00
Timothy Clem
864bf12590 Add/Remove integration tests for Go 2017-02-28 08:30:04 -08:00
Rob Rix
83dd3d5621 Merge branch 'master' into interpreter-decomposition 2017-02-27 15:22:38 -05:00
Timothy Clem
b3aef75618 Merge remote-tracking branch 'origin/master' into test-new-and-removed-files 2017-02-27 12:22:28 -08:00
Timothy Clem
a9206ddec4 Add a post-receive hook to pack example repos 2017-02-27 12:15:44 -08:00
Timothy Clem
6c2a15104d Generate file add/remove examples 2017-02-27 11:55:49 -08:00
Timothy Clem
4f61dfdfc1 Newlines at the end of ruby test 2017-02-27 11:27:33 -08:00
Timothy Clem
54029595b0 Use new example repository for integration testing 2017-02-24 17:02:19 -08:00
Rob Rix
edc09e4797 Correct the channel types fixture. 2017-02-24 12:00:12 -05:00
Rob Rix
0510e116f1 Merge remote-tracking branch 'origin/master' into interpreter-decomposition 2017-02-24 11:57:08 -05:00
Rob Rix
4b04e7f2eb Fix up some go fixtures. 2017-02-24 11:51:37 -05:00
Timothy Clem
cc92808789 Give the Go expected output some newlines 2017-02-24 08:44:03 -08:00
Rob Rix
8b5dfbee42 Merge branch 'master' into interpreter-decomposition 2017-02-24 11:43:48 -05:00
Timothy Clem
7e0ddeac5e Merge remote-tracking branch 'origin/master' into example-generator 2017-02-24 08:43:33 -08:00
Rob Rix
0d28bde257 …and the rest. 2017-02-24 11:42:11 -05:00
Timothy Clem
517876d7e6 Make sure javascript example expected outputs end with newline 2017-02-24 08:39:01 -08:00
Timothy Clem
6164c4c766 Update all ruby example expected outputs to end with newline 2017-02-24 08:37:35 -08:00
Rob Rix
e5555ea133 Correct boolean operator tests. 2017-02-24 10:53:28 -05:00
Rob Rix
76d76c928c Correct the Ruby rescue modifier fixtures. 2017-02-24 10:49:41 -05:00
Josh Vera
3f34257e6a Merge branch 'master' into transition-go-tests 2017-02-23 18:50:12 -05:00
Timothy Clem
804b998c93 Migrate go tests to new format 2017-02-23 10:06:49 -08:00
Timothy Clem
6e9a2d24d9 Migrate javascript test cases over 2017-02-23 09:55:30 -08:00
Timothy Clem
b80667f5b4 Remove profile as submodule and just include the js directly 2017-02-23 09:32:24 -08:00
Timothy Clem
74a97766ef Map ruby rest_assignment to SplatParameter category 2017-02-22 20:25:46 -08:00
Timothy Clem
7e4c97adfa map ruby pattern to Args category 2017-02-22 20:22:59 -08:00
Timothy Clem
92f07f660f Map ruby left_assignment_list to Args category 2017-02-22 20:17:33 -08:00
Timothy Clem
6d8c7b70f7 Map up ruby lambdas to AnonymousFunction category 2017-02-22 20:12:08 -08:00
Timothy Clem
97029a6c47 Better spec names 2017-02-22 20:06:05 -08:00
Timothy Clem
a0ac9832a8 Move toc spec fixtures 2017-02-22 17:22:50 -08:00
Timothy Clem
2da352277b Make sure fixtures have ending newline 2017-02-22 14:41:30 -08:00
Timothy Clem
ea453bf57e Transition ruby test fixtures 2017-02-22 14:36:22 -08:00
Timothy Clem
8e29488556 Test B->A diff as well, move to fixtures dir 2017-02-22 11:31:56 -08:00