コード例 #1
0
 /* check if the modifications on model have been saved */
 @Test
 public void testReceveirChangeValue() {
   EditText textReceveir = (EditText) activityMail.findViewById(R.id.editReceiver);
   textReceveir.setText("*****@*****.**");
   assertTrue(textReceveir.getText().equals("*****@*****.**"));
 }
コード例 #2
0
 /* check if the modifications on model have been saved */
 @Test
 public void testContenuChangeValue() {
   EditText textBody = (EditText) activityMail.findViewById(R.id.editMail);
   textBody.setText("content");
   assertTrue(textBody.getText().equals("content"));
 }
コード例 #3
0
 /* check if the clothe's brand value is properly loaded into brand EditText */
 @Test
 public void testReceveirInitialValue() {
   EditText textReceveir = (EditText) activityMail.findViewById(R.id.editReceiver);
   assertTrue(textReceveir.getText().equals(""));
 }
コード例 #4
0
 /* check if the clothe's brand value is properly loaded into brand EditText */
 @Test
 public void testContenueInitialValue() {
   EditText textBody = (EditText) activityMail.findViewById(R.id.editMail);
   assertTrue(textBody.getText().equals(""));
 }