Fixes warnings in test/.

This commit is contained in:
lubomir.marinov 2010-06-25 06:43:19 +00:00
parent 579782bb0a
commit 5dd7a39257
10 changed files with 0 additions and 25 deletions

View File

@ -7,17 +7,14 @@
package org.ice4j.attribute;
import org.ice4j.*;
import org.ice4j.attribute.*;
import junit.framework.*;
/**
* We have already tested individual decode methods, so our job here
* is to verify that that AttributeDecoder.decode distributes the right way.
*/
public class AttributeDecoderTest extends TestCase {
private AttributeDecoder attributeDecoder = null;
private MsgFixture msgFixture;
private byte[] expectedAttributeValue = null;
@ -28,7 +25,6 @@ public class AttributeDecoderTest extends TestCase {
protected void setUp() throws Exception {
super.setUp();
attributeDecoder = new AttributeDecoder();
msgFixture = new MsgFixture();
//init a sample body
@ -43,7 +39,6 @@ public class AttributeDecoderTest extends TestCase {
}
protected void tearDown() throws Exception {
attributeDecoder = null;
msgFixture.tearDown();
msgFixture = null;
@ -118,7 +113,6 @@ public class AttributeDecoderTest extends TestCase {
}
public void testDecodeErrorCode()
throws Exception
{
@ -186,8 +180,4 @@ public class AttributeDecoderTest extends TestCase {
expectedReturn, actualReturn);
}
}

View File

@ -11,7 +11,6 @@ import junit.framework.*;
import java.util.Arrays;
import org.ice4j.*;
import org.ice4j.attribute.*;
public class ChangeRequestAttributeTest extends TestCase {
private ChangeRequestAttribute changeRequestAttribute = null;

View File

@ -11,7 +11,6 @@ import junit.framework.*;
import java.util.Arrays;
import org.ice4j.*;
import org.ice4j.attribute.*;
/**
*

View File

@ -11,7 +11,6 @@ import junit.framework.*;
import java.util.*;
import org.ice4j.*;
import org.ice4j.attribute.*;
/**
* Tests the nonce attribute class.

View File

@ -11,7 +11,6 @@ import junit.framework.*;
import java.util.Arrays;
import org.ice4j.*;
import org.ice4j.attribute.*;
/**
* @author Emil Ivov

View File

@ -11,7 +11,6 @@ import junit.framework.*;
import java.util.*;
import org.ice4j.*;
import org.ice4j.attribute.*;
/**
* Tests the realm attribute class.

View File

@ -11,7 +11,6 @@ import junit.framework.*;
import java.util.*;
import org.ice4j.*;
import org.ice4j.attribute.*;
/**
* Tests the software attribute class.

View File

@ -11,7 +11,6 @@ import junit.framework.*;
import java.util.*;
import org.ice4j.*;
import org.ice4j.attribute.*;
public class UnknownAttributesAttributeTest extends TestCase {
private UnknownAttributesAttribute unknownAttributesAttribute = null;

View File

@ -11,7 +11,6 @@ import junit.framework.*;
import java.util.*;
import org.ice4j.*;
import org.ice4j.attribute.*;
/**
* @author Emil Ivov

View File

@ -16,7 +16,6 @@ import org.ice4j.attribute.*;
public class MessageTest extends TestCase {
private Message bindingRequest = null;
private Message bindingResponse = null;
private Message bindingErrorResponse = null;
private MappedAddressAttribute mappedAddress = null;
private SourceAddressAttribute sourceAddress = null;
@ -24,9 +23,6 @@ public class MessageTest extends TestCase {
private ChangeRequestAttribute changeRequest = null;
private ErrorCodeAttribute errorCodeAttribute = null;
private UnknownAttributesAttribute unknownAttributesAttribute = null;
private MsgFixture msgFixture;
protected void setUp() throws Exception {
@ -76,13 +72,10 @@ public class MessageTest extends TestCase {
{
bindingRequest = null;
bindingResponse = null;
bindingErrorResponse = null;
mappedAddress = null;
sourceAddress = null;
changedAddress = null;
changeRequest = null;
errorCodeAttribute = null;
unknownAttributesAttribute = null;
changeRequest = null;
msgFixture.tearDown();