Hi,
I can't seem to get a flexunit test with Air-dependent code to work. The test
runs, but fails with this message:
"Error #1014: Class flash.filesystem::File could not be found."
type="FooTest.test.FooTest">VerifyError: Error #1014: Class
flash.filesystem::File could not be found.
I added the following to
flexmojos-testing/flexmojos-test-harness/projects/concept/flex4-air/swc/pom.xml
<build>
<testSourceDirectory>src/test/flex</testSourceDirectory>
</build>
...
<dependencies>
<dependency>
<groupId>com.adobe.flexunit</groupId>
<artifactId>flexunit</artifactId>
<version>4.0-rc-1</version>
<type>swc</type>
<scope>test</scope>
</dependency>
</dependencies>
I also created a simple test in
flexmojos-testing/flexmojos-test-harness/projects/concept/flex4-air/swc/src/test/flex/FooTest.as
Am I missing something?
Thanks,
Noah
--
You received this message because you are subscribed to the Google
Groups "Flex Mojos" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/flex-mojos
http://flexmojos.sonatype.org/