Skip to content

Commit

Permalink
Clearing out userPrefrences after test runs that load proxy information.
Browse files Browse the repository at this point in the history
  • Loading branch information
ayn leslie committed Dec 31, 2014
1 parent 24b20f0 commit cd42661
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@ public void testLoadIncompletePreferencesWithClearStart() throws ParseException,
TestCase.assertEquals("5oMeTokEN", userPrefs.getAPIKey());
TestCase.assertEquals("https://someDomain.com", userPrefs.getProxyHost());
TestCase.assertEquals("8080", userPrefs.getProxyPort());
userPrefs.clear();
}

@Test
Expand Down Expand Up @@ -100,6 +101,7 @@ public void testLoadIncompletePreferencesWithMessyStart() throws ParseException,
TestCase.assertEquals("", userPrefs.getSmtpPassword());
TestCase.assertEquals("10", userPrefs.getFilesizeChunkingCutoffMB()); // has default
TestCase.assertEquals("10000", userPrefs.getNumRowsPerChunk()); // has default
userPrefs.clear();
}

@Test
Expand Down

0 comments on commit cd42661

Please sign in to comment.