13e44ff1f2a204db3f479698cf0b3eab3d451dec2Bjorn Bringert/* 23e44ff1f2a204db3f479698cf0b3eab3d451dec2Bjorn Bringert * Copyright (C) 2009 The Android Open Source Project 33e44ff1f2a204db3f479698cf0b3eab3d451dec2Bjorn Bringert * 43e44ff1f2a204db3f479698cf0b3eab3d451dec2Bjorn Bringert * Licensed under the Apache License, Version 2.0 (the "License"); 53e44ff1f2a204db3f479698cf0b3eab3d451dec2Bjorn Bringert * you may not use this file except in compliance with the License. 63e44ff1f2a204db3f479698cf0b3eab3d451dec2Bjorn Bringert * You may obtain a copy of the License at 73e44ff1f2a204db3f479698cf0b3eab3d451dec2Bjorn Bringert * 83e44ff1f2a204db3f479698cf0b3eab3d451dec2Bjorn Bringert * http://www.apache.org/licenses/LICENSE-2.0 93e44ff1f2a204db3f479698cf0b3eab3d451dec2Bjorn Bringert * 103e44ff1f2a204db3f479698cf0b3eab3d451dec2Bjorn Bringert * Unless required by applicable law or agreed to in writing, software 113e44ff1f2a204db3f479698cf0b3eab3d451dec2Bjorn Bringert * distributed under the License is distributed on an "AS IS" BASIS, 123e44ff1f2a204db3f479698cf0b3eab3d451dec2Bjorn Bringert * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 133e44ff1f2a204db3f479698cf0b3eab3d451dec2Bjorn Bringert * See the License for the specific language governing permissions and 143e44ff1f2a204db3f479698cf0b3eab3d451dec2Bjorn Bringert * limitations under the License. 153e44ff1f2a204db3f479698cf0b3eab3d451dec2Bjorn Bringert */ 163e44ff1f2a204db3f479698cf0b3eab3d451dec2Bjorn Bringertpackage com.android.quicksearchbox; 173e44ff1f2a204db3f479698cf0b3eab3d451dec2Bjorn Bringert 183e44ff1f2a204db3f479698cf0b3eab3d451dec2Bjorn Bringertimport android.test.ActivityInstrumentationTestCase2; 193e44ff1f2a204db3f479698cf0b3eab3d451dec2Bjorn Bringert 203e44ff1f2a204db3f479698cf0b3eab3d451dec2Bjorn Bringert/** 213e44ff1f2a204db3f479698cf0b3eab3d451dec2Bjorn Bringert * This is a simple framework for a test of an Application. See 223e44ff1f2a204db3f479698cf0b3eab3d451dec2Bjorn Bringert * {@link android.test.ApplicationTestCase ApplicationTestCase} for more information on 233e44ff1f2a204db3f479698cf0b3eab3d451dec2Bjorn Bringert * how to write and extend Application tests. 243e44ff1f2a204db3f479698cf0b3eab3d451dec2Bjorn Bringert * <p/> 253e44ff1f2a204db3f479698cf0b3eab3d451dec2Bjorn Bringert * To run this test, you can type: 263e44ff1f2a204db3f479698cf0b3eab3d451dec2Bjorn Bringert * adb shell am instrument -w \ 273e44ff1f2a204db3f479698cf0b3eab3d451dec2Bjorn Bringert * -e class com.android.quicksearchbox.SearchActivityTest \ 283e44ff1f2a204db3f479698cf0b3eab3d451dec2Bjorn Bringert * com.android.quicksearchbox.tests/android.test.InstrumentationTestRunner 293e44ff1f2a204db3f479698cf0b3eab3d451dec2Bjorn Bringert */ 303e44ff1f2a204db3f479698cf0b3eab3d451dec2Bjorn Bringertpublic class SearchActivityTest extends ActivityInstrumentationTestCase2<SearchActivity> { 313e44ff1f2a204db3f479698cf0b3eab3d451dec2Bjorn Bringert 323e44ff1f2a204db3f479698cf0b3eab3d451dec2Bjorn Bringert public SearchActivityTest() { 333e6381e417d5aff74a37c22a7300b1e30f2b1a86Bryan Mawhinney super(SearchActivity.class); 343e44ff1f2a204db3f479698cf0b3eab3d451dec2Bjorn Bringert } 353e44ff1f2a204db3f479698cf0b3eab3d451dec2Bjorn Bringert 363e44ff1f2a204db3f479698cf0b3eab3d451dec2Bjorn Bringert} 37