<commit_before><UnitTester testDir="spark/validators/CurrencyValidator/Methods/" 
			testSWF="CV_validate_format.mxml" 
			xmlns:mx="http://www.adobe.com/2006/mxml" xmlns:s="library://ns.adobe.com/flex/spark" xmlns="*">
    <mx:Script><![CDATA[
		import flash.globalization.*;
		import assets.CVConstant;
		import mx.events.ValidationResultEvent;
		import mx.validators.NumberValidatorDomainType;
		
		public static function init(o:DisplayObject):void
        {

        }
    ]]></mx:Script>
    <mx:Metadata><![CDATA[
        [Mixin]
    ]]></mx:Metadata>
    <testCases>
        <TestCase testID="CV_validate_format_result_valid_1" 
				  description="testcase for use spark:validator to validate a result string coming from format() method of spark:formatter." 
				  keywords="[CurrencyValidator, validate, custom validator, extends from GlobalizationValidatorBase, valid]">
            <setup>
                <ResetComponent target="uiCustomComp" className="assets.CustomCompFormat" waitEvent="updateComplete" waitTarget="uiCustomComp"/>
            </setup>
            <body>
				<RunCode code="application.uiCustomComp.testSpark()" waitTarget="uiCustomComp.uiResultTI" waitEvent="updateComplete"/>
				<AssertPropertyValue target="uiCustomComp.uiResultTI" propertyName="text" value="0"/>
            </body>
        </TestCase>
        
    </testCases>
</UnitTester><commit_msg>Fixed test script by listening for different event<commit_after><UnitTester testDir="spark/validators/CurrencyValidator/Methods/" 
			testSWF="CV_validate_format.mxml" 
			xmlns:mx="http://www.adobe.com/2006/mxml" xmlns:s="library://ns.adobe.com/flex/spark" xmlns="*">
    <mx:Script><![CDATA[
		import flash.globalization.*;
		import assets.CVConstant;
		import mx.events.ValidationResultEvent;
		import mx.validators.NumberValidatorDomainType;
		
		public static function init(o:DisplayObject):void
        {

        }
    ]]></mx:Script>
    <mx:Metadata><![CDATA[
        [Mixin]
    ]]></mx:Metadata>
    <testCases>
        <TestCase testID="CV_validate_format_result_valid_1" 
				  description="testcase for use spark:validator to validate a result string coming from format() method of spark:formatter." 
				  keywords="[CurrencyValidator, validate, custom validator, extends from GlobalizationValidatorBase, valid]">
            <setup>
                <ResetComponent target="uiCustomComp" className="assets.CustomCompFormat" waitEvent="updateComplete" waitTarget="uiCustomComp"/>
            </setup>
            <body>
				<RunCode code="application.uiCustomComp.testSpark()" waitTarget="uiCustomComp.uiResultTI" waitEvent="valueCommit"/>
				<AssertPropertyValue target="uiCustomComp.uiResultTI" propertyName="text" value="0"/>
            </body>
        </TestCase>
        
    </testCases>
</UnitTester>
{'fraction_non_alphanumeric': 0.12731152204836416, 'fraction_numerical': 0.004267425320056899, 'mean_word_length': 3.7677966101694915, 'pattern_counts': {'":': 0, '<': 41, '<?xml version=': 0, '>': 41, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, 'xml': 10}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7254243', 'n_tokens_mistral': 875, 'n_tokens_neox': 803, 'n_words': 144}