1 /* 2 * Copyright (C) 2019 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 com.android.test.protoinputstream; 18 19 import junit.framework.TestSuite; 20 21 public class ProtoTests { suite()22 public static TestSuite suite() { 23 TestSuite suite = new TestSuite(ProtoTests.class.getName()); 24 25 suite.addTestSuite(ProtoInputStreamDoubleTest.class); 26 suite.addTestSuite(ProtoInputStreamFloatTest.class); 27 suite.addTestSuite(ProtoInputStreamInt32Test.class); 28 suite.addTestSuite(ProtoInputStreamInt64Test.class); 29 suite.addTestSuite(ProtoInputStreamUInt32Test.class); 30 suite.addTestSuite(ProtoInputStreamUInt64Test.class); 31 suite.addTestSuite(ProtoInputStreamSInt32Test.class); 32 suite.addTestSuite(ProtoInputStreamSInt64Test.class); 33 suite.addTestSuite(ProtoInputStreamFixed32Test.class); 34 suite.addTestSuite(ProtoInputStreamFixed64Test.class); 35 suite.addTestSuite(ProtoInputStreamSFixed32Test.class); 36 suite.addTestSuite(ProtoInputStreamSFixed64Test.class); 37 suite.addTestSuite(ProtoInputStreamBoolTest.class); 38 suite.addTestSuite(ProtoInputStreamStringTest.class); 39 suite.addTestSuite(ProtoInputStreamBytesTest.class); 40 suite.addTestSuite(ProtoInputStreamEnumTest.class); 41 suite.addTestSuite(ProtoInputStreamObjectTest.class); 42 suite.addTestSuite(ProtoInputStreamIncompleteValueTest.class); 43 44 return suite; 45 } 46 } 47