Update tests and baselines

This commit is contained in:
Yui T 2015-07-20 09:55:28 -07:00
parent d11fc48066
commit ed5bc319cb
29 changed files with 74 additions and 176 deletions

View File

@ -1,19 +0,0 @@
//// [tests/cases/compiler/doNotEmitTripleSlashCommentsButPreserveDetachComments1.ts] ////
//// [file0.ts]
//// [file1.ts]
//
// Copy Right comment
//
/// <reference path="file0.ts" />
//// [file0.js]
//// [file1.js]
//
// Copy Right comment
//

View File

@ -1,12 +0,0 @@
=== tests/cases/compiler/file1.ts ===
No type information for this code.//
No type information for this code.// Copy Right comment
No type information for this code.//
No type information for this code.
No type information for this code./// <reference path="file0.ts" />
No type information for this code.
No type information for this code.=== tests/cases/compiler/file0.ts ===
No type information for this code.
No type information for this code.

View File

@ -1,12 +0,0 @@
=== tests/cases/compiler/file1.ts ===
No type information for this code.//
No type information for this code.// Copy Right comment
No type information for this code.//
No type information for this code.
No type information for this code./// <reference path="file0.ts" />
No type information for this code.
No type information for this code.=== tests/cases/compiler/file0.ts ===
No type information for this code.
No type information for this code.

View File

@ -1,20 +0,0 @@
//// [tests/cases/compiler/doNotEmitTripleSlashCommentsButPreserveDetachComments2.ts] ////
//// [file0.ts]
//// [file1.ts]
//
// Copy Right comment
//
/// <reference path="file0.ts" />
var x = 10;
//// [file0.js]
//// [file1.js]
//
// Copy Right comment
//
var x = 10;

View File

@ -1,14 +0,0 @@
=== tests/cases/compiler/file1.ts ===
//
// Copy Right comment
//
/// <reference path="file0.ts" />
var x = 10;
>x : Symbol(x, Decl(file1.ts, 6, 3))
=== tests/cases/compiler/file0.ts ===
No type information for this code.
No type information for this code.

View File

@ -1,15 +0,0 @@
=== tests/cases/compiler/file1.ts ===
//
// Copy Right comment
//
/// <reference path="file0.ts" />
var x = 10;
>x : number
>10 : number
=== tests/cases/compiler/file0.ts ===
No type information for this code.
No type information for this code.

View File

@ -1,15 +0,0 @@
//// [tests/cases/compiler/doNotEmitTripleSlashCommentsButPreserveDetachComments3.ts] ////
//// [file0.ts]
//// [file1.ts]
//
// Copy Right comment
//
/// <reference path="file0.ts" />
//// [file0.js]
//// [file1.js]

View File

@ -1,11 +0,0 @@
=== tests/cases/compiler/file1.ts ===
No type information for this code.//
No type information for this code.// Copy Right comment
No type information for this code.//
No type information for this code./// <reference path="file0.ts" />
No type information for this code.
No type information for this code.=== tests/cases/compiler/file0.ts ===
No type information for this code.
No type information for this code.

View File

@ -1,11 +0,0 @@
=== tests/cases/compiler/file1.ts ===
No type information for this code.//
No type information for this code.// Copy Right comment
No type information for this code.//
No type information for this code./// <reference path="file0.ts" />
No type information for this code.
No type information for this code.=== tests/cases/compiler/file0.ts ===
No type information for this code.
No type information for this code.

View File

@ -1,12 +0,0 @@
//// [tests/cases/compiler/doNotEmitTripleSlashCommentsEvenInAmbientDeclaration.ts] ////
//// [file0.ts]
//// [file1.ts]
/// <reference path="file0.ts" />
declare var OData: any;
//// [file0.js]
//// [file1.js]

View File

@ -0,0 +1,16 @@
//// [tests/cases/compiler/doNotEmitTripleSlashCommentsInTheMiddle.ts] ////
//// [0.ts]
//// [1.ts]
/// <reference path="0.ts" />
var x = 10;
/// <reference path="0.ts" />
var y = 1000;
//// [0.js]
//// [1.js]
/// <reference path="0.ts" />
var x = 10;
var y = 1000;

View File

@ -0,0 +1,13 @@
=== tests/cases/compiler/1.ts ===
/// <reference path="0.ts" />
var x = 10;
>x : Symbol(x, Decl(1.ts, 1, 3))
/// <reference path="0.ts" />
var y = 1000;
>y : Symbol(y, Decl(1.ts, 3, 3))
=== tests/cases/compiler/0.ts ===
No type information for this code.
No type information for this code.

View File

@ -0,0 +1,15 @@
=== tests/cases/compiler/1.ts ===
/// <reference path="0.ts" />
var x = 10;
>x : number
>10 : number
/// <reference path="0.ts" />
var y = 1000;
>y : number
>1000 : number
=== tests/cases/compiler/0.ts ===
No type information for this code.
No type information for this code.

View File

@ -1,4 +1,4 @@
//// [tests/cases/compiler/doNotEmitTripleSlashComments.ts] ////
//// [tests/cases/compiler/emitTripleSlashComments.ts] ////
//// [file0.ts]
@ -14,4 +14,7 @@ var OData: any;
//// [file0.js]
//// [file2.js]
//// [file1.js]
/// <reference path="file0.ts" />
/// <reference path="file2.ts" />
/// <amd-dependency path="/js/libs/hgn.js!app/templates/home" name="compiler"/>
var OData;

View File

@ -0,0 +1,13 @@
//// [tests/cases/compiler/emitTripleSlashCommentsEvenInAmbientDeclaration.ts] ////
//// [file0.ts]
//// [file1.ts]
/// <reference path="file0.ts" />
declare var OData: any;
//// [file0.js]
//// [file1.js]
/// <reference path="file0.ts" />

View File

@ -1,4 +1,4 @@
//// [tests/cases/compiler/doNotEmitTripleSlashCommentsEvenInEmptyFile.ts] ////
//// [tests/cases/compiler/emitTripleSlashCommentsEvenInEmptyFile.ts] ////
//// [file0.ts]
@ -13,3 +13,6 @@
//// [file0.js]
//// [file2.js]
//// [file1.js]
/// <reference path="file0.ts" />
/// <reference path="file2.ts" />
/// <amd-dependency path="/js/libs/hgn.js!app/templates/home" name="compiler"/>

View File

@ -1,11 +0,0 @@
// @comments: false
// @Filename: file0.ts
// @Filename: file1.ts
//
// Copy Right comment
//
/// <reference path="file0.ts" />

View File

@ -1,12 +0,0 @@
// @comments: false
// @Filename: file0.ts
// @Filename: file1.ts
//
// Copy Right comment
//
/// <reference path="file0.ts" />
var x = 10;

View File

@ -1,10 +0,0 @@
// @comments: false
// @Filename: file0.ts
// @Filename: file1.ts
//
// Copy Right comment
//
/// <reference path="file0.ts" />

View File

@ -0,0 +1,9 @@
// @comments: false
// @Filename: 0.ts
// @filename: 1.ts
/// <reference path="0.ts" />
var x = 10;
/// <reference path="0.ts" />
var y = 1000;