1 /* 2 * Copyright (C) 2008 The Android Open Source Project 3 * 4 * Licensed under the Eclipse Public License, Version 1.0 (the "License"); you 5 * may not use this file except in compliance with the License. You may obtain a 6 * copy of the License at 7 * 8 * http://www.eclipse.org/org/documents/epl-v10.php 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, WITHOUT 12 * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the 13 * License for the specific language governing permissions and limitations under 14 * the License. 15 */ 16 package com.android.ide.eclipse.tests; 17 18 import com.android.ide.eclipse.tests.functests.layoutRendering.ApiDemosRenderingTest; 19 20 import junit.framework.TestSuite; 21 22 /** 23 * Container TestSuite for all eclipse tests to be run 24 */ 25 26 public class FuncTests extends TestSuite { 27 28 static final String FUNC_TEST_PACKAGE = "com.android.ide.eclipse.tests.functests"; 29 FuncTests()30 public FuncTests() { 31 32 } 33 34 /** 35 * Returns a suite of test cases to be run. 36 * Needed for JUnit3 compliant command line test runner 37 */ suite()38 public static TestSuite suite() { 39 TestSuite suite = new TestSuite(); 40 41 // TODO: uncomment this when 'gen' folder error on create is fixed 42 // suite.addTestSuite(SampleProjectTest.class); 43 suite.addTestSuite(ApiDemosRenderingTest.class); 44 45 return suite; 46 } 47 48 } 49