Sha256: ebf7354c829390a9d84d7fdf8fa203e30cd823283a6e85995f356d642c8983cc

Contents?: true

Size: 524 Bytes

Versions: 3

Compression:

Stored size: 524 Bytes

Contents

package asunit.support {

	import asunit.asserts.*;

	public class FailAssertTrue {
		
		public var methodsCalled:Array;
		
		[Before]
		public function runBefore():void {
			methodsCalled = [];
			methodsCalled.push(arguments.callee);
		}
		
		[After]
		public function runAfter():void {
			methodsCalled.push(arguments.callee);
		}
		
		[Test]
		public function fail_assertTrue():void {
			methodsCalled.push(arguments.callee);
			assertTrue('Law of non-contradiction', false);
		}
		
	}

}

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
asunit4-4.2.3.pre test/asunit/support/FailAssertTrue.as
asunit4-4.2.2.pre test/asunit/support/FailAssertTrue.as
asunit4-4.2.1.pre test/asunit/support/FailAssertTrue.as