bigbluebutton-Github/bigbluebutton-client/src/BbbUnitTests.mxml
2009-06-26 15:32:49 +00:00

56 lines
1.9 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<!--
BigBlueButton - http://www.bigbluebutton.org
Copyright (c) 2008-2009 by respective authors (see below). All rights reserved.
BigBlueButton is free software; you can redistribute it and/or modify it under the
terms of the GNU Lesser General Public License as published by the Free Software
Foundation; either version 3 of the License, or (at your option) any later
version.
BigBlueButton is distributed in the hope that it will be useful, but WITHOUT ANY
WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public License along
with BigBlueButton; if not, If not, see <http://www.gnu.org/licenses/>.
$Id: $
-->
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml"
creationComplete="onCreationComplete()" layout="absolute" xmlns:flexui="flexunit.flexui.*">
<mx:Script>
<![CDATA[
import org.bigbluebutton.modules.listeners.ListenersTests;
import org.bigbluebutton.main.ModulesProxyTests;
import org.bigbluebutton.main.BbbModuleManagerTests;
import org.bigbluebutton.common.RouterTest;
import flexunit.framework.TestSuite;
private function onCreationComplete():void{
bbbTestRunner.test = createSuite();
bbbTestRunner.startTest();
}
private function createSuite():TestSuite{
LogUtil.debug("test");
var ts:TestSuite = new TestSuite();
// TODO: Add more tests here to test more classes
// by calling addTest as often as necessary
ts.addTest( RouterTest.suite() );
ts.addTest( BbbModuleManagerTests.suite() );
ts.addTest( ModulesProxyTests.suite() );
ts.addTest( ListenersTests.suite() );
return ts;
}
]]>
</mx:Script>
<flexui:TestRunnerBase id="bbbTestRunner" width="100%" height="100%" />
</mx:Application>