Skip to content

Commit efe8678

Browse files
author
Michele Orsi
committed
moved TestHarness to the test folder
1 parent 168d288 commit efe8678

2 files changed

Lines changed: 4 additions & 3 deletions

File tree

pom.xml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<artifactId>java-jwt-signer</artifactId>
66
<version>1.0</version>
77
<packaging>jar</packaging>
8-
<name>JWT Signer - Project Object Model</name>
8+
<name>Java JWT</name>
99

1010
<parent>
1111
<groupId>org.sonatype.oss</groupId>
@@ -21,7 +21,6 @@
2121
</license>
2222
</licenses>
2323

24-
<name>Java JWT</name>
2524
<description>Java implementation of JSON Web Token developed against draft-ietf-oauth-json-web-token-08.</description>
2625
<url>http://www.jwt.io</url>
2726

src/main/java/com/auth0/jwt/TestHarness.java renamed to src/test/java/com/auth0/jwt/TestHarness.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,15 @@
22

33
import com.auth0.jwt.impl.BasicPayloadHandler;
44
import com.auth0.jwt.impl.JwtProxyImpl;
5+
import org.junit.Test;
56

67
/**
78
* Test harness for JwtProxy
89
*/
910
public class TestHarness {
1011

11-
public static void main(String[] args) throws Exception {
12+
@Test
13+
public void testHarness() throws Exception {
1214

1315
final String secret = "This is a secret";
1416
final Algorithm algorithm = Algorithm.HS256;

0 commit comments

Comments
 (0)