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 2012/12/02 07:30:56 UTC
svn commit: r1416111 -
/incubator/flex/sdk/branches/develop/mustella/utilities/MustellaTestChooser/src/MustellaTestChooser.mxml
Author: aharui
Date: Sun Dec 2 06:30:55 2012
New Revision: 1416111
URL: http://svn.apache.org/viewvc?rev=1416111&view=rev
Log:
Apply Patch from FLEX-33281 from João Fernandes
Modified:
incubator/flex/sdk/branches/develop/mustella/utilities/MustellaTestChooser/src/MustellaTestChooser.mxml
Modified: incubator/flex/sdk/branches/develop/mustella/utilities/MustellaTestChooser/src/MustellaTestChooser.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/sdk/branches/develop/mustella/utilities/MustellaTestChooser/src/MustellaTestChooser.mxml?rev=1416111&r1=1416110&r2=1416111&view=diff
==============================================================================
--- incubator/flex/sdk/branches/develop/mustella/utilities/MustellaTestChooser/src/MustellaTestChooser.mxml (original)
+++ incubator/flex/sdk/branches/develop/mustella/utilities/MustellaTestChooser/src/MustellaTestChooser.mxml Sun Dec 2 06:30:55 2012
@@ -77,13 +77,13 @@ limitations under the License.
if (c != -1)
file = file.substr(0, c);
}
- c = file.indexOf("/src/");
+ c = file.indexOf(File.separator + "src" + File.separator);
if (c != -1)
file = file.substr(c + 5);
- c = file.lastIndexOf("/");
+ c = file.lastIndexOf(File.separator);
if (c != -1)
file = file.substring(0, c) + ':' + file.substr(c + 1);
- file = file.replace(/\//g, ".");
+ file = file.replace(new RegExp("\\" + File.separator,"g"), ".");
modFiles[i] = file;
}
var runTests:Array = [];