Quantcast
Channel: Adobe Community: Message List - FlexUnit Development
Viewing all articles
Browse latest Browse all 104

Testing ActionScript classes with native methods?

$
0
0

Hi,

 

I have an ActionScript class that I'm writing and would like to test using FlexUnit.

The only issue is that the ActionScript class has a member in it that is a class with native methods.

 

So, I get the following error when trying to run a test of that ActionScript class:

VerifyError: Error #1079: Native methods are not allowed in loaded code.

 

Does anyone know of a way to get around this?  FlexUnit seems not to like native methods being present.

 

Thanks,

 

Matt


Viewing all articles
Browse latest Browse all 104

Trending Articles



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