import { expect } from '../../../../lib/assertion/expect' ; import { Test , XTest } from '../../../../lib/decorators/test.decorator' ; import { TestCase } from '../../../../lib/decorators/testCase.decorator' ; import { TestSuite } from '../../../../lib/decorators/testSuite.decorator' ; @ TestSuite ( ) export class DummyTapDecoratorTestSuite { @ Test ( ) testA ( ) { return ; } @ Test ( ) testB ( ) { return ; } @ Test ( ) testC ( ) { expect . toBeTrue ( false ) ; } @ Test ( ) @ TestCase ( 'TestD.A' , true ) @ TestCase ( 'TestD.B' , true ) @ TestCase ( 'TestD.C' , false ) @ TestCase ( 'TestD.D' , false ) testD ( shouldPass ) { expect . toBeTrue ( shouldPass ) ; } @ XTest ( '#testE' ) testE ( ) { return ; } } export const dummyTapDecoratorTestSuiteExpectedOutput = [ 'ok 1 testA' , 'ok 2 testB' , 'not ok 3 testC' , 'not ok 4 TestD.D' , 'not ok 5 TestD.C' , 'ok 6 TestD.B' , 'ok 7 TestD.A' , 'ok 8 testE # SKIP' , ] ;