Add test cases for nsIChannel. not part of the build.

This commit is contained in:
depstein%netscape.com 2002-11-28 03:31:43 +00:00
Родитель e9d44bc387
Коммит b4e24752f1
11 изменённых файлов: 2325 добавлений и 1696 удалений

Просмотреть файл

@ -489,6 +489,11 @@ NS_IMETHODIMP CBrowserImpl::OnDataAvailable(nsIRequest *request,
FormatAndPrintOutput("OnDataAvailable() offset = ", offset, 1);
FormatAndPrintOutput("OnDataAvailable() count = ", count, 1);
if (!ctxt)
QAOutput("OnDataAvailable():We didn't get the nsISupports object.", 1);
else
QAOutput("OnDataAvailable():We got the nsISupports object.", 1);
return NS_OK;
}
@ -500,6 +505,11 @@ NS_IMETHODIMP CBrowserImpl::OnStartRequest(nsIRequest *request,
QAOutput("##### BEGIN: nsIStreamListener::OnStartRequest() #####");
RequestName(request, stringMsg, 1);
if (!ctxt)
QAOutput("OnStartRequest():We didn't get the nsISupports object.", 1);
else
QAOutput("OnStartRequest():We got the nsISupports object.", 1);
return NS_OK;
}
@ -510,6 +520,14 @@ NS_IMETHODIMP CBrowserImpl::OnStopRequest(nsIRequest *request,
RvTestResult(rv, "nsIStreamListener::OnStopRequest rv input", 1);
RequestName(request, stringMsg, 1);
if (!ctxt)
QAOutput("OnStopRequest():We didn't get the nsISupports object.", 1);
else
QAOutput("OnStopRequest():We got the nsISupports object.", 1);
RvTestResult(rv, "OnStopRequest() rv test", 1);
QAOutput("##### END: nsIStreamListener::OnStopRequest() #####");
return NS_OK;

Просмотреть файл

@ -71,6 +71,7 @@ REQUIRES = \
$(NULL)
CPPSRCS = \
nsIChannelTests.cpp \
TestEmbed.cpp \
BrowserFrm.cpp \
BrowserFrameGlue.cpp \

Просмотреть файл

@ -135,7 +135,6 @@
#include "nsICommandManager.h"
#include "nsICommandParams.h"
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

Просмотреть файл

@ -72,6 +72,7 @@
#include "nsICmdParams.h"
#include "QaUtils.h"
#include "nsIIOService.h"
#include "nsIChannelTests.h"
#include <stdio.h>
#ifdef _DEBUG
@ -184,6 +185,23 @@ BEGIN_MESSAGE_MAP(CTests, CWnd)
ON_COMMAND(ID_INTERFACES_NSIWEBNAV_RUNALLTESTS, OnInterfacesNsiwebnav)
ON_COMMAND(ID_INTERFACES_NSIWEBNAV_SETSESSIONHISTORY, OnInterfacesNsiwebnav)
ON_COMMAND(ID_INTERFACES_NSIWEBNAV_STOP, OnInterfacesNsiwebnav)
ON_COMMAND(ID_INTERFACES_NSICHANNEL_RUNALLTESTS, OnInterfacesNsichannel)
ON_COMMAND(ID_INTERFACES_NSICHANNEL_SETORIGINALURI, OnInterfacesNsichannel)
ON_COMMAND(ID_INTERFACES_NSICHANNEL_GETORIGINALURI, OnInterfacesNsichannel)
ON_COMMAND(ID_INTERFACES_NSICHANNEL_GETURI, OnInterfacesNsichannel)
ON_COMMAND(ID_INTERFACES_NSICHANNEL_SETOWNER, OnInterfacesNsichannel)
ON_COMMAND(ID_INTERFACES_NSICHANNEL_GETOWNER, OnInterfacesNsichannel)
ON_COMMAND(ID_INTERFACES_NSICHANNEL_SETNOTIFICATIONS, OnInterfacesNsichannel)
ON_COMMAND(ID_INTERFACES_NSICHANNEL_GETNOTIFICATIONS, OnInterfacesNsichannel)
ON_COMMAND(ID_INTERFACES_NSICHANNEL_GETSECURITYINFO, OnInterfacesNsichannel)
ON_COMMAND(ID_INTERFACES_NSICHANNEL_SETCONTENTTYPE, OnInterfacesNsichannel)
ON_COMMAND(ID_INTERFACES_NSICHANNEL_GETCONTENTTYPE, OnInterfacesNsichannel)
ON_COMMAND(ID_INTERFACES_NSICHANNEL_SETCONTENTCHARSET, OnInterfacesNsichannel)
ON_COMMAND(ID_INTERFACES_NSICHANNEL_GETCONTENTCHARSET, OnInterfacesNsichannel)
ON_COMMAND(ID_INTERFACES_NSICHANNEL_SETCONTENTLENGTH, OnInterfacesNsichannel)
ON_COMMAND(ID_INTERFACES_NSICHANNEL_GETCONTENTLENGTH, OnInterfacesNsichannel)
ON_COMMAND(ID_INTERFACES_NSICHANNEL_OPEN, OnInterfacesNsichannel)
ON_COMMAND(ID_INTERFACES_NSICHANNEL_ASYNCOPEN, OnInterfacesNsichannel)
ON_COMMAND(ID_INTERFACES_NSIREQUEST_GETLOADFLAGS, OnInterfacesNsirequest)
ON_COMMAND(ID_INTERFACES_NSIREQUEST_GETLOADGROUP, OnInterfacesNsirequest)
ON_COMMAND(ID_INTERFACES_NSIREQUEST_GETNAME, OnInterfacesNsirequest)
@ -930,6 +948,12 @@ void CTests::OnInterfacesNsicmdparams()
oCmdParams.OnStartTests(nCommandID);
}
void CTests::OnInterfacesNsichannel()
{
CnsIChannelTests oChannelTests(qaWebBrowser, qaBrowserImpl);
oChannelTests.OnStartTests(nCommandID);
}
//Run all interface test cases in automation
@ -999,4 +1023,7 @@ void CTests::OnInterfacesRunalltestcases()
CnsICmdParams oCmdParams(qaWebBrowser);
oCmdParams.OnStartTests(ID_INTERFACES_NSICOMMANDPARAMS_RUNALLTESTS);
CnsIChannelTests oChannelTests(qaWebBrowser, qaBrowserImpl);
oChannelTests.OnStartTests(ID_INTERFACES_NSICHANNEL_RUNALLTESTS);
}

Просмотреть файл

