/* 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("*****@*****.**")); }
/* 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")); }
/* 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("")); }
/* 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("")); }