mirror of https://github.com/cutefishos/appmotor
				
				
				
			Merge remote branch 'origin/master'
						commit
						f9aedaf9ea
					
				@ -1,74 +1,74 @@
 | 
				
			|||||||
# Sub build: Meego/TestScripts 
 | 
					# Sub build: meego/testscripts 
 | 
				
			||||||
add_subdirectory(Meego/TestScripts)
 | 
					add_subdirectory(meego/testscripts)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# Sub build: Meego/art-tests
 | 
					# Sub build: meego/art-tests
 | 
				
			||||||
add_subdirectory(Meego/art-tests)
 | 
					add_subdirectory(meego/art-tests)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# Sub build: Meego/bug-tests
 | 
					# Sub build: meego/bug-tests
 | 
				
			||||||
add_subdirectory(Meego/bug-tests)
 | 
					add_subdirectory(meego/bug-tests)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# Sub build: Meego/functests
 | 
					# Sub build: meego/functests
 | 
				
			||||||
add_subdirectory(Meego/functests)
 | 
					add_subdirectory(meego/functests)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# Sub build: Meego/perftests
 | 
					# Sub build: meego/perftests
 | 
				
			||||||
add_subdirectory(Meego/perftests)
 | 
					add_subdirectory(meego/perftests)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# Sub build: Harmattan/TestApps/creds 
 | 
					# Sub build: harmattan/testapps/creds 
 | 
				
			||||||
add_subdirectory(Harmattan/TestApps/creds)
 | 
					add_subdirectory(harmattan/testapps/creds)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# Sub build: Harmattan/TestScripts
 | 
					# Sub build: harmattan/testscripts
 | 
				
			||||||
add_subdirectory(Harmattan/TestScripts)
 | 
					add_subdirectory(harmattan/testscripts)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# Sub build: Harmattan/art-tests
 | 
					# Sub build: harmattan/art-tests
 | 
				
			||||||
add_subdirectory(Harmattan/art-tests)
 | 
					add_subdirectory(harmattan/art-tests)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# Sub build: Harmattan/red-tests
 | 
					# Sub build: harmattan/red-tests
 | 
				
			||||||
add_subdirectory(Harmattan/red-tests)
 | 
					add_subdirectory(harmattan/red-tests)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# Sub build: Harmattan/functests
 | 
					# Sub build: harmattan/functests
 | 
				
			||||||
add_subdirectory(Harmattan/functests)
 | 
					add_subdirectory(harmattan/functests)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# Sub build: Harmattan/perftests/qml
 | 
					# Sub build: harmattan/perftests/qml
 | 
				
			||||||
add_subdirectory(Harmattan/perftests/qml)
 | 
					add_subdirectory(harmattan/perftests/qml)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# Sub build: Harmattan/perftests/qml
 | 
					# Sub build: harmattan/perftests/qml
 | 
				
			||||||
add_subdirectory(Harmattan/perftests/lmt)
 | 
					add_subdirectory(harmattan/perftests/lmt)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# Sub build: Harmattan/perftests/qml
 | 
					# Sub build: harmattan/perftests/qml
 | 
				
			||||||
add_subdirectory(Harmattan/perftests/reference)
 | 
					add_subdirectory(harmattan/perftests/reference)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# Sub build: Common/unittests
 | 
					# Sub build: common/unittests
 | 
				
			||||||
add_subdirectory(Common/unittests)
 | 
					add_subdirectory(common/unittests)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# Sub build: Common/TestApps/fala_status
 | 
					# Sub build: common/testapps/fala_status
 | 
				
			||||||
add_subdirectory(Common/TestApps/fala_status)
 | 
					add_subdirectory(common/testapps/fala_status)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# Sub build: Common/TestApps/testapp
 | 
					# Sub build: common/testapps/testapp
 | 
				
			||||||
add_subdirectory(Common/TestApps/testapp)
 | 
					add_subdirectory(common/testapps/testapp)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# Sub build: Common/TestApps/themetest
 | 
					# Sub build: common/testapps/themetest
 | 
				
			||||||
