Example #1
0
 @Test
 public void testLoadGists() throws IOException {
   assertNotNull(gf.loadGists(user));
 }
Example #2
0
 @Test
 public void testDeleteGists() throws IOException {
   gf.deleteGists(user, list);
 }
Example #3
0
 @Test
 public void testDeleteGist() throws IOException {
   gf.deleteGist(user, "test");
 }
Example #4
0
 @Test
 public void testUpdateGist() throws IOException {
   Gist g = gf.updateGist(user, gist);
   assertEquals(DESCRIPTION, g.getDescription());
 }
Example #5
0
 @Test
 public void testAddNewGist() throws IOException {
   Gist g = gf.addNewGist(user, gist);
   assertEquals(gist, g);
 }
Example #6
0
 @Test
 public void testGetGist() throws IOException {
   Gist g = gf.loadGist("test", user);
   assertEquals(gist, g);
 }