Commit graph

122 commits

Author SHA1 Message Date
Wesley Wigham 39ebe81b89 Merge branch 'master' into compute-common-source-dir 2015-11-13 17:56:04 -08:00
Wesley Wigham e41bfd1ccc fix many lints 2015-11-13 17:43:53 -08:00
Wesley Wigham bfdb2d0fc9 and somehow all that caused was a lint error 2015-11-13 16:57:17 -08:00
Wesley Wigham ff95731507 :S 2015-11-13 16:49:16 -08:00
Wesley Wigham c3c758b4e1 Merge branch 'master' into compute-common-source-dir 2015-11-13 16:40:53 -08:00
Vladimir Matveev b93feb87be cleanup test harness code 2015-11-13 11:14:51 -08:00
Wesley Wigham 5ea25ba9a0 remove whitespace 2015-11-11 10:57:32 -08:00
Wesley Wigham ebd7d2d93e extract method 2015-11-10 16:48:08 -08:00
Wesley Wigham 97d170b388 Support to tests for absolute paths, add common src dir edgecase tests 2015-11-10 13:10:44 -08:00
Sheetal Nandi 4c842591f7 Merge branch 'master' into jsFileCompilation 2015-11-06 12:39:42 -08:00
Wesley Wigham 8a93b48945 fix lint: prefer const 2015-11-04 14:51:36 -08:00
Sheetal Nandi 2d3a345fd3 Since there arent any user given extensions, have extensions start with "." like before 2015-10-28 16:24:53 -07:00
Sheetal Nandi a87dae15a9 Verify that when emit blocking error occurs rest of the emit occurs as expected 2015-10-12 12:44:21 -07:00
Sheetal Nandi b580c5588e Merge branch 'master' into tscJsFiles 2015-10-05 16:42:37 -07:00
Wesley Wigham 3fe379ce52 lint harness, disablow control flow analysis because buggy 2015-09-30 15:45:23 -07:00
Sheetal Nandi c30104e3b6 Add option --jsExtensions to handle extensions to treat as javascript
- Command line now takes --jsExtension multiple times or comma separated list of extensions
- tsconfig accepts array of extension strings
2015-09-21 15:39:53 -07:00
Mohamed Hegazy 014137b544 remove unused createNewInstance support 2015-08-20 00:41:35 -07:00
Wesley Wigham 91f034669d Conform lint of the future, unify quotations 2015-08-04 13:33:01 -07:00
Dan Quirk f33a2b06d4 Fix let->var related errors, revert some lets 2015-07-14 18:24:51 -07:00
Dan Quirk cb4577e3e8 var->let and a few misc other fixes 2015-07-14 17:47:07 -07:00
Dan Quirk 7076e3c9dd Fix most tslint errors in the harness 2015-07-14 16:16:30 -07:00
Dan Quirk 2f15958d32 Use new mocha-fivemat-progress-reporter by default instead of dot reporter 2015-07-10 18:08:19 -07:00
Dan Quirk 64056005ff Create top level describe block for runners so status is reported at runner level 2015-07-09 18:04:30 -07:00
Ryan Cavanaugh e34d8cdccb Test support for TSX files 2015-06-18 14:02:22 -07:00
Daniel Rosenwasser fa50177c5d Clean up unused files in the harness. 2015-05-06 16:27:21 -07:00
Daniel Rosenwasser e90849d643 Made parameter mandatory, check type baselines again even in light mode. 2015-04-30 12:36:45 -07:00
Cyrus Najmabadi 8d99ecfa6c Add a light=true mode for running tests faster. 2015-04-29 12:13:35 -07:00
Mohamed Hegazy 32409f9b9b Merge branch 'master' into inlineSourceMaps 2015-04-27 10:11:43 -07:00
Cyrus Najmabadi 81ebac5d77 Produce type and symbol baseslines when running tests. 2015-04-21 17:07:57 -07:00
Mohamed Hegazy c940b1651a Merge branch 'master' into inlineSourceMaps 2015-04-19 13:33:50 -07:00
Cyrus Najmabadi 9ab6be3314 Don't run typewriter tests on the APISamples. It's too noisy. 2015-04-15 17:41:32 -07:00
Cyrus Najmabadi a2efe474cf Split symbol baselines from type baselines. 2015-04-15 16:44:20 -07:00
Mohamed Hegazy cacf34a4c2 Check for inlineSoruceMaps first 2015-04-09 16:55:42 -07:00
Mohamed Hegazy a998abb153 Add inlineSourceMap option 2015-04-08 00:14:23 -07:00
Yui T 725577e328 Remove deubgger statement 2015-03-09 15:14:08 -07:00
Yui T 4c7891ce09 Fix file path resolution in RWC 2015-03-09 15:10:47 -07:00
Cyrus Najmabadi d20d20aa9c Remove "debugger;" calls. 2015-02-05 18:43:02 -08:00
Cyrus Najmabadi b0061c1420 Emit both javascript and declarations in the presence of errors (*unless* -noEmitOnError is specified). 2015-02-05 14:41:04 -08:00
Cyrus Najmabadi b6d083fa40 Do not publicly expose a way on a Program instance to get typecheckers with differing behavior.
Now, you can only get the non-diagnostics, pull-type-checker from the Program instance.
If you want diagnostics, you simply ask the Program instance for the diagnostics you want.
2015-02-04 16:11:38 -08:00
Jason Freeman 7518d15620 Remove unnecessary it block in generated .d.ts compilation in harness 2015-01-05 18:26:09 -08:00
Cyrus Najmabadi b665323d45 Make the emitter no longer depend on the Program.
This breaks layering.  Also, it means the emitter depends on too large a surface area.
Now the emitter declares exactly what it needs, and only gets that.
2014-12-16 13:52:47 -08:00
Mohamed Hegazy 25ce5db7f3 Merge branch 'master' into es6Typings
Conflicts:
	src/harness/harness.ts
	src/lib/core.d.ts
