I posted this on the Nabble forum, and it looks like the code didn't come
through on the mailing list. Here it is again:
------The error:
tests::AllTestsSuite.initializationError .
tests::AllTestsSuite.initializationError E
Time: 0
There was 1 failure:
1 tests::AllTestsSuite.initializationError Error: Custom runner class
org.flexunit.runners.Suite cannot be instantiated
at
org.flexunit.internals.runners::InitializationError()[E:\hudson\jobs\FlexUnit4-Flex4.1\workspace\FlexUnit4\src\org\flexunit\internals\runners\InitializationError.as:50]
....
FAILURES!!! Tests run: 1, 1 Failures:
------Tests.mxml:
<?xml version="1.0" encoding="utf-8"?>
<s:ViewNavigatorApplication xmlns:fx="http://ns.adobe.com/mxml/2009"
xmlns:s="library://ns.adobe.com/flex/spark"
xmlns:flexunit="http://www.adobe.com/2009/flexUnitUIRunner"
creationComplete="runTests()"
firstView="com.myapp.views.HomeView">
<fx:Script>
</fx:Script>
<fx:Declarations>
</fx:Declarations>
</s:ViewNavigatorApplication>
------AllTestsSuite.as:
package tests
{
import flexunit.framework.TestSuite;
import org.flexunit.runners.Suite;
[Suite]
[RunWith("org.flexunit.runners.Suite")]
public class AllTestsSuite extends TestSuite
{
// Add all the tests
public var testCase1:FirstTestCase;
}
}
-----
Beware of Newbie - I'm new to AS3 and Flex.
--
View this message in context:
http://apache-flex-users.2333346.n4.nabble.com/Custom-runner-class-org-flexunit-runners-Suite-cannot-be-instantiated-tp3173p3193.html
Sent from the Apache Flex Users mailing list archive at Nabble.com.