~mir-team/ubuntu-app-launch/mir-release-0.14.0

« back to all changes in this revision

Viewing changes to tests/ubuntu-app-launch-mock.c

  • Committer: Ted Gould
  • Date: 2014-04-30 16:18:29 UTC
  • mto: This revision was merged to the branch mainline in revision 150.
  • Revision ID: ted@gould.cx-20140430161829-xlmg4oauodcopo3f
Adjusting tests

Show diffs side-by-side

added added

removed removed

Lines of Context:
17
17
 *     Ted Gould <ted.gould@canonical.com>
18
18
 */
19
19
 
20
 
#include "upstart-app-launch.h"
21
 
#include "upstart-app-launch-mock.h"
 
20
#include "ubuntu-app-launch.h"
 
21
#include "ubuntu-app-launch-mock.h"
22
22
 
23
23
static GPid primary_pid = 0;
24
24
static gchar * primary_pid_appid = NULL;
25
25
 
26
26
GPid
27
 
upstart_app_launch_get_primary_pid (const gchar * appid)
 
27
ubuntu_app_launch_get_primary_pid (const gchar * appid)
28
28
{
29
29
        g_free(primary_pid_appid);
30
30
        primary_pid_appid = g_strdup(appid);
32
32
}
33
33
 
34
34
void
35
 
upstart_app_launch_mock_set_primary_pid (GPid pid)
 
35
ubuntu_app_launch_mock_set_primary_pid (GPid pid)
36
36
{
37
37
        primary_pid = pid;
38
38
        return;