Skip to content

Commit

Permalink
migrate large comparison test to be execution test (#896)
Browse files Browse the repository at this point in the history
  • Loading branch information
johnnyreilly committed Jan 9, 2019
1 parent df04a56 commit 92f0d70
Show file tree
Hide file tree
Showing 288 changed files with 2,860 additions and 13 deletions.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"allowSyntheticDefaultImports": true,
"moduleResolution": "node",
"module": "es2015",
"noEmitOnError": false,
"noEmitOnError": true,
"noImplicitAny": true,
"preserveConstEnums": true,
"removeComments": false,
Expand Down
2 changes: 1 addition & 1 deletion test/execution-tests/2.1.4_babel-es2016/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"lib": ["dom", "es2015", "es2016"],
"module": "es2015",
"moduleResolution": "node",
"noEmitOnError": false,
"noEmitOnError": true,
"noImplicitAny": true,
"preserveConstEnums": true,
"removeComments": false,
Expand Down
1 change: 1 addition & 0 deletions test/execution-tests/2.1.4_babel-react/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
"target": "es2015",
"module": "es2015",
"moduleResolution": "node",
"noEmitOnError": true,
"noImplicitAny": true,
"noUnusedLocals": true,
"noUnusedParameters": true,
Expand Down
1 change: 1 addition & 0 deletions test/execution-tests/2.1.4_react/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
"noImplicitAny": true,
"noUnusedLocals": true,
"noUnusedParameters": true,
"noEmitOnError": true,
"removeComments": false,
"preserveConstEnums": true,
"sourceMap": true,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
"noImplicitAny": true,
"noUnusedLocals": true,
"noUnusedParameters": true,
"noEmitOnError": true,
"removeComments": false,
"preserveConstEnums": true,
"sourceMap": true,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
"module": "esnext",
"strict": true,
"importHelpers": true,
"noEmitOnError": true,
"lib": [
"dom",
"es5",
Expand Down
5 changes: 4 additions & 1 deletion test/execution-tests/3.0.1_projectReferences/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,8 @@
],
"references": [
{ "path": "./lib" }
]
],
"compilerOptions": {
"noEmitOnError": true
}
}
4 changes: 3 additions & 1 deletion test/execution-tests/allowTsInNodeModules/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
{
"compilerOptions": { },
"compilerOptions": {
"noEmitOnError": true
},
"include": [
"./node_modules/whitelistedModule"
],
Expand Down
3 changes: 2 additions & 1 deletion test/execution-tests/babel-codeSplitting/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@
"es2015"
],
"target": "es2015",
"moduleResolution": "node",
"moduleResolution": "node",
"noEmitOnError": true,
"removeComments": false,
"sourceMap": true,
"skipLibCheck": true
Expand Down
2 changes: 1 addition & 1 deletion test/execution-tests/babel-es2015/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"compilerOptions": {
"noEmitOnError": false,
"noEmitOnError": true,
"noImplicitAny": true,
"preserveConstEnums": true,
"removeComments": false,
Expand Down
3 changes: 2 additions & 1 deletion test/execution-tests/babel-es6resolveParent/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
{
"compilerOptions": {
"target": "es6",
"moduleResolution": "node",
"moduleResolution": "node",
"noEmitOnError": true,
"jsx": "react"
}
}
2 changes: 1 addition & 1 deletion test/execution-tests/basic-happypack/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"compilerOptions": {

"noEmitOnError": true
}
}
2 changes: 1 addition & 1 deletion test/execution-tests/basic/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"compilerOptions": {

"noEmitOnError": true
}
}
17 changes: 17 additions & 0 deletions test/execution-tests/large/karma.conf.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
/* eslint-disable no-var, strict */
'use strict';
var webpackConfig = require('./webpack.config.js');
var makeKarmaConfig = require('../../karmaConfig');

module.exports = function(config) {
config.set(
makeKarmaConfig({
config,
webpackConfig,
files: [
// This ensures we have the es6 shims in place from babel and then loads all the tests
'main.js'
]
})
);
};
2 changes: 2 additions & 0 deletions test/execution-tests/large/main.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
const testsContext = require.context('./', true, /\.tests\.ts(x?)$/);
testsContext.keys().forEach(testsContext);
10 changes: 10 additions & 0 deletions test/execution-tests/large/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"name": "basic",
"license": "MIT",
"version": "1.0.0",
"main": "index.js",
"devDependencies": {
"@types/jasmine": "^2.5.35",
"jasmine-core": "^2.3.4"
}
}
30 changes: 30 additions & 0 deletions test/execution-tests/large/src/a.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@



import module_dt0 = require("./dt")
import module_cx1 = require("./cx")
import module_dg2 = require("./dg")
import module_di3 = require("./di")
import module_cg4 = require("./cg")
import module_t5 = require("./t")
import module_db6 = require("./db")
import module_k7 = require("./k")
import module_bb8 = require("./bb")
import module_cp9 = require("./cp")




module_dt0.doSomething()
module_cx1.doSomething()
module_dg2.doSomething()
module_di3.doSomething()
module_cg4.doSomething()
module_t5.doSomething()
module_db6.doSomething()
module_k7.doSomething()
module_bb8.doSomething()
module_cp9.doSomething()
export function doSomething(input: string) {
return "doSomething with " + input
}
28 changes: 28 additions & 0 deletions test/execution-tests/large/src/b.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@



