TestSkipped.st
author Jan Vrany <jan.vrany@fit.cvut.cz>
Sat, 03 Sep 2016 09:08:25 +0100
branchjv
changeset 664 e31b2e7b658d
parent 548 0b651f2a1c12
child 752 45d5949563ca
permissions -rw-r--r--
FIX: Do not treat skipped test as passed! If it breaks tools, tools should be fixed. A skipped test is not a test that passed. Period.

"{ Package: 'stx:goodies/sunit' }"

TestFailure subclass:#TestSkipped
	instanceVariableNames:''
	classVariableNames:''
	poolDictionaries:''
	category:'SUnit-Preload'
!


!TestSkipped methodsFor:'handling'!

sunitAnnounce: aTestCase toResult: aTestResult
        aTestResult addSkipped: aTestCase.
        self sunitExitWith: false.
! !

!TestSkipped class methodsFor:'documentation'!

version
    ^ '$Header: /cvs/stx/stx/goodies/sunit/TestSkipped.st,v 1.1 2013-04-03 13:25:08 cg Exp $'
!

version_CVS
    ^ '$Header: /cvs/stx/stx/goodies/sunit/TestSkipped.st,v 1.1 2013-04-03 13:25:08 cg Exp $'
! !