/examples/GradientControl/src/GradientControlTestDriver.mxml

http://gmaps-utility-library-flash.googlecode.com/ · Macromedia eXtensible Markup Language · 23 lines · 19 code · 4 blank · 0 comment · 0 complexity · 01f96b7fb3a9521c70583cb79a26b841 MD5 · raw file

  1. <?xml version="1.0" encoding="utf-8"?>
  2. <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" xmlns="*"
  3. xmlns:flexunit="flexunit.flexui.*"
  4. creationComplete="onCreationComplete()">
  5. <mx:Script>
  6. <![CDATA[
  7. import com.google.maps.extras.gradients.test.AllTests;
  8. import flexunit.framework.TestSuite;
  9. // Create the test suite and run the tests
  10. private function onCreationComplete():void
  11. {
  12. testRunner.test = AllTests.getAllTests();
  13. testRunner.startTest();
  14. }
  15. ]]>
  16. </mx:Script>
  17. <!-- FlexUnit GUI Component -->
  18. <flexunit:TestRunnerBase id="testRunner" width="100%" height="100%" />
  19. </mx:Application>