2014-11-17 11:15:46 -08:00
Mohamed Hegazy 6c6d9bf091 Add test262 test runner 2014-11-17 11:01:05 -08:00
Dick van den Brink e7bb2e0ba7 Merge branch 'master' into warnaserror
Conflicts:
	src/compiler/diagnosticInformationMap.generated.ts
	src/compiler/diagnosticMessages.json
	src/compiler/types.ts
	src/harness/harness.ts
2014-11-16 22:02:00 +01:00
Mohamed Hegazy 00bfc06bc7 remove unused arguments for getCompiler 2014-11-10 17:33:30 -08:00
Dick van den Brink 96181c9c53 Removed some unused variables 2014-11-08 16:30:56 +01:00
Vladimir Matveev a8e5aad6e8 use const enums in compiler 2014-11-03 23:31:38 -08:00
Dick van den Brink 4c1397b9a6 Added test for noEmitOnError 2014-10-30 00:10:58 +01:00
Sheetal Nandi 15e479fa95 Merge branch 'master' into rwcRunner 2014-10-15 10:36:36 -07:00
Daniel Rosenwasser 9f7782d392 Added error 'prologue' to each error baseline. 2014-09-12 13:35:07 -07:00
Sheetal Nandi 813f0e75e2 Build the declaration files generated in the rwc run to make sure there arent any errors 2014-09-11 14:32:35 -07:00
Jason Freeman 4e1bb26ad1 Print type of super 2014-08-28 12:31:37 -07:00
Jason Freeman 828a1cd065 More type baseline changes 2014-08-25 11:04:30 -07:00
Jason Freeman cc20bb19d0 Baseline and harness changes 2014-08-25 10:55:22 -07:00
Sheetal Nandi 92e3202604 Fix the compilerRunner when compiling resulting d.ts file when --out is specified 2014-08-21 17:13:27 -07:00
Jason Freeman dc44edfa5f Clean up local state after the describe callback for each compiler test 2014-08-18 14:29:55 -07:00
Jason Freeman 14f9ed9235 Only give to typeWriter files that were part of compiled program 2014-08-15 14:37:34 -07:00
Jason Freeman 96fba4d867 TypeWriter logic for identifiers 2014-08-15 14:34:15 -07:00
Jason Freeman 3c6c0353b3 Make the harness invoke typeWriter 2014-08-15 14:34:13 -07:00
Sheetal Nandi f622cb4d11 Merge pull request #381 from branch 'remote/privacyErrors'
Report privacy errors on variable/property declarations and also emit import declarations that get used to defined visible type
2014-08-13 18:48:05 -07:00
Sheetal Nandi 54f5f15796 Update the project runner to emit errors in more readable way 2014-08-07 17:49:47 -07:00
Sheetal Nandi 5657c28b8b Fix the incorrect declaration file path during d.ts file compile in the compilerrunner 2014-08-07 14:59:00 -07:00
Dick van den Brink e0f738429f Added missing semicolons 2014-08-07 21:08:38 +02:00
Sheetal Nandi 0b227d5196 Test baselines because of change 2014-08-06 13:12:34 -07:00
Mohamed Hegazy a4a773a352 make the BOM visible in the test output 2014-08-06 12:36:39 -07:00
Mohamed Hegazy 35c1577ff5 Add tests for generateBOM switch 2014-08-06 12:05:01 -07:00
Dan Quirk d91c59bd29 Fix minor formatting issues 2014-07-24 16:04:37 -07:00
Sheetal Nandi e0ce0e97d5 Updating with code review feedback 2014-07-18 12:32:27 -07:00
Sheetal Nandi 2c7946ee00 Pulled out the d.ts compilation into separate it block 2014-07-17 22:43:59 -07:00
Sheetal Nandi d09e5508e2 Report global errors and re-enable assert for the number of errors reported 2014-07-17 18:16:40 -07:00
Sheetal Nandi 8936662090 Enable compiler runner to report the errors from compiling generated declaration files 2014-07-17 18:16:32 -07:00
Mohamed Hegazy 214df64e28 Add snapshot of compiler sources 2014-07-12 17:30:19 -07:00