@ -1,170 +1,170 @@
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/* ***** BEGIN LICENSE BLOCK *****
* Version: NPL 1.1/GPL 2.0/LGPL 2.1
*
* The contents of this file are subject to the Netscape Public License
* Version 1.1 (the "License"); you may not use this file except in
* compliance with the License. You may obtain a copy of the License at
* http://www.mozilla.org/NPL/
*
* Software distributed under the License is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
* for the specific language governing rights and limitations under the
* License.
*
* The Original Code is mozilla.org code.
*
* The Initial Developer of the Original Code is
* Netscape Communications Corporation.
* Portions created by the Initial Developer are Copyright (C) 1998
* the Initial Developer. All Rights Reserved.
*
* Contributor(s):
* David Epstein <depstein@netscape.com>
*
*
* Alternatively, the contents of this file may be used under the terms of
* either the GNU General Public License Version 2 or later (the "GPL"), or
* the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
* in which case the provisions of the GPL or the LGPL are applicable instead
* of those above. If you wish to allow use of your version of this file only
* under the terms of either the GPL or the LGPL, and not to allow others to
* use your version of this file under the terms of the NPL, indicate your
* decision by deleting the provisions above and replace them with the notice
* and other provisions required by the GPL or the LGPL. If you do not delete
* the provisions above, a recipient may use your version of this file under
* the terms of any one of the NPL, the GPL or the LGPL.
*
* ***** END LICENSE BLOCK ***** */
// Tests.h : header file for QA test cases
//
/////////////////////////////////////////////////////////////////////////////
#ifndef _TESTS_H
#define _TESTS_H
#if _MSC_VER > 1000
#pragma once
#endif
#include "BrowserView.h"
#include "BrowserImpl.h"
#include "StdAfx.h"
#include "UrlDialog.h"
/////////////////////////////////////////////////////////////////////////////
// CTESTS class
class CBrowserImpl;
class CBrowserView;
class CTests:public CWnd
{
public:
CTests(nsIWebBrowser* mWebBrowser,
nsIBaseWindow* mBaseWindow,
nsIWebNavigation* mWebNav,
CBrowserImpl *mpBrowserImpl);
virtual ~CTests();
// Some helper methods
// Mozilla interfaces
//
//static
nsCOMPtr<nsIWebBrowser> qaWebBrowser;
nsCOMPtr<nsIBaseWindow> qaBaseWindow;
nsCOMPtr<nsIWebNavigation> qaWebNav;
CBrowserImpl *qaBrowserImpl;
CUrlDialog myDialog;
// local test methods
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CTests)
public:
virtual BOOL OnCmdMsg(UINT nID, int nCode, void* pExtra, AFX_CMDHANDLERINFO* pHandlerInfo);
//}}AFX_VIRTUAL
private:
// Individual interface Objects
// local test variables
PRBool exists;
nsCOMPtr<nsIURI> theURI;
nsCOMPtr<nsIChannel> theChannel;
UINT nCommandID;
protected:
//{{AFX_MSG(CTests)
afx_msg void OnUpdateNavBack(CCmdUI* pCmdUI);
afx_msg void OnUpdateNavForward(CCmdUI* pCmdUI);
afx_msg void OnUpdateNavStop(CCmdUI* pCmdUI);
afx_msg void OnUpdateCut(CCmdUI* pCmdUI);
afx_msg void OnUpdateCopy(CCmdUI* pCmdUI);
afx_msg void OnUpdatePaste(CCmdUI* pCmdUI);
afx_msg void OnTestsChangeUrl();
afx_msg void OnTestsGlobalHistory();
afx_msg void OnTestsCreateFile();
afx_msg void OnTestsCreateprofile();
afx_msg void OnTestsAddWebProgListener();
afx_msg void OnTestsAddHistoryListener();
afx_msg void OnTestsRemovehistorylistener();
afx_msg void OnTestsAddUriContentListenerByWebBrowser();
afx_msg void OnTestsAddUriContentListenerByUriLoader();
afx_msg void OnTestsAddUriContentListenerByOpenUri();
afx_msg void OnTestsNSNewChannelAndAsyncOpen();
afx_msg void OnTestsIOServiceNewURI();
afx_msg void OnTestsProtocolHandlerNewURI();
afx_msg void OnInterfacesNsifile();
afx_msg void OnToolsRemoveGHPage();
afx_msg void OnToolsRemoveAllGH();
afx_msg void OnToolsTestYourMethod();
afx_msg void OnToolsTestYourMethod2();
afx_msg void OnVerifybugs70228();
afx_msg void OnVerifybugs90195();
afx_msg void OnVerifybugs169617();
afx_msg void OnVerifybugs170274();
afx_msg void OnPasteTest();
afx_msg void OnCopyTest();
afx_msg void OnSelectAllTest();
afx_msg void OnSelectNoneTest();
afx_msg void OnCutSelectionTest();
afx_msg void copyLinkLocationTest();
afx_msg void canCopySelectionTest();
afx_msg void canCutSelectionTest();
afx_msg void canPasteTest();
afx_msg void OnInterfacesNsirequest();
afx_msg void OnInterfacesNsidomwindow();
afx_msg void OnInterfacesNsidirectoryservice();
afx_msg void OnInterfacesNsiselection();
afx_msg void OnInterfacesNsiprofile();
afx_msg void OnInterfacesNsishistory();
afx_msg void OnInterfacesNsiwebnav();
afx_msg void OnInterfacesNsiclipboardcommands();
afx_msg void OnInterfacesNsiobserverservice();
afx_msg void OnInterfacesNsiwebbrowser();
afx_msg void OnInterfacesNsiwebprogress();
afx_msg void OnInterfacesNsiwebbrowfind();
afx_msg void OnInterfacesNsieditingsession();
afx_msg void OnInterfacesNsicommandmgr();
afx_msg void OnInterfacesNsicmdparams();
afx_msg void OnInterfacesRunalltestcases();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
// individual nsIFile tests
void InitWithPathTest(nsILocalFile *);
void AppendRelativePathTest(nsILocalFile *);
void FileCreateTest(nsILocalFile *);
void FileExistsTest(nsILocalFile *);
void FileCopyTest(nsILocalFile *, nsILocalFile *);
void FileMoveTest(nsILocalFile *, nsILocalFile *);
};
#endif //_TESTS_H
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/* ***** BEGIN LICENSE BLOCK *****
* Version: NPL 1.1/GPL 2.0/LGPL 2.1
*
* The contents of this file are subject to the Netscape Public License
* Version 1.1 (the "License"); you may not use this file except in
* compliance with the License. You may obtain a copy of the License at
* http://www.mozilla.org/NPL/
*
* Software distributed under the License is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
* for the specific language governing rights and limitations under the
* License.
*
* The Original Code is mozilla.org code.
*
* The Initial Developer of the Original Code is
* Netscape Communications Corporation.
* Portions created by the Initial Developer are Copyright (C) 1998
* the Initial Developer. All Rights Reserved.
*
* Contributor(s):
* David Epstein <depstein@netscape.com>
*
*
* Alternatively, the contents of this file may be used under the terms of
* either the GNU General Public License Version 2 or later (the "GPL"), or
* the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
* in which case the provisions of the GPL or the LGPL are applicable instead
* of those above. If you wish to allow use of your version of this file only
* under the terms of either the GPL or the LGPL, and not to allow others to
* use your version of this file under the terms of the NPL, indicate your
* decision by deleting the provisions above and replace them with the notice
* and other provisions required by the GPL or the LGPL. If you do not delete
* the provisions above, a recipient may use your version of this file under
* the terms of any one of the NPL, the GPL or the LGPL.
*
* ***** END LICENSE BLOCK ***** */
// Tests.h : header file for QA test cases
//
/////////////////////////////////////////////////////////////////////////////
#ifndef _TESTS_H
#define _TESTS_H
#if _MSC_VER > 1000
#pragma once
#endif
#include "BrowserView.h"
#include "BrowserImpl.h"
#include "StdAfx.h"
#include "UrlDialog.h"
/////////////////////////////////////////////////////////////////////////////
// CTESTS class
class CBrowserImpl;
class CBrowserView;
class CTests:public CWnd
{
public:
CTests(nsIWebBrowser* mWebBrowser,
nsIBaseWindow* mBaseWindow,
nsIWebNavigation* mWebNav,
CBrowserImpl *mpBrowserImpl);
virtual ~CTests();
// Some helper methods
// Mozilla interfaces
//
//static
nsCOMPtr<nsIWebBrowser> qaWebBrowser;
nsCOMPtr<nsIBaseWindow> qaBaseWindow;
nsCOMPtr<nsIWebNavigation> qaWebNav;
CBrowserImpl *qaBrowserImpl;
CUrlDialog myDialog;
// local test methods
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CTests)
public:
virtual BOOL OnCmdMsg(UINT nID, int nCode, void* pExtra, AFX_CMDHANDLERINFO* pHandlerInfo);
//}}AFX_VIRTUAL
private:
// Individual interface Objects
// local test variables
PRBool exists;
nsCOMPtr<nsIURI> theURI;
nsCOMPtr<nsIChannel> theChannel;
UINT nCommandID;
protected:
//{{AFX_MSG(CTests)
afx_msg void OnUpdateNavBack(CCmdUI* pCmdUI);
afx_msg void OnUpdateNavForward(CCmdUI* pCmdUI);
afx_msg void OnUpdateNavStop(CCmdUI* pCmdUI);
afx_msg void OnUpdateCut(CCmdUI* pCmdUI);
afx_msg void OnUpdateCopy(CCmdUI* pCmdUI);
afx_msg void OnUpdatePaste(CCmdUI* pCmdUI);
afx_msg void OnTestsChangeUrl();
afx_msg void OnTestsGlobalHistory();
afx_msg void OnTestsCreateFile();
afx_msg void OnTestsCreateprofile();
afx_msg void OnTestsAddWebProgListener();
afx_msg void OnTestsAddHistoryListener();
afx_msg void OnTestsRemovehistorylistener();
afx_msg void OnTestsAddUriContentListenerByWebBrowser();
afx_msg void OnTestsAddUriContentListenerByUriLoader();
afx_msg void OnTestsAddUriContentListenerByOpenUri();
afx_msg void OnTestsNSNewChannelAndAsyncOpen();
afx_msg void OnTestsIOServiceNewURI();
afx_msg void OnTestsProtocolHandlerNewURI();
afx_msg void OnInterfacesNsifile();
afx_msg void OnToolsRemoveGHPage();
afx_msg void OnToolsRemoveAllGH();
afx_msg void OnToolsTestYourMethod();
afx_msg void OnToolsTestYourMethod2();
afx_msg void OnVerifybugs70228();
afx_msg void OnVerifybugs90195();
afx_msg void OnVerifybugs169617();
afx_msg void OnVerifybugs170274();
afx_msg void OnPasteTest();
afx_msg void OnCopyTest();
afx_msg void OnSelectAllTest();
afx_msg void OnSelectNoneTest();
afx_msg void OnCutSelectionTest();
afx_msg void copyLinkLocationTest();
afx_msg void canCopySelectionTest();
afx_msg void canCutSelectionTest();
afx_msg void canPasteTest();
afx_msg void OnInterfacesNsirequest();
afx_msg void OnInterfacesNsidomwindow();
afx_msg void OnInterfacesNsidirectoryservice();
afx_msg void OnInterfacesNsiselection();
afx_msg void OnInterfacesNsiprofile();
afx_msg void OnInterfacesNsishistory();
afx_msg void OnInterfacesNsiwebnav();
afx_msg void OnInterfacesNsiclipboardcommands();
afx_msg void OnInterfacesNsiobserverservice();
afx_msg void OnInterfacesNsiwebbrowser();
afx_msg void OnInterfacesNsiwebprogress();
afx_msg void OnInterfacesNsiwebbrowfind();
afx_msg void OnInterfacesNsieditingsession();
afx_msg void OnInterfacesNsicommandmgr();
afx_msg void OnInterfacesNsicmdparams();
afx_msg void OnInterfacesRunalltestcases();
afx_msg void OnInterfacesNsichannel();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
// individual nsIFile tests
void InitWithPathTest(nsILocalFile *);
void AppendRelativePathTest(nsILocalFile *);
void FileCreateTest(nsILocalFile *);
void FileExistsTest(nsILocalFile *);
void FileCopyTest(nsILocalFile *, nsILocalFile *);
void FileMoveTest(nsILocalFile *, nsILocalFile *);
};
#endif //_TESTS_H

Просмотреть файл

