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,7 +33,7 @@ import org.junit.Before;
33 33
 import org.junit.Test;
34 34
 import static org.junit.Assert.*;
35 35
 
36
-public class ProgramErrorTest {
36
+public class ProgramErrorTest extends junit.framework.TestCase {
37 37
     
38 38
     private ErrorLevel level;
39 39
     private String message;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

@@ -28,7 +28,7 @@ import com.dmdirc.parser.callbacks.interfaces.IAwayState;
28 28
 import org.junit.Test;
29 29
 import static org.junit.Assert.*;
30 30
 
31
-public class IRCParserTest {
31
+public class IRCParserTest extends junit.framework.TestCase {
32 32
     
33 33
     @Test
34 34
     public void testIssue042() {

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

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

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

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

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

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

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

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

Loading…
Cancel
Save