FLEX-34721 In order to support Squiggly to run its own unit tests via flexunit-tests.xml, we had to make some changes: -all the existing uni…
FLEX-34721 In order to support Squiggly to run its own unit tests via flexunit-tests.xml, we had to make some changes: -all the existing unit tests have been moved to a directory called 'tests' on the same level as the 'src' directory of each project. That's because other projects (in this case, Squiggly) don't compile their sources based on a manifest.xml file, or on a main .as file that links in all the classes. This means that if the 'src' folder will contain unit tests in Squiggly, they will be compiled into the swc, which we don't want. Also it's generally better to assume that tests do not reside in the 'src' directory of the project. -as a result, flexunit-tests.xml looks for unit tests in project.root/tests, instead of project.root/src. -the 'test-run' target of flexunit-tests.xml was split into four targets, which mapped onto what that targed used to do before. The exception is -test-run-execute-with-extra-lib, which only runs if the target was called from a project which needs to specify an additional libraries folder (different Squiggly sub-projects need this, because they depend on other sub-projects).