|
From: Chris A. <mrc...@gm...> - 2006-06-20 18:04:53
|
On 6/20/06, Alias <ali...@gm...> wrote: > Hi Paul! > > Why can't you override run? Where does the result come from? > Overriding run() means that he would have to have one TestCase per test. This is not a great option for all cases.We are doing similar things with the AssetLoader classes in the Fling project. Feel free to take a look at the test package there to get an idea of what we are doing: http://svn1.cvsdude.com/osflash/fling/DEV_Source/classes/org/osflash/fling/tests/ In addition, keep in mind that you can still do assertions outside of a testMethod() and you don't have to override run either. Take a look at AssetLoaderTest.as for an example of this. This is more along the lines of what you were asking I believe. I hope this helps a little. -Chris > On 6/20/06, Paul BH <eye...@gm...> wrote: > > Hello, > > me again - I have another situation, that Im not sure if anyone has > > come across / solved? > > > > I need to be able to run a test whose result is asynchronous. This is > > not necessarily the same as an asynchronous setup, so I dont really > > want to be overriding run (which is what i normally do with an async > > test...) > > > > has anyone done this, got a strategy for doing this in ASUnit (3)? > > > > ta > > > > PBH > > > > > > _______________________________________________ > > Asunit-users mailing list > > Asu...@li... > > https://lists.sourceforge.net/lists/listinfo/asunit-users > > > > > _______________________________________________ > Asunit-users mailing list > Asu...@li... > https://lists.sourceforge.net/lists/listinfo/asunit-users > |