blob: 2e299459673c2a69669e1185aa69889f6633d152 [file] [log] [blame]
Alexandre Savardac14f722012-08-30 14:50:47 -04001/**
2 * Copyright (C) 2004-2012 Savoir-Faire Linux Inc.
3 *
4 * Author: Alexandre Savard <alexandre.savard@savoirfairelinux.com>
5 *
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation; either version 3 of the License, or
9 * (at your option) any later version.
10 *
11 * This program is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 * GNU General Public License for more details.
15 *
16 * You should have received a copy of the GNU General Public License
17 * along with this program; if not, write to the Free Software
18 * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
19 *
20 * Additional permission under GNU GPL version 3 section 7:
21 *
22 * If you modify this program, or any covered work, by linking or
23 * combining it with the OpenSSL project's OpenSSL library (or a
24 * modified version of that library), containing parts covered by the
25 * terms of the OpenSSL or SSLeay licenses, Savoir-Faire Linux Inc.
26 * grants you additional permission to convey the resulting work.
27 * Corresponding Source for a non-source form of such a combination
28 * shall include the source code for the parts of OpenSSL used as well
29 * as that of the covered work.
30 */
31
Alexandre Savardb765bb32012-08-29 15:05:31 -040032package com.savoirfairelinux.sflphone;
33
34import android.test.ActivityInstrumentationTestCase2;
35
Alexandre Savardb3feccc2012-08-29 16:26:20 -040036import com.savoirfairelinux.sflphone.client.SFLPhoneHome;
37
Alexandre Savardb765bb32012-08-29 15:05:31 -040038/**
39 * This is a simple framework for a test of an Application. See
40 * {@link android.test.ApplicationTestCase ApplicationTestCase} for more information on
41 * how to write and extend Application tests.
42 * <p/>
43 * To run this test, you can type:
44 * adb shell am instrument -w \
45 * -e class com.savoirfairelinux.sflphone.client.SFLPhoneHomeTest \
46 * com.savoirfairelinux.sflphone.tests/android.test.InstrumentationTestRunner
47 */
48public class SFLPhoneHomeTest extends ActivityInstrumentationTestCase2<SFLPhoneHome> {
49
Alexandre Savardac14f722012-08-30 14:50:47 -040050 private SFLPhoneHome mActivity;
51
Alexandre Savardb765bb32012-08-29 15:05:31 -040052 public SFLPhoneHomeTest() {
53 super("com.savoirfairelinux.sflphone", SFLPhoneHome.class);
54 }
55
Alexandre Savardac14f722012-08-30 14:50:47 -040056 @Override
57 protected void setUp() throws Exception {
58 super.setUp();
59
60 setActivityInitialTouchMode(false);
61
62 mActivity = getActivity();
63 }
Alexandre Savardb765bb32012-08-29 15:05:31 -040064}