@ -0,0 +1,416 @@
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/* ***** BEGIN LICENSE BLOCK *****
* Version: NPL 1.1/GPL 2.0/LGPL 2.1
*
* The contents of this file are subject to the Netscape Public License
* Version 1.1 (the "License"); you may not use this file except in
* compliance with the License. You may obtain a copy of the License at
* http://www.mozilla.org/NPL/
*
* Software distributed under the License is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
* for the specific language governing rights and limitations under the
* License.
*
* The Original Code is mozilla.org code.
*
* The Initial Developer of the Original Code is
* Netscape Communications Corporation.
* Portions created by the Initial Developer are Copyright (C) 1998
* the Initial Developer. All Rights Reserved.
*
* Contributor(s):
* David Epstein <depstein@netscape.com>
*
*
* Alternatively, the contents of this file may be used under the terms of
* either the GNU General Public License Version 2 or later (the "GPL"), or
* the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
* in which case the provisions of the GPL or the LGPL are applicable instead
* of those above. If you wish to allow use of your version of this file only
* under the terms of either the GPL or the LGPL, and not to allow others to
* use your version of this file under the terms of the NPL, indicate your
* decision by deleting the provisions above and replace them with the notice
* and other provisions required by the GPL or the LGPL. If you do not delete
* the provisions above, a recipient may use your version of this file under
* the terms of any one of the NPL, the GPL or the LGPL.
*
* ***** END LICENSE BLOCK ***** */
// nsIChannelTests.h : implementation file for nsIChannel test cases
// nsIChannelTests.cpp : implementation file
//
#include "stdafx.h"
#include "testembed.h"
#include "nsIChannelTests.h"
#include "BrowserImpl.h"
#include "BrowserFrm.h"
#include "UrlDialog.h"
#include "ProfileMgr.h"
#include "ProfilesDlg.h"
#include "QaUtils.h"
#include "Tests.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// nsIChannelTests
CnsIChannelTests::CnsIChannelTests(nsIWebBrowser *mWebBrowser,
CBrowserImpl *mpBrowserImpl)
{
qaWebBrowser = mWebBrowser;
qaBrowserImpl = mpBrowserImpl;
}
CnsIChannelTests::~CnsIChannelTests()
{
}
/////////////////////////////////////////////////////////////////////////////
// nsIChannelTests message handlers
nsIChannel * CnsIChannelTests::GetChannelObject(nsCAutoString theSpec)
{
theURI = GetURIObject(theSpec);
if (!theURI)
{
QAOutput("Didn't get URI object. Test failed.", 2);
return nsnull;
}
rv = NS_NewChannel(getter_AddRefs(theChannel), theURI, nsnull, nsnull);
if (!theChannel)
{
QAOutput("Didn't get Channel object. GetChannelObject Test failed.", 2);
return nsnull;
}
return theChannel;
}
nsIURI * CnsIChannelTests::GetURIObject(nsCAutoString theSpec)
{
rv = NS_NewURI(getter_AddRefs(theURI), theSpec);
if (!theURI)
{
QAOutput("Didn't get URI object. GetURIObject Test failed.", 2);
return nsnull;
}
// nsIURI *retVal = theURI;
// NS_ADDREF(retVal);
// return retVal;
return theURI;
}
void CnsIChannelTests::SetOriginalURITest(nsIChannel *theChannel, nsCAutoString theSpec,
PRInt16 displayMode)
{
theURI = GetURIObject(theSpec);
if (!theURI)
{
QAOutput("Didn't get URI object. SetOriginalURITest failed.", displayMode);
return;
}
rv = theChannel->SetOriginalURI(theURI);
RvTestResult(rv, "SetOriginalURITest", displayMode);
if (displayMode == 1)
RvTestResultDlg(rv, "SetOriginalURITest", true);
}
void CnsIChannelTests::GetOriginalURITest(nsIChannel *theChannel, PRInt16 displayMode)
{
rv = theChannel->GetOriginalURI(getter_AddRefs(theURI));
if (!theURI)
{
QAOutput("Didn't get URI object. GetOriginalURITest failed.", displayMode);
return;
}
RvTestResult(rv, "GetOriginalURITest", displayMode);
if (displayMode == 1)
RvTestResultDlg(rv, "GetOriginalURITest");
GetTheUri(theURI);
}
void CnsIChannelTests::GetURITest(nsIChannel *theChannel, PRInt16 displayMode)
{
rv = theChannel->GetURI(getter_AddRefs(theURI));
if (!theURI)
{
QAOutput("Didn't get URI object. GetURITest failed.", displayMode);
return;
}
RvTestResult(rv, "GetURITest", displayMode);
if (displayMode == 1)
RvTestResultDlg(rv, "GetURITest");
GetTheUri(theURI);
}
void CnsIChannelTests::SetOwnerTest(nsIChannel *theChannel, PRInt16 displayMode)
{
theSupports = do_QueryInterface(theChannel);
if (!theSupports)
{
QAOutput("Didn't get nsISupports object. SetOwnerTest failed.", displayMode);
return;
}
theChannel->SetOwner(theSupports);
RvTestResult(rv, "SetOwner", displayMode);
if (displayMode == 1)
RvTestResultDlg(rv, "SetOwner");
}
void CnsIChannelTests::GetOwnerTest(nsIChannel *theChannel, PRInt16 displayMode)
{
rv = theChannel->GetOwner(getter_AddRefs(theSupports));
if (!theSupports)
{
QAOutput("Didn't get nsISupports object. GetOwnerTest failed.", displayMode);
return;
}
RvTestResult(rv, "GetOwner", displayMode);
if (displayMode == 1)
RvTestResultDlg(rv, "GetOwner");
}
void CnsIChannelTests::SetNotificationsTest(nsIChannel *theChannel, PRInt16 displayMode)
{
if (!qaWebBrowser)
{
QAOutput("Didn't get nsIWebBrowser object. SetNotificationsTest failed.", displayMode);
return;
}
theIRequestor = do_QueryInterface(qaWebBrowser);
if (!theIRequestor)
{
QAOutput("Didn't get nsIInterfaceRequestor object. SetNotificationsTest failed.", displayMode);
return;
}
rv = theChannel->SetNotificationCallbacks(theIRequestor);
RvTestResult(rv, "SetNotificationCallbacks", displayMode);
if (displayMode == 1)
RvTestResultDlg(rv, "SetNotificationCallbacks");
}
void CnsIChannelTests::GetNotificationsTest(nsIChannel *theChannel, PRInt16 displayMode)
{
rv = theChannel->GetNotificationCallbacks(getter_AddRefs(theIRequestor));
if (!theIRequestor)
{
QAOutput("Didn't get nsIInterfaceRequestor object. GetNotificationsTest failed.", displayMode);
return;
}
RvTestResult(rv, "GetNotificationCallbacks", displayMode);
if (displayMode == 1)
RvTestResultDlg(rv, "GetNotificationCallbacks");
}
void CnsIChannelTests::GetSecurityInfoTest(nsIChannel *theChannel, PRInt16 displayMode)
{
// theSupports = do_QueryInterface(theChannel);
if (!theChannel)
{
QAOutput("Didn't get nsIChannel object. GetSecurityInfoTest failed.", displayMode);
return;
}
rv = theChannel->GetSecurityInfo(getter_AddRefs(theSupports));
if (!theSupports)
{
QAOutput("Didn't get nsISupports object. GetSecurityInfoTest failed.", displayMode);
return;
}
RvTestResult(rv, "GetSecurityInfo", displayMode);
if (displayMode == 1)
RvTestResultDlg(rv, "GetSecurityInfo");
}
void CnsIChannelTests::SetContentTypeTest(nsIChannel *theChannel, PRInt16 displayMode)
{
rv = theChannel->SetContentType(NS_LITERAL_CSTRING("text/html"));
RvTestResult(rv, "SetContentType", displayMode);
if (displayMode == 1)
RvTestResultDlg(rv, "SetContentType");
}
void CnsIChannelTests::GetContentTypeTest(nsIChannel *theChannel, PRInt16 displayMode)
{
nsCAutoString contentType;
rv = theChannel->GetContentType(contentType);
RvTestResult(rv, "GetContentType", displayMode);
if (displayMode == 1)
RvTestResultDlg(rv, "GetContentType");
FormatAndPrintOutput("the content type = ", contentType, displayMode);
}
void CnsIChannelTests::SetContentCharsetTest(nsIChannel *theChannel, PRInt16 displayMode)
{
nsCAutoString charsetType;
rv = theChannel->SetContentCharset(NS_LITERAL_CSTRING("ISO-8859-1"));
RvTestResult(rv, "SetContentCharset", displayMode);
if (displayMode == 1)
RvTestResultDlg(rv, "SetContentCharset");
}
void CnsIChannelTests::GetContentCharsetTest(nsIChannel *theChannel, PRInt16 displayMode)
{
nsCAutoString charsetType;
rv = theChannel->GetContentCharset(charsetType);
RvTestResult(rv, "GetContentCharset", displayMode);
if (displayMode == 1)
RvTestResultDlg(rv, "GetContentCharset");
FormatAndPrintOutput("the charset type = ", charsetType, displayMode);
}
void CnsIChannelTests::SetContentLengthTest(nsIChannel *theChannel, PRInt16 displayMode)
{
PRInt32 contentLength;
contentLength = 100;
rv = theChannel->SetContentLength(contentLength);
RvTestResult(rv, "SetContentLength", displayMode);
if (displayMode == 1)
RvTestResultDlg(rv, "SetContentLength");
}
void CnsIChannelTests::GetContentLengthTest(nsIChannel *theChannel, PRInt16 displayMode)
{
PRInt32 contentLength;
rv = theChannel->GetContentLength(&contentLength);
RvTestResult(rv, "GetContentLength", displayMode);
if (displayMode == 1)
RvTestResultDlg(rv, "GetContentLength");
FormatAndPrintOutput("the content length = ", contentLength, displayMode);
}
void CnsIChannelTests::OpenTest(nsIChannel *theChannel, PRInt16 displayMode)
{
rv = theChannel->Open(getter_AddRefs(theInputStream));
if (!theInputStream)
{
QAOutput("Didn't get theInputStream object. OpenTest failed.", displayMode);
return;
}
RvTestResult(rv, "OpenTest", displayMode);
if (displayMode == 1)
RvTestResultDlg(rv, "OpenTest");
}
void CnsIChannelTests::AsyncOpenTest(nsIChannel *theChannel, PRInt16 displayMode)
{
nsCOMPtr<nsIStreamListener> listener(NS_STATIC_CAST(nsIStreamListener*, qaBrowserImpl));
nsCOMPtr<nsIWeakReference> thisListener(dont_AddRef(NS_GetWeakReference(listener)));
qaWebBrowser->AddWebBrowserListener(thisListener, NS_GET_IID(nsIStreamListener));
if (!listener) {
QAOutput("Didn't get the stream listener object. AsyncOpenTest failed.", displayMode);
return;
}
// this calls nsIStreamListener::OnDataAvailable()
rv = theChannel->AsyncOpen(listener, nsnull);
RvTestResult(rv, "AsyncOpen()", displayMode);
if (displayMode == 1)
RvTestResultDlg(rv, "AsyncOpen()");
}
void CnsIChannelTests::OnStartTests(UINT nMenuID)
{
theSpec = "http://www.netscape.com";
theChannel = GetChannelObject(theSpec);
if (!theChannel)
{
QAOutput("Didn't get nsIChannel object. Test not run.", 1);
return;
}
switch(nMenuID)
{
case ID_INTERFACES_NSICHANNEL_RUNALLTESTS :
RunAllTests();
break ;
case ID_INTERFACES_NSICHANNEL_SETORIGINALURI :
SetOriginalURITest(theChannel, theSpec, 2);
break ;
case ID_INTERFACES_NSICHANNEL_GETORIGINALURI :
GetOriginalURITest(theChannel, 2);
break ;
case ID_INTERFACES_NSICHANNEL_GETURI :
GetURITest(theChannel, 2);
break ;
case ID_INTERFACES_NSICHANNEL_SETOWNER :
SetOwnerTest(theChannel, 2);
break ;
case ID_INTERFACES_NSICHANNEL_GETOWNER :
GetOwnerTest(theChannel, 2);
break ;
case ID_INTERFACES_NSICHANNEL_SETNOTIFICATIONS :
SetNotificationsTest(theChannel, 2);
break ;
case ID_INTERFACES_NSICHANNEL_GETNOTIFICATIONS :
GetNotificationsTest(theChannel, 2);
break ;
case ID_INTERFACES_NSICHANNEL_GETSECURITYINFO :
GetSecurityInfoTest(theChannel, 2);
break ;
case ID_INTERFACES_NSICHANNEL_SETCONTENTTYPE :
SetContentTypeTest(theChannel, 2);
break ;
case ID_INTERFACES_NSICHANNEL_GETCONTENTTYPE :
GetContentTypeTest(theChannel, 2);
break ;
case ID_INTERFACES_NSICHANNEL_SETCONTENTCHARSET :
SetContentCharsetTest(theChannel, 2);
break ;
case ID_INTERFACES_NSICHANNEL_GETCONTENTCHARSET :
GetContentCharsetTest(theChannel, 2);
break ;
case ID_INTERFACES_NSICHANNEL_SETCONTENTLENGTH :
SetContentLengthTest(theChannel, 2);
break ;
case ID_INTERFACES_NSICHANNEL_GETCONTENTLENGTH :
GetContentLengthTest(theChannel, 2);
break ;
case ID_INTERFACES_NSICHANNEL_OPEN :
OpenTest(theChannel, 2);
break ;
case ID_INTERFACES_NSICHANNEL_ASYNCOPEN :
AsyncOpenTest(theChannel, 2);
break ;
}
}
void CnsIChannelTests::RunAllTests()
{
theSpec = "http://www.netscape.com";
theChannel = GetChannelObject(theSpec);
if (!theChannel)
{
QAOutput("Didn't get nsIChannel object. RunAllTests not run.", 2);
return;
}
SetOriginalURITest(theChannel, theSpec, 1);
GetOriginalURITest(theChannel, 1);
GetURITest(theChannel, 1);
SetOwnerTest(theChannel, 1);
GetOwnerTest(theChannel, 1);
SetNotificationsTest(theChannel, 1);
GetNotificationsTest(theChannel, 1);
GetSecurityInfoTest(theChannel, 1);
SetContentTypeTest(theChannel, 1);
GetContentTypeTest(theChannel, 1);
SetContentCharsetTest(theChannel, 1);
GetContentCharsetTest(theChannel, 1);
SetContentLengthTest(theChannel, 1);
GetContentLengthTest(theChannel, 1);
OpenTest(theChannel, 1);
AsyncOpenTest(theChannel, 1);
}

