Hello, 1. Yes, this is all what had to do when strings are the same ignoring case - test pass, string ARE equal under this condition.
2. You should look into next scenario in the homework when two strings are not equal: next compare String name1 ="passion" and String name2 = "beauty". Run the test case and see that it will fail - string ARE NOT equal. Regards, Moria. ________________________________ From: java-ee-j2ee-programming-with-passion@googlegroups.com [mailto:java-ee-j2ee-programming-with-pass...@googlegroups.com] On Behalf Of diego rangel Sent: Thursday, October 08, 2009 7:39 PM To: java-ee-j2ee-programming-with-passion@googlegroups.com Subject: [java ee programming] LAB 4011 HELLO:LAB4011 I added the following to the file Namehandlertest.java: public void testcompareTwoNamesIgnoringCase(){ System.out.println("setNamecompare"); String name1="passion"; String name2="Passion"; NameHandler instance = new NameHandler(); first,i´d like to know if that is all that had to do. second, i run the project,then test poject and all funtions passed. my questions is the first. THANKS FOR ANY RESPONSE ________________________________ --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Java EE (J2EE) Programming with Passion!" group. To post to this group, send email to java-ee-j2ee-programming-with-passion@googlegroups.com To unsubscribe from this group, send email to java-ee-j2ee-programming-with-passion+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/java-ee-j2ee-programming-with-passion?hl=en?hl=en -~----------~----~----~----~------~----~------~--~---