From aefb59ef98522ef8a10ab64b25840f11e622e1c7 Mon Sep 17 00:00:00 2001
From: Stardrad Yin <yin8086@gmail.com>
Date: Wed, 23 Jan 2013 03:16:08 -0500
Subject: [PATCH] Modify Chinese translation in properties file, and add new translation that synchronizes with commit synchronize with commit e4e6829
---
tests/com/gitblit/tests/Base64Test.java | 9 ++++++---
1 files changed, 6 insertions(+), 3 deletions(-)
diff --git a/tests/com/gitblit/tests/Base64Test.java b/tests/com/gitblit/tests/Base64Test.java
index 3127736..2962c36 100644
--- a/tests/com/gitblit/tests/Base64Test.java
+++ b/tests/com/gitblit/tests/Base64Test.java
@@ -15,14 +15,17 @@
*/
package com.gitblit.tests;
-import junit.framework.TestCase;
+import static org.junit.Assert.assertEquals;
+
+import org.junit.Test;
import com.gitblit.utils.Base64;
-public class Base64Test extends TestCase {
+public class Base64Test {
+ @Test
public void testBase64() {
- String source = "this is a test";
+ String source = "this is a test";
String base64 = Base64.encodeBytes(source.getBytes());
assertEquals("dGhpcyBpcyBhIHRlc3Q=", base64);
String decoded = new String(Base64.decode(base64));
--
Gitblit v1.9.1