add_subdirectory(Common/TestApps/themetest)
 | 
					add_subdirectory(common/testapps/themetest)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# Sub build: Common/TestApps/fala_gettime
 | 
					# Sub build: common/testapps/fala_gettime
 | 
				
			||||||
add_subdirectory(Common/TestApps/fala_gettime)
 | 
					add_subdirectory(common/testapps/fala_gettime)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# Sub build: Common/TestApps/fala_gettime_ms
 | 
					# Sub build: common/testapps/fala_gettime_ms
 | 
				
			||||||
add_subdirectory(Common/TestApps/fala_gettime_ms)
 | 
					add_subdirectory(common/testapps/fala_gettime_ms)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# Sub build: Common/TestApps/fala_multi-instance
 | 
					# Sub build: common/testapps/fala_multi-instance
 | 
				
			||||||
add_subdirectory(Common/TestApps/fala_multi-instance)
 | 
					add_subdirectory(common/testapps/fala_multi-instance)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# Sub build: Common/TestApps/helloworld
 | 
					# Sub build: common/testapps/helloworld
 | 
				
			||||||
add_subdirectory(Common/TestApps/helloworld)
 | 
					add_subdirectory(common/testapps/helloworld)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# Sub build: Common/TestApps/pixelchanged
 | 
					# Sub build: common/testapps/pixelchanged
 | 
				
			||||||
add_subdirectory(Common/TestApps/pixelchanged)
 | 
					add_subdirectory(common/testapps/pixelchanged)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# Sub build: Common/TestApps/fala_windowid
 | 
					# Sub build: common/testapps/fala_windowid
 | 
				
			||||||
add_subdirectory(Common/TestApps/fala_windowid)
 | 
					add_subdirectory(common/testapps/fala_windowid)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# Sub build: Common/TestApps/xsendevent
 | 
					# Sub build: common/testapps/xsendevent
 | 
				
			||||||
add_subdirectory(Common/TestApps/xsendevent)
 | 
					add_subdirectory(common/testapps/xsendevent)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# Sub build: Common/TestApps/fala_qml_helloworld
 | 
					# Sub build: common/testapps/fala_qml_helloworld
 | 
				
			||||||
add_subdirectory(Common/TestApps/fala_qml_helloworld)
 | 
					add_subdirectory(common/testapps/fala_qml_helloworld)
 | 
				
			||||||
 | 
				
			|||||||
@ -1,219 +0,0 @@
 | 
				
			|||||||