import module_e0 = require("./e")
import module_o1 = require("./o")
import module_cz2 = require("./cz")
import module_bu3 = require("./bu")
import module_ce4 = require("./ce")
import module_bx5 = require("./bx")
import module_dc6 = require("./dc")
import module_x7 = require("./x")
import module_bx8 = require("./bx")
import module_ch9 = require("./ch")




module_e0.doSomething()
module_o1.doSomething()
module_cz2.doSomething()
module_bu3.doSomething()
module_ce4.doSomething()
module_bx5.doSomething()
module_dc6.doSomething()
module_x7.doSomething()
module_bx8.doSomething()
module_ch9.doSomething()
export function doSomething() { }
28 changes: 28 additions & 0 deletions test/execution-tests/large/src/ba.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@



import module_cd0 = require("./cd")
import module_bc1 = require("./bc")
import module_bi2 = require("./bi")
import module_be3 = require("./be")
import module_ci4 = require("./ci")
import module_cu5 = require("./cu")
import module_cv6 = require("./cv")
import module_cp7 = require("./cp")
import module_cy8 = require("./cy")
import module_bn9 = require("./bn")




module_cd0.doSomething()
module_bc1.doSomething()
module_bi2.doSomething()
module_be3.doSomething()
module_ci4.doSomething()
module_cu5.doSomething()
module_cv6.doSomething()
module_cp7.doSomething()
module_cy8.doSomething()
module_bn9.doSomething()
export function doSomething() { }
28 changes: 28 additions & 0 deletions test/execution-tests/large/src/bb.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@



import module_da0 = require("./da")
import module_bl1 = require("./bl")
import module_bm2 = require("./bm")
import module_bj3 = require("./bj")
import module_br4 = require("./br")
import module_bn5 = require("./bn")
import module_dm6 = require("./dm")
import module_dp7 = require("./dp")
import module_cj8 = require("./cj")
import module_bi9 = require("./bi")




module_da0.doSomething()
module_bl1.doSomething()
module_bm2.doSomething()
module_bj3.doSomething()
module_br4.doSomething()
module_bn5.doSomething()
module_dm6.doSomething()
module_dp7.doSomething()
module_cj8.doSomething()
module_bi9.doSomething()
export function doSomething() { }
28 changes: 28 additions & 0 deletions test/execution-tests/large/src/bc.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@



import module_bg0 = require("./bg")
import module_dn1 = require("./dn")
import module_cb2 = require("./cb")
import module_bz3 = require("./bz")
import module_bh4 = require("./bh")
import module_cy5 = require("./cy")
import module_dr6 = require("./dr")
import module_ch7 = require("./ch")
import module_cu8 = require("./cu")
import module_di9 = require("./di")




module_bg0.doSomething()
module_dn1.doSomething()
module_cb2.doSomething()
module_bz3.doSomething()
module_bh4.doSomething()
module_cy5.doSomething()
module_dr6.doSomething()
module_ch7.doSomething()
module_cu8.doSomething()
module_di9.doSomething()
export function doSomething() { }
28 changes: 28 additions & 0 deletions test/execution-tests/large/src/bd.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@



import module_bt0 = require("./bt")
import module_cb1 = require("./cb")
import module_bu2 = require("./bu")
import module_cr3 = require("./cr")
import module_bw4 = require("./bw")
import module_bl5 = require("./bl")
import module_cl6 = require("./cl")
import module_dn7 = require("./dn")
import module_ci8 = require("./ci")
import module_bk9 = require("./bk")




module_bt0.doSomething()
module_cb1.doSomething()
module_bu2.doSomething()
module_cr3.doSomething()
module_bw4.doSomething()
module_bl5.doSomething()
module_cl6.doSomething()
module_dn7.doSomething()
module_ci8.doSomething()
module_bk9.doSomething()
export function doSomething() { }
28 changes: 28 additions & 0 deletions test/execution-tests/large/src/be.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@



import module_dt0 = require("./dt")
import module_bj1 = require("./bj")
import module_cp2 = require("./cp")
import module_cc3 = require("./cc")
import module_ct4 = require("./ct")
import module_cz5 = require("./cz")
import module_di6 = require("./di")
import module_bw7 = require("./bw")
import module_cs8 = require("./cs")
import module_de9 = require("./de")




module_dt0.doSomething()
module_bj1.doSomething()
module_cp2.doSomething()
module_cc3.doSomething()
module_ct4.doSomething()
module_cz5.doSomething()
module_di6.doSomething()
module_bw7.doSomething()
module_cs8.doSomething()
module_de9.doSomething()
export function doSomething() { }
28 changes: 28 additions & 0 deletions test/execution-tests/large/src/bf.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@



import module_dg0 = require("./dg")
import module_bh1 = require("./bh")
import module_bp2 = require("./bp")
import module_cr3 = require("./cr")
import module_bx4 = require("./bx")
import module_bl5 = require("./bl")
import module_bw6 = require("./bw")
import module_dl7 = require("./dl")
import module_cg8 = require("./cg")
import module_bx9 = require("./bx")




module_dg0.doSomething()
module_bh1.doSomething()
module_bp2.doSomething()
module_cr3.doSomething()
module_bx4.doSomething()
module_bl5.doSomething()
module_bw6.doSomething()
module_dl7.doSomething()
module_cg8.doSomething()
module_bx9.doSomething()
export function doSomething() { }
Loading

0 comments on commit 92f0d70

Please sign in to comment.