* commit '8ff9df7742827a684570f8a535f88d8ebe67fecd': Adding test tag to sms test
This commit is contained in:
@@ -45,9 +45,10 @@ public class SmsTest {
|
|||||||
public Context mContext;
|
public Context mContext;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Verify that an SMS has been recieved with the correct number and body
|
* Verify that an SMS has been received with the correct number and body
|
||||||
*/
|
*/
|
||||||
public void testRecievedSms(){
|
@Test
|
||||||
|
public void testReceivedSms(){
|
||||||
ContentResolver r = mContext.getContentResolver();
|
ContentResolver r = mContext.getContentResolver();
|
||||||
Uri message = Uri.parse("content://sms/");
|
Uri message = Uri.parse("content://sms/");
|
||||||
Cursor c = r.query(message,null,null,null,null);
|
Cursor c = r.query(message,null,null,null,null);
|
||||||
|
|||||||
Reference in New Issue
Block a user