1 package com.puppycrawl.tools.checkstyle.checks.coding; 2 3 import junit.framework.*; 4 5 public class InputJUnitTest extends TestCase 6 { 7 public static Test suite() { return new TestSuite(""); } protected void setUp() {} public void tearDown() {} } 11 12 class BadTest1 extends TestCase 13 { 14 private void setUp() {} public static void tearDown() {} static Test suite() { return new TestSuite(""); } } 18 19 class BadTest2 extends TestCase 20 { 21 public void SetUp() {} public int tearDown() {} public static Test[] suite() {} } 25 26 class BadTest3 extends TestCase 27 { 28 public void setUp(int i) {} public void tear_down() {} public Test suite() { return new TestSuite(""); } public void tearDown(int i) {} } 33 | Popular Tags |