2 * Copyright (C) 2007 The Android Open Source Project
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
8 * http://www.apache.org/licenses/LICENSE-2.0
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
17 package com.android.calendar.tests;
19 import android.app.Activity;
20 import android.test.LaunchPerformanceBase;
21 import android.os.Bundle;
26 * Instrumentation class for Browser launch performance testing.
28 public class CalendarLaunchPerformance extends LaunchPerformanceBase {
30 public static final String LOG_TAG = "CalendarLaunchPerformance";
32 public CalendarLaunchPerformance() {
37 public void onCreate(Bundle arguments) {
38 super.onCreate(arguments);
40 mIntent.setClassName(getTargetContext(), "com.android.calendar.LaunchActivity");
45 * Calls LaunchApp and finish.
48 public void onStart() {
51 finish(Activity.RESULT_OK, mResults);