mirror of https://github.com/cutefishos/appmotor
				
				
				
			
			You cannot select more than 25 topics
			Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
		
		
		
		
		
			
		
			
				
	
	
		
			95 lines
		
	
	
		
			5.6 KiB
		
	
	
	
		
			XML
		
	
			
		
		
	
	
			95 lines
		
	
	
		
			5.6 KiB
		
	
	
	
		
			XML
		
	
<?xml version="1.0" encoding="ISO-8859-1"?>
 | 
						|
<testdefinition version="0.1">
 | 
						|
 | 
						|
<!-- Test suite, name mandatory - the same as test package name -->
 | 
						|
  <!-- Schema: https://projects.maemo.org/docs/testing/xml-definition.html -->
 | 
						|
  <suite name="applauncherd-functional-tests" domain="Application framework"> 
 | 
						|
 | 
						|
    <set name="applauncherd-functional-tests" description="Launcher functional tests" feature="AF Basic Launcher daemon support" requirement="300168">   
 | 
						|
      <pre_steps>
 | 
						|
          <step>/usr/bin/waitloadavg.rb -l 1.0 -p 1.0 -t 120</step>
 | 
						|
      </pre_steps>
 | 
						|
 | 
						|
 | 
						|
      <case name="launcher-exist" type="Functional" description="To test if the launcher exists and is executable or not" timeout="360" level="System" insignificant="false">
 | 
						|
          <step expected_result="0">source /tmp/session_bus_address.user; DISPLAY=:0  `pyversions -d` /usr/share/applauncherd-testscripts/test-func-launcher.py test_001_launcher_exist</step>
 | 
						|
      </case>
 | 
						|
 | 
						|
      <case name="launchable-app-exist" type="Functional" description="test_launchable_application_exists " timeout="360" level="System" insignificant="false">
 | 
						|
          <step expected_result="0">source /tmp/session_bus_address.user; DISPLAY=:0  `pyversions -d` /usr/share/applauncherd-testscripts/test-func-launcher.py test_002_applications_exist</step>
 | 
						|
      </case>
 | 
						|
 | 
						|
      <case name="zombie-state" type="Functional" description="To test that process exits after the application is killed" timeout="360" level="System" insignificant="false">
 | 
						|
          <step expected_result="0">source /tmp/session_bus_address.user; DISPLAY=:0  `pyversions -d` /usr/share/applauncherd-testscripts/test-func-launcher.py test_003_zombie_state</step>
 | 
						|
      </case>
 | 
						|
 | 
						|
      <case name="launch-multi-app" type="Functional" description="To test that more than one applications are launched by the launcher" timeout="360" level="System" insignificant="false">
 | 
						|
          <step expected_result="0">source /tmp/session_bus_address.user;  DISPLAY=:0 `pyversions -d` /usr/share/applauncherd-testscripts/test-func-launcher.py test_004_launch_multiple_apps</step>
 | 
						|
      </case>
 | 
						|
 | 
						|
      <case name="one-instance" type="Functional" description="To test that only one instance of a application exist" timeout="360" level="System" insignificant="false">
 | 
						|
          <step expected_result="0">source /tmp/session_bus_address.user; DISPLAY=:0  `pyversions -d` /usr/share/applauncherd-testscripts/test-func-launcher.py test_005_one_instance</step>
 | 
						|
      </case>
 | 
						|
 | 
						|
      <case name="daemonized" type="Functional" description="Test that the applauncherd can be started daemonized" timeout="360" level="System" insignificant="true">
 | 
						|
          <step expected_result="0">source /tmp/session_bus_address.user; DISPLAY=:0  `pyversions -d` /usr/share/applauncherd-testscripts/test-func-launcher.py test_011</step>
 | 
						|
      </case>
 | 
						|
 | 
						|
      <case name="invoker-delay" type="Functional" description="Test that invokers --delay parameter works" timeout="360" level="System" insignificant="true">
 | 
						|
          <step expected_result="0">source /tmp/session_bus_address.user; DISPLAY=:0  `pyversions -d` /usr/share/applauncherd-testscripts/test-func-launcher.py test_012</step>
 | 
						|
      </case>
 | 
						|
 | 
						|
      <case name="applauncherd-usage" type="Functional" description="Test that invokers --delay parameter works" timeout="360" level="System" insignificant="true">
 | 
						|
          <step expected_result="0">source /tmp/session_bus_address.user; DISPLAY=:0  `pyversions -d` /usr/share/applauncherd-testscripts/test-func-launcher.py test_013_applauncherd_usage</step>
 | 
						|
      </case>
 | 
						|
 | 
						|
      <case name="search-app" type="Functional" description="Test that invokers --delay parameter works" timeout="360" level="System" insignificant="true">
 | 
						|
          <step expected_result="0">source /tmp/session_bus_address.user; DISPLAY=:0  `pyversions -d` /usr/share/applauncherd-testscripts/test-func-launcher.py test_014_search_path</step>
 | 
						|
      </case>
 | 
						|
 | 
						|
      <environments>
 | 
						|
          <scratchbox>true</scratchbox>
 | 
						|
          <hardware>true</hardware>    
 | 
						|
      </environments>
 | 
						|
 | 
						|
      <!--get>
 | 
						|
      </get-->
 | 
						|
    </set>
 | 
						|
 | 
						|
    <set name="Security" description="Tests that have something to do with the security platform" feature="AF Basic Launcher daemon support" requirement="300168">
 | 
						|
 | 
						|
      <pre_steps>
 | 
						|
          <step>/usr/bin/waitloadavg.rb -l 1.0 -p 1.0 -t 120</step>
 | 
						|
      </pre_steps>
 | 
						|
 | 
						|
      <case name="creds-test" type="Functional" description="Test that launched applications get correct credentials when they provide Aegis files" timeout="360" level="System" insignificant="true">
 | 
						|
        <step expected_result="0">source /tmp/session_bus_address.user; DISPLAY=:0  `pyversions -d` /usr/share/applauncherd-testscripts/test-func-launcher.py test_006_creds</step>
 | 
						|
      </case>
 | 
						|
      
 | 
						|
      <environments>
 | 
						|
        <scratchbox>false</scratchbox>
 | 
						|
        <hardware>true</hardware>    
 | 
						|
      </environments>
 | 
						|
    </set>
 | 
						|
    
 | 
						|
    <set name="Prestart-launched" description="To test that prestarted application is launched" feature="AF DUI Booster for Launcher daemon" requirement="300195">   
 | 
						|
      <pre_steps>
 | 
						|
          <step>/usr/bin/waitloadavg.rb -l 1.0 -p 1.0 -t 120</step>
 | 
						|
      </pre_steps>
 | 
						|
      <case name="Prestart-launched" type="Functional" description="To test that prestarted application is launched" timeout="360" level="System">
 | 
						|
          <step expected_result="0">source /tmp/session_bus_address.user; DISPLAY=:0  /usr/share/applauncherd-testscripts/ts_prestartapp.rb --name test_launch_prestarted_app</step>
 | 
						|
      </case>
 | 
						|
 | 
						|
      <environments>
 | 
						|
          <scratchbox>true</scratchbox>
 | 
						|
          <hardware>true</hardware>    
 | 
						|
      </environments>
 | 
						|
 | 
						|
      <!--get>
 | 
						|
      </get-->
 | 
						|
    </set>
 | 
						|
  </suite>
 | 
						|
</testdefinition>
 | 
						|
 | 
						|
 |