/*
 * Copyright 2016 Matthew Tamlin
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

package com.matthewtamlin.android_utilities.testing;

import android.annotation.SuppressLint;
import android.content.Intent;
import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;
import android.view.View;
import android.widget.Button;
import android.widget.LinearLayout;

/**
 * Provides access to the test harnesses.
 */
@SuppressLint("SetTextI18n")
public class LauncherActivity extends AppCompatActivity {
	@Override
	protected void onCreate(final Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.launcher_activity);

		final LinearLayout rootView = (LinearLayout) findViewById(R.id.launcher_activity_root);
		rootView.addView(createLaunchStatusBarHelperTestHarnessButton());
	}

	private Button createLaunchStatusBarHelperTestHarnessButton() {
		final Button b = new Button(this);
		b.setText("Launch StatusBarHelper test harness");

		b.setOnClickListener(new View.OnClickListener() {
			@Override
			public void onClick(final View view) {
				startActivity(new Intent(LauncherActivity.this, StatusBarHelperTestHarness.class));
			}
		});

		return b;
	}
}
@@ -889,471 +889,322 @@
 t;%0A%0A
-/**%0A * Provides access to the test harnesses.%0A */%0A@SuppressLint(%22SetTextI18n%22)%0Apublic class LauncherActivity extends AppCompatActivity %7B%0A%09@Override%0A%09protected void onCreate(final Bundle savedInstanceState) %7B%0A%09%09super.onCreate(savedInstanceState);%0A%09%09setContentView(R.layout.launcher_activity);%0A%0A%09%09final LinearLayout rootView = (LinearLayout) findViewById(R.id.launcher_activity_root);%0A%09%09rootView.addView(createLaunchStatusBarHelperTestHarnessButton());%0A%09%7D%0A%0A%09private
+import com.matthewtamlin.android_testing_tools.library.harnesses.Control;%0Aimport com.matthewtamlin.android_testing_tools.library.harnesses.EmptyTestHarness;%0A%0A/**%0A * Provides access to the test harnesses.%0A */%0A@SuppressLint(%22SetTextI18n%22)%0Apublic class LauncherActivity extends EmptyTestHarness %7B%0A%09@Control(1)%0A%09public
  But

Switch to test harness for superclass