f5e97e157ad0c27e8fb539c8dfc09b051be666f1
[platform/framework/web/crosswalk.git] / src / xwalk / test / android / runtime_client / javatests / src / org / xwalk / runtime / client / test / PauseResumeTest.java
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Copyright (c) 2013 Intel Corporation. All rights reserved.
3 // Use of this source code is governed by a BSD-style license that can be
4 // found in the LICENSE file.
5
6 package org.xwalk.runtime.client.test;
7
8 import android.test.suitebuilder.annotation.SmallTest;
9 import org.chromium.base.test.util.Feature;
10 import org.xwalk.runtime.client.shell.XWalkRuntimeClientShellActivity;
11 import org.xwalk.test.util.RuntimeClientApiTestBase;
12
13 /**
14  * Test suite for onPause(), onResume().
15  */
16 public class PauseResumeTest extends XWalkRuntimeClientTestBase {
17
18     @SmallTest
19     @Feature({"PauseResume"})
20     public void testPauseAndResume() throws Throwable {
21         RuntimeClientApiTestBase<XWalkRuntimeClientShellActivity> helper =
22                 new RuntimeClientApiTestBase<XWalkRuntimeClientShellActivity>(
23                         getTestUtil(), this);
24         helper.testPauseAndResume();
25     }
26 }