@@ -12,7 +12,7 @@ declare var App: any;
12
12
13
13
var TestFileDir = ".\\TempTestFiles";
14
14
>TestFileDir : string
15
- >".\\TempTestFiles" : ".\TempTestFiles"
15
+ >".\\TempTestFiles" : ".\\ TempTestFiles"
16
16
17
17
export class TestCase {
18
18
>TestCase : TestCase
@@ -322,7 +322,7 @@ export var tests: TestRunner = (function () {
322
322
>fileExists : any
323
323
>TestFileDir + "\\Test.txt" : string
324
324
>TestFileDir : string
325
- >"\\Test.txt" : "\Test.txt"
325
+ >"\\Test.txt" : "\\ Test.txt"
326
326
327
327
}));
328
328
testRunner.addTest(new TestCase("Check file doesn't exist",
@@ -347,7 +347,7 @@ export var tests: TestRunner = (function () {
347
347
>fileExists : any
348
348
>TestFileDir + "\\Test2.txt" : string
349
349
>TestFileDir : string
350
- >"\\Test2.txt" : "\Test2.txt"
350
+ >"\\Test2.txt" : "\\ Test2.txt"
351
351
352
352
}));
353
353
@@ -374,7 +374,7 @@ export var tests: TestRunner = (function () {
374
374
>FileManager : any
375
375
>FileBuffer : any
376
376
>isTextFile : any
377
- >"C:\\somedir\\readme.txt" : "C:\somedir\readme.txt"
377
+ >"C:\\somedir\\readme.txt" : "C:\\ somedir\ \readme.txt"
378
378
379
379
FileManager.FileBuffer.isTextFile("C:\\spaces path\\myapp.str") &&
380
380
>FileManager.FileBuffer.isTextFile("C:\\spaces path\\myapp.str") : any
@@ -383,7 +383,7 @@ export var tests: TestRunner = (function () {
383
383
>FileManager : any
384
384
>FileBuffer : any
385
385
>isTextFile : any
386
- >"C:\\spaces path\\myapp.str" : "C:\spaces path\myapp.str"
386
+ >"C:\\spaces path\\myapp.str" : "C:\\ spaces path\ \myapp.str"
387
387
388
388
FileManager.FileBuffer.isTextFile("C:\\somedir\\code.js"))
389
389
>FileManager.FileBuffer.isTextFile("C:\\somedir\\code.js") : any
@@ -392,7 +392,7 @@ export var tests: TestRunner = (function () {
392
392
>FileManager : any
393
393
>FileBuffer : any
394
394
>isTextFile : any
395
- >"C:\\somedir\\code.js" : "C:\somedir\code.js"
395
+ >"C:\\somedir\\code.js" : "C:\\ somedir\ \code.js"
396
396
397
397
}));
398
398
testRunner.addTest(new TestCase("Check makefile match",
@@ -414,7 +414,7 @@ export var tests: TestRunner = (function () {
414
414
>FileManager : any
415
415
>FileBuffer : any
416
416
>isTextFile : any
417
- >"C:\\some dir\\makefile" : "C:\some dir\makefile"
417
+ >"C:\\some dir\\makefile" : "C:\\ some dir\ \makefile"
418
418
419
419
}));
420
420
testRunner.addTest(new TestCase("Check binary file doesn't match",
@@ -439,7 +439,7 @@ export var tests: TestRunner = (function () {
439
439
>FileManager : any
440
440
>FileBuffer : any
441
441
>isTextFile : any
442
- >"C:\\somedir\\app.exe" : "C:\somedir\app.exe"
442
+ >"C:\\somedir\\app.exe" : "C:\\ somedir\ \app.exe"
443
443
444
444
!FileManager.FileBuffer.isTextFile("C:\\somedir\\my lib.dll"));
445
445
>!FileManager.FileBuffer.isTextFile("C:\\somedir\\my lib.dll") : boolean
@@ -449,7 +449,7 @@ export var tests: TestRunner = (function () {
449
449
>FileManager : any
450
450
>FileBuffer : any
451
451
>isTextFile : any
452
- >"C:\\somedir\\my lib.dll" : "C:\somedir\my lib.dll"
452
+ >"C:\\somedir\\my lib.dll" : "C:\\ somedir\ \my lib.dll"
453
453
454
454
}));
455
455
@@ -514,7 +514,7 @@ export var tests: TestRunner = (function () {
514
514
>app.rootDirectory : any
515
515
>app : any
516
516
>rootDirectory : any
517
- >".\\" : ".\"
517
+ >".\\" : ".\\ "
518
518
519
519
app.encodings[0] === "ascii" &&
520
520
>app.encodings[0] === "ascii" : boolean
@@ -554,7 +554,7 @@ export var tests: TestRunner = (function () {
554
554
>App : any
555
555
>App : any
556
556
>["-dir=C:\\test dir", "-lineEndings=LF", "-encodings=utf16be,ascii", "-recurse=false", "-fixlines"] : string[]
557
- >"-dir=C:\\test dir" : "-dir=C:\test dir"
557
+ >"-dir=C:\\test dir" : "-dir=C:\\ test dir"
558
558
>"-lineEndings=LF" : "-lineEndings=LF"
559
559
>"-encodings=utf16be,ascii" : "-encodings=utf16be,ascii"
560
560
>"-recurse=false" : "-recurse=false"
@@ -601,7 +601,7 @@ export var tests: TestRunner = (function () {
601
601
>app.rootDirectory : any
602
602
>app : any
603
603
>rootDirectory : any
604
- >"C:\\test dir" : "C:\test dir"
604
+ >"C:\\test dir" : "C:\\ test dir"
605
605
606
606
app.encodings[0] === "utf16be" &&
607
607
>app.encodings[0] === "utf16be" : boolean
@@ -653,7 +653,7 @@ export var tests: TestRunner = (function () {
653
653
>FileBuffer : any
654
654
>TestFileDir + "\\noBOM.txt" : string
655
655
>TestFileDir : string
656
- >"\\noBOM.txt" : "\noBOM.txt"
656
+ >"\\noBOM.txt" : "\\ noBOM.txt"
657
657
658
658
return fb.bom === 'none' && fb.encoding === 'utf8';
659
659
>fb.bom === 'none' && fb.encoding === 'utf8' : boolean
@@ -689,7 +689,7 @@ export var tests: TestRunner = (function () {
689
689
>FileBuffer : any
690
690
>TestFileDir + "\\UTF8BOM.txt" : string
691
691
>TestFileDir : string
692
- >"\\UTF8BOM.txt" : "\UTF8BOM.txt"
692
+ >"\\UTF8BOM.txt" : "\\ UTF8BOM.txt"
693
693
694
694
return fb.bom === 'utf8' && fb.encoding === 'utf8';
695
695
>fb.bom === 'utf8' && fb.encoding === 'utf8' : boolean
@@ -725,7 +725,7 @@ export var tests: TestRunner = (function () {
725
725
>FileBuffer : any
726
726
>TestFileDir + "\\UTF16BE.txt" : string
727
727
>TestFileDir : string
728
- >"\\UTF16BE.txt" : "\UTF16BE.txt"
728
+ >"\\UTF16BE.txt" : "\\ UTF16BE.txt"
729
729
730
730
return fb.bom === 'utf16be' && fb.encoding === 'utf16be';
731
731
>fb.bom === 'utf16be' && fb.encoding === 'utf16be' : boolean
@@ -761,7 +761,7 @@ export var tests: TestRunner = (function () {
761
761
>FileBuffer : any
762
762
>TestFileDir + "\\UTF16LE.txt" : string
763
763
>TestFileDir : string
764
- >"\\UTF16LE.txt" : "\UTF16LE.txt"
764
+ >"\\UTF16LE.txt" : "\\ UTF16LE.txt"
765
765
766
766
return fb.bom === 'utf16le' && fb.encoding === 'utf16le';
767
767
>fb.bom === 'utf16le' && fb.encoding === 'utf16le' : boolean
@@ -797,7 +797,7 @@ export var tests: TestRunner = (function () {
797
797
>FileBuffer : any
798
798
>TestFileDir + "\\1bytefile.txt" : string
799
799
>TestFileDir : string
800
- >"\\1bytefile.txt" : "\1bytefile.txt"
800
+ >"\\1bytefile.txt" : "\\ 1bytefile.txt"
801
801
802
802
return fb.bom === 'none' && fb.encoding === 'utf8';
803
803
>fb.bom === 'none' && fb.encoding === 'utf8' : boolean
@@ -833,7 +833,7 @@ export var tests: TestRunner = (function () {
833
833
>FileBuffer : any
834
834
>TestFileDir + "\\0bytefile.txt" : string
835
835
>TestFileDir : string
836
- >"\\0bytefile.txt" : "\0bytefile.txt"
836
+ >"\\0bytefile.txt" : "\\ 0bytefile.txt"
837
837
838
838
return fb.bom === 'none' && fb.encoding === 'utf8';
839
839
>fb.bom === 'none' && fb.encoding === 'utf8' : boolean
@@ -871,7 +871,7 @@ export var tests: TestRunner = (function () {
871
871
>FileBuffer : any
872
872
>TestFileDir + "\\UTF8BOM.txt" : string
873
873
>TestFileDir : string
874
- >"\\UTF8BOM.txt" : "\UTF8BOM.txt"
874
+ >"\\UTF8BOM.txt" : "\\ UTF8BOM.txt"
875
875
876
876
var chars = [];
877
877
>chars : any[]
@@ -938,7 +938,7 @@ export var tests: TestRunner = (function () {
938
938
>FileBuffer : any
939
939
>TestFileDir + "\\UTF8BOM.txt" : string
940
940
>TestFileDir : string
941
- >"\\UTF8BOM.txt" : "\UTF8BOM.txt"
941
+ >"\\UTF8BOM.txt" : "\\ UTF8BOM.txt"
942
942
943
943
var chars = [];
944
944
>chars : any[]
@@ -1103,7 +1103,7 @@ export var tests: TestRunner = (function () {
1103
1103
>filename : string
1104
1104
>TestFileDir + "\\tmpUTF16LE.txt" : string
1105
1105
>TestFileDir : string
1106
- >"\\tmpUTF16LE.txt" : "\tmpUTF16LE.txt"
1106
+ >"\\tmpUTF16LE.txt" : "\\ tmpUTF16LE.txt"
1107
1107
1108
1108
var fb = new FileManager.FileBuffer(14);
1109
1109
>fb : any
@@ -1246,7 +1246,7 @@ export var tests: TestRunner = (function () {
1246
1246
>FileBuffer : any
1247
1247
>TestFileDir + "\\UTF8BOM.txt" : string
1248
1248
>TestFileDir : string
1249
- >"\\UTF8BOM.txt" : "\UTF8BOM.txt"
1249
+ >"\\UTF8BOM.txt" : "\\ UTF8BOM.txt"
1250
1250
1251
1251
var result = fb.readByte(200);
1252
1252
>result : any
@@ -1282,7 +1282,7 @@ export var tests: TestRunner = (function () {
1282
1282
>FileBuffer : any
1283
1283
>TestFileDir + "\\UTF8BOM.txt" : string
1284
1284
>TestFileDir : string
1285
- >"\\UTF8BOM.txt" : "\UTF8BOM.txt"
1285
+ >"\\UTF8BOM.txt" : "\\ UTF8BOM.txt"
1286
1286
1287
1287
fb.writeByte(5, 200);
1288
1288
>fb.writeByte(5, 200) : any
@@ -1319,7 +1319,7 @@ export var tests: TestRunner = (function () {
1319
1319
>FileBuffer : any
1320
1320
>TestFileDir + "\\utf16leNonBmp.txt" : string
1321
1321
>TestFileDir : string
1322
- >"\\utf16leNonBmp.txt" : "\utf16leNonBmp.txt"
1322
+ >"\\utf16leNonBmp.txt" : "\\ utf16leNonBmp.txt"
1323
1323
1324
1324
if (savedFile.encoding !== 'utf16le') {
1325
1325
>savedFile.encoding !== 'utf16le' : boolean
@@ -1398,7 +1398,7 @@ export var tests: TestRunner = (function () {
1398
1398
>FileBuffer : any
1399
1399
>TestFileDir + "\\utf8NonBmp.txt" : string
1400
1400
>TestFileDir : string
1401
- >"\\utf8NonBmp.txt" : "\utf8NonBmp.txt"
1401
+ >"\\utf8NonBmp.txt" : "\\ utf8NonBmp.txt"
1402
1402
1403
1403
if (savedFile.encoding !== 'utf8') {
1404
1404
>savedFile.encoding !== 'utf8' : boolean
@@ -1472,7 +1472,7 @@ export var tests: TestRunner = (function () {
1472
1472
>filename : string
1473
1473
>TestFileDir + "\\tmpUTF8nonBmp.txt" : string
1474
1474
>TestFileDir : string
1475
- >"\\tmpUTF8nonBmp.txt" : "\tmpUTF8nonBmp.txt"
1475
+ >"\\tmpUTF8nonBmp.txt" : "\\ tmpUTF8nonBmp.txt"
1476
1476
1477
1477
var fb = new FileManager.FileBuffer(15);
1478
1478
>fb : any
@@ -1598,7 +1598,7 @@ export var tests: TestRunner = (function () {
1598
1598
>filename : string
1599
1599
>TestFileDir + "\\utf8BadLeadByte.txt" : string
1600
1600
>TestFileDir : string
1601
- >"\\utf8BadLeadByte.txt" : "\utf8BadLeadByte.txt"
1601
+ >"\\utf8BadLeadByte.txt" : "\\ utf8BadLeadByte.txt"
1602
1602
1603
1603
var fb = new FileManager.FileBuffer(filename);
1604
1604
>fb : any
@@ -1630,7 +1630,7 @@ export var tests: TestRunner = (function () {
1630
1630
>filename : string
1631
1631
>TestFileDir + "\\utf8InvalidTail.txt" : string
1632
1632
>TestFileDir : string
1633
- >"\\utf8InvalidTail.txt" : "\utf8InvalidTail.txt"
1633
+ >"\\utf8InvalidTail.txt" : "\\ utf8InvalidTail.txt"
1634
1634
1635
1635
var fb = new FileManager.FileBuffer(filename);
1636
1636
>fb : any
@@ -1662,7 +1662,7 @@ export var tests: TestRunner = (function () {
1662
1662
>filename : string
1663
1663
>TestFileDir + "\\ansi.txt" : string
1664
1664
>TestFileDir : string
1665
- >"\\ansi.txt" : "\ansi.txt"
1665
+ >"\\ansi.txt" : "\\ ansi.txt"
1666
1666
1667
1667
var fb = new FileManager.FileBuffer(filename);
1668
1668
>fb : any
@@ -1694,7 +1694,7 @@ export var tests: TestRunner = (function () {
1694
1694
>filename : string
1695
1695
>TestFileDir + "\\utf16leInvalidSurrogate.txt" : string
1696
1696
>TestFileDir : string
1697
- >"\\utf16leInvalidSurrogate.txt" : "\utf16leInvalidSurrogate.txt"
1697
+ >"\\utf16leInvalidSurrogate.txt" : "\\ utf16leInvalidSurrogate.txt"
1698
1698
1699
1699
var fb = new FileManager.FileBuffer(filename);
1700
1700
>fb : any
@@ -1726,7 +1726,7 @@ export var tests: TestRunner = (function () {
1726
1726
>filename : string
1727
1727
>TestFileDir + "\\UTF16BEInvalidSurrogate.txt" : string
1728
1728
>TestFileDir : string
1729
- >"\\UTF16BEInvalidSurrogate.txt" : "\UTF16BEInvalidSurrogate.txt"
1729
+ >"\\UTF16BEInvalidSurrogate.txt" : "\\ UTF16BEInvalidSurrogate.txt"
1730
1730
1731
1731
var fb = new FileManager.FileBuffer(filename);
1732
1732
>fb : any
@@ -1758,7 +1758,7 @@ export var tests: TestRunner = (function () {
1758
1758
>filename : string
1759
1759
>TestFileDir + "\\utf16leMissingTrailSurrogate.txt" : string
1760
1760
>TestFileDir : string
1761
- >"\\utf16leMissingTrailSurrogate.txt" : "\utf16leMissingTrailSurrogate.txt"
1761
+ >"\\utf16leMissingTrailSurrogate.txt" : "\\ utf16leMissingTrailSurrogate.txt"
1762
1762
1763
1763
var fb = new FileManager.FileBuffer(filename);
1764
1764
>fb : any
@@ -1791,7 +1791,7 @@ export var tests: TestRunner = (function () {
1791
1791
>filename : string
1792
1792
>TestFileDir + "\\charCountASCII.txt" : string
1793
1793
>TestFileDir : string
1794
- >"\\charCountASCII.txt" : "\charCountASCII.txt"
1794
+ >"\\charCountASCII.txt" : "\\ charCountASCII.txt"
1795
1795
1796
1796
var fb = new FileManager.FileBuffer(filename);
1797
1797
>fb : any
@@ -1850,7 +1850,7 @@ export var tests: TestRunner = (function () {
1850
1850
>filename : string
1851
1851
>TestFileDir + "\\controlChar.txt" : string
1852
1852
>TestFileDir : string
1853
- >"\\controlChar.txt" : "\controlChar.txt"
1853
+ >"\\controlChar.txt" : "\\ controlChar.txt"
1854
1854
1855
1855
var fb = new FileManager.FileBuffer(filename);
1856
1856
>fb : any
0 commit comments