~osomon/moovida/plugin_dependencies_graph

« back to all changes in this revision

Viewing changes to elisa-core/elisa/core/tests/test_launcher.py

  • Committer: Olivier Tilloy
  • Date: 2009-06-04 10:32:06 UTC
  • mfrom: (1074.1.315 relook)
  • Revision ID: olivier@fluendo.com-20090604103206-6ql519mywkfcog6z
Merged the latest moovida.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
#!/usr/bin/python
2
2
# -*- coding: utf-8 -*-
3
 
# Elisa - Home multimedia server
4
 
# Copyright (C) 2007-2008 Fluendo Embedded S.L. (www.fluendo.com).
 
3
# Moovida - Home multimedia server
 
4
# Copyright (C) 2007-2009 Fluendo Embedded S.L. (www.fluendo.com).
5
5
# All rights reserved.
6
6
#
7
7
# This file is available under one of two license agreements.
8
8
#
9
9
# This file is licensed under the GPL version 3.
10
10
# See "LICENSE.GPL" in the root of this distribution including a special
11
 
# exception to use Elisa with Fluendo's plugins.
 
11
# exception to use Moovida with Fluendo's plugins.
12
12
#
13
 
# The GPL part of Elisa is also available under a commercial licensing
 
13
# The GPL part of Moovida is also available under a commercial licensing
14
14
# agreement from Fluendo.
15
 
# See "LICENSE.Elisa" in the root directory of this distribution package
 
15
# See "LICENSE.Moovida" in the root directory of this distribution package
16
16
# for details on that license.
17
17
#
18
18
# Author: Alessandro Decina <alessandro@fluendo.com>
48
48
 
49
49
    def get_installation_path(self):
50
50
        # this is called only when platform == 'Windows'
51
 
        return 'c:\\Program Files\\Elisa\\'
 
51
        return 'c:\\Program Files\\Elisa-0.9\\'
52
52
 
53
53
    def main_before_voodoo(self):
54
54
        # we want to test this differently, we don't want to mess the whole
110
110
        self.failIfEqual(env, original_env)
111
111
 
112
112
        value = env['PATH']
113
 
        self.failUnlessEqual(value.split(os.path.pathsep)[0],
 
113
        path = value.split(os.path.pathsep)
 
114
        self.failUnlessEqual(path[len(path)-1],
114
115
                original_env['PATH'])
 
116
        
115
117
        value = env['PGM_PLUGIN_PATH']
116
118
        self.failUnlessEqual(value.split(os.path.pathsep)[0],
117
119
                original_env['PGM_PLUGIN_PATH'])