Skip to content

Commit

Permalink
patched fluint 1.1.1 to be able to modify test list
Browse files Browse the repository at this point in the history
See fluint.patch
  • Loading branch information
agladysh committed Sep 10, 2009
1 parent e67bb3f commit c238af7
Show file tree
Hide file tree
Showing 5 changed files with 32 additions and 2 deletions.
6 changes: 4 additions & 2 deletions test/FluintLuaAlchemyTests/build.xml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,8 @@
<property name="assets.class.dir" location="${src.dir}/${assets.package.name}/"/>
<property name="assets.class.as" location="${assets.class.dir}/${assets.class.name}.as"/>

<property name="fluint.swc" value="fluint-1.1.1-gettests.swc"/>

<!-- files -->
<property name="main.application" location="${src.dir}/FlexTestRunner.mxml"/>
<property name="output.swf.name" value="FluintLuaAlchemyTests"/>
Expand Down Expand Up @@ -132,7 +134,7 @@
target-player="10.0.0">
<load-config filename="${flex.config.xml}" />
<compiler.include-libraries dir="${lib.dir}" append="true">
<include name="fluint-1.1.1.swc" />
<include name="${fluint.swc}" />
</compiler.include-libraries>
<compiler.include-libraries dir="${alchemy.release.dir}" append="true">
<include name="lua-alchemy.swc" />
Expand All @@ -148,7 +150,7 @@
target-player="10.0.0">
<load-config filename="${flex.config.xml}" />
<compiler.include-libraries dir="${lib.dir}" append="true">
<include name="fluint-1.1.1.swc" />
<include name="{fluint.swc}" />
</compiler.include-libraries>
<compiler.include-libraries dir="${alchemy.debug.dir}" append="true">
<include name="lua-alchemy.swc" />
Expand Down
1 change: 1 addition & 0 deletions test/FluintLuaAlchemyTests/libs/.gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
fluint.patch -whitespace
Binary file not shown.
Binary file removed test/FluintLuaAlchemyTests/libs/fluint-1.1.1.swc
Binary file not shown.
27 changes: 27 additions & 0 deletions test/FluintLuaAlchemyTests/libs/fluint.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
diff --git a/fluint/src/main/flex/net/digitalprimates/fluint/tests/TestCase.as b/fluint/src/main/flex/net/digitalprimates/fluint/tests/TestCase.as
index 4036b97..4269f21 100644
--- a/fluint/src/main/flex/net/digitalprimates/fluint/tests/TestCase.as
+++ b/fluint/src/main/flex/net/digitalprimates/fluint/tests/TestCase.as
@@ -29,6 +29,7 @@ package net.digitalprimates.fluint.tests {
import flash.utils.*;

import mx.collections.CursorBookmark;
+ import mx.collections.ICollectionView;
import mx.collections.IViewCursor;
import mx.collections.Sort;
import mx.collections.SortField;
@@ -89,6 +90,14 @@ package net.digitalprimates.fluint.tests {
private var testCollection:XMLListCollection;

/**
+ * Gets the collection of test cases. Used for integration with FlexUnit4
+ * AG: ADDED from current SVN head
+ */
+ public function getTests():ICollectionView {
+ return testCollection;
+ }
+
+ /**
* @private
*/
private var cursor:IViewCursor;

0 comments on commit c238af7

Please sign in to comment.