Url dialog now supports flag loading.

a=asa for QA checkins that are not part of the default builds


git-svn-id: svn://10.0.0.236/trunk@123173 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
depstein%netscape.com
2002-06-12 18:44:48 +00:00
parent 58c0e3f529
commit 8a411ee762
6 changed files with 88 additions and 39 deletions

View File

@@ -257,7 +257,6 @@ CTests::~CTests()
void CTests::OnTestsChangeUrl()
{
char *theUrl = "http://www.aol.com/";
CUrlDialog myDialog;
//nsresult rv;
@@ -271,14 +270,14 @@ void CTests::OnTestsChangeUrl()
if (myDialog.DoModal() == IDOK)
{
QAOutput("Begin Change URL test.", 1);
strcpy(theUrl, myDialog.m_urlfield);
rv = qaWebNav->LoadURI(NS_ConvertASCIItoUCS2(theUrl).get(),
nsIWebNavigation::LOAD_FLAGS_NONE,
rv = qaWebNav->LoadURI(NS_ConvertASCIItoUCS2(myDialog.m_urlfield).get(),
myDialog.m_flagvalue,
nsnull,
nsnull,
nsnull);
RvTestResult(rv, "rv LoadURI() test", 1);
FormatAndPrintOutput("The url = ", theUrl, 2);
FormatAndPrintOutput("The url = ", myDialog.m_urlfield, 2);
FormatAndPrintOutput("The flag = ", myDialog.m_flagvalue, 2);
QAOutput("End Change URL test.", 1);
}
else