Quantcast
Channel: Adobe Community : Popular Discussions - FlexUnit
Viewing all articles
Browse latest Browse all 25673

flexunit 4 fails for me

$
0
0

I am simply running an Assert.assertTrue call and it says it fails, here is my code:

package sampleSuite.tests
{     import org.flexunit.*;     public class TestCase1     {          [Before]           public function setUp():void           {           }           [After]           public function tearDown():void           {           }           [BeforeClass]           public static function setUpBeforeClass():void           {           }           [AfterClass]           public static function tearDownAfterClass():void           {                }          [Test]          public function testFunction():void{               Assert.assertTrue();          }     }
}

Pretty straightforward code, but it keeps giving me an error expected true but returns false. TIA.


Viewing all articles
Browse latest Browse all 25673

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>