a grand renaming so that the most significant portion of the name comes first

This commit is contained in:
Dan Buch
2012-03-03 21:45:20 -05:00
parent c8b8078175
commit f4f448926d
1300 changed files with 0 additions and 234 deletions

View File

@@ -0,0 +1,37 @@
package me
{
//namespace me = "me.*";
import mx.core.Application;
import mx.controls.Alert;
import mx.controls.Button;
import flash.events.Event;
import flash.events.MouseEvent;
public class DebuggingApp extends Application
{
public var clickButton:Button;
public function DebuggingApp():void
{
this.addEventListener("creationComplete", initApp);
clickButton = new Button();
clickButton.label = "Click Me";
clickButton.addEventListener("click", showAlert);
this.addChild(clickButton);
}
public function showAlert(event:MouseEvent):void
{
Alert.show('Hello from Flex');
trace("Clickety Click! -> " + event);
}
public function initApp(event:Event):void
{
trace("Hello from Flex Debugging!");
var myVar:Number = 9;
trace("The value of myVar is " + myVar);
}
}
}

View File

@@ -0,0 +1,18 @@
package me.tests
{
import me.tests.cases.TestCase01;
import mx.core.Application;
import org.flexunit.Assert;
[Suite]
[RunWith("org.flexunit.runners.Suite")]
public class TestSuite extends Application
{
public var t1:TestCase01;
public function TestSuite():void
{
}
}
}

View File

@@ -0,0 +1,17 @@
package me.tests.cases
{
import org.flexunit.Assert;
public class TestCase01
{
public function TestCase01():void
{
}
[Test]
public function testMathIsRealistic():void
{
Assert.assertEquals(12, 2 * 6);
}
}
}