Skip to content
This repository was archived by the owner on Feb 26, 2023. It is now read-only.
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
add missing test for empty string sets using empty braces
  • Loading branch information
dodgex committed Nov 15, 2015
commit 8cf148901ab0134ebfad04e0697cbcfc8cf6d59d
Original file line number Diff line number Diff line change
Expand Up @@ -239,6 +239,13 @@ public void getStringSetEmptySetDefaultValue() {
assertThat(somePrefs.types().get()).isEmpty();
}

@Test
public void getStringSetEmptyWithDefaultValue() {
sharedPref.edit().clear().commit();

assertThat(somePrefs.emtpyStringSet().get()).isEmpty();
}

@Test
public void getStringSetWithDefaultRes() {
sharedPref.edit().clear().commit();
Expand Down