Changes: test for search-app removed. Some minor modifications as well

RevBy: TrustMe
pull/1/head
Nimika Keshri 15 years ago
parent d087aedaf1
commit 2a0a3e722a

@ -577,21 +577,14 @@ class launcher_tests (unittest.TestCase):
str = op.split('\n')
self.assert_(str[0] == 'Usage: applauncherd [options]', "usage not printed properly")
def test_014_search_path(self):
"""
Test invoker search application path
"""
st = os.system("invoker --type=m fala_ft_hello.launch")
self.assert_(st == 0, "Application not found ")
def test_015_fd_booster_m(self):
def test_014_fd_booster_m(self):
"""
File descriptor test for booster-m
"""
count = self.get_file_descriptor("booster-m","m")
self.assert_(count != 0, "None of the file descriptors were changed")
def test_016_fd_booster_q(self):
def test_015_fd_booster_q(self):
"""
File descriptor test for booster-q
"""

@ -76,12 +76,12 @@
<step>/usr/bin/waitloadavg.rb -l 1.0 -p 1.0 -t 120</step>
</pre_steps>
<case name="fd-booster-m" type="Functional" description="File descriptor test for booster-m" timeout="120" 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_015_fd_booster_m</step>
<case name="fd-booster-m" type="Functional" description="File descriptor test for booster-m" timeout="120" 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_014_fd_booster_m</step>
</case>
<case name="fd-booster-m" type="Functional" description="File descriptor test for booster-q" timeout="120" 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_016_fd_booster_q</step>
<case name="fd-booster-q" type="Functional" description="File descriptor test for booster-q" timeout="120" 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_015_fd_booster_q</step>
</case>
<environments>

@ -43,10 +43,6 @@
<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>

Loading…
Cancel
Save