takuy****@users*****
takuy****@users*****
2008年 8月 18日 (月) 02:28:37 JST
Index: BetaProject/test/org/jent/checksmtp/MessageDialogUITest.java diff -u BetaProject/test/org/jent/checksmtp/MessageDialogUITest.java:1.1 BetaProject/test/org/jent/checksmtp/MessageDialogUITest.java:1.2 --- BetaProject/test/org/jent/checksmtp/MessageDialogUITest.java:1.1 Thu Aug 16 04:17:08 2007 +++ BetaProject/test/org/jent/checksmtp/MessageDialogUITest.java Mon Aug 18 02:28:37 2008 @@ -8,8 +8,6 @@ package org.jent.checksmtp; import junit.framework.*; -import java.io.PrintWriter; -import java.io.StringWriter; /** * @@ -98,7 +96,7 @@ if ( ui.getHeight() <= closeUiHeight || ui.getHeight() > openUiHeight ) { fail("Dialog height is wrong."); } - if ( ui.getTitle().indexOf("Error") < 0 ) { + if ( ui.getTitle().indexOf("Error") < 0 && ui.getTitle().indexOf("ã¨ã©ã¼") < 0 ) { fail("Dialog title is wrong."); } wait(ui); @@ -112,7 +110,7 @@ if ( ui.getHeight() >= openUiHeight || ui.getHeight() < closeUiHeight ) { fail("Dialog height is wrong."); } - if ( ui.getTitle().indexOf("Information") < 0 ) { + if ( ui.getTitle().indexOf("Information") < 0 && ui.getTitle().indexOf("æ å ±") < 0 ) { fail("Dialog title is wrong."); } wait(ui); @@ -125,7 +123,7 @@ if ( ui.getHeight() >= openUiHeight || ui.getHeight() < closeUiHeight ) { fail("Dialog height is wrong."); } - if ( ui.getTitle().indexOf("Warning") < 0 ) { + if ( ui.getTitle().indexOf("Warning") < 0 && ui.getTitle().indexOf("è¦å") < 0 ) { fail("Dialog title is wrong."); } wait(ui);