<?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-bug-tests" domain="Application framework"> 
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
    <set name="TC_Bug" description="functional tests for bugs and new features" 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="applauncherd__test_correct_creds" 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-security.py test_correct_creds</step>
 | 
					 | 
				
			||||||
      </case>
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
      <!--case name="applauncherd__test_application_specific_theming" type="Functional" description="Application specific theming tests" timeout="360" level="System" insignificant="true">
 | 
					 | 
				
			||||||
          <step expected_result="0">source /tmp/session_bus_address.user; DISPLAY=:0 /usr/share/applauncherd-testscripts/tc_theming.rb name test_application_specific_theming</step>
 | 
					 | 
				
			||||||
      </case>
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
      <case name="applauncherd__test_global_theming" type="Functional" description="Tests that global theming changes affect launched applications" timeout="360" level="System" insignificant="true">
 | 
					 | 
				
			||||||
        <step expected_result="0">source /tmp/session_bus_address.user; DISPLAY=:0 /usr/share/applauncherd-testscripts/tc_theming.rb name test_global_theming</step>
 | 
					 | 
				
			||||||
      </case-->
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
      <!--case name="applauncherd__test_oom_adj_zero" type="Functional" description="Test that oom.adj is 0 for launched application process" 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_oom_adj_zero</step>
 | 
					 | 
				
			||||||
      </case-->
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
      <case name="applauncherd__test_oom_adj_minus_one" type="Functional" description="Test that oom.adj is -1 for launched application process when using invokers -o parameter" 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_oom_adj_minus_one</step>
 | 
					 | 
				
			||||||
      </case>
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
      <case name="applauncherd__test_launched_app_name" type="Functional" description="Test that launched application name  have .launch at the end" timeout="460" 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_launched_app_name</step>
 | 
					 | 
				
			||||||
      </case>
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
      <!--case name="applauncherd__test_stress_boosted_apps" type="Functional" description="Stress test for boosted applications to check only one instance is running." 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_stress_boosted_apps</step>
 | 
					 | 
				
			||||||
      </case-->
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
      <case name="applauncherd__test_invoker_param_creds" type="Functional" description="test invoker --creds" 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_invoker_param_creds</step>
 | 
					 | 
				
			||||||
      </case>
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
      <case name="applauncherd__test_invoker_param_respawn_delay" type="Functional" description="test invoker --respawn" 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_invoker_param_respawn_delay</step>
 | 
					 | 
				
			||||||
      </case>
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
      <case name="applauncherd__test_invoker_bogus_apptype" type="Functional" description="test giving bogus apptype to invoker" 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_invoker_bogus_apptype</step>
 | 
					 | 
				
			||||||
      </case>
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
      <!--case name="applauncherd__test_launch_prestarted_app" type="Functional" description="To test that prestarted application is launched" timeout="360" level="System" insignificant="true">
 | 
					 | 
				
			||||||
          <step expected_result="0">source /tmp/session_bus_address.user; DISPLAY=:0  /usr/share/applauncherd-testscripts/ts_prestartapp.rb dash-dash-name test_launch_prestarted_app</step>
 | 
					 | 
				
			||||||
      </case-->
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
      <case name="applauncherd__test_core_dump" type="Functional" description="Test that core dumps are generated with boosted applications" 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-core-dump.py test_core_dumps</step>
 | 
					 | 
				
			||||||
      </case>
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
      <environments>
 | 
					 | 
				
			||||||
          <scratchbox>true</scratchbox>
 | 
					 | 
				
			||||||
          <hardware>true</hardware>    
 | 
					 | 
				
			||||||
      </environments>
 | 
					 | 
				
			||||||
    </set>
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
      <!-- Single Instance Tests (without invoker) -->
 | 
					 | 
				
			||||||
    <set name="TC_SingleInstance_No_Invoker" description="functional tests for single instance without invoker" 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="applauncherd__test_single_instance_window_raise_wo_invoker" type="Functional" description="Test basic single instance functionality and window raising" 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-single-instance.py test_single_instance_window_raise_without_invoker</step>
 | 
					 | 
				
			||||||
      </case>
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
      <case name="applauncherd__test_single_instance_and_non_single_instance_wo_invoker" type="Functional" description="Test that there's multiple instances when starting app w/o single-instance" 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-single-instance.py test_single_instance_and_non_single_instance_without_invoker</step>
 | 
					 | 
				
			||||||
      </case>
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
      <case name="applauncherd__test_single_instance_stress_test_wo_invoker" type="Functional" description="Try starting apps fast with single-instance" 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-single-instance.py test_single_instance_stress_test_without_invoker</step>
 | 
					 | 
				
			||||||
      </case>
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
      <case name="applauncherd__test_single_instance_abnormal_lock_release_wo_invoker" type="Functional" description="Try starting an app, killing it and starting it again checking that the pid has changed" 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-single-instance.py test_single_instance_abnormal_lock_release_without_invoker</step>
 | 
					 | 
				
			||||||
      </case>
 | 
					 | 
				
			||||||
      <environments>
 | 
					 | 
				
			||||||
          <scratchbox>true</scratchbox>
 | 
					 | 
				
			||||||
          <hardware>true</hardware>    
 | 
					 | 
				
			||||||
      </environments>
 | 
					 | 
				
			||||||
    </set>
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
      <!-- Single Instance Tests (with invoker) -->
 | 
					 | 
				
			||||||
    <set name="TC_SingleInstance_Invoker" description="functional tests for single instance with invoker" 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="applauncherd__test_single_instance_window_raise_w_invoker" type="Functional" description="Test basic single instance functionality and window raising" 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-single-instance.py test_single_instance_window_raise_with_invoker</step>
 | 
					 | 
				
			||||||
      </case>
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
      <case name="applauncherd__test_single_instance_and_non_single_instance_w_invoker" type="Functional" description="Test that there's multiple instances when starting app w/o single-instance" 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-single-instance.py test_single_instance_and_non_single_instance_with_invoker</step>
 | 
					 | 
				
			||||||
      </case>
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
      <case name="applauncherd__test_single_instance_stress_test_w_invoker" type="Functional" description="Try starting apps fast with single-instance" 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-single-instance.py test_single_instance_stress_test_with_invoker</step>
 | 
					 | 
				
			||||||
      </case>
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
      <case name="applauncherd__test_single_instance_abnormal_lock_release_w_invoker" type="Functional" description="Try starting an app, killing it and starting it again checking that the pid has changed" 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-single-instance.py test_single_instance_abnormal_lock_release_with_invoker</step>
 | 
					 | 
				
			||||||
      </case>
 | 
					 | 
				
			||||||
      <environments>
 | 
					 | 
				
			||||||
          <scratchbox>true</scratchbox>
 | 
					 | 
				
			||||||
          <hardware>true</hardware>    
 | 
					 | 
				
			||||||
      </environments>
 | 
					 | 
				
			||||||
    </set>
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
      <!-- Test for qml booster -->
 | 
					 | 
				
			||||||
    <set name="TC_Qml_Booster" description="functional tests for qml boosters" 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="applauncherd__test_zombie_state_qml" type="Functional" description="To test that no Zombie process exist after the application is killed" 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_zombie_state_qml</step>
 | 
					 | 
				
			||||||
      </case>
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
      <case name="applauncherd__test_launch_multiple_apps_qml" type="Functional" description="To test that more than one applications are launched by the launcher" 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_launch_multiple_apps_qml</step>
 | 
					 | 
				
			||||||
      </case>
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
      <case name="applauncherd__test_one_instance_qml" type="Functional" description="To test that only one instance of a application exist" 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_one_instance_qml</step>
 | 
					 | 
				
			||||||
      </case>
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
      <case name="applauncherd__test_launch_multiple_apps_cont_qml" type="Functional" description="To test that more than one applications are launched by the launcher" 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_launch_multiple_apps_cont_qml</step>
 | 
					 | 
				
			||||||
      </case>
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
      <case name="applauncherd__test_wait_term_qml" type="Functional" description="When calling invoker with --wait-term and killing invoker,the launched application should die too." 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_wait_term_qml</step>
 | 
					 | 
				
			||||||
      </case>
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
      <case name="applauncherd__test_fd_booster_d" type="Functional" description="File descriptor test for booster-d" 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_fd_booster_d</step>
 | 
					 | 
				
			||||||
      </case>
 | 
					 | 
				
			||||||
      <environments>
 | 
					 | 
				
			||||||
          <scratchbox>true</scratchbox>
 | 
					 | 
				
			||||||
          <hardware>true</hardware>    
 | 
					 | 
				
			||||||
      </environments>
 | 
					 | 
				
			||||||
    </set>
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
      <!-- Test for e booster -->
 | 
					 | 
				
			||||||
    <set name="TC_e_Booster" description="functional tests for qml boosters" 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="applauncherd__test_zombie_state_e" type="Functional" description="To test that no Zombie process exist after the application is killed" 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_zombie_state_e</step>
 | 
					 | 
				
			||||||
      </case>
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
      <case name="applauncherd__test_launch_multiple_apps_e" type="Functional" description="To test that more than one applications are launched by the launcher" 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_launch_multiple_apps_e</step>
 | 
					 | 
				
			||||||
      </case>
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
      <case name="applauncherd__test_one_instance_e" type="Functional" description="To test that only one instance of a application exist" 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_one_instance_e</step>
 | 
					 | 
				
			||||||
      </case>
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
      <case name="applauncherd__test_launch_multiple_apps_cont_e" type="Functional" description="To test that more than one applications are launched by the launcher" 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_launch_multiple_apps_cont_e</step>
 | 
					 | 
				
			||||||
      </case>
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
      <case name="applauncherd__test_wait_term_e" type="Functional" description="When calling invoker with --wait-term and killing invoker,the launched application should die too." 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_wait_term_e</step>
 | 
					 | 
				
			||||||
      </case>
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
      <case name="applauncherd__test_fd_booster_e" type="Functional" description="File descriptor test for booster-d" 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_fd_booster_e</step>
 | 
					 | 
				
			||||||
      </case>
 | 
					 | 
				
			||||||
      <environments>
 | 
					 | 
				
			||||||
          <scratchbox>true</scratchbox>
 | 
					 | 
				
			||||||
          <hardware>true</hardware>    
 | 
					 | 
				
			||||||
      </environments>
 | 
					 | 
				
			||||||
    </set>
 | 
					 | 
				
			||||||
    <set name="TC_Splash" description="functional tests for splash" 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="applauncherd__test_splash" type="Functional" description="To test --splash functionality" timeout="360" level="System" insignificant="true">
 | 
					 | 
				
			||||||
          <step expected_result="0">source /tmp/session_bus_address.user; DISPLAY=:0  /usr/share/applauncherd-testscripts/tc_splash.rb --name test_splash</step>
 | 
					 | 
				
			||||||
      </case>
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
      <case name="applauncherd__test_splash_landscape" type="Functional" description="To test --splash-landscape functionality" timeout="360" level="System" insignificant="true">
 | 
					 | 
				
			||||||
          <step expected_result="0">source /tmp/session_bus_address.user; DISPLAY=:0  /usr/share/applauncherd-testscripts/tc_splash.rb --name test_splash_landscape</step>
 | 
					 | 
				
			||||||
      </case>
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
      <case name="applauncherd__test_no_splash" type="Functional" description="To test splash parameters is not reset " timeout="360" level="System" insignificant="true">
 | 
					 | 
				
			||||||
          <step expected_result="0">source /tmp/session_bus_address.user; DISPLAY=:0  /usr/share/applauncherd-testscripts/tc_splash.rb --name test_no_splash</step>
 | 
					 | 
				
			||||||
      </case>
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
      <environments>
 | 
					 | 
				
			||||||
          <scratchbox>true</scratchbox>
 | 
					 | 
				
			||||||
          <hardware>true</hardware>    
 | 
					 | 
				
			||||||
      </environments>
 | 
					 | 
				
			||||||
    </set>
 | 
					 | 
				
			||||||
  </suite>
 | 
					 | 
				
			||||||
