1 /* 2 * Copyright (C) 2009 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.groovytests.TestGroovy; 19 20 import junit.framework.TestSuite; 21 22 /** 23 * Container TestSuite for groovy tests to be run 24 */ 25 26 public class GroovyTestsSuite extends TestSuite { 27 28 static final String GROOVY_TEST_PACKAGE = "com.android.ide.eclipse.tests.groovytests"; 29 30 public GroovyTestsSuite() { 31 32 } 33 34 /** 35 * Returns a suite of test cases to be run. 36 * Needed for JUnit3 compliant command line test runner 37 */ 38 public static TestSuite suite() { 39 TestSuite suite = new TestSuite(); 40 41 suite.addTestSuite(TestGroovy.class); 42 43 return suite; 44 } 45 46 } 47