-
Sep 2nd, 2009, 10:07 AM
#1
FlexUnit
I found that while doing an ant build of a flex app using mxmlc, I needed to add FlexUnit.swc to build path if using spring-actionscript-core-0.8.swc.
Should that be necessary?
-
Sep 3rd, 2009, 02:16 AM
#2
yes, I believe it is
The spring-actionscript.swc has some classes that depend on FlexUnit indeed, so yes, I think this is necessary indeed 
cheers,
Roland
-
Sep 8th, 2009, 06:46 PM
#3
upon first glance, this seems a bit odd...are the tests being used in the final, production version swc or is this b/c we're simply leveraging the Assets and what not from FlexUnit?
-
Sep 11th, 2009, 09:11 AM
#4
Spring Actionscript made some extensions to FlexUnit that are being used in the unit test project.
Its true that these functions shouldn't be part of Spring Actionscript itself, and there has been talk about a flex-commons project as well. Just like the springAS offshoot as3-commons.
This hasn't been realised yet though, it probably will happen in the future but for now the dependency is a fact. 
cheers,
Roland
-
Sep 30th, 2009, 10:17 AM
#5
Isn't the FlexUnit SWC like ~900k and then in turn bloating the size of SAS?
-
Sep 30th, 2009, 11:10 AM
#6
nah
The SAS flexunit package contains only one class: FlexUnitTestCase, which is an exentension of TestCase. So only the TestCase from FlexUnit will be linked into SAS, I doubt this will yield much size increase... As you will see in the distribution package the spring-actionscript-core-0.8.1.swc file is around 165Kb.
So no worries there
-
Oct 1st, 2009, 02:57 AM
#7
moved
Anyways, in the current trunk the flexunit package has been moved to the test projects, so the dependency is hereby gone.
happy now? hehe
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules