Browse Source

Readded "extends junit.framework.TestCase" to all Tests to make them still work on ant 1.6.5


git-svn-id: http://svn.dmdirc.com/trunk@2657 00569f92-eb28-0410-84fd-f71c24880f
tags/0.5.5
Shane Mc Cormack 16 years ago
parent
commit
9eae9f9557

+ 1
- 1
test/com/dmdirc/ProgramErrorTest.java View File

33
 import org.junit.Test;
33
 import org.junit.Test;
34
 import static org.junit.Assert.*;
34
 import static org.junit.Assert.*;
35
 
35
 
36
-public class ProgramErrorTest {
36
+public class ProgramErrorTest extends junit.framework.TestCase {
37
     
37
     
38
     private ErrorLevel level;
38
     private ErrorLevel level;
39
     private String message;
39
     private String message;

+ 1
- 1
test/com/dmdirc/ServerManagerTest.java View File

29
 import org.junit.Test;
29
 import org.junit.Test;
30
 import static org.junit.Assert.*;
30
 import static org.junit.Assert.*;
31
 
31
 
32
-public class ServerManagerTest {
32
+public class ServerManagerTest extends junit.framework.TestCase {
33
         
33
         
34
     @Before
34
     @Before
35
     public void setUp() throws Exception {
35
     public void setUp() throws Exception {

+ 1
- 1
test/com/dmdirc/ServerTest.java View File

25
 import org.junit.Test;
25
 import org.junit.Test;
26
 import static org.junit.Assert.*;
26
 import static org.junit.Assert.*;
27
 
27
 
28
-public class ServerTest {
28
+public class ServerTest extends junit.framework.TestCase {
29
 
29
 
30
     @Test
30
     @Test
31
     public void getNetworkFromServerName() {
31
     public void getNetworkFromServerName() {

+ 1
- 1
test/com/dmdirc/StringTranscoderTest.java View File

29
 import org.junit.Test;
29
 import org.junit.Test;
30
 import static org.junit.Assert.*;
30
 import static org.junit.Assert.*;
31
 
31
 
32
-public class StringTranscoderTest {
32
+public class StringTranscoderTest extends junit.framework.TestCase {
33
 
33
 
34
     @Test
34
     @Test
35
     public void testTranscode() {
35
     public void testTranscode() {

+ 1
- 1
test/com/dmdirc/WritableFrameContainerTest.java View File

27
 import org.junit.Test;
27
 import org.junit.Test;
28
 import static org.junit.Assert.*;
28
 import static org.junit.Assert.*;
29
 
29
 
30
-public class WritableFrameContainerTest {
30
+public class WritableFrameContainerTest extends junit.framework.TestCase {
31
     
31
     
32
     @Test
32
     @Test
33
     public void testGetNumLines() {
33
     public void testGetNumLines() {

+ 1
- 1
test/com/dmdirc/actions/ActionModelTest.java View File

27
 import org.junit.Test;
27
 import org.junit.Test;
28
 import static org.junit.Assert.*;
28
 import static org.junit.Assert.*;
29
 
29
 
30
-public class ActionModelTest {
30
+public class ActionModelTest extends junit.framework.TestCase {
31
 
31
 
32
     /*@Test
32
     /*@Test
33
     public void trigger() {
33
     public void trigger() {

+ 1
- 1
test/com/dmdirc/actions/ConditionTreeTest.java View File

25
 import org.junit.Test;
25
 import org.junit.Test;
26
 import static org.junit.Assert.*;
26
 import static org.junit.Assert.*;
27
 
27
 
28
-public class ConditionTreeTest {
28
+public class ConditionTreeTest extends junit.framework.TestCase {
29
 
29
 
30
     @Test
30
     @Test
31
     public void parseString() {
31
     public void parseString() {

+ 1
- 1
test/com/dmdirc/commandline/IrcAddressTest.java View File

25
 import org.junit.Test;
25
 import org.junit.Test;
26
 import static org.junit.Assert.*;
26
 import static org.junit.Assert.*;
27
 
27
 
28
-public class IrcAddressTest {
28
+public class IrcAddressTest extends junit.framework.TestCase {
29
     
29
     
30
     @Test
30
     @Test
31
     public void testBasic() {
31
     public void testBasic() {

+ 1
- 1
test/com/dmdirc/commandparser/parsers/GlobalCommandParserTest.java View File

27
 import org.junit.Test;
27
 import org.junit.Test;
28
 import static org.junit.Assert.*;
28
 import static org.junit.Assert.*;
29
 
29
 
30
-public class GlobalCommandParserTest {
30
+public class GlobalCommandParserTest extends junit.framework.TestCase {
31
     
31
     
32
     @Before
32
     @Before
33
     public void setUp() throws Exception {
33
     public void setUp() throws Exception {

+ 1
- 1
test/com/dmdirc/config/ConfigTargetTest.java View File

25
 import org.junit.Test;
25
 import org.junit.Test;
26
 import static org.junit.Assert.*;
26
 import static org.junit.Assert.*;
27
 
27
 
28
-public class ConfigTargetTest {
28
+public class ConfigTargetTest extends junit.framework.TestCase {
29
     
29
     
30
     @Test
30
     @Test
31
     public void testDefault() {
31
     public void testDefault() {

+ 1
- 1
test/com/dmdirc/config/IdentityManagerTest.java View File

26
 import org.junit.Test;
26
 import org.junit.Test;
27
 import static org.junit.Assert.*;
27
 import static org.junit.Assert.*;
28
 
28
 
29
-public class IdentityManagerTest {
29
+public class IdentityManagerTest extends junit.framework.TestCase {
30
 
30
 
31
     @Before
31
     @Before
32
     public void setUp() throws Exception {        
32
     public void setUp() throws Exception {        

+ 1
- 1
test/com/dmdirc/config/IdentityTest.java View File

29
 import org.junit.Test;
29
 import org.junit.Test;
30
 import static org.junit.Assert.*;
30
 import static org.junit.Assert.*;
31
 
31
 
32
-public class IdentityTest {
32
+public class IdentityTest extends junit.framework.TestCase {
33
     
33
     
34
     private Identity myIdent;
34
     private Identity myIdent;
35
     private ConfigTarget target;
35
     private ConfigTarget target;

+ 1
- 1
test/com/dmdirc/config/InvalidIdentityFileExceptionTest.java View File

25
 import org.junit.Test;
25
 import org.junit.Test;
26
 import static org.junit.Assert.*;
26
 import static org.junit.Assert.*;
27
 
27
 
28
-public class InvalidIdentityFileExceptionTest {
28
+public class InvalidIdentityFileExceptionTest extends junit.framework.TestCase {
29
 
29
 
30
     @Test
30
     @Test
31
     public void testMessage() {
31
     public void testMessage() {

+ 1
- 1
test/com/dmdirc/parser/ClientInfoTest.java View File

28
 import org.junit.Test;
28
 import org.junit.Test;
29
 import static org.junit.Assert.*;
29
 import static org.junit.Assert.*;
30
 
30
 
31
-public class ClientInfoTest {
31
+public class ClientInfoTest extends junit.framework.TestCase {
32
     
32
     
33
     @Test
33
     @Test
34
     public void testMap() {
34
     public void testMap() {

+ 1
- 1
test/com/dmdirc/parser/IRCParserTest.java View File

28
 import org.junit.Test;
28
 import org.junit.Test;
29
 import static org.junit.Assert.*;
29
 import static org.junit.Assert.*;
30
 
30
 
31
-public class IRCParserTest {
31
+public class IRCParserTest extends junit.framework.TestCase {
32
     
32
     
33
     @Test
33
     @Test
34
     public void testIssue042() {
34
     public void testIssue042() {

+ 1
- 1
test/com/dmdirc/parser/ServerInfoTest.java View File

25
 import org.junit.Test;
25
 import org.junit.Test;
26
 import static org.junit.Assert.*;
26
 import static org.junit.Assert.*;
27
 
27
 
28
-public class ServerInfoTest {
28
+public class ServerInfoTest extends junit.framework.TestCase {
29
     
29
     
30
     @Test
30
     @Test
31
     public void testHost() {
31
     public void testHost() {

+ 1
- 1
test/com/dmdirc/ui/messages/ColourManagerTest.java View File

30
 import org.junit.Test;
30
 import org.junit.Test;
31
 import static org.junit.Assert.*;
31
 import static org.junit.Assert.*;
32
 
32
 
33
-public class ColourManagerTest {
33
+public class ColourManagerTest extends junit.framework.TestCase {
34
     
34
     
35
     @Before
35
     @Before
36
     public void setUp() throws Exception {
36
     public void setUp() throws Exception {

+ 1
- 1
test/com/dmdirc/ui/messages/StyliserTest.java View File

27
 import org.junit.Test;
27
 import org.junit.Test;
28
 import static org.junit.Assert.*;
28
 import static org.junit.Assert.*;
29
 
29
 
30
-public class StyliserTest {
30
+public class StyliserTest extends junit.framework.TestCase {
31
     
31
     
32
     @Before
32
     @Before
33
     public void setUp() {
33
     public void setUp() {

+ 1
- 1
test/com/dmdirc/updater/UpdateTest.java View File

26
 import org.junit.Test;
26
 import org.junit.Test;
27
 import static org.junit.Assert.*;
27
 import static org.junit.Assert.*;
28
 
28
 
29
-public class UpdateTest {
29
+public class UpdateTest extends junit.framework.TestCase {
30
     
30
     
31
     private final String subject = "outofdate component channel date version url";
31
     private final String subject = "outofdate component channel date version url";
32
     
32
     

Loading…
Cancel
Save