コード例 #1
0
 public void testSetAndGetLastfmUserName() {
   final String value = "adkjhafklio3";
   assertFalse(value.equals(WAILSettings.getLastfmUserName(getContext())));
   WAILSettings.setLastfmUserName(getContext(), value);
   assertEquals(value, WAILSettings.getLastfmUserName(getContext()));
 }
コード例 #2
0
 public void testGetLastfmUserNameDefault() {
   assertEquals("", WAILSettings.getLastfmUserName(getContext()));
 }