<commit_before><?xml version="1.0" encoding="UTF-8"?>

<script xmlns="http://dtf.org/v1"
        name="ut">
    <info>
        <author>
            <name><NAME></name>
            <email><EMAIL></email>
        </author>
        <description>
        Test suite that groups the other unit tests for the DTF framework. 
        </description>
    </info>

    <local>
        <createstorage id="OUTPUT" path="${dtf.xml.path}/output"/>
        <createstorage id="INPUT" path="${dtf.xml.path}"/>
    </local>
 
	<local>    
       <echo>*** Executing DTF Unit Tests ***</echo>
    </local>

	<result uri="storage://OUTPUT/TEST_ut_results.xml" type="junit">
    	<testsuite name="unittests">

            <!-- DTF Feature Tests -->
            <testscript uri="storage://INPUT/state_management.xml"/>
            
            <!-- Storage Tests -->
            <testscript uri="storage://INPUT/storage.xml"/>
               
            <!-- Basic Tests --> 
            <testscript uri="storage://INPUT/echo.xml"/>
            <testscript uri="storage://INPUT/sleep.xml"/>
            <testscript uri="storage://INPUT/loadproperties.xml"/>
            <testscript uri="storage://INPUT/property_resolution.xml"/>
            <testscript uri="storage://INPUT/property.xml"/>
            <testscript uri="storage://INPUT/cat.xml"/>
            <testscript uri="storage://INPUT/log.xml"/>
            
            <!-- Flow Control Tests --> 
            <!-- Loops -->
            <testscript uri="storage://INPUT/for.xml"/>
            <testscript uri="storage://INPUT/parallel.xml"/>
            <testscript uri="storage://INPUT/parallelloop.xml"/>
            <testscript uri="storage://INPUT/sequence.xml"/>
            <testscript uri="storage://INPUT/timer.xml"/>
            <testscript uri="storage://INPUT/switch.xml"/>
            <testscript uri="storage://INPUT/while.xml"/>
            <testscript uri="storage://INPUT/break.xml"/>
            
            <!-- Failure Handling --> 
            <testscript uri="storage://INPUT/try_catch_fail.xml"/>
            <testscript uri="storage://INPUT/fail.xml"/>
            
			<!-- Advanced Flow Control -->
            <testscript uri="storage://INPUT/distribute.xml"/>
            <testscript uri="storage://INPUT/choices.xml"/>
           
			<!-- Conditional Tests -->
            <testscript uri="storage://INPUT/if.xml"/>
            
            <!-- Range Generation Tests -->
            <testscript uri="storage://INPUT/range.xml"/>
            <testscript uri="storage://INPUT/range_dist.xml"/>
            <testscript uri="storage://INPUT/xml_range.xml"/>
            <testscript uri="storage://INPUT/json_range.xml"/>
            
            <!-- Function Tests -->
            <testscript uri="storage://INPUT/functions.xml"/>
            <testscript uri="storage://INPUT/import.xml"/>
            <testscript uri="storage://INPUT/export.xml"/>
            
            <!-- References Tests -->
            <testscript uri="storage://INPUT/references.xml"/>
            
            <!-- Lockcomponent/Unlockcomponent Tests -->
            <testscript uri="storage://INPUT/component.xml"/>
            <testscript uri="storage://INPUT/lockcomponent.xml"/>
            <testscript uri="storage://INPUT/lockgroup.xml"/>
            <testscript uri="storage://INPUT/remotestorage.xml"/>
                
            <!-- Event Tests -->
            <testscript uri="storage://INPUT/recorder.xml"/>
            <testscript uri="storage://INPUT/stats_recorder.xml"/>
            <testscript uri="storage://INPUT/query.xml"/>
            <testscript uri="storage://INPUT/event.xml"/>
            <testscript uri="storage://INPUT/event_visibility.xml"/>
            <testscript uri="storage://INPUT/compare.xml"/>
            <testscript uri="storage://INPUT/filter.xml"/>
            
            <!-- Testsuite and Testscript Tests -->
            <testscript uri="storage://INPUT/testsuite.xml"/>
            <testscript uri="storage://INPUT/results.xml"/>
            <testscript uri="storage://INPUT/concurrent_suite.xml"/>
            
            <!-- Stats Calculation Tests -->
            <testscript uri="storage://INPUT/stats.xml"/>
            
            <!-- File tags are used to move files between components -->
            <testscript uri="storage://INPUT/file.xml"/>
            
            <!-- Http tags --> 
            <testscript uri="storage://INPUT/http.xml"/>
            <testscript uri="storage://INPUT/http_server.xml"/>
            <testscript uri="storage://INPUT/http_cleanup_test.xml"/>
            <testscript uri="storage://INPUT/http_bandwidth.xml"/>
             
            <!-- String manipulation tags -->
            <testscript uri="storage://INPUT/string_manipulation.xml"/>
            <testscript uri="storage://INPUT/string_transform.xml"/>
            <testscript uri="storage://INPUT/convert.xml"/>
            
            <!-- Arithmetic tags -->
            <testscript uri="storage://INPUT/arithmetic.xml"/>
            
            <!-- Some different ways of generating random numbers/data -->
            <testscript uri="storage://INPUT/random.xml"/><commit_msg>- can't run http_bandwidth unit test on ci machine (seems to never hit targets in a small test execution time)<commit_after><?xml version="1.0" encoding="UTF-8"?>

