Add support for gist
This commit is contained in:
@@ -1,2 +1,28 @@
|
||||
package de.jeyp91.gists;public class GistProviderTest {
|
||||
package de.jeyp91.gists;
|
||||
|
||||
import org.json.simple.JSONArray;
|
||||
import org.junit.Test;
|
||||
|
||||
public class GistProviderTest {
|
||||
|
||||
@Test
|
||||
public void listAllGistsTest() {
|
||||
GistProvider prov = new GistProvider();
|
||||
JSONArray gists = prov.listAllGists();
|
||||
System.out.println(gists);
|
||||
}
|
||||
|
||||
@Test
|
||||
public void getFileTest() {
|
||||
GistProvider prov = new GistProvider();
|
||||
String file = prov.getFile("Team_ID_Matcher.json");
|
||||
System.out.println(file);
|
||||
}
|
||||
|
||||
@Test
|
||||
public void getTeamIdMatcherTest() {
|
||||
GistProvider prov = new GistProvider();
|
||||
JSONArray matcher = prov.getTeamIdMatcher();
|
||||
System.out.println(matcher);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user