minor changes to screen dialogs, "Run All Tests" for interface tests run more smoothly.

a=asa for QA checkins that are not part of the default builds
This commit is contained in:
depstein%netscape.com 2002-10-05 04:03:32 +00:00
parent a1f5096b85
commit aa05d48cf7
5 changed files with 24 additions and 8 deletions

View File

@ -82,9 +82,9 @@ void CNsIFile::OnStartTests(UINT nMenuID)
switch(nMenuID)
{
case ID_INTERFACES_NSIFILE_RUNALLTESTS :
QAOutput("Begin nsIFile tests.", 2);
QAOutput("Begin nsIFile tests.", 1);
RunAllTests(theTestFile,theFileOpDir);
QAOutput("End nsIFile tests.", 2);
QAOutput("End nsIFile tests.", 1);
break ;
case ID_INTERFACES_NSIFILE_INITWITHPATH :

View File

@ -296,7 +296,7 @@ void CNsIWebBrowFind::OnStartTests(UINT nMenuID)
void CNsIWebBrowFind::RunAllTests()
{
QAOutput("Begin WebBrowserFind tests.", 2);
QAOutput("Begin WebBrowserFind tests.", 1);
GetWebBrowFindObject();
SetSearchStringTest(1);
GetSearchStringTest(1);
@ -334,5 +334,5 @@ void CNsIWebBrowFind::RunAllTests()
SetSearchFrames(PR_FALSE, 1);
GetSearchFrames(PR_FALSE, 1);
FindNextTest(PR_FALSE, 1); // shouldn't find frame
QAOutput("End WebBrowserFind tests.", 2);
QAOutput("End WebBrowserFind tests.", 1);
}

View File

@ -129,9 +129,9 @@ void CNsIHistory::OnStartTests(UINT nMenuID)
switch(nMenuID)
{
case ID_INTERFACES_NSISHISTORY_RUNALLTESTS :
QAOutput("Begin nsISHistory tests.", 2);
QAOutput("Begin nsISHistory tests.", 1);
RunAllTests();
QAOutput("End nsISHistory tests.", 2);
QAOutput("End nsISHistory tests.", 1);
break ;
case ID_INTERFACES_NSISHISTORY_GETCOUNT :
GetCountTest(theSessionHistory, &numEntries, 2);

View File

@ -177,7 +177,7 @@ void CNsIRequest::RunAllTests(int reqTotal)
int i=0;
QAOutput("Start nsIRequest tests.", 2);
QAOutput("Start nsIRequest tests.", 1);
for (i=0; i<reqTotal; i++)
{
@ -211,7 +211,7 @@ void CNsIRequest::RunAllTests(int reqTotal)
QAOutput("- - - - - - - - - - - - - - - - - - - - -", 1);
} // end for loop
QAOutput("End nsIRequest tests.", 2);
QAOutput("End nsIRequest tests.", 1);
}

View File

@ -138,6 +138,14 @@ SOURCE=.\nsIClipboardCmd.cpp
# End Source File
# Begin Source File
SOURCE=.\nsICmdParams.cpp
# End Source File
# Begin Source File
SOURCE=.\nsICommandMgr.cpp
# End Source File
# Begin Source File
SOURCE=.\nsiDirServ.cpp
# End Source File
# Begin Source File
@ -266,6 +274,14 @@ SOURCE=.\nsIClipboardCmd.h
# End Source File
# Begin Source File
SOURCE=.\nsICmdParams.h
# End Source File
# Begin Source File
SOURCE=.\nsICommandMgr.h
# End Source File
# Begin Source File
SOURCE=.\nsiDirServ.h
# End Source File
# Begin Source File