1
1
mirror of https://github.com/github/semantic.git synced 2024-12-21 05:41:54 +03:00
Commit Graph

3035 Commits

Author SHA1 Message Date
Timothy Clem
198c31e9f0 Fix up test output, test symbols output 2018-01-17 12:59:08 -08:00
Timothy Clem
6517970f8a Symbol rendering (like tags, but new hotness) 2018-01-17 12:54:17 -08:00
joshvera
0e6b98239a Regenerate tests 2018-01-16 18:24:58 -05:00
joshvera
cbb003499f Add a import require test 2018-01-16 18:17:12 -05:00
Timothy Clem
98a369668d Remove imports from diff toc output 2018-01-16 13:35:52 -08:00
Timothy Clem
c197b7a2b9 Toc output has imports in in now, fix tests 2018-01-16 11:50:26 -08:00
Timothy Clem
9e3cbe07bb Fix up JavaScript tests for new structure of Import 2018-01-15 20:16:24 -07:00
Timothy Clem
88fe5fc46a Fix up TypeScript tests for new structure of Import 2018-01-15 20:15:44 -07:00
Timothy Clem
ea5d7437d4 Fix up Python tests for new structure of Import 2018-01-15 20:14:50 -07:00
Timothy Clem
9b3cc349d3 Fix up Go test for new structure of Import 2018-01-15 20:10:48 -07:00
joshvera
6ffbd5f4e0 Merge remote-tracking branch 'origin/master' into php-assignment 2018-01-11 15:36:57 -05:00
Timothy Clem
02c18b45fd Remove metadata from response 2018-01-08 09:36:17 -08:00
joshvera
df973897fa Fix boolean operator tests 2017-12-27 14:50:33 -05:00
Timothy Clem
ffbd4b8bbc Merge remote-tracking branch 'origin/master' into diff-api-updates 2017-12-20 13:31:10 -08:00
Rick Winfrey
e56ec0a416 Merge branch 'master' into update-go-assignment 2017-12-19 14:08:14 -08:00
Rick Winfrey
fddd6e106b Regenerate tests 2017-12-19 14:04:48 -08:00
Timothy Clem
875ff4dda9 Merge remote-tracking branch 'origin/master' into diff-api-updates 2017-12-19 11:32:26 -08:00
Rick Winfrey
e596fc1b2c Regenerate tests 2017-12-19 10:58:36 -08:00
Timothy Clem
74f7f4afd9 Diff JSON output includes path key now too 2017-12-18 15:27:53 -08:00
Rob Rix
a112fca6f3 Merge branch 'master' into 🔥-monolithic-syntax 2017-12-18 15:07:00 -05:00
Timothy Clem
82ce34a00e Revert "Keep backwards compat with filePath for now"
This reverts commit d9b427d264d05db8b62f83b8553b5b9250d50cb4.
2017-12-14 13:49:43 -08:00
Timothy Clem
a50b55b490 Keep backwards compat with filePath for now 2017-12-14 11:42:22 -08:00
Timothy Clem
44d9abc9b2 Fix up expected parse/diff JSON output 2017-12-14 10:11:14 -08:00
Timothy Clem
8e8d2fb41e Merge remote-tracking branch 'origin/master' into bidistribute 2017-12-13 09:14:05 -08:00
Josh Vera
8fa6a723e6 Merge branch 'master' into identifierAlgebra 2017-12-12 15:50:56 -05:00
Timothy Clem
dce9ffa61c Fix up expected JSON output in specs 2017-12-12 11:42:04 -08:00
Josh Vera
3b51c592d9 Merge branch 'master' into rws-minus-p-equals-rws 2017-12-12 13:36:03 -05:00
Timothy Clem
47ce5a63c1 Test null on both sides in JSON payload 2017-12-11 12:59:14 -08:00
Timothy Clem
2f6c669899 Remove extra parens 2017-12-11 12:58:57 -08:00
Timothy Clem
deb7ebadd2 🔥 blobOid too 2017-12-11 11:03:00 -08:00
Timothy Clem
ad377910f9 Completely remove blobKind 2017-12-11 10:54:18 -08:00
Timothy Clem
8ce213fc44 No longer need to track blobKind in Maybe 2017-12-11 10:51:52 -08:00
Timothy Clem
844fc3f8b5 Use Join These Blob instead 2017-12-11 09:09:07 -08:00
Timothy Clem
148edbc184 Remove spec specific readFile 2017-12-11 08:27:13 -08:00
Timothy Clem
24d98ad71c Fix up tests 2017-12-10 08:46:17 -08:00
Rob Rix
10b8de93b3 Update the fixtures. 2017-12-01 17:13:24 -05:00
Rick Winfrey
d649a514af Update tests 2017-12-01 13:36:38 -08:00
Rick Winfrey
df52854ef0 Merge branch 'master' into cyclomatic-complexity-decorator 2017-12-01 11:23:15 -08:00
Rob Rix
ecfd121575 Merge branch 'master' into 🔥-monolithic-syntax 2017-12-01 12:28:19 -05:00
Rob Rix
cffe4a757e Merge branch 'master' into update-go-toc-rendering 2017-12-01 11:22:27 -05:00
Rick Winfrey
e18ca5b9d0 Merge branch 'update-go-toc-rendering' of github.com:github/semantic-diff into update-go-toc-rendering 2017-11-30 16:55:40 -08:00
Rick Winfrey
be3d497f8c Add interface test cases for method specs without return types 2017-11-30 16:55:38 -08:00
Rick Winfrey
3bc8c4cff5 Merge branch 'master' into update-go-toc-rendering 2017-11-30 16:37:14 -08:00
Rick Winfrey
442824949d Update tests 2017-11-30 16:28:04 -08:00
Rob Rix
4ccf265c4e Opt the tests into using record syntax. 2017-11-30 11:12:23 -05:00
Rob Rix
2bbd4e7a49 Test that derived & generic showsPrec agree for infix constructors. 2017-11-30 10:47:53 -05:00
Rob Rix
6ce7ba6b2a Rename the record test. 2017-11-30 10:45:52 -05:00
Rob Rix
517843b603 Test that generic Show1 shows record selectors. 2017-11-30 10:44:32 -05:00
Rob Rix
4b928a6c4e Test that derived & generic showsPrec agree. 2017-11-30 10:41:26 -05:00
Rob Rix
221a88f452 Test that derived & generic equality agree. 2017-11-30 10:38:46 -05:00
Rob Rix
67f251e223 Combine the generic Eq1, Ord1, & Show1 implementations into a single module. 2017-11-30 10:24:48 -05:00
Rob Rix
4fe9c9ca52 Merge branch 'musical-modules' into 🔥-monolithic-syntax 2017-11-30 10:06:30 -05:00
Rob Rix
cbd02eab7b Merge branch 'master' into musical-modules 2017-11-30 09:53:19 -05:00
Rick Winfrey
951a846c53 Regenerate tests 2017-11-29 17:55:52 -08:00
Rick Winfrey
31d8962b7b Update tests for receive operator 2017-11-29 12:54:28 -08:00
Rick Winfrey
921cce09d8 Regenerate tests 2017-11-28 14:28:59 -08:00
Rick Winfrey
5044317b2c Update slice expressions tests 2017-11-28 11:10:13 -08:00
Rick Winfrey
f93a0389ce Merge branch 'master' into go-assignment 2017-11-28 09:21:10 -08:00
Rob Rix
f1c4b58797 Merge branch 'musical-modules' into 🔥-monolithic-syntax 2017-11-28 11:59:38 -05:00
Rob Rix
41020b7eae Extract the Declaration algebras into a new module. 2017-11-28 09:17:41 -05:00
Rick Winfrey
d241922d32 Update tests 2017-11-27 18:01:07 -08:00
Rob Rix
2102ab41cf Rename Decorating to Analysis. 2017-11-27 14:32:13 -05:00
Rob Rix
87d533cc2b Rename Language to Data.Language. 2017-11-27 14:17:48 -05:00
Rob Rix
bcb64b3187 Rename the Integration spec. 2017-11-27 14:06:12 -05:00
Rob Rix
59fc8bffc9 Rename the TOC spec. 2017-11-27 14:04:58 -05:00
Rob Rix
69595553d6 Rename the Interpreter spec. 2017-11-27 14:03:45 -05:00
Rob Rix
a442bfeea1 Rename the Term spec. 2017-11-27 14:02:03 -05:00
Rob Rix
a079638c5b Rename the Semantic spec. 2017-11-27 14:00:53 -05:00
Rob Rix
80fce5b41e Rename the Diff spec. 2017-11-27 13:59:44 -05:00
Rob Rix
4b06df7db4 Rename the Stat spec. 2017-11-27 13:58:23 -05:00
Rob Rix
59166b50bb Rename the CLI spec. 2017-11-27 13:57:25 -05:00
Rob Rix
b98375b58f Rename the IO spec. 2017-11-27 13:52:48 -05:00
Rob Rix
8a3d34a1fc Rename the SES spec. 2017-11-27 13:51:05 -05:00
Rob Rix
f4960b0a0d Rename the Source spec. 2017-11-27 13:49:52 -05:00
Rob Rix
266bd1199a Rename the RWS spec. 2017-11-27 13:48:43 -05:00
Rob Rix
a8e8489fcb Rename the assignment spec. 2017-11-27 13:47:04 -05:00
Rob Rix
3ebb972bd8 Move the Node datatype & AST synonym into Data.AST. 2017-11-27 13:45:37 -05:00
Rob Rix
fd31babd62 Rename Decorator to Decorating.Decorator. 2017-11-27 13:36:00 -05:00
Rob Rix
3a3ed72f96 Rename Renderer to Rendering.Renderer. 2017-11-27 13:30:38 -05:00
Rob Rix
dbb1a33fca Rename Parser to Parsing.Parser. 2017-11-27 13:24:45 -05:00
Rob Rix
9bfd64905d Rename Data.Syntax.Assignment to Assigning.Assignment. 2017-11-27 13:19:20 -05:00
Rob Rix
062d9cbfa9 Rename Files to Semantic.IO. 2017-11-27 13:09:03 -05:00
Rob Rix
1e95b0270e Rename SemanticCmdLine to Semantic.CLI. 2017-11-27 11:57:27 -05:00
Rob Rix
bb21a24a93 Rename RWS to Diffing.Algorithm.RWS. 2017-11-27 11:51:39 -05:00
Rob Rix
dad5abb189 Rename SES to Diffing.Algorithm.SES. 2017-11-27 11:48:39 -05:00
Rob Rix
cdefcdb33d Rename Interpreter to Diffing.Interpreter. 2017-11-27 11:45:08 -05:00
Rob Rix
cfd27ec20c Rename Algorithm -> Diffing.Algorithm. 2017-11-27 11:42:57 -05:00
Rob Rix
35da07249e termAnnotation & termOut act on Term, not TermF. 2017-11-23 13:21:37 -05:00
Rick Winfrey
90de7fafc0 Merge branch 'go-assignment' of github.com:github/semantic-diff into go-assignment 2017-11-22 15:38:04 -08:00
Rick Winfrey
e11ee4a940 Update channel-types tests 2017-11-22 15:36:34 -08:00
Rick Winfrey
cb4d5a4938 Update tests 2017-11-22 15:34:20 -08:00
Rob Rix
3a06686361 Rename Data.Syntax.Algebra to Decorator. 2017-11-22 17:21:22 -05:00
Rob Rix
863b07b087 Correct the patch entries test. 2017-11-22 12:36:34 -05:00
Rob Rix
cda112823a Tidy up the unchanged diffs spec. 2017-11-22 10:19:12 -05:00
Rob Rix
738ca371bd Filter methods & functions out. 2017-11-22 10:17:32 -05:00
Rob Rix
4cb96cd6ea Filter out anything with a declaration. 2017-11-22 10:13:33 -05:00
Rob Rix
c42eb83dbd 🔥 a redundant import. 2017-11-22 10:11:07 -05:00
Rob Rix
3a335aadaf Align some things. 2017-11-22 09:28:42 -05:00
Rob Rix
5850c57282 Merge branch 'master' into go-assignment 2017-11-22 09:23:04 -05:00
Rob Rix
4754da715a Merge branch 'master' into 🔥-monolithic-syntax 2017-11-22 09:19:32 -05:00
Rob Rix
2ae0aeff16 🔥 sourceSpanBetween. 2017-11-21 17:35:12 -05:00
Rob Rix
9579bbab5c Merge remote-tracking branch 'origin/go-assignment' into 🔥-monolithic-syntax 2017-11-21 17:26:05 -05:00
Rob Rix
750f6a2d93 Merge branch '🔥-patch-output' into 🔥-monolithic-syntax 2017-11-21 17:15:58 -05:00
Rob Rix
384178ec56 Merge branch 'master' into 🔥-patch-output 2017-11-21 17:13:51 -05:00
Rob Rix
f714521f31 🔥 the --patch flag. 2017-11-21 17:11:16 -05:00
Rob Rix
8dea7d4194 🔥 AlignmentSpec. 2017-11-21 17:08:52 -05:00
Rob Rix
efa454edcc 🔥 PatchOutputSpec. 2017-11-21 17:08:40 -05:00
Rob Rix
2fbea81d9c Merge branch 'master' into fix-markdown-timeouts 2017-11-21 17:05:14 -05:00
Rob Rix
4b07ad44ac temp 2017-11-21 15:56:34 -05:00
Rob Rix
4aa083332c Migrate all the ToC specs to à la carte syntax. 2017-11-21 15:52:04 -05:00
Rick Winfrey
a7d2ceee0c Regen tests 2017-11-21 12:21:15 -08:00
Rick Winfrey
d3211a5dd2 Merge branch 'master' into go-assignment 2017-11-21 10:42:15 -08:00
Rick Winfrey
898a7bd84c Bring Go ToC test in line with parser 2017-11-21 10:41:56 -08:00
Rick Winfrey
faae21e8df Update labeled statements tests 2017-11-21 10:33:25 -08:00
Rob Rix
99c7b5ac6e Merge branch 'master' into 🔥-monolithic-syntax 2017-11-21 12:37:45 -05:00
Rob Rix
a1be4a5107 Merge remote-tracking branch 'origin/go-assignment' into 🔥-monolithic-syntax 2017-11-21 12:34:46 -05:00
Rick Winfrey
61cf444f38 Update label statements tests 2017-11-20 20:23:10 -08:00
Rick Winfrey
2614c11888 Add import statements tests 2017-11-20 19:09:03 -08:00
Rick Winfrey
78c98e1c78 Update type switch statement tests 2017-11-20 19:08:54 -08:00
Rick Winfrey
0cfe57713d Update type declarations tests 2017-11-20 18:45:48 -08:00
Rick Winfrey
5eb138e4db Update function declarations tests 2017-11-20 18:45:39 -08:00
Rick Winfrey
f44d0dc3fc Add back manyTerm combinator as an alias for many term 2017-11-20 17:08:03 -08:00
Rick Winfrey
9117f5153a Update tests 2017-11-20 16:43:12 -08:00
Timothy Clem
a4d11b6e63 Merge branch 'master' into fix-markdown-sourceLineRangesByLineNumber 2017-11-20 15:23:33 -08:00
Timothy Clem
16ef56d742 Merge remote-tracking branch 'origin/master' into fix-markdown-timeouts 2017-11-20 15:22:58 -08:00
Timothy Clem
57dd145dc2 Fix tests and demonstrate removes too 2017-11-20 14:20:34 -08:00
Rick Winfrey
4a44ec572f Update if statement tests with comment for else if statement 2017-11-20 11:30:52 -08:00
Rick Winfrey
52bc364168 Update tests fixtures 2017-11-20 11:07:21 -08:00
Rick Winfrey
5ade935a08 Add binary expressions tests 2017-11-20 10:57:19 -08:00
Timothy Clem
a227562cc6 Finally able to write a test for this
This fails with the old implmentation and captures what we are seeing in some markdown files.
2017-11-17 08:30:57 -08:00
Timothy Clem
9652926841 Merge remote-tracking branch 'origin/master' into generate-tags-with-context 2017-11-16 14:35:20 -08:00
Rick Winfrey
d04b6a63f6 Re-contextualize tests 2017-11-15 16:36:15 -08:00
Rick Winfrey
c783841ef5 Contextualize tests 2017-11-15 15:55:53 -08:00
Rick Winfrey
018e4707ac Update method declarations tests 2017-11-15 11:08:12 -08:00
Rick Winfrey
e5b518dd5e Update case and switch statement tests 2017-11-15 10:57:12 -08:00
Rick Winfrey
8bcc94e086 Update type switch statements tests 2017-11-15 10:21:50 -08:00
Rick Winfrey
2453d66af1 Update select statements tests 2017-11-15 10:10:14 -08:00
Rob Rix
2ddd0fafdc Merge remote-tracking branch 'origin/go-assignment' into 🔥-monolithic-syntax 2017-11-15 10:57:25 -05:00
Rob Rix
7b291087cc Merge branch 'master' into 🔥-monolithic-syntax 2017-11-15 10:52:30 -05:00
Rick Winfrey
b034e471fa Update function declaration tests 2017-11-14 15:33:07 -08:00
Rick Winfrey
ddd35e2631 Update unary expression test fixtures 2017-11-14 14:25:20 -08:00
Rick Winfrey
62f5cedf67 Update select statements tests 2017-11-14 14:04:06 -08:00
Rick Winfrey
2ccc5e9786 Update type switch statement tests 2017-11-14 13:54:14 -08:00
Rick Winfrey
b32a874f42 Merge branch 'master' into go-assignment 2017-11-14 11:02:17 -08:00
Rick Winfrey
59cb4b2bc7 Update tests 2017-11-09 17:01:19 -08:00
Rick Winfrey
4eb9d19f9c Update method declaration fixtures and tests 2017-11-09 16:21:36 -08:00
Rick Winfrey
86c7892fe2 Update for statement tests 2017-11-09 15:41:55 -08:00
Timothy Clem
0b3568aaba Shape of Declaration.Class changed 2017-11-08 14:26:40 -08:00
Timothy Clem
3fc53af5e0 classBody doesn't need to be a list 2017-11-08 14:00:08 -08:00
Timothy Clem
04a2991b95 Missed this rename 2017-11-08 13:59:24 -08:00
Timothy Clem
772762ecef Merge remote-tracking branch 'origin/master' into generate-tags-with-context 2017-11-08 13:16:07 -08:00
Josh Vera
136ceb6ca1 Merge branch 'master' into json-updates 2017-11-08 15:22:48 -05:00
joshvera
e1fdd753ed Regenerate go tests 2017-11-08 15:01:39 -05:00
Rick Winfrey
fcf453f759 Add additional type conversion test cases 2017-11-08 11:17:03 -08:00
Rick Winfrey
e7921e1c1c Regenerate tests 2017-11-08 11:13:11 -08:00
Rick Winfrey
4d0a7d5a62 Merge branch 'master' into go-assignment 2017-11-08 11:09:42 -08:00
Rick Winfrey
acdb026393 Add additional assignment statement test cases 2017-11-07 17:05:37 -08:00
Rick Winfrey
c883c9926e Add additional channel type tests 2017-11-07 16:57:03 -08:00
Rick Winfrey
ad8067f5e8 Add additional array types tests 2017-11-07 16:38:52 -08:00
Rick Winfrey
99677709ed Add additional method declaration test cases 2017-11-07 16:28:17 -08:00
Rick Winfrey
d62d475bf7 Add type-aliases tests 2017-11-07 16:00:10 -08:00
Rick Winfrey
155e0e05eb Update type conversion expressions tests 2017-11-07 13:31:44 -08:00
Timothy Clem
4e2a23509f Merge branch 'master' into class-toc 2017-11-07 13:20:16 -08:00
Rick Winfrey
f060df748c Select unary expressions tests 2017-11-07 11:20:36 -08:00
Rick Winfrey
a21c1681d1 Update select statements tests 2017-11-07 11:20:25 -08:00
Rick Winfrey
cccedef52d Add empty statement example in tests 2017-11-07 10:14:46 -08:00
Rick Winfrey
15e9f7b453 Update select statements tests 2017-11-06 17:00:20 -08:00
Rick Winfrey
a17fbb5cd9 Update type switch statements tests 2017-11-06 16:58:33 -08:00
Rick Winfrey
ba5be778ad Update select statements tests 2017-11-03 17:11:51 -07:00
Rick Winfrey
436a66b8b7 Update type declarations tests 2017-11-03 15:14:25 -07:00
Rick Winfrey
97f10bd358 Update unary expressions tests 2017-11-03 15:12:25 -07:00
Rick Winfrey
2b7feb3c8b Update type conversion expressions tests 2017-11-03 15:12:12 -07:00
Josh Vera
8dd19297d4 Merge branch 'master' into typescript-fixes 2017-11-03 13:58:13 -04:00
joshvera
4bce58a0c8 Update go tests based on tree-sitter-go changes 2017-11-03 12:41:18 -04:00
Rick Winfrey
583135b399 Update type assertion tests 2017-11-02 13:07:29 -07:00
Rick Winfrey
a40906df67 Update struct types tests 2017-11-02 12:07:57 -07:00
Rick Winfrey
6ba4eeed9c Update struct literals tests 2017-11-02 12:07:45 -07:00
Rick Winfrey
2d09a1e5eb Update field declarations tests 2017-11-02 12:07:34 -07:00
Rick Winfrey
96280bd59c Update struct literals tests 2017-11-02 11:28:36 -07:00
Rick Winfrey
4289eef106 Update struct field declarations tests 2017-11-02 11:28:19 -07:00
Rick Winfrey
6a68092feb Add default communication cases to select statements tests 2017-11-01 17:32:00 -07:00
Rick Winfrey
422d5421e7 Update unary expression tests 2017-11-01 17:06:01 -07:00
Rick Winfrey
f17032bd2e Update select statement tests 2017-11-01 17:05:47 -07:00
Rick Winfrey
8836344d1d Update struct types tests 2017-11-01 16:07:08 -07:00
Rick Winfrey
2d8cdee378 Update modifying struct fields tests 2017-11-01 16:06:54 -07:00
Rick Winfrey
974fc9c7c6 Update interface types tests 2017-11-01 16:06:39 -07:00
Rick Winfrey
6d53916a05 Update index and slice expression tests 2017-11-01 15:11:29 -07:00
Rick Winfrey
a889eb1d98 Update go and defer statement tests 2017-11-01 14:03:19 -07:00
Rick Winfrey
f4b8e302ca Update function literal tests 2017-11-01 11:06:40 -07:00
Rick Winfrey
da8d8b8214 Update function declaration tests 2017-11-01 11:00:09 -07:00
Rick Winfrey
46ee009d74 Update send statements tests 2017-10-31 17:28:15 -07:00
Rick Winfrey
81ed903aae Update imaginary literals tests 2017-10-31 17:24:29 -07:00
Rick Winfrey
a52fd8de2a Update label statements tests 2017-10-31 17:18:33 -07:00
Rick Winfrey
60d52118a8 Update selector expressions tests 2017-10-31 16:59:01 -07:00
Rick Winfrey
22bede548b Update rune literal tests 2017-10-31 16:46:06 -07:00
Rick Winfrey
8164e9b2de Update for-statement tests 2017-10-31 16:14:55 -07:00
Rick Winfrey
c55ce3243e Add additional for range clause examples 2017-10-31 15:21:26 -07:00
joshvera
27979eb2e8 Regenerate tests 2017-10-31 18:10:42 -04:00
Ayman Nadeem
fd11cf9e22 updated fixture 2017-10-31 14:56:25 -07:00
Ayman Nadeem
b7fc2ddd55 shuffle around order of JSON summary list items 2017-10-31 14:55:44 -07:00
Ayman Nadeem
01ba59336d update tests 2017-10-31 14:54:57 -07:00
Rick Winfrey
41df9b3144 Update assignment float literals tests 2017-10-31 11:48:03 -07:00
Rick Winfrey
32cb5eed56 Update constructors tests 2017-10-31 11:38:38 -07:00
Rick Winfrey
596fa7097b Update channel test fixtures 2017-10-31 11:21:34 -07:00
Ayman Nadeem
4fea5c7c43 introduce failing test for class addition, modification and removal 2017-10-31 11:17:56 -07:00
Rick Winfrey
2e79bb6542 Update case / switch statement tests 2017-10-31 10:33:37 -07:00
Ayman Nadeem
be1b7d6cb0 Merge branch 'master' into class-toc 2017-10-31 10:30:44 -07:00
joshvera
5922f4db99 update class tests 2017-10-31 11:05:51 -04:00
Rick Winfrey
bd9721f677 Enhance Go switch test fixture 2017-10-30 17:50:57 -07:00
Rick Winfrey
460dd54c33 Merge branch 'master' into go-assignment 2017-10-30 15:02:01 -07:00
joshvera
197da5e758 update class tests 2017-10-30 17:52:15 -04:00
Timothy Clem
ee80ee6d38 No need to have summaryTermText on TOCSummary now 2017-10-27 11:37:05 -07:00
Timothy Clem
1c701f9775 Merge remote-tracking branch 'origin/master' into generate-tags-with-context 2017-10-27 11:33:09 -07:00
Timothy Clem
957448518d Pass language around for easy use later 2017-10-27 11:16:05 -07:00
Timothy Clem
050734c40c s/JSONSummary/TOCSummary 2017-10-27 11:15:46 -07:00
Timothy Clem
6ad5700116 Refactor renderToTags to not go through JSONSummary 2017-10-27 10:18:21 -07:00
Rob Rix
d50731552c 🔥 the test of dimensionality. 2017-10-26 19:45:23 -04:00
Rick Winfrey
e9fc626302 Regenerate tests for Go Assignment 2017-10-24 16:14:46 -07:00
Rick Winfrey
96213206a0 Update tests 2017-10-24 16:00:37 -07:00
Rick Winfrey
2bd9fe9e8c Fix assignment statement diff tests 2017-10-24 15:49:07 -07:00
Rick Winfrey
6510458e16 Update assignment-statements parse test results 2017-10-24 15:43:14 -07:00
Rick Winfrey
5222b02c49 Add pointer / reference var assignment 2017-10-24 14:19:49 -07:00
Rob Rix
8b281bc3cf Update a couple of ToC fixtures. 2017-10-24 15:15:54 -04:00
Rob Rix
e512398b85 Update a bunch of fixtures. 2017-10-24 15:13:47 -04:00
Rick Winfrey
1de4ab6bc0 Update if-statements tests 2017-10-23 16:52:36 -07:00
Rick Winfrey
5ad5a882ba Merge branch 'master' into go-assignment 2017-10-23 15:10:29 -07:00
Rob Rix
3462892131 🔥 redundant imports. 2017-10-23 11:59:19 -04:00
Rob Rix
3351c60859 Move the permutation tests into InterpreterSpec. 2017-10-23 11:58:52 -04:00
Rob Rix
6200a00b6e Rename the identity diff property. 2017-10-23 11:58:43 -04:00
Rob Rix
46e2b5fb15 Rename the interpreter spec. 2017-10-23 11:58:31 -04:00
Rob Rix
a23d60dc09 🔥 a redundant test that equal terms produce identity diffs. 2017-10-23 11:57:36 -04:00
Rob Rix
1652dc1147 🔥 redundant tests of the lossless property. 2017-10-23 11:55:44 -04:00
Rob Rix
9c1dce7ab9 🔥 the Context/Empty Listable instances. 2017-10-23 11:53:42 -04:00
Rob Rix
c0d833f361 🔥 the Context/Empty tests of the Mergeable laws. 2017-10-23 11:53:36 -04:00
Rob Rix
6a0321c401 Test the Mergeable laws against a Union. 2017-10-23 10:40:33 -04:00
Rob Rix
8245e337ce Define a Listable instance for Union. 2017-10-23 10:36:53 -04:00
Rob Rix
395678bcb3 Test the Mergeable laws against Context & Empty. 2017-10-23 10:32:48 -04:00
Rob Rix
0184f57713 Define Listable instances for Context & Empty. 2017-10-23 10:32:32 -04:00
Rob Rix
a4a4074a22 Re-enable the pending tests. 2017-10-23 09:40:06 -04:00
Rob Rix
08eedd23cc Measure the length of diffPatches instead of using diffCost. 2017-10-23 09:37:47 -04:00
joshvera
2f26a09905 fix tests 2017-10-19 21:32:27 -04:00
Rick Winfrey
c3d6a15621 Update the syntax we define custom cyclomatic complexity
- Key additions are the addition of loops (For, ForEach, Do, and DoWhile).
- Key removal is Return, Break, Throw, Yield and Finally.
2017-10-18 17:15:41 -07:00
Rick Winfrey
a38ef81f01 Update tests 2017-10-17 17:06:10 -07:00
Rick Winfrey
5d99ca4901 Add CyclomaticComplexity to tests 2017-10-16 14:26:08 -07:00
Rick Winfrey
2dad14e33e Add Listable instance for CyclomaticComplexity 2017-10-16 14:24:49 -07:00
Rick Winfrey
6e76a75323 Update type annotation 2017-10-13 15:57:28 -07:00
Ayman Nadeem
8f496db787 delete Unchanged entries 2017-10-13 10:50:29 -07:00
Rick Winfrey
88a049a142 Regenerate tests (based on tree-sitter-go grammar updates) 2017-10-10 14:31:52 -07:00
Ayman Nadeem
cdb78619f6 WIP test fixes 2017-10-10 13:56:09 -07:00
Ayman Nadeem
3319d55be5 fix failing tests 2017-10-10 12:39:27 -07:00
Ayman Nadeem
148d2532a8 fix conflicts 2017-10-10 11:16:21 -07:00
Rob Rix
cd30584dba 🔥 a bunch of references to categories. 2017-10-10 13:34:50 -04:00
Rob Rix
ed8e08ef26 Migrate a bunch of the tests away from Syntax. 2017-10-10 13:18:11 -04:00
Rob Rix
750bca5bfc Migrate the Go ToC test to diffWithParser. 2017-10-10 13:14:05 -04:00
Rob Rix
44fafdbd9a Define a Listable instance for Unions. 2017-10-10 13:10:57 -04:00
Rob Rix
ac5e0b3e9f 🔥 the Listable instances for Category & Syntax. 2017-10-10 13:00:26 -04:00
Rob Rix
264912d6bf Merge branch 'master' into open-toc-rendering 2017-10-06 17:26:02 -04:00
Timothy Clem
90fdef6ce0 Merge branch 'master' into stats 2017-10-06 12:22:54 -07:00
Rob Rix
1501f3506c Fix a fixture. 2017-10-06 10:55:46 -04:00
Rob Rix
5ac488f164 Revert "Use the declarationAlgebra in the tests."
This reverts commit d42f9b01b42f1d0d4b769f89642b3ed7e47a5c34.
2017-10-06 10:30:20 -04:00
Rob Rix
ec3dff1c66 Use the declarationAlgebra in the tests. 2017-10-06 09:34:15 -04:00
Rob Rix
85872a3e2e Merge branch 'master' into abstract-high-level-flow-over-syntax-types 2017-10-05 20:11:56 -04:00
Timothy Clem
82968ac175 Merge branch 'master' into stats 2017-10-05 14:34:55 -07:00
joshvera
71eefd92a5 Merge remote-tracking branch 'origin/master' into typescript-fixes 2017-10-05 14:04:57 -07:00
joshvera
a1d075a47e regenerate tests 2017-10-05 14:01:03 -07:00
Timothy Clem
87bd442c96 Refactor a bit more into Semantic.Queue
Also, docs and record prefixes
2017-10-05 10:26:16 -07:00
Timothy Clem
ce2e3e737e Merge branch 'master' into stats 2017-10-05 07:48:49 -07:00
Timothy Clem
b5c63fc78c Minor spec name fixes 2017-10-04 14:21:06 -07:00
Ayman Nadeem
157226a7ca make tests pass 2017-10-04 13:21:58 -07:00
Rob Rix
67e3e91fac Merge branch 'master' into abstract-high-level-flow-over-syntax-types 2017-10-04 15:12:53 -04:00
Timothy Clem
c7f4ae005b Test actual sending of data 2017-10-04 11:40:39 -07:00
Timothy Clem
8860a0942b No need for these anymore 2017-10-04 11:13:03 -07:00
Timothy Clem
666585bf50 Start writing a few specs 2017-10-04 11:12:24 -07:00
Rob Rix
df9efe6fb4 🔥 the redundant repo binding. 2017-10-04 10:26:46 -04:00
Rob Rix
a4afb35769 🔥 the profile fixtures. 2017-10-04 10:25:30 -04:00
Rob Rix
684af38fe9 Merge branch 'generic-term-comparability-and-equivalence' into simplified-high-level-flow 2017-10-03 16:23:50 -04:00
Rob Rix
0fecda703a Update the fixtures. 2017-10-03 15:26:50 -04:00
Rob Rix
27758821e8 Use the comparableTerms relation in the RWS tests. 2017-10-03 15:10:11 -04:00
Rob Rix
a965c12dd8 Rename parserForLanguage to syntaxParserForLanguage. 2017-10-03 10:04:59 -04:00
Rob Rix
b85aa53af9 Spacing. 2017-10-03 09:29:15 -04:00
Rob Rix
ac3646f925 Test that genericLiftCompare gives equivalent behaviour to compare for recursive types. 2017-10-03 09:29:06 -04:00
Rob Rix
5a024b40f7 Test that genericLiftCompare gives equivalent behaviour to compare for sum types. 2017-10-03 09:25:39 -04:00
Rob Rix
7e034fa4c1 Test that genericLiftCompare gives equivalent behaviour to compare for product types. 2017-10-03 09:23:44 -04:00
Rob Rix
6f4539cdce Stub in a module for generically-implemented Ord1 specs. 2017-10-03 09:15:45 -04:00
Timothy Clem
dfc7de34e7 Merge branch 'master' into contextualize-ruby-comments 2017-10-02 13:19:02 -07:00
Timothy Clem
2ee98ab96f These comments are part of Context now 2017-10-02 11:13:54 -07:00
Rob Rix
960bfd9d41 🔥 redundant imports. 2017-10-02 10:32:00 -04:00
Rob Rix
09e3a79340 Update one of the ToC tests. 2017-10-02 10:29:47 -04:00
Rob Rix
1f6a1fcc0f Migrate TOCSpec off of IdentityDiffRenderer. 2017-10-02 10:11:31 -04:00
Rob Rix
2bd957153d Use parseAndDiffBlobPair instead of IdentityDiffRenderer. 2017-09-29 15:33:13 -04:00
Rob Rix
dd4cb32b90 🔥 the test of parsing in the specified language.
This is redundant to the test that it renders with the specified renderer.
2017-09-29 15:19:52 -04:00
Rob Rix
4eb3b7eacd Test against the s-expression renderer. 2017-09-29 15:14:37 -04:00
Rob Rix
f095b89492 Test that we fail when the language is Nothing. 2017-09-29 15:09:58 -04:00
joshvera
54444ab54d s/Function/FunctionType 2017-09-28 17:27:57 -07:00
joshvera
3384a3689d fix tests 2017-09-28 17:17:39 -07:00
joshvera
b3667104fb Merge remote-tracking branch 'origin/master' into typescript-assignment 2017-09-28 14:24:57 -07:00
Rob Rix
9c664e5460 Merge branch 'master' into musical-chairs 2017-09-28 11:36:02 -04:00
Rob Rix
7bed8fee3e Define a test that diffTerms compares nodes against the subject position within Context nodes. 2017-09-28 11:24:51 -04:00
Rob Rix
7595062d05 Use the merging function in the tests. 2017-09-28 10:40:23 -04:00
Rob Rix
26d44ae2f0 Merge the Decorators module into Data.Syntax.Algebra. 2017-09-27 12:54:01 -04:00
Rob Rix
1cab700d82 Rename the SplitDiff module to Data.SplitDiff. 2017-09-27 12:43:11 -04:00
Rob Rix
b31043a3eb Rename the Diff module to Data.Diff. 2017-09-27 12:41:41 -04:00
Rob Rix
9bd0b02ac9 Rename the Term module to Data.Term. 2017-09-27 12:37:37 -04:00
Rob Rix
e8b7e89dca Rename the Patch module to Data.Patch. 2017-09-27 12:29:07 -04:00
Rob Rix
b1560c1da5 Mark while-statement.diffB-A as pending on #1359. 2017-09-26 12:27:04 -04:00
Rob Rix
22ae1c1192 Pass the pending message along with the output file path. 2017-09-26 12:26:13 -04:00
Rob Rix
e88c9b0e56 Allow integration specs to be marked as pending. 2017-09-26 12:23:16 -04:00
Rob Rix
8cf834154d Fix the commented out spec. 2017-09-26 12:14:36 -04:00
Rob Rix
89ab11d291 Merge branch 'test-rws-permutations' into substructural-diffing 2017-09-26 12:10:32 -04:00
Rob Rix
d91e8d8464 🔥 the before/after permutation properties. 2017-09-26 12:06:41 -04:00
Rob Rix
06a929528a Mark the forward permutation diff test as pending. 2017-09-26 10:11:00 -04:00
Rob Rix
0ed594cfab Restrict a, b, and c to be disjoint. 2017-09-26 10:09:54 -04:00
Rob Rix
69aae9986d Ensure that c is distinct from both a and b. 2017-09-26 09:59:31 -04:00
Rob Rix
6608ab48e3 Add (failing) tests that forward/backward permutations are correctly diffed as changes. 2017-09-26 09:56:47 -04:00
Rob Rix
58338d6af2 Add tests that we recover before/after states through forward/backward permutations. 2017-09-26 09:50:50 -04:00
Rob Rix
01e8e1725f Move the listable Syntax synonym into Data.Functor.Listable. 2017-09-26 09:48:59 -04:00
Rob Rix
c9e4968d93 Migrate the RWS tests to à la carte syntax. 2017-09-26 09:44:42 -04:00
Rob Rix
2aff7745b6 Migrate InterpreterSpec to à la carte syntax. 2017-09-26 09:31:36 -04:00
Rob Rix
b618caa35c Update a few Ruby fixtures. 2017-09-26 09:18:40 -04:00
Rob Rix
0fa57d60c2 Merge branch 'master' into substructural-diffing 2017-09-26 09:13:22 -04:00
Rob Rix
cfc6d13ad0 Define (failing) tests that permutations are changes. 2017-09-26 09:12:06 -04:00
Rob Rix
86ede39a58 🔥 Use empty records in DiffSpec. 2017-09-25 19:54:34 -04:00
Rob Rix
bd4dee20d5 Migrate DiffSpec to à la carte syntax. 2017-09-25 19:52:08 -04:00
Rob Rix
8e674538e3 Define Listable1 instances for Functions & Methods. 2017-09-25 19:25:14 -04:00
Rob Rix
f274a9dd7d Define a Listable1 instance for Context. 2017-09-25 19:20:01 -04:00
Rob Rix
aae77f6e0e Define a Listable1 instance for Comment. 2017-09-25 19:19:51 -04:00
Rob Rix
b0c79efa9b Define a Listable1 instance for NonEmpty. 2017-09-25 19:19:37 -04:00
Rob Rix
b32a911484 Define Listable instances for Return and Empty. 2017-09-25 19:14:00 -04:00
Rob Rix
909e199e72 Define Listable instances for If and Identifier. 2017-09-25 19:12:44 -04:00
Rob Rix
468a874168 Define Listable instances for non-empty Unions. 2017-09-25 19:08:55 -04:00
Rob Rix
5ba29e6361 Fix the while-statement diff. 2017-09-25 18:46:47 -04:00
Rob Rix
de1a5f8a23 Fix _most of_ the failures. 2017-09-25 18:45:37 -04:00
joshvera
7f81d8982d Add TOCSpec 2017-09-25 14:11:15 -04:00
joshvera
44d895388d Merge remote-tracking branch 'origin/master' into typescript-assignment 2017-09-25 13:47:46 -04:00
joshvera
bd440ea8d0 Merge remote-tracking branch 'origin/master' into typescript-assignment 2017-09-25 13:40:10 -04:00
Timothy Clem
0642755c35 Merge remote-tracking branch 'origin/master' into ruby-assignment-ftw 2017-09-25 09:08:14 -07:00
Rob Rix
fb56d8b604 Merge branch 'master' into substructural-diffing 2017-09-25 11:59:14 -04:00
Timothy Clem
ddebcc044d Make it really clear where we are headed 2017-09-25 08:24:48 -07:00
Rob Rix
4c87a91f19 Use the correct functions in the diffs. 2017-09-25 10:57:28 -04:00
Timothy Clem
56e340a3ff Test the new assignment toc renderer 2017-09-22 09:47:06 -07:00
joshvera
c0bd3e837b Regenerate tests 2017-09-21 12:31:30 -04:00
joshvera
9014266707 bump switch statement tests 2017-09-20 13:17:25 -04:00
joshvera
80dddc23c5 Add tests for jsx elements 2017-09-19 19:27:14 -04:00
joshvera
c5e3ca246f Update function and async-function specs in python 2017-09-19 17:32:51 -04:00
joshvera
d0fb557bec Merge remote-tracking branch 'origin/master' into typescript-assignment 2017-09-19 17:04:27 -04:00
Timothy Clem
ee7032edc2 Merge remote-tracking branch 'origin/master' into ruby-assignment-ftw 2017-09-19 11:19:43 -07:00
Timothy Clem
44d59f4e4d Some updated python fixtures due to eqTerms 2017-09-19 09:37:50 -07:00
Timothy Clem
7107aec6db Add a equivalency check for terms 2017-09-19 09:36:12 -07:00
joshvera
f26c67b3ad Fix parse errors in some go test cases 2017-09-19 12:20:04 -04:00
joshvera
b03d17de34 Merge remote-tracking branch 'origin/master' into typescript-assignment 2017-09-19 11:54:51 -04:00