A few things, the import flexunit.framework.Assert import is okay in this case as both FlexUnit .9 and FlexUnit 4 use the same AssertionError class behind the scenes so either will work. So you can use that import or the org.flexunit one and either will work.
The flexUnit .9 code is the code in adobe open source repository and is tagged as .9
The FlexUnit 4_1.0.swc code is also tagged in that same repo:
the flexunitextended.swf is Adobe's and not part of the open source framework, but there really isn't much in here that isn't just sending data back to flexbuilder.
Hamcrest.swc source can be found here, we are still working with these folks to ensure we have a valid way of tracking revisions going forward http://github.com/drewbourne/hamcrest-as3
Thanks for the reply. A couple more questions...
> So you can use that import or the org.flexunit one and either will work
1. If I use the org.flexunit import do I still need the 0.9 source (or SWC)? In other words, is the 4.0 code still using some of the 0.9 code?
I assume that at some point you hope to get all this combined, but for now I'm asking about the version at http://opensource.adobe.com/svn/opensource/flexunit/tags/4.0_flash_builder_b2/
2. It seems that the org.flexunit import will probably continue to work as FlexUnit evolves, and the flexunit.framework import will probably someday be deprecated. So, best to use the former, and I should change my FB test case file templates. Does this make sense, or am I missing something?
Re my question # 2, it looks as though FB4b2 doesn't have the ability to edit FlexUnit templates, even though the documentation says that it does (or, more accurately, I guess that the docs are saying that it will have this capability).
Here's the documentation URL:
If anyone knows of some other way to do this, please post.