</testdefinition>
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
| 
		 Before Width: | Height: | Size: 10 KiB After Width: | Height: | Size: 10 KiB  | 
| 
		 Before Width: | Height: | Size: 6.0 KiB After Width: | Height: | Size: 6.0 KiB  | 
| 
		 Before Width: | Height: | Size: 42 KiB After Width: | Height: | Size: 42 KiB  | 
@ -0,0 +1,92 @@
 | 
				
			|||||||
 | 
					<?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-bug-tests" domain="Application framework"> 
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    <set name="TC_Bug" description="functional tests for bugs and new features" 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="applauncherd__test_correct_creds" 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-security.py test_correct_creds</step>
 | 
				
			||||||
 | 
					      </case>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					      <!--case name="applauncherd__test_application_specific_theming" type="Functional" description="Application specific theming tests" timeout="360" level="System" insignificant="true">
 | 
				
			||||||
 | 
					          <step expected_result="0">source /tmp/session_bus_address.user; DISPLAY=:0 /usr/share/applauncherd-testscripts/tc_theming.rb name test_application_specific_theming</step>
 | 
				
			||||||
 | 
					      </case>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					      <case name="applauncherd__test_global_theming" type="Functional" description="Tests that global theming changes affect launched applications" timeout="360" level="System" insignificant="true">
 | 
				
			||||||
 | 
					        <step expected_result="0">source /tmp/session_bus_address.user; DISPLAY=:0 /usr/share/applauncherd-testscripts/tc_theming.rb name test_global_theming</step>
 | 
				
			||||||
 | 
					      </case-->
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					      <!--case name="applauncherd__test_oom_adj_zero" type="Functional" description="Test that oom.adj is 0 for launched application process" 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_oom_adj_zero</step>
 | 
				
			||||||
 | 
					      </case-->
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					      <case name="applauncherd__test_oom_adj_minus_one" type="Functional" description="Test that oom.adj is -1 for launched application process when using invokers -o parameter" 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_oom_adj_minus_one</step>
 | 
				
			||||||
 | 
					      </case>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					      <case name="applauncherd__test_launched_app_name" type="Functional" description="Test that launched application name  have .launch at the end" timeout="460" 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_launched_app_name</step>
 | 
				
			||||||
 | 
					      </case>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					      <!--case name="applauncherd__test_stress_boosted_apps" type="Functional" description="Stress test for boosted applications to check only one instance is running." 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_stress_boosted_apps</step>
 | 
				
			||||||
 | 
					      </case-->
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					      <case name="applauncherd__test_invoker_param_creds" type="Functional" description="test invoker --creds" 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_invoker_param_creds</step>
 | 
				
			||||||
 | 
					      </case>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					      <case name="applauncherd__test_invoker_param_respawn_delay" type="Functional" description="test invoker --respawn" 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_invoker_param_respawn_delay</step>
 | 
				
			||||||
 | 
					      </case>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					      <case name="applauncherd__test_invoker_bogus_apptype" type="Functional" description="test giving bogus apptype to invoker" 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_invoker_bogus_apptype</step>
 | 
				
			||||||
 | 
					      </case>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					      <!--case name="applauncherd__test_launch_prestarted_app" type="Functional" description="To test that prestarted application is launched" timeout="360" level="System" insignificant="true">
 | 
				
			||||||
 | 
					          <step expected_result="0">source /tmp/session_bus_address.user; DISPLAY=:0  /usr/share/applauncherd-testscripts/ts_prestartapp.rb dash-dash-name test_launch_prestarted_app</step>
 | 
				
			||||||
 | 
					      </case-->
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					      <case name="applauncherd__test_core_dump" type="Functional" description="Test that core dumps are generated with boosted applications" 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-core-dump.py test_core_dumps</step>
 | 
				
			||||||
 | 
					      </case>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					      <environments>
 | 
				
			||||||
 | 
					          <scratchbox>true</scratchbox>
 | 
				
			||||||
 | 
					          <hardware>true</hardware>    
 | 
				
			||||||
 | 
					      </environments>
 | 
				
			||||||
 | 
					    </set>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    <set name="TC_Splash" description="functional tests for splash" 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="applauncherd__test_splash" type="Functional" description="To test --splash functionality" timeout="360" level="System" insignificant="true">
 | 
				
			||||||
 | 
					          <step expected_result="0">source /tmp/session_bus_address.user; DISPLAY=:0  /usr/share/applauncherd-testscripts/tc_splash.rb --name test_splash</step>
 | 
				
			||||||
 | 
					      </case>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					      <case name="applauncherd__test_splash_landscape" type="Functional" description="To test --splash-landscape functionality" timeout="360" level="System" insignificant="true">
 | 
				
			||||||
 | 
					          <step expected_result="0">source /tmp/session_bus_address.user; DISPLAY=:0  /usr/share/applauncherd-testscripts/tc_splash.rb --name test_splash_landscape</step>
 | 
				
			||||||
 | 
					      </case>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					      <case name="applauncherd__test_no_splash" type="Functional" description="To test splash parameters is not reset " timeout="360" level="System" insignificant="true">
 | 
				
			||||||
 | 
					          <step expected_result="0">source /tmp/session_bus_address.user; DISPLAY=:0  /usr/share/applauncherd-testscripts/tc_splash.rb --name test_no_splash</step>
 | 
				
			||||||
 | 
					      </case>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					      <environments>
 | 
				
			||||||
 | 
					          <scratchbox>true</scratchbox>
 | 
				
			||||||
 | 
					          <hardware>true</hardware>    
 | 
				
			||||||
 | 
					      </environments>
 | 
				
			||||||
 | 
					    </set>
 | 
				
			||||||
 | 
					  </suite>
 | 
				
			||||||
 | 
					</testdefinition>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
Some files were not shown because too many files have changed in this diff Show More
					Loading…
					
					
				
		Reference in New Issue