Completed test migration to junit4, easymock updated to version 3.2

Change-Id: I6381045b3dae7133cc3589c5dd20ed977118a83d
This commit is contained in:
alex.ryazantsev
2013-11-07 22:29:27 +04:00
committed by Shawn Pearce
parent c8cffc8e92
commit d215908bae
46 changed files with 486 additions and 123 deletions

View File

@@ -14,10 +14,12 @@
package com.google.gerrit.common.data;
import junit.framework.TestCase;
import org.junit.Test;
import static org.junit.Assert.assertEquals;
public class EncodePathSeparatorTest extends TestCase {
public class EncodePathSeparatorTest {
@Test
public void testDefaultBehaviour() {
GitWebType gitWebType = GitWebType.fromName(null);
@@ -25,6 +27,7 @@ public class EncodePathSeparatorTest extends TestCase {
assertEquals("a/b", gitWebType.replacePathSeparator("a/b"));
}
@Test
public void testExclamationMark() {
GitWebType gitWebType = GitWebType.fromName(null);