1 /* 2 * Copyright (C) 2015 The Android Open Source Project 3 * 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 7 * 8 * http://www.apache.org/licenses/LICENSE-2.0 9 * 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. 15 */ 16 17 package vogar; 18 19 import org.junit.runner.RunWith; 20 import org.junit.runners.Suite; 21 import org.junit.runners.Suite.SuiteClasses; 22 import vogar.android.DeviceRuntimeAdbTargetTest; 23 import vogar.android.DeviceRuntimeSshTargetTest; 24 import vogar.android.HostRuntimeLocalTargetTest; 25 import vogar.target.AssertTest; 26 import vogar.target.JUnitRunnerTest; 27 import vogar.target.TestRunnerTest; 28 29 /** 30 * Run the selection of tests that we know work. 31 * 32 * <p>This is needed as some of the tests do not run on the host. The tests will be removed if/when 33 * we switch over to use standard JUnit. 34 */ 35 @SuiteClasses({ 36 AssertTest.class, 37 DeviceRuntimeAdbTargetTest.class, 38 DeviceRuntimeSshTargetTest.class, 39 HostRuntimeLocalTargetTest.class, 40 JUnitRunnerTest.class, 41 ScriptBuilderEscapingTest.class, 42 TestRunnerTest.class, 43 }) 44 @RunWith(Suite.class) 45 public class AllTests { 46 } 47