aboutsummaryrefslogtreecommitdiffstats
path: root/test/net/java/sip/communicator/slick
diff options
context:
space:
mode:
Diffstat (limited to 'test/net/java/sip/communicator/slick')
-rw-r--r--test/net/java/sip/communicator/slick/protocol/icq/TestOperationSetBasicInstantMessaging.java6
-rw-r--r--test/net/java/sip/communicator/slick/protocol/sip/TestAccountUninstallation.java2
-rw-r--r--test/net/java/sip/communicator/slick/slickless/util/TestBase64.java14
3 files changed, 8 insertions, 14 deletions
diff --git a/test/net/java/sip/communicator/slick/protocol/icq/TestOperationSetBasicInstantMessaging.java b/test/net/java/sip/communicator/slick/protocol/icq/TestOperationSetBasicInstantMessaging.java
index 053b471..8497235 100644
--- a/test/net/java/sip/communicator/slick/protocol/icq/TestOperationSetBasicInstantMessaging.java
+++ b/test/net/java/sip/communicator/slick/protocol/icq/TestOperationSetBasicInstantMessaging.java
@@ -428,9 +428,9 @@ public class TestOperationSetBasicInstantMessaging
}
- //the follwoing methods only have dummy implementations here as they
- //do not interest us. complete implementatios are provider in the
- //basic instant messaging operation set.
+ // The following methods only have dummy implementations here as they do
+ // not interest us. Complete implementations are provided in the basic
+ // instant messaging operation set.
public void buddyInfoUpdated(IcbmService service, Screenname buddy,
IcbmBuddyInfo info){}
public void conversationClosed(Conversation c){}
diff --git a/test/net/java/sip/communicator/slick/protocol/sip/TestAccountUninstallation.java b/test/net/java/sip/communicator/slick/protocol/sip/TestAccountUninstallation.java
index defd4e4..ae29edf 100644
--- a/test/net/java/sip/communicator/slick/protocol/sip/TestAccountUninstallation.java
+++ b/test/net/java/sip/communicator/slick/protocol/sip/TestAccountUninstallation.java
@@ -141,7 +141,7 @@ public class TestAccountUninstallation
= fixture.findProtocolProviderBundle(fixture.provider1);
//set the global providerBundle reference that we will be using
- //in the last series of tests (Account uninstallation persistency)
+ //in the last series of tests (Account uninstallation persistence)
SipSlickFixture.providerBundle = providerBundle;
assertNotNull("Couldn't find a bundle for the tested provider"
diff --git a/test/net/java/sip/communicator/slick/slickless/util/TestBase64.java b/test/net/java/sip/communicator/slick/slickless/util/TestBase64.java
index 9ac5450..9c59360 100644
--- a/test/net/java/sip/communicator/slick/slickless/util/TestBase64.java
+++ b/test/net/java/sip/communicator/slick/slickless/util/TestBase64.java
@@ -17,8 +17,6 @@ import net.java.sip.communicator.util.*;
*/
public class TestBase64 extends TestCase
{
- private Base64 base64 = null;
-
/**
* Create a TestBase64 wrapper over the test with the specified name.
* @param name the name of the test to run
@@ -35,8 +33,6 @@ public class TestBase64 extends TestCase
protected void setUp() throws Exception
{
super.setUp();
- base64 = new Base64();
-
}
/**
@@ -45,8 +41,6 @@ public class TestBase64 extends TestCase
*/
protected void tearDown() throws Exception
{
- base64 = null;
-
super.tearDown();
}
@@ -59,8 +53,8 @@ public class TestBase64 extends TestCase
String data = "string to encode";
byte[] expectedReturn = data.getBytes();
- byte[] encodedData = base64.encode(data.getBytes());
- byte[] actualReturn = base64.decode(encodedData);
+ byte[] encodedData = Base64.encode(data.getBytes());
+ byte[] actualReturn = Base64.decode(encodedData);
assertTrue("encode decode failed.", Arrays.equals(
expectedReturn, actualReturn));
}
@@ -74,11 +68,11 @@ public class TestBase64 extends TestCase
String data = "string to encode";
byte[] expectedReturn = data.getBytes();
- byte[] encodedData = base64.encode(data.getBytes());
+ byte[] encodedData = Base64.encode(data.getBytes());
String encodedString = new String(encodedData);
- byte[] actualReturn = base64.decode(encodedString);
+ byte[] actualReturn = Base64.decode(encodedString);
assertTrue("encode decode failed.", Arrays.equals(
expectedReturn, actualReturn));