コード例 #1
0
 public void testSetAndGetLastfmSessionKey() {
   assertNull(WAILSettings.getLastfmSessionKey(getContext()));
   String value = "fakjasfolasddaf";
   WAILSettings.setLastfmSessionKey(getContext(), value);
   assertEquals(value, WAILSettings.getLastfmSessionKey(getContext()));
 }
コード例 #2
0
 public void testGetLastfmSessionKeyDefault() {
   assertNull(WAILSettings.getLastfmSessionKey(getContext()));
 }