-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
FrancisVarga
committed
Aug 26, 2010
0 parents
commit 2268b89
Showing
16 changed files
with
127 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<projectDescription> | ||
<name>WeLoveFDT_Robotlegs_Webinar</name> | ||
<comment></comment> | ||
<projects> | ||
</projects> | ||
<buildSpec> | ||
<buildCommand> | ||
<name>com.powerflasher.fdt.core.FlashBuilder</name> | ||
<arguments> | ||
</arguments> | ||
</buildCommand> | ||
</buildSpec> | ||
<natures> | ||
<nature>com.powerflasher.fdt.core.FlashNature</nature> | ||
</natures> | ||
</projectDescription> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
<?xml version="1.0" encoding="UTF-8" standalone="no"?> | ||
<AS3Classpath> | ||
<AS3Classpath generateProblems="false" sdkBased="true" type="lib" useAsSharedCode="false">frameworks/libs/player/{playerVersion}/playerglobal.swc</AS3Classpath> | ||
<AS3Classpath generateProblems="false" sdkBased="true" type="lib" useAsSharedCode="false">frameworks/libs/flex.swc</AS3Classpath> | ||
<AS3Classpath generateProblems="true" sdkBased="false" type="source" useAsSharedCode="false">src</AS3Classpath> | ||
<AS3Classpath generateProblems="true" sdkBased="false" type="source" useAsSharedCode="false">src_test</AS3Classpath> | ||
<AS3Classpath generateProblems="false" sdkBased="false" type="lib" useAsSharedCode="false">lib/flexunit-4.0.0.swc</AS3Classpath> | ||
</AS3Classpath> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
#Tue Aug 24 07:46:52 CEST 2010 | ||
com.powerflasher.fdt.core.CompatiblePlayers=External_SWF_Viewer\:Browser\:Standalone_Flash_Player | ||
com.powerflasher.fdt.core.CompilerArguments=-static-link-runtime-shared-libraries\=true\n-target-player\={playerVersion}\n-library-path+\="{flexSDK}/frameworks/locale/en_US" | ||
com.powerflasher.fdt.core.DefaultOutputFolder=bin | ||
com.powerflasher.fdt.core.DefaultPlayer=External_SWF_Viewer | ||
com.powerflasher.fdt.core.Language=AS3 | ||
com.powerflasher.fdt.core.PassClasspath=true | ||
com.powerflasher.fdt.core.PassMainclass=true | ||
com.powerflasher.fdt.core.PassRsls=false | ||
com.powerflasher.fdt.core.PassSwcs=true | ||
com.powerflasher.fdt.core.PlayerVersion=10.1 | ||
com.powerflasher.fdt.core.ProjectTypeHint=AS 3 | ||
com.powerflasher.fdt.core.Runtime=Flash_Player | ||
com.powerflasher.fdt.core.SdkName=Flex 4.1 | ||
eclipse.preferences.version=1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
#Tue Aug 24 07:46:52 CEST 2010 | ||
//lib/flexunit-4.0.0.swc= | ||
eclipse.preferences.version=1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
#Tue Aug 24 07:46:52 CEST 2010 | ||
//lib/flexunit-4.0.0.swc= | ||
eclipse.preferences.version=1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
#Tue Aug 24 07:46:52 CEST 2010 | ||
eclipse.preferences.version=1 | ||
encoding/<project>=UTF-8 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
Author => | ||
- Francis Varga | ||
- Marvin Blase | ||
|
||
=================== Instructions ================== | ||
|
||
=================== License ====================== |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
FlexUnit 4 is under an MIT license. | ||
|
||
Copyright (c) 2007 Digital Primates IT Consulting Group | ||
|
||
Permission is hereby granted, free of charge, to any person | ||
obtaining a copy of this software and associated documentation | ||
files (the "Software"), to deal in the Software without | ||
restriction, including without limitation the rights to use, | ||
copy, modify, merge, publish, distribute, sublicense, and/or sell | ||
copies of the Software, and to permit persons to whom the | ||
Software is furnished to do so, subject to the following | ||
conditions: | ||
|
||
The above copyright notice and this permission notice shall be | ||
included in all copies or substantial portions of the Software. | ||
|
||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, | ||
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES | ||
OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND | ||
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT | ||
HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, | ||
WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING | ||
FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR | ||
OTHER DEALINGS IN THE SOFTWARE. | ||
|
||
http://flexunit.org/ |
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
package { | ||
import org.flexunit.internals.TraceListener; | ||
import org.flexunit.runner.FlexUnitCore; | ||
import org.fluint.uiImpersonation.IVisualEnvironmentBuilder; | ||
import org.fluint.uiImpersonation.VisualTestEnvironmentBuilder; | ||
|
||
import flash.display.Sprite; | ||
|
||
[SWF(backgroundColor="#FFFFFF", frameRate="31", width="640", height="480")] | ||
|
||
public class FlexUnitRunner extends Sprite { | ||
private var core : FlexUnitCore; | ||
|
||
public function FlexUnitRunner() { | ||
//Instantiate the core. | ||
core = new FlexUnitCore(); | ||
|
||
//This registers the stage with the VisualTestEnvironmentBuilder, which allows you | ||
//to use the UIImpersonator classes to add to the display list and remove from within your | ||
//tests. With Flex, this is done for you, but in AS projects it needs to be handled manually. | ||
var environmentBuilder : IVisualEnvironmentBuilder = VisualTestEnvironmentBuilder.getInstance(this); | ||
|
||
//Add any listeners. In this case, the TraceListener has been added to display results. | ||
core.addListener(new TraceListener()); | ||
|
||
//There should be only 1 call to run(). | ||
//You can pass a comma separated list (or an array) of tests or suites. | ||
//You can also pass a Request Object, which allows you to sort, filter and subselect. | ||
//var request:Request = Request.methods( someClass, ["method1", "method2", "method3"] ).sortWith( someSorter ).filterWith( someFilter ); | ||
//core.run( request ); | ||
core.run(SimpleTest); | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
package { | ||
import org.flexunit.Assert; | ||
|
||
public class SimpleTest { | ||
|
||
[Test] | ||
public function testMe() : void { | ||
Assert.assertTrue("Was not true", false); | ||
} | ||
} | ||
} |