<script xmlns="http://dtf.org/v1"
        name="ut">
    <info>
        <author>
            <name><NAME></name>
            <email><EMAIL></email>
        </author>
        <description>
        Test suite that groups the other unit tests for the DTF framework. 
        </description>
    </info>

    <local>
        <createstorage id="OUTPUT" path="${dtf.xml.path}/output"/>
        <createstorage id="INPUT" path="${dtf.xml.path}"/>
    </local>
 
	<local>    
       <echo>*** Executing DTF Unit Tests ***</echo>
    </local>

	<result uri="storage://OUTPUT/TEST_ut_results.xml" type="junit">
    	<testsuite name="unittests">

            <!-- DTF Feature Tests -->
            <testscript uri="storage://INPUT/state_management.xml"/>
            
            <!-- Storage Tests -->
            <testscript uri="storage://INPUT/storage.xml"/>
               
            <!-- Basic Tests --> 
            <testscript uri="storage://INPUT/echo.xml"/>
            <testscript uri="storage://INPUT/sleep.xml"/>
            <testscript uri="storage://INPUT/loadproperties.xml"/>
            <testscript uri="storage://INPUT/property_resolution.xml"/>
            <testscript uri="storage://INPUT/property.xml"/>
            <testscript uri="storage://INPUT/cat.xml"/>
            <testscript uri="storage://INPUT/log.xml"/>
            
            <!-- Flow Control Tests --> 
            <!-- Loops -->
            <testscript uri="storage://INPUT/for.xml"/>
            <testscript uri="storage://INPUT/parallel.xml"/>
            <testscript uri="storage://INPUT/parallelloop.xml"/>
            <testscript uri="storage://INPUT/sequence.xml"/>
            <testscript uri="storage://INPUT/timer.xml"/>
            <testscript uri="storage://INPUT/switch.xml"/>
            <testscript uri="storage://INPUT/while.xml"/>
            <testscript uri="storage://INPUT/break.xml"/>
            
            <!-- Failure Handling --> 
            <testscript uri="storage://INPUT/try_catch_fail.xml"/>
            <testscript uri="storage://INPUT/fail.xml"/>
            
			<!-- Advanced Flow Control -->
            <testscript uri="storage://INPUT/distribute.xml"/>
            <testscript uri="storage://INPUT/choices.xml"/>
           
			<!-- Conditional Tests -->
            <testscript uri="storage://INPUT/if.xml"/>
            
            <!-- Range Generation Tests -->
            <testscript uri="storage://INPUT/range.xml"/>
            <testscript uri="storage://INPUT/range_dist.xml"/>
            <testscript uri="storage://INPUT/xml_range.xml"/>
            <testscript uri="storage://INPUT/json_range.xml"/>
            
            <!-- Function Tests -->
            <testscript uri="storage://INPUT/functions.xml"/>
            <testscript uri="storage://INPUT/import.xml"/>
            <testscript uri="storage://INPUT/export.xml"/>
            
            <!-- References Tests -->
            <testscript uri="storage://INPUT/references.xml"/>
            
            <!-- Lockcomponent/Unlockcomponent Tests -->
            <testscript uri="storage://INPUT/component.xml"/>
            <testscript uri="storage://INPUT/lockcomponent.xml"/>
            <testscript uri="storage://INPUT/lockgroup.xml"/>
            <testscript uri="storage://INPUT/remotestorage.xml"/>
                
            <!-- Event Tests -->
            <testscript uri="storage://INPUT/recorder.xml"/>
            <testscript uri="storage://INPUT/stats_recorder.xml"/>
            <testscript uri="storage://INPUT/query.xml"/>
            <testscript uri="storage://INPUT/event.xml"/>
            <testscript uri="storage://INPUT/event_visibility.xml"/>
            <testscript uri="storage://INPUT/compare.xml"/>
            <testscript uri="storage://INPUT/filter.xml"/>
            
            <!-- Testsuite and Testscript Tests -->
            <testscript uri="storage://INPUT/testsuite.xml"/>
            <testscript uri="storage://INPUT/results.xml"/>
            <testscript uri="storage://INPUT/concurrent_suite.xml"/>
            
            <!-- Stats Calculation Tests -->
            <testscript uri="storage://INPUT/stats.xml"/>
            
            <!-- File tags are used to move files between components -->
            <testscript uri="storage://INPUT/file.xml"/>
            
            <!-- Http tags --> 
            <testscript uri="storage://INPUT/http.xml"/>
            <testscript uri="storage://INPUT/http_server.xml"/>
            <testscript uri="storage://INPUT/http_cleanup_test.xml"/>
             
            <!-- String manipulation tags -->
            <testscript uri="storage://INPUT/string_manipulation.xml"/>
            <testscript uri="storage://INPUT/string_transform.xml"/>
            <testscript uri="storage://INPUT/convert.xml"/>
            
            <!-- Arithmetic tags -->
            <testscript uri="storage://INPUT/arithmetic.xml"/>
            
            <!-- Some different ways of generating random numbers/data -->
            <testscript uri="storage://INPUT/random.xml"/>
{'fraction_non_alphanumeric': 0.1671793885791194, 'fraction_numerical': 0.0007690828686791001, 'mean_word_length': 1.739073196419168, 'pattern_counts': {'":': 0, '<': 200, '<?xml version=': 2, '>': 200, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 121}, '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': '5278920', 'n_tokens_mistral': 2630, 'n_tokens_neox': 2578, 'n_words': 448}