Back to project page adventure.datetime.
The source code is released under:
MIT License
If you think the Android project adventure.datetime listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package ca.cmput301f13t03.adventure_datetime.model; /* w w w .j a va 2 s. c o m*/ import android.test.AndroidTestCase; import android.util.Log; public class AccountServiceTests extends AndroidTestCase { public void testGetUserName() { String userName = AccountService.getUserName(getContext().getContentResolver()); Log.d("TEST", "User name found: " + userName); assertNotNull(userName); } }