You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flex.apache.org by ah...@apache.org on 2013/05/21 20:25:16 UTC

[09/12] git commit: [flex-sdk] [refs/heads/develop] - Fix MustellaTestChooser to handle git status output

Fix MustellaTestChooser to handle git status output


Project: http://git-wip-us.apache.org/repos/asf/flex-sdk/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-sdk/commit/39aea65d
Tree: http://git-wip-us.apache.org/repos/asf/flex-sdk/tree/39aea65d
Diff: http://git-wip-us.apache.org/repos/asf/flex-sdk/diff/39aea65d

Branch: refs/heads/develop
Commit: 39aea65da63b18d1de127bc45a016f48b37acaaa
Parents: 6067e9e
Author: Alex Harui <ah...@apache.org>
Authored: Sun May 19 22:07:20 2013 -0700
Committer: Alex Harui <ah...@apache.org>
Committed: Tue May 21 11:24:48 2013 -0700

----------------------------------------------------------------------
 .../src/MustellaTestChooser.mxml                   |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/39aea65d/mustella/utilities/MustellaTestChooser/src/MustellaTestChooser.mxml
----------------------------------------------------------------------
diff --git a/mustella/utilities/MustellaTestChooser/src/MustellaTestChooser.mxml b/mustella/utilities/MustellaTestChooser/src/MustellaTestChooser.mxml
index 37a4b73..38c2ec5 100644
--- a/mustella/utilities/MustellaTestChooser/src/MustellaTestChooser.mxml
+++ b/mustella/utilities/MustellaTestChooser/src/MustellaTestChooser.mxml
@@ -49,7 +49,7 @@ limitations under the License.
 				for (var i:int = 0; i < n; i++)
 				{
 					var file:String = files[i];
-					if (file.charAt(0) == "M")
+					if (file.indexOf("#\tmodified:   ") != -1)
 					{
 						modFiles.push(file);
 					}
@@ -66,7 +66,7 @@ limitations under the License.
 				for (i = 0; i < n; i++)
 				{
 					file = modFiles[i];
-					file = file.substr(8);
+					file = file.substr(14);
 					var c:int;
 					c = file.indexOf(".as");
 					if (c != -1)
@@ -232,7 +232,7 @@ limitations under the License.
 		<s:TextInput id="dir" width="100%" toolTip="The mustella dir, not the tests dir"/>
 		<s:Button label="Browse..." click="browse()" />
 	</s:HGroup>
-	<s:Label text="Copy and paste SVN Status below" />
+	<s:Label text="Copy and paste Git Status below" />
 	<s:TextArea id="statusLog" width="100%" change="doneLabel.visible=false"/>
 	<s:HGroup>
 		<s:Button label="Compute Tests" enabled="{statusLog.text.length > 0}" click="callLater(computeTests)" />