Просмотреть файл

@ -0,0 +1,112 @@
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/* ***** BEGIN LICENSE BLOCK *****
* Version: NPL 1.1/GPL 2.0/LGPL 2.1
*
* The contents of this file are subject to the Netscape Public License
* Version 1.1 (the "License"); you may not use this file except in
* compliance with the License. You may obtain a copy of the License at
* http://www.mozilla.org/NPL/
*
* Software distributed under the License is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
* for the specific language governing rights and limitations under the
* License.
*
* The Original Code is mozilla.org code.
*
* The Initial Developer of the Original Code is
* Netscape Communications Corporation.
* Portions created by the Initial Developer are Copyright (C) 1998
* the Initial Developer. All Rights Reserved.
*
* Contributor(s):
* David Epstein <depstein@netscape.com>
*
*
* Alternatively, the contents of this file may be used under the terms of
* either the GNU General Public License Version 2 or later (the "GPL"), or
* the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
* in which case the provisions of the GPL or the LGPL are applicable instead
* of those above. If you wish to allow use of your version of this file only
* under the terms of either the GPL or the LGPL, and not to allow others to
* use your version of this file under the terms of the NPL, indicate your
* decision by deleting the provisions above and replace them with the notice
* and other provisions required by the GPL or the LGPL. If you do not delete
* the provisions above, a recipient may use your version of this file under
* the terms of any one of the NPL, the GPL or the LGPL.
*
* ***** END LICENSE BLOCK ***** */
// nsIChannelTests.h : header file for nsIChannel test cases
#include "Tests.h"
#if !defined(AFX_NSICHANNELTESTS_H__33C5EBD3_0178_11D7_9C13_00C04FA02BE6__INCLUDED_)
#define AFX_NSICHANNELTESTS_H__33C5EBD3_0178_11D7_9C13_00C04FA02BE6__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// nsIChannelTests.h : header file
//
/////////////////////////////////////////////////////////////////////////////
// nsIChannelTests window
class CnsIChannelTests
{
// Construction
public:
CnsIChannelTests(nsIWebBrowser* mWebBrowser, CBrowserImpl *mpBrowserImpl);
// Attributes
public:
// Operations
public:
// Implementation
nsIChannel * GetChannelObject(nsCAutoString);
nsIURI * GetURIObject(nsCAutoString);
void SetOriginalURITest(nsIChannel *, nsCAutoString, PRInt16);
void GetOriginalURITest(nsIChannel *, PRInt16);
void GetURITest(nsIChannel *, PRInt16);
void SetOwnerTest(nsIChannel *, PRInt16);
void GetOwnerTest(nsIChannel *, PRInt16);
void SetNotificationsTest(nsIChannel *, PRInt16);
void GetNotificationsTest(nsIChannel *, PRInt16);
void GetSecurityInfoTest(nsIChannel *, PRInt16);
void SetContentTypeTest(nsIChannel *, PRInt16);
void GetContentTypeTest(nsIChannel *, PRInt16);
void SetContentCharsetTest(nsIChannel *, PRInt16);
void GetContentCharsetTest(nsIChannel *, PRInt16);
void SetContentLengthTest(nsIChannel *, PRInt16);
void GetContentLengthTest(nsIChannel *, PRInt16);
void OpenTest(nsIChannel *, PRInt16);
void AsyncOpenTest(nsIChannel *, PRInt16);
void OnStartTests(UINT nMenuID);
void RunAllTests();
public:
virtual ~CnsIChannelTests();
// Generated message map functions
protected:
private:
CBrowserImpl *qaBrowserImpl;
nsCOMPtr<nsIWebBrowser> qaWebBrowser;
nsCOMPtr<nsIChannel> theChannel;
nsCOMPtr<nsIURI> theURI;
nsCOMPtr<nsISupports> theSupports;
nsCOMPtr<nsIInterfaceRequestor> theIRequestor;
nsCOMPtr<nsIInputStream> theInputStream;
nsCAutoString theSpec;
};
/////////////////////////////////////////////////////////////////////////////
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_NSICHANNELTESTS_H__33C5EBD3_0178_11D7_9C13_00C04FA02BE6__INCLUDED_)

Просмотреть файл

@ -250,7 +250,7 @@ nsIChannel * CNsIRequest::GetTheChannel(int i, nsILoadGroup *theLoadGroup)
}
else {
RvTestResult(rv, "NS_NewChannel", 1);
RvTestResultDlg(rv, "NS_NewURI");
RvTestResultDlg(rv, "NS_NewChannel");
}
nsCOMPtr<nsIStreamListener> listener(NS_STATIC_CAST(nsIStreamListener*, qaBrowserImpl));

Просмотреть файл

@ -1,298 +1,315 @@
//{{NO_DEPENDENCIES}}
// Microsoft Developer Studio generated include file.
// Used by testembed.rc
//
#define IDD_ABOUTBOX 100
#define IDR_MAINFRAME 128
#define IDR_MOZEMBTYPE 129
#define IDR_CTXMENU_DOCUMENT 130
#define IDR_CTXMENU_LINK 131
#define IDR_CTXMENU_TEXT 132
#define IDR_CTXMENU_IMAGE 133
#define IDD_PROMPT_DIALOG 134
#define IDD_PROMPT_PASSWORD_DIALOG 135
#define IDD_PROMPT_USERPASS_DIALOG 136
#define IDD_PROFILES 137
#define IDD_PROFILE_NEW 138
#define IDD_PROFILE_RENAME 139
#define IDD_FINDDLG 140
#define IDD_PRINT_PROGRESS_DIALOG 141
#define IDD_PREFS_START_PAGE 142
#define IDD_URLDIALOG 144
#define IDD_DIALOG1 145
#define IDD_RUNTESTSDLG 145
#define IDD_QAFINDDLG 147
#define IDD_WEBPROGDLG 148
#define ID_URL_BAR 1001
#define ID_PROG_BAR 1002
#define IDC_PROMPT_ANSWER 1003
#define IDC_PROMPT_QUESTION 1004
#define IDC_PROMPT_TEXT 1005
#define IDC_USERNAME 1006
#define IDC_PASSWORD 1007
#define IDC_CHECK_SAVE_PASSWORD 1008
#define IDC_USERNAME_LABEL 1009
#define IDC_PASSWORD_LABEL 1010
#define IDC_LIST1 1011
#define IDC_PROF_RENAME 1012
#define IDC_PROF_DELETE 1013
#define IDC_PROF_NEW 1014
#define IDC_CHECK_ASK_AT_START 1015
#define IDC_NEW_PROF_NAME 1016
#define IDC_LOCALE_COMBO 1017
#define IDC_NEW_NAME 1018
#define IDC_PPD_DOC_TXT 1020
#define IDC_PPD_DOC_TITLE_STATIC 1021
#define IDC_ENTER_URLTEXT 1022
#define IDC_URLFIELD 1023
#define IDC_COMBO1 1025
#define IDC_CHECK1 1027
#define IDC_CHKURLFLAG 1027
#define IDC_TEXTFIELD 1028
#define IDC_WPCOMBO 1031
#define IDC_COMBO2 1032
#define IDC_MATCH_WHOLE_WORD 1040
#define IDC_MATCH_CASE 1041
#define IDC_WRAP_AROUND 1042
#define IDC_SEARCH_BACKWARDS 1043
#define IDC_FIND_EDIT 1152
#define IDC_RADIO_BLANK_PAGE 1153
#define IDC_RADIO_HOME_PAGE 1154
#define IDC_EDIT_HOMEPAGE 1155
#define ID_NAV_BACK 32773
#define ID_NAV_FORWARD 32774
#define ID_NAV_HOME 32775
#define ID_NAV_STOP 32776
#define ID_NAV_RELOAD 32777
#define ID_EDIT_SELECT_NONE 32778
#define ID_NEW_BROWSER 32779
#define ID_VIEW_SOURCE 32780
#define ID_VIEW_INFO 32781
#define ID_VIEW_IMAGE 32782
#define ID_OPEN_LINK_IN_NEW_WINDOW 32783
#define ID_SAVE_LINK_AS 32784
#define ID_SAVE_IMAGE_AS 32785
#define ID_COPY_LINK_LOCATION 32786
#define ID_MANAGE_PROFILES 32787
#define ID_EDIT_PREFERENCES 32788
#define ID_TESTS_CHANGEURL 32789
#define ID_TESTS_GLOBALHISTORY 32790
#define ID_TOOLS_REMOVEGHPAGE 32791
#define ID_TESTS_CREATEFILE 32792
#define ID_INTERFACES_NSIFILE 32793
#define ID_TESTS_CREATEPROFILE 32794
#define ID_INTERFACES_NSISHISTORY 32795
#define ID_VERIFYBUGS_70228 32796
#define ID_TOOLS_REMOVEALLGH 32797
#define ID_TESTS_ADDWEBPROGLISTENER 32798
#define ID_TESTS_ADDHISTORYLISTENER 32799
#define ID_INTERFACES_NSIWEBNAV 32800
#define ID_TOOLS_TESTYOURMETHOD 32801
#define ID_TOOLS_TESTYOURMETHOD2 32802
#define ID_INTERFACES_NSIREQUEST 32803
#define ID_INTERFACES_TEMP 32804
#define ID_INTERFACES_NSIDOMWINDOW_RUNALLTESTS 32808
#define ID_INTERFACES_NSIDOMWINDOW_GETDOMDOCUMENT 32809
#define ID_INTERFACES_NSIDOMWINDOW_GETPARENT 32810
#define ID_INTERFACES_NSIDOMWINDOW_GETSCROLLBARS 32811
#define ID_INTERFACES_NSIDOMWINDOW_GETFRAMES 32812
#define ID_INTERFACES_NSIDOMWINDOW_GETNAME 32813
#define ID_INTERFACES_NSIDOMWINDOW_GETSCSOLLX 32814
#define ID_INTERFACES_NSIDOMWINDOW_GETSCROLLY 32815
#define ID_INTERFACES_NSIDOMWINDOW_SCROLLTO 32816
#define ID_INTERFACES_NSIDOMWINDOW_SCROLLBY 32817
#define ID_INTERFACES_NSIDOMWINDOW_GETSELECTION 32818
#define ID_INTERFACES_NSIDOMWINDOW_SCROLLBYLINES 32819
#define ID_INTERFACES_NSIDOMWINDOW_SCROLLBYPAGES 32820
#define ID_INTERFACES_NSIDOMWINDOW_SIZETOCONTENT 32821
#define ID_INTERFACES_NSIDIRECTORYSERVICE_RUNALLTESTS 32826
#define ID_INTERFACES_NSIDIRECTORYSERVICE_INIT 32827
#define ID_INTERFACES_NSIDIRECTORYSERVICE_REGISTERPROVIDER 32828
#define ID_INTERFACES_NSIDIRECTORYSERVICE_UNREGISTERPROVIDER 32829
#define ID_INTERFACES_NSISELECTION_RUNALLTESTS 32832
#define ID_VERIFYBUGS_90195 32833
#define ID_INTERFACES_CALLBACKS_NSISTREAMLISTENER 32834
#define ID_INTERFACES_CALLBACKS_NSIREQUESTOBSERVER 32835
#define ID_INTERFACES_CALLBACKS_NSISTREAMOBSERVER 32836
#define ID_INTERFACES_NSISELECTION_GETANCHORNODE 32837
#define ID_INTERFACES_NSISELECTION_GETANCHOROFFSET 32838
#define ID_INTERFACES_NSISELECTION_GETFOCUSNODE 32839
#define ID_INTERFACES_NSISELECTION_GETFOCUSOFFSET 32840
#define ID_INTERFACES_NSISELECTION_GETISCOLLAPSED 32841
#define ID_INTERFACES_NSISELECTION_GETRANGECOUNT 32842
#define ID_INTERFACES_NSISELECTION_GETRANGEAT 32843
#define ID_INTERFACES_NSISELECTION_COLLAPSE 32844
#define ID_INTERFACES_NSISELECTION_EXTEND 32845
#define ID_INTERFACES_NSISELECTION_COLLAPSETOSTART 32846
#define ID_INTERFACES_NSISELECTION_COLLAPSETOEND 32847
#define ID_INTERFACES_NSISELECTION_CONTAINSNODE 32848
#define ID_INTERFACES_NSISELECTION_SELECTALLCHILDREN 32849
#define ID_INTERFACES_NSISELECTION_ADDRANGE 32850
#define ID_INTERFACES_NSISELECTION_REMOVERANGE 32851
#define ID_INTERFACES_NSISELECTION_REMOVEALLRANGES 32852
#define ID_INTERFACES_NSISELECTION_DELETEFROMDOCUMENT 32853
#define ID_INTERFACES_NSISELECTION_SELECTIONLANGUAGECHANGE 32854
#define ID_INTERFACES_NSISELECTION_TOSTRING 32855
#define ID_INTERFACES_NSISELECTION_A 32857
#define ID_INTERFACES_NSIPROFILE_RUNALLTESTS 32858
#define ID_INTERFACES_NSIPROFILE_GETPROFILECOUNT 32859
#define ID_INTERFACES_NSIPROFILE_GETCURRENTPROFILE 32860
#define ID_INTERFACES_NSIPROFILE_SETCURRENTPROFILE 32861
#define ID_INTERFACES_NSIPROFILE_GETPROFILELIST 32862
#define ID_INTERFACES_NSIPROFILE_PROFILEEXISTS 32863
#define ID_INTERFACES_NSIPROFILE_CREATENEWPROFILE 32864
#define ID_INTERFACES_NSIPROFILE_RENAMEPROFILE 32865
#define ID_INTERFACES_NSIPROFILE_DELETEPROFILE 32866
#define ID_INTERFACES_NSIPROFILE_CLONEPROFILE 32867
#define ID_INTERFACES_NSIPROFILE_SHUTDOWNCURRENTPROFILE 32868
#define ID_INTERFACES_NSISHISTORY_GETCOUNT 32870
#define ID_INTERFACES_NSISHISTORY_GETINDEX 32871
#define ID_INTERFACES_NSISHISTORY_GETMAXLENGTH 32872
#define ID_INTERFACES_NSISHISTORY_SETMAXLENGTH 32873
#define ID_INTERFACES_NSISHISTORY_GETENTRYATINDEX 32874
#define ID_INTERFACES_NSISHISTORY_PURGEHISTORY 32875
#define ID_INTERFACES_NSISHISTORY_GETSHISTORYENUMERATOR 32878
#define ID_INTERFACES_NSISHISTORY_RUNALLTESTS 32879
#define ID_TESTS_REMOVEHISTORYLISTENER 32880
#define ID_INTERFACES_NSISHISTORY_NSIHISTORYENTRY_RUNALLTESTS 32881
#define ID_INTERFACES_NSISHISTORY_NSIHISTORYENTRY_GETURI 32882
#define ID_INTERFACES_NSISHISTORY_NSIHISTORYENTRY_GETTITLE 32883
#define ID_INTERFACES_NSISHISTORY_NSIHISTORYENTRY_GETISSUBFRAME 32884
#define ID_INTERFACES_NSIREQUEST_GETNAME 32885
#define ID_INTERFACES_NSIREQUEST_ISPENDING 32886
#define ID_INTERFACES_NSIREQUEST_GETSTATUS 32887
#define ID_INTERFACES_NSIREQUEST_CANCEL 32888
#define ID_INTERFACES_NSIREQUEST_SUSPEND 32889
#define ID_INTERFACES_NSIREQUEST_RESUME 32890
#define ID_INTERFACES_NSIREQUEST_GETLOADGROUP 32891
#define ID_INTERFACES_NSIREQUEST_SETLOADGROUP 32892
#define ID_INTERFACES_NSIREQUEST_GETLOADFLAGS 32893
#define ID_INTERFACES_NSIREQUEST_SETLOADFLAGS 32894
#define ID_INTERFACES_NSIWEBNAV_GETCANGOBACK 32895
#define ID_INTERFACES_NSIWEBNAV_GETCANGOFORWARD 32896
#define ID_INTERFACES_NSIWEBNAV_GOBACK 32897
#define ID_INTERFACES_NSIWEBNAV_GOFORWARD 32898
#define ID_INTERFACES_NSIWEBNAV_GOTOINDEX 32899
#define ID_INTERFACES_NSIWEBNAV_LOADURI 32900
#define ID_INTERFACES_NSIWEBNAV_RELOAD 32901
#define ID_INTERFACES_NSIWEBNAV_STOP 32902
#define ID_INTERFACES_NSIWEBNAV_GETDOCUMENT 32903
#define ID_INTERFACES_NSIWEBNAV_GETCURRENTURI 32904
#define ID_INTERFACES_NSIWEBNAV_GETSESSIONHISTORY 32905
#define ID_INTERFACES_NSIWEBNAV_SETSESSIONHISTORY 32906
#define ID_INTERFACES_NSIWEBNAV_RUNALLTESTS 32907
#define ID_INTERFACES_NSIREQUEST_RUNALLTESTS 32908
#define ID_INTERFACES_NSIDOMWINDOW_GETTEXTZOOM 32910
#define ID_INTERFACES_NSIDOMWINDOW_SETTEXTZOOM 32911
#define ID_INTERFACES_NSICLIPBOARDCOMMANDS_PASTE 32912
#define ID_INTERFACES_NSICLIPBOARDCOMMANDS_COPYSELECTION 32913
#define ID_INTERFACES_NSICLIPBOARDCOMMANDS_SELECTALL 32914
#define ID_INTERFACES_NSICLIPBOARDCOMMANDS_SELECTNONE 32915
#define ID_INTERFACES_NSICLIPBOARDCOMMANDS_CUTSELECTION 32916
#define ID_INTERFACES_NSICLIPBOARDCOMMANDS_COPYLINKLOCATION 32917
#define ID_INTERFACES_NSICLIPBOARDCOMMANDS_CANCOPYSELECTION 32918
#define ID_INTERFACES_NSICLIPBOARDCOMMANDS_CANCUTSELECTION 32919
#define ID_INTERFACES_NSICLIPBOARDCOMMANDS_CANPASTE 32920
#define ID_INTERFACES_NSIOBSERVERSERVICE_RUNALLTESTS 32922
#define ID_INTERFACES_NSIOBSERVERSERVICE_ADDOBSERVERS 32923
#define ID_INTERFACES_NSIOBSERVERSERVICE_ENUMERATEOBSERVERS 32924
#define ID_INTERFACES_NSIOBSERVERSERVICE_NOTIFYOBSERVERS 32925
#define ID_INTERFACES_NSIOBSERVERSERVICE_REMOVEOBSERVERS 32926
#define ID_INTERFACES_NSIFILE_INITWITHPATH 32927
#define ID_INTERFACES_NSIFILE_APPENDRELATICEPATH 32928
#define ID_INTERFACES_NSIFILE_EXISTS 32929
#define ID_INTERFACES_NSIFILE_CREATE 32930
#define ID_INTERFACES_NSIFILE_COPYTO 32931
#define ID_INTERFACES_NSIFILE_MOVETO 32932
#define ID_INTERFACES_NSIFILE_RUNALLTESTS 32933
#define ID_INTERFACES_NSIWEBBROWSER 32934
#define ID_INTERFACES_NSIWEBBROWSER_RUNALLTESTS 32935
#define ID_INTERFACES_NSIWEBBROWSER_ADDWEBBROWSERLISTENER 32938
#define ID_INTERFACES_NSIWEBBROWSER_REMOVEWEBBROWSERLISTENER 32939
#define ID_INTERFACES_NSIWEBBROWSER_GETCONTAINERWINDOW 32940
#define ID_INTERFACES_NSIWEBBROWSER_SETCONTAINERWINDOW 32941
#define ID_INTERFACES_NSIWEBBROWSER_GETPARENTURICONTENTLISTENER 32942
#define ID_INTERFACES_NSIWEBBROWSER_SETPARENTURICONTENTLISTENER 32943
#define ID_INTERFACES_NSIWEBBROWSER_GETCONTENTDOMWINDOW 32944
#define ID_INTERFACES_NSIWEBBROWSER_NSIWBSETUPSETPROPERTY 32945
#define ID_INTERFACES_NSIWEBPROGRESS_RUNALLTESTS 32947
#define ID_INTERFACES_NSIWEBPROGRESS_ADDPROGRESSLISTENER 32948
#define ID_INTERFACES_NSIWEBPROGRESS_REMOVEPROGRESSLISTENER 32949
#define ID_INTERFACES_NSIWEBPROGRESS_GETDOMWINDOW 32950
#define ID_INTERFACES_NSIWEBBROWSERFIND_RUNALLTESTS 32951
#define ID_INTERFACES_NSIWEBBROWSERFIND_SETSEARCHSTRINGTEST 32952
#define ID_INTERFACES_NSIWEBBROWSERFIND_GETSEARCHSTRINGTEST 32953
#define ID_INTERFACES_NSIWEBBROWSERFIND_FINDNEXTTEST 32954
#define ID_INTERFACES_NSIWEBBROWSERFIND_SETFINDBACKWARDSTEST 32955
#define ID_INTERFACES_NSIWEBBROWSERFIND_GETFINDBACKWARDSTEST 32956
#define ID_INTERFACES_NSIWEBBROWSERFIND_SETWRAPFINDTEST 32957
#define ID_INTERFACES_NSIWEBBROWSERFIND_GETWRAPFINDTEST 32958
#define ID_INTERFACES_NSIWEBBROWSERFIND_SETENTIREWORDTEST 32959
#define ID_INTERFACES_NSIWEBBROWSERFIND_GETENTIREWORDTEST 32960
#define ID_INTERFACES_NSIWEBBROWSERFIND_SETMATCHCASE 32961
#define ID_INTERFACES_NSIWEBBROWSERFIND_GETMATCHCASE 32962
#define ID_INTERFACES_NSIWEBBROWSERFIND_SETSEARCHFRAMES 32963
#define ID_INTERFACES_NSIWEBBROWSERFIND_GETSEARCHFRAMES 32964
#define ID_INTERFACES_NSIEDITINGSESSION_RUNALLTESTS 32966
#define ID_INTERFACES_NSIEDITINGSESSION_INIT 32967
#define ID_INTERFACES_NSIEDITINGSESSION_MAKEWINDOWEDITABLE 32968
#define ID_INTERFACES_NSIEDITINGSESSION_WINDOWISEDITABLE 32969
#define ID_INTERFACES_NSIEDITINGSESSION_GETEDITORFORWINDOW 32970
#define ID_INTERFACES_NSIEDITINGSESSION_SETUPEDITORONWINDOW 32971
#define ID_INTERFACES_NSIEDITINGSESSION_TEARDOWNEDITORONWINDOW 32972
#define ID_INTERFACES_NSICOMMANDMANAGER_RUNALLTESTS 32973
#define ID_INTERFACES_NSICOMMANDMANAGER_ADDCOMMANDOBSERVER 32974
#define ID_INTERFACES_NSICOMMANDMANAGER_REMOVECOMMANDOBSERVER 32975
#define ID_INTERFACES_NSICOMMANDMANAGER_ISCOMMANDESUPPORTED 32976
#define ID_INTERFACES_NSICOMMANDMANAGER_ISCOMMANDENABLED 32977
#define ID_INTERFACES_NSICOMMANDMANAGER_GETCOMMANDSTATE 32978
#define ID_INTERFACES_NSICOMMANDMANAGER_DOCOMMAND 32979
#define ID_INTERFACES_NSICOMMANDPARAMS_RUNALLTESTS 32980
#define ID_INTERFACES_NSICOMMANDPARAMS_GETVALUETYPE 32981
#define ID_INTERFACES_NSICOMMANDPARAMS_GETBOOLEANVALUE 32982
#define ID_INTERFACES_NSICOMMANDPARAMS_GETLONGVALUE 32983
#define ID_INTERFACES_NSICOMMANDPARAMS_GETDOUBLEVALUE 32984
#define ID_INTERFACES_NSICOMMANDPARAMS_GETSTRINGVALUE 32985
#define ID_INTERFACES_NSICOMMANDPARAMS_GETISUPPORTSVALUE 32986
#define ID_INTERFACES_NSICOMMANDPARAMS_SETBOOLEANVALUE 32987
#define ID_INTERFACES_NSICOMMANDPARAMS_SETLONGVALUE 32988
#define ID_INTERFACES_NSICOMMANDPARAMS_SETDOUBLEVALUE 32989
#define ID_INTERFACES_NSICOMMANDPARAMS_SETSTRINGVALUE 32990
#define ID_INTERFACES_NSICOMMANDPARAMS_SETISUPPORTSVALUE 32991
#define ID_INTERFACES_NSICOMMANDPARAMS_REMOVEVALUE 32992
#define ID_INTERFACES_NSICOMMANDPARAMS_HASMOREELEMENTS 32993
#define ID_INTERFACES_NSICOMMANDPARAMS_FIRST 32994
#define ID_INTERFACES_NSICOMMANDPARAMS_GETNEXT 32995
#define ID_INTERFACES_NSICOMMANDPARAMS_GETCSTRINGVALUE 32996
#define ID_INTERFACES_NSICOMMANDPARAMS_SETCSTRINGVALUE 32997
#define ID_TESTS_ADDURICONTENTLISTENER_ADDFROMNSIWEBBROWSER 32998
#define ID_TESTS_ADDURICONTENTLISTENER_ADDFROMNSIURILOADER 32999
#define ID_TESTS_ADDURICONTENTLISTENER_OPENURI 33000
#define ID_TESTS_NSNEWCHANNEL 33001
#define ID_VERIFYBUGS_169617 33002
#define ID_VERIFYBUGS_170274 33003
#define ID_TESTS_NSIIOSERVICENEWURI 33005
#define ID_TESTS_NSIPROTOCOLHANDLERNEWURI 33006
#define ID_INTERFACES_NSIWEBPROGRESS_ISLOADINGDOCUMENT 33007
#define ID_INTERFACES_RUNALLTESTCASES 33008
#define ID_CLIPBOARDCMD_PASTE 42789
#define ID_CLIPBOARDCMD_COPYSELECTION 42790
#define ID_CLIPBOARDCMD_SELECTALL 42791
#define ID_CLIPBOARDCMD_SELECTNONE 42792
#define ID_CLIPBOARDCMD_CUTSELECTION 42793
#define ID_CLIPBOARDCMD_COPYLINKLOCATION 42794
#define ID_CLIPBOARDCMD_CANCOPYSELECTION 42795
#define ID_CLIPBOARDCMD_CANCUTSELECTION 42796
#define ID_CLIPBOARDCMD_CANPASTE 42797
// Next default values for new objects
//
#ifdef APSTUDIO_INVOKED
#ifndef APSTUDIO_READONLY_SYMBOLS
#define _APS_3D_CONTROLS 1
#define _APS_NEXT_RESOURCE_VALUE 153
#define _APS_NEXT_COMMAND_VALUE 33009
#define _APS_NEXT_CONTROL_VALUE 1033
#define _APS_NEXT_SYMED_VALUE 101
#endif
#endif
//{{NO_DEPENDENCIES}}
// Microsoft Developer Studio generated include file.
// Used by testembed.rc
//
#define IDD_ABOUTBOX 100
#define IDR_MAINFRAME 128
#define IDR_MOZEMBTYPE 129
#define IDR_CTXMENU_DOCUMENT 130
#define IDR_CTXMENU_LINK 131
#define IDR_CTXMENU_TEXT 132
#define IDR_CTXMENU_IMAGE 133
#define IDD_PROMPT_DIALOG 134
#define IDD_PROMPT_PASSWORD_DIALOG 135
#define IDD_PROMPT_USERPASS_DIALOG 136
#define IDD_PROFILES 137
#define IDD_PROFILE_NEW 138
#define IDD_PROFILE_RENAME 139
#define IDD_FINDDLG 140
#define IDD_PRINT_PROGRESS_DIALOG 141
#define IDD_PREFS_START_PAGE 142
#define IDD_URLDIALOG 144
#define IDD_DIALOG1 145
#define IDD_RUNTESTSDLG 145
#define IDD_QAFINDDLG 147
#define IDD_WEBPROGDLG 148
#define ID_URL_BAR 1001
#define ID_PROG_BAR 1002
#define IDC_PROMPT_ANSWER 1003
#define IDC_PROMPT_QUESTION 1004
#define IDC_PROMPT_TEXT 1005
#define IDC_USERNAME 1006
#define IDC_PASSWORD 1007
#define IDC_CHECK_SAVE_PASSWORD 1008
#define IDC_USERNAME_LABEL 1009
#define IDC_PASSWORD_LABEL 1010
#define IDC_LIST1 1011
#define IDC_PROF_RENAME 1012
#define IDC_PROF_DELETE 1013
#define IDC_PROF_NEW 1014
#define IDC_CHECK_ASK_AT_START 1015
#define IDC_NEW_PROF_NAME 1016
#define IDC_LOCALE_COMBO 1017
#define IDC_NEW_NAME 1018
#define IDC_PPD_DOC_TXT 1020
#define IDC_PPD_DOC_TITLE_STATIC 1021
#define IDC_ENTER_URLTEXT 1022
#define IDC_URLFIELD 1023
#define IDC_COMBO1 1025
#define IDC_CHECK1 1027
#define IDC_CHKURLFLAG 1027
#define IDC_TEXTFIELD 1028
#define IDC_WPCOMBO 1031
#define IDC_COMBO2 1032
#define IDC_MATCH_WHOLE_WORD 1040
#define IDC_MATCH_CASE 1041
#define IDC_WRAP_AROUND 1042
#define IDC_SEARCH_BACKWARDS 1043
#define IDC_FIND_EDIT 1152
#define IDC_RADIO_BLANK_PAGE 1153
#define IDC_RADIO_HOME_PAGE 1154
#define IDC_EDIT_HOMEPAGE 1155
#define ID_NAV_BACK 32773
#define ID_NAV_FORWARD 32774
#define ID_NAV_HOME 32775
#define ID_NAV_STOP 32776
#define ID_NAV_RELOAD 32777
#define ID_EDIT_SELECT_NONE 32778
#define ID_NEW_BROWSER 32779
#define ID_VIEW_SOURCE 32780
#define ID_VIEW_INFO 32781
#define ID_VIEW_IMAGE 32782
#define ID_OPEN_LINK_IN_NEW_WINDOW 32783
#define ID_SAVE_LINK_AS 32784
#define ID_SAVE_IMAGE_AS 32785
#define ID_COPY_LINK_LOCATION 32786
#define ID_MANAGE_PROFILES 32787
#define ID_EDIT_PREFERENCES 32788
#define ID_TESTS_CHANGEURL 32789
#define ID_TESTS_GLOBALHISTORY 32790
#define ID_TOOLS_REMOVEGHPAGE 32791
#define ID_TESTS_CREATEFILE 32792
#define ID_INTERFACES_NSIFILE 32793
#define ID_TESTS_CREATEPROFILE 32794
#define ID_INTERFACES_NSISHISTORY 32795
#define ID_VERIFYBUGS_70228 32796
#define ID_TOOLS_REMOVEALLGH 32797
#define ID_TESTS_ADDWEBPROGLISTENER 32798
#define ID_TESTS_ADDHISTORYLISTENER 32799
#define ID_INTERFACES_NSIWEBNAV 32800
#define ID_TOOLS_TESTYOURMETHOD 32801
#define ID_TOOLS_TESTYOURMETHOD2 32802
#define ID_INTERFACES_NSIREQUEST 32803
#define ID_INTERFACES_TEMP 32804
#define ID_INTERFACES_NSIDOMWINDOW_RUNALLTESTS 32808
#define ID_INTERFACES_NSIDOMWINDOW_GETDOMDOCUMENT 32809
#define ID_INTERFACES_NSIDOMWINDOW_GETPARENT 32810
#define ID_INTERFACES_NSIDOMWINDOW_GETSCROLLBARS 32811
#define ID_INTERFACES_NSIDOMWINDOW_GETFRAMES 32812
#define ID_INTERFACES_NSIDOMWINDOW_GETNAME 32813
#define ID_INTERFACES_NSIDOMWINDOW_GETSCSOLLX 32814
#define ID_INTERFACES_NSIDOMWINDOW_GETSCROLLY 32815
#define ID_INTERFACES_NSIDOMWINDOW_SCROLLTO 32816
#define ID_INTERFACES_NSIDOMWINDOW_SCROLLBY 32817
#define ID_INTERFACES_NSIDOMWINDOW_GETSELECTION 32818
#define ID_INTERFACES_NSIDOMWINDOW_SCROLLBYLINES 32819
#define ID_INTERFACES_NSIDOMWINDOW_SCROLLBYPAGES 32820
#define ID_INTERFACES_NSIDOMWINDOW_SIZETOCONTENT 32821
#define ID_INTERFACES_NSIDIRECTORYSERVICE_RUNALLTESTS 32826
#define ID_INTERFACES_NSIDIRECTORYSERVICE_INIT 32827
#define ID_INTERFACES_NSIDIRECTORYSERVICE_REGISTERPROVIDER 32828
#define ID_INTERFACES_NSIDIRECTORYSERVICE_UNREGISTERPROVIDER 32829
#define ID_INTERFACES_NSISELECTION_RUNALLTESTS 32832
#define ID_VERIFYBUGS_90195 32833
#define ID_INTERFACES_CALLBACKS_NSISTREAMLISTENER 32834
#define ID_INTERFACES_CALLBACKS_NSIREQUESTOBSERVER 32835
#define ID_INTERFACES_CALLBACKS_NSISTREAMOBSERVER 32836
#define ID_INTERFACES_NSISELECTION_GETANCHORNODE 32837
#define ID_INTERFACES_NSISELECTION_GETANCHOROFFSET 32838
#define ID_INTERFACES_NSISELECTION_GETFOCUSNODE 32839
#define ID_INTERFACES_NSISELECTION_GETFOCUSOFFSET 32840
#define ID_INTERFACES_NSISELECTION_GETISCOLLAPSED 32841
#define ID_INTERFACES_NSISELECTION_GETRANGECOUNT 32842
#define ID_INTERFACES_NSISELECTION_GETRANGEAT 32843
#define ID_INTERFACES_NSISELECTION_COLLAPSE 32844
#define ID_INTERFACES_NSISELECTION_EXTEND 32845
#define ID_INTERFACES_NSISELECTION_COLLAPSETOSTART 32846
#define ID_INTERFACES_NSISELECTION_COLLAPSETOEND 32847
#define ID_INTERFACES_NSISELECTION_CONTAINSNODE 32848
#define ID_INTERFACES_NSISELECTION_SELECTALLCHILDREN 32849
#define ID_INTERFACES_NSISELECTION_ADDRANGE 32850
#define ID_INTERFACES_NSISELECTION_REMOVERANGE 32851
#define ID_INTERFACES_NSISELECTION_REMOVEALLRANGES 32852
#define ID_INTERFACES_NSISELECTION_DELETEFROMDOCUMENT 32853
#define ID_INTERFACES_NSISELECTION_SELECTIONLANGUAGECHANGE 32854
#define ID_INTERFACES_NSISELECTION_TOSTRING 32855
#define ID_INTERFACES_NSISELECTION_A 32857
#define ID_INTERFACES_NSIPROFILE_RUNALLTESTS 32858
#define ID_INTERFACES_NSIPROFILE_GETPROFILECOUNT 32859
#define ID_INTERFACES_NSIPROFILE_GETCURRENTPROFILE 32860
#define ID_INTERFACES_NSIPROFILE_SETCURRENTPROFILE 32861
#define ID_INTERFACES_NSIPROFILE_GETPROFILELIST 32862
#define ID_INTERFACES_NSIPROFILE_PROFILEEXISTS 32863
#define ID_INTERFACES_NSIPROFILE_CREATENEWPROFILE 32864
#define ID_INTERFACES_NSIPROFILE_RENAMEPROFILE 32865
#define ID_INTERFACES_NSIPROFILE_DELETEPROFILE 32866
#define ID_INTERFACES_NSIPROFILE_CLONEPROFILE 32867
#define ID_INTERFACES_NSIPROFILE_SHUTDOWNCURRENTPROFILE 32868
#define ID_INTERFACES_NSISHISTORY_GETCOUNT 32870
#define ID_INTERFACES_NSISHISTORY_GETINDEX 32871
#define ID_INTERFACES_NSISHISTORY_GETMAXLENGTH 32872
#define ID_INTERFACES_NSISHISTORY_SETMAXLENGTH 32873
#define ID_INTERFACES_NSISHISTORY_GETENTRYATINDEX 32874
#define ID_INTERFACES_NSISHISTORY_PURGEHISTORY 32875
#define ID_INTERFACES_NSISHISTORY_GETSHISTORYENUMERATOR 32878
#define ID_INTERFACES_NSISHISTORY_RUNALLTESTS 32879
#define ID_TESTS_REMOVEHISTORYLISTENER 32880
#define ID_INTERFACES_NSISHISTORY_NSIHISTORYENTRY_RUNALLTESTS 32881
#define ID_INTERFACES_NSISHISTORY_NSIHISTORYENTRY_GETURI 32882
#define ID_INTERFACES_NSISHISTORY_NSIHISTORYENTRY_GETTITLE 32883
#define ID_INTERFACES_NSISHISTORY_NSIHISTORYENTRY_GETISSUBFRAME 32884
#define ID_INTERFACES_NSIREQUEST_GETNAME 32885
#define ID_INTERFACES_NSIREQUEST_ISPENDING 32886
#define ID_INTERFACES_NSIREQUEST_GETSTATUS 32887
#define ID_INTERFACES_NSIREQUEST_CANCEL 32888
#define ID_INTERFACES_NSIREQUEST_SUSPEND 32889
#define ID_INTERFACES_NSIREQUEST_RESUME 32890
#define ID_INTERFACES_NSIREQUEST_GETLOADGROUP 32891
#define ID_INTERFACES_NSIREQUEST_SETLOADGROUP 32892
#define ID_INTERFACES_NSIREQUEST_GETLOADFLAGS 32893
#define ID_INTERFACES_NSIREQUEST_SETLOADFLAGS 32894
#define ID_INTERFACES_NSIWEBNAV_GETCANGOBACK 32895
#define ID_INTERFACES_NSIWEBNAV_GETCANGOFORWARD 32896
#define ID_INTERFACES_NSIWEBNAV_GOBACK 32897
#define ID_INTERFACES_NSIWEBNAV_GOFORWARD 32898
#define ID_INTERFACES_NSIWEBNAV_GOTOINDEX 32899
#define ID_INTERFACES_NSIWEBNAV_LOADURI 32900
#define ID_INTERFACES_NSIWEBNAV_RELOAD 32901
#define ID_INTERFACES_NSIWEBNAV_STOP 32902
#define ID_INTERFACES_NSIWEBNAV_GETDOCUMENT 32903
#define ID_INTERFACES_NSIWEBNAV_GETCURRENTURI 32904
#define ID_INTERFACES_NSIWEBNAV_GETSESSIONHISTORY 32905
#define ID_INTERFACES_NSIWEBNAV_SETSESSIONHISTORY 32906
#define ID_INTERFACES_NSIWEBNAV_RUNALLTESTS 32907
#define ID_INTERFACES_NSIREQUEST_RUNALLTESTS 32908
#define ID_INTERFACES_NSIDOMWINDOW_GETTEXTZOOM 32910
#define ID_INTERFACES_NSIDOMWINDOW_SETTEXTZOOM 32911
#define ID_INTERFACES_NSICLIPBOARDCOMMANDS_PASTE 32912
#define ID_INTERFACES_NSICLIPBOARDCOMMANDS_COPYSELECTION 32913
#define ID_INTERFACES_NSICLIPBOARDCOMMANDS_SELECTALL 32914
#define ID_INTERFACES_NSICLIPBOARDCOMMANDS_SELECTNONE 32915
#define ID_INTERFACES_NSICLIPBOARDCOMMANDS_CUTSELECTION 32916
#define ID_INTERFACES_NSICLIPBOARDCOMMANDS_COPYLINKLOCATION 32917
#define ID_INTERFACES_NSICLIPBOARDCOMMANDS_CANCOPYSELECTION 32918
#define ID_INTERFACES_NSICLIPBOARDCOMMANDS_CANCUTSELECTION 32919
#define ID_INTERFACES_NSICLIPBOARDCOMMANDS_CANPASTE 32920
#define ID_INTERFACES_NSIOBSERVERSERVICE_RUNALLTESTS 32922
#define ID_INTERFACES_NSIOBSERVERSERVICE_ADDOBSERVERS 32923
#define ID_INTERFACES_NSIOBSERVERSERVICE_ENUMERATEOBSERVERS 32924
#define ID_INTERFACES_NSIOBSERVERSERVICE_NOTIFYOBSERVERS 32925
#define ID_INTERFACES_NSIOBSERVERSERVICE_REMOVEOBSERVERS 32926
#define ID_INTERFACES_NSIFILE_INITWITHPATH 32927
#define ID_INTERFACES_NSIFILE_APPENDRELATICEPATH 32928
#define ID_INTERFACES_NSIFILE_EXISTS 32929
#define ID_INTERFACES_NSIFILE_CREATE 32930
#define ID_INTERFACES_NSIFILE_COPYTO 32931
#define ID_INTERFACES_NSIFILE_MOVETO 32932
#define ID_INTERFACES_NSIFILE_RUNALLTESTS 32933
#define ID_INTERFACES_NSIWEBBROWSER 32934
#define ID_INTERFACES_NSIWEBBROWSER_RUNALLTESTS 32935
#define ID_INTERFACES_NSIWEBBROWSER_ADDWEBBROWSERLISTENER 32938
#define ID_INTERFACES_NSIWEBBROWSER_REMOVEWEBBROWSERLISTENER 32939
#define ID_INTERFACES_NSIWEBBROWSER_GETCONTAINERWINDOW 32940
#define ID_INTERFACES_NSIWEBBROWSER_SETCONTAINERWINDOW 32941
#define ID_INTERFACES_NSIWEBBROWSER_GETPARENTURICONTENTLISTENER 32942
#define ID_INTERFACES_NSIWEBBROWSER_SETPARENTURICONTENTLISTENER 32943
#define ID_INTERFACES_NSIWEBBROWSER_GETCONTENTDOMWINDOW 32944
#define ID_INTERFACES_NSIWEBBROWSER_NSIWBSETUPSETPROPERTY 32945
#define ID_INTERFACES_NSIWEBPROGRESS_RUNALLTESTS 32947
#define ID_INTERFACES_NSIWEBPROGRESS_ADDPROGRESSLISTENER 32948
#define ID_INTERFACES_NSIWEBPROGRESS_REMOVEPROGRESSLISTENER 32949
#define ID_INTERFACES_NSIWEBPROGRESS_GETDOMWINDOW 32950
#define ID_INTERFACES_NSIWEBBROWSERFIND_RUNALLTESTS 32951
#define ID_INTERFACES_NSIWEBBROWSERFIND_SETSEARCHSTRINGTEST 32952
#define ID_INTERFACES_NSIWEBBROWSERFIND_GETSEARCHSTRINGTEST 32953
#define ID_INTERFACES_NSIWEBBROWSERFIND_FINDNEXTTEST 32954
#define ID_INTERFACES_NSIWEBBROWSERFIND_SETFINDBACKWARDSTEST 32955
#define ID_INTERFACES_NSIWEBBROWSERFIND_GETFINDBACKWARDSTEST 32956
#define ID_INTERFACES_NSIWEBBROWSERFIND_SETWRAPFINDTEST 32957
#define ID_INTERFACES_NSIWEBBROWSERFIND_GETWRAPFINDTEST 32958
#define ID_INTERFACES_NSIWEBBROWSERFIND_SETENTIREWORDTEST 32959
#define ID_INTERFACES_NSIWEBBROWSERFIND_GETENTIREWORDTEST 32960
#define ID_INTERFACES_NSIWEBBROWSERFIND_SETMATCHCASE 32961
#define ID_INTERFACES_NSIWEBBROWSERFIND_GETMATCHCASE 32962
#define ID_INTERFACES_NSIWEBBROWSERFIND_SETSEARCHFRAMES 32963
#define ID_INTERFACES_NSIWEBBROWSERFIND_GETSEARCHFRAMES 32964
#define ID_INTERFACES_NSIEDITINGSESSION_RUNALLTESTS 32966
#define ID_INTERFACES_NSIEDITINGSESSION_INIT 32967
#define ID_INTERFACES_NSIEDITINGSESSION_MAKEWINDOWEDITABLE 32968
#define ID_INTERFACES_NSIEDITINGSESSION_WINDOWISEDITABLE 32969
#define ID_INTERFACES_NSIEDITINGSESSION_GETEDITORFORWINDOW 32970
#define ID_INTERFACES_NSIEDITINGSESSION_SETUPEDITORONWINDOW 32971
#define ID_INTERFACES_NSIEDITINGSESSION_TEARDOWNEDITORONWINDOW 32972
#define ID_INTERFACES_NSICOMMANDMANAGER_RUNALLTESTS 32973
#define ID_INTERFACES_NSICOMMANDMANAGER_ADDCOMMANDOBSERVER 32974
#define ID_INTERFACES_NSICOMMANDMANAGER_REMOVECOMMANDOBSERVER 32975
#define ID_INTERFACES_NSICOMMANDMANAGER_ISCOMMANDESUPPORTED 32976
#define ID_INTERFACES_NSICOMMANDMANAGER_ISCOMMANDENABLED 32977
#define ID_INTERFACES_NSICOMMANDMANAGER_GETCOMMANDSTATE 32978
#define ID_INTERFACES_NSICOMMANDMANAGER_DOCOMMAND 32979
#define ID_INTERFACES_NSICOMMANDPARAMS_RUNALLTESTS 32980
#define ID_INTERFACES_NSICOMMANDPARAMS_GETVALUETYPE 32981
#define ID_INTERFACES_NSICOMMANDPARAMS_GETBOOLEANVALUE 32982
#define ID_INTERFACES_NSICOMMANDPARAMS_GETLONGVALUE 32983
#define ID_INTERFACES_NSICOMMANDPARAMS_GETDOUBLEVALUE 32984
#define ID_INTERFACES_NSICOMMANDPARAMS_GETSTRINGVALUE 32985
#define ID_INTERFACES_NSICOMMANDPARAMS_GETISUPPORTSVALUE 32986
#define ID_INTERFACES_NSICOMMANDPARAMS_SETBOOLEANVALUE 32987
#define ID_INTERFACES_NSICOMMANDPARAMS_SETLONGVALUE 32988
#define ID_INTERFACES_NSICOMMANDPARAMS_SETDOUBLEVALUE 32989
#define ID_INTERFACES_NSICOMMANDPARAMS_SETSTRINGVALUE 32990
#define ID_INTERFACES_NSICOMMANDPARAMS_SETISUPPORTSVALUE 32991
#define ID_INTERFACES_NSICOMMANDPARAMS_REMOVEVALUE 32992
#define ID_INTERFACES_NSICOMMANDPARAMS_HASMOREELEMENTS 32993
#define ID_INTERFACES_NSICOMMANDPARAMS_FIRST 32994
#define ID_INTERFACES_NSICOMMANDPARAMS_GETNEXT 32995
#define ID_INTERFACES_NSICOMMANDPARAMS_GETCSTRINGVALUE 32996
#define ID_INTERFACES_NSICOMMANDPARAMS_SETCSTRINGVALUE 32997
#define ID_TESTS_ADDURICONTENTLISTENER_ADDFROMNSIWEBBROWSER 32998
#define ID_TESTS_ADDURICONTENTLISTENER_ADDFROMNSIURILOADER 32999
#define ID_TESTS_ADDURICONTENTLISTENER_OPENURI 33000
#define ID_TESTS_NSNEWCHANNEL 33001
#define ID_VERIFYBUGS_169617 33002
#define ID_VERIFYBUGS_170274 33003
#define ID_TESTS_NSIIOSERVICENEWURI 33005
#define ID_TESTS_NSIPROTOCOLHANDLERNEWURI 33006
#define ID_INTERFACES_NSIWEBPROGRESS_ISLOADINGDOCUMENT 33007
#define ID_INTERFACES_RUNALLTESTCASES 33008
#define ID_INTERFACES_NSICHANNEL_RUNALLTESTS 33009
#define ID_INTERFACES_NSICHANNEL_SETORIGINALURI 33012
#define ID_INTERFACES_NSICHANNEL_GETORIGINALURI 33013
#define ID_INTERFACES_NSICHANNEL_GETURI 33014
#define ID_INTERFACES_NSICHANNEL_SETOWNER 33015
#define ID_INTERFACES_NSICHANNEL_GETOWNER 33016
#define ID_INTERFACES_NSICHANNEL_SETNOTIFICATIONS 33017
#define ID_INTERFACES_NSICHANNEL_GETNOTIFICATIONS 33018
#define ID_INTERFACES_NSICHANNEL_GETSECURITYINFO 33019
#define ID_INTERFACES_NSICHANNEL_SETCONTENTTYPE 33020
#define ID_INTERFACES_NSICHANNEL_GETCONTENTTYPE 33021
#define ID_INTERFACES_NSICHANNEL_SETCONTENTCHARSET 33022
#define ID_INTERFACES_NSICHANNEL_GETCONTENTCHARSET 33023
#define ID_INTERFACES_NSICHANNEL_SETCONTENTLENGTH 33024
#define ID_INTERFACES_NSICHANNEL_GETCONTENTLENGTH 33025
#define ID_INTERFACES_NSICHANNEL_OPEN 33026
#define ID_INTERFACES_NSICHANNEL_ASYNCOPEN 33027
#define ID_CLIPBOARDCMD_PASTE 42789
#define ID_CLIPBOARDCMD_COPYSELECTION 42790
#define ID_CLIPBOARDCMD_SELECTALL 42791
#define ID_CLIPBOARDCMD_SELECTNONE 42792
#define ID_CLIPBOARDCMD_CUTSELECTION 42793
#define ID_CLIPBOARDCMD_COPYLINKLOCATION 42794
#define ID_CLIPBOARDCMD_CANCOPYSELECTION 42795
#define ID_CLIPBOARDCMD_CANCUTSELECTION 42796
#define ID_CLIPBOARDCMD_CANPASTE 42797
// Next default values for new objects
//
#ifdef APSTUDIO_INVOKED
#ifndef APSTUDIO_READONLY_SYMBOLS
#define _APS_3D_CONTROLS 1
#define _APS_NEXT_RESOURCE_VALUE 153
#define _APS_NEXT_COMMAND_VALUE 33028
#define _APS_NEXT_CONTROL_VALUE 1033
#define _APS_NEXT_SYMED_VALUE 101
#endif
#endif

Двоичные данные
embedding/qa/testembed/testembed.aps

Двоичный файл не отображается.

Разница между файлами не показана из-за своего большого размера Загрузить разницу