|
static void | _expect_ref (IUnknown *obj, ULONG ref, int line) |
|
static LONG | get_refcount (void *iface) |
|
static BOOL | is_clsid_supported (const GUID *clsid, const struct msxmlsupported_data_t *table) |
|
static BSTR | alloc_str_from_narrow (const char *str) |
|
static BSTR | _bstr_ (const char *str) |
|
static void | free_bstrs (void) |
|
static void | test_saxstr (const char *file, unsigned line, BSTR str, const char *expected, BOOL todo, int *failcount) |
|
static void | init_call_entry (ISAXLocator *locator, struct call_entry *call) |
|
static void | add_call (struct call_sequence **seq, int sequence_index, const struct call_entry *call) |
|
static void | flush_sequence (struct call_sequence **seg, int sequence_index) |
|
static const char * | get_event_name (CH event) |
|
static void | compare_attributes (const struct call_entry *actual, const struct call_entry *expected, const char *context, BOOL todo, const char *file, int line, int *failcount) |
|
static void | ok_sequence_ (struct call_sequence **seq, int sequence_index, const struct call_entry *expected, const char *context, BOOL todo, const char *file, int line) |
|
static void | init_call_sequences (struct call_sequence **seq, int n) |
|
static void | set_expected_seq (struct call_entry *expected) |
|
static HRESULT | get_expected_ret (void) |
|
static HRESULT WINAPI | contentHandler_QueryInterface (ISAXContentHandler *iface, REFIID riid, void **ppvObject) |
|
static ULONG WINAPI | contentHandler_AddRef (ISAXContentHandler *iface) |
|
static ULONG WINAPI | contentHandler_Release (ISAXContentHandler *iface) |
|
static HRESULT WINAPI | contentHandler_putDocumentLocator (ISAXContentHandler *iface, ISAXLocator *pLocator) |
|
static HRESULT WINAPI | contentHandler_startDocument (ISAXContentHandler *iface) |
|
static HRESULT WINAPI | contentHandler_endDocument (ISAXContentHandler *iface) |
|
static HRESULT WINAPI | contentHandler_startPrefixMapping (ISAXContentHandler *iface, const WCHAR *prefix, int prefix_len, const WCHAR *uri, int uri_len) |
|
static HRESULT WINAPI | contentHandler_endPrefixMapping (ISAXContentHandler *iface, const WCHAR *prefix, int len) |
|
static HRESULT WINAPI | contentHandler_startElement (ISAXContentHandler *iface, const WCHAR *uri, int uri_len, const WCHAR *localname, int local_len, const WCHAR *qname, int qname_len, ISAXAttributes *saxattr) |
|
static HRESULT WINAPI | contentHandler_endElement (ISAXContentHandler *iface, const WCHAR *uri, int uri_len, const WCHAR *localname, int local_len, const WCHAR *qname, int qname_len) |
|
static HRESULT WINAPI | contentHandler_characters (ISAXContentHandler *iface, const WCHAR *chars, int len) |
|
static HRESULT WINAPI | contentHandler_ignorableWhitespace (ISAXContentHandler *iface, const WCHAR *chars, int len) |
|
static HRESULT WINAPI | contentHandler_processingInstruction (ISAXContentHandler *iface, const WCHAR *target, int target_len, const WCHAR *data, int data_len) |
|
static HRESULT WINAPI | contentHandler_skippedEntity (ISAXContentHandler *iface, const WCHAR *name, int len) |
|
static HRESULT WINAPI | isaxerrorHandler_QueryInterface (ISAXErrorHandler *iface, REFIID riid, void **ppvObject) |
|
static ULONG WINAPI | isaxerrorHandler_AddRef (ISAXErrorHandler *iface) |
|
static ULONG WINAPI | isaxerrorHandler_Release (ISAXErrorHandler *iface) |
|
static HRESULT WINAPI | isaxerrorHandler_error (ISAXErrorHandler *iface, ISAXLocator *pLocator, const WCHAR *pErrorMessage, HRESULT hrErrorCode) |
|
static HRESULT WINAPI | isaxerrorHandler_fatalError (ISAXErrorHandler *iface, ISAXLocator *pLocator, const WCHAR *message, HRESULT hr) |
|
static HRESULT WINAPI | isaxerrorHandler_ignorableWarning (ISAXErrorHandler *iface, ISAXLocator *pLocator, const WCHAR *pErrorMessage, HRESULT hrErrorCode) |
|
static HRESULT WINAPI | isaxattributes_QueryInterface (ISAXAttributes *iface, REFIID riid, void **ppvObject) |
|
static ULONG WINAPI | isaxattributes_AddRef (ISAXAttributes *iface) |
|
static ULONG WINAPI | isaxattributes_Release (ISAXAttributes *iface) |
|
static HRESULT WINAPI | isaxattributes_getLength (ISAXAttributes *iface, int *length) |
|
static HRESULT WINAPI | isaxattributes_getURI (ISAXAttributes *iface, int nIndex, const WCHAR **pUrl, int *pUriSize) |
|
static HRESULT WINAPI | isaxattributes_getLocalName (ISAXAttributes *iface, int nIndex, const WCHAR **pLocalName, int *pLocalNameLength) |
|
static HRESULT WINAPI | isaxattributes_getQName (ISAXAttributes *iface, int index, const WCHAR **QName, int *QNameLength) |
|
static HRESULT WINAPI | isaxattributes_getName (ISAXAttributes *iface, int nIndex, const WCHAR **pUri, int *pUriLength, const WCHAR **pLocalName, int *pLocalNameSize, const WCHAR **pQName, int *pQNameLength) |
|
static HRESULT WINAPI | isaxattributes_getIndexFromName (ISAXAttributes *iface, const WCHAR *pUri, int cUriLength, const WCHAR *pLocalName, int cocalNameLength, int *index) |
|
static HRESULT WINAPI | isaxattributes_getIndexFromQName (ISAXAttributes *iface, const WCHAR *pQName, int nQNameLength, int *index) |
|
static HRESULT WINAPI | isaxattributes_getType (ISAXAttributes *iface, int nIndex, const WCHAR **pType, int *pTypeLength) |
|
static HRESULT WINAPI | isaxattributes_getTypeFromName (ISAXAttributes *iface, const WCHAR *pUri, int nUri, const WCHAR *pLocalName, int nLocalName, const WCHAR **pType, int *nType) |
|
static HRESULT WINAPI | isaxattributes_getTypeFromQName (ISAXAttributes *iface, const WCHAR *pQName, int nQName, const WCHAR **pType, int *nType) |
|
static HRESULT WINAPI | isaxattributes_getValue (ISAXAttributes *iface, int index, const WCHAR **value, int *nValue) |
|
static HRESULT WINAPI | isaxattributes_getValueFromName (ISAXAttributes *iface, const WCHAR *pUri, int nUri, const WCHAR *pLocalName, int nLocalName, const WCHAR **pValue, int *nValue) |
|
static HRESULT WINAPI | isaxattributes_getValueFromQName (ISAXAttributes *iface, const WCHAR *pQName, int nQName, const WCHAR **pValue, int *nValue) |
|
static struct saxlexicalhandler * | impl_from_ISAXLexicalHandler (ISAXLexicalHandler *iface) |
|
static HRESULT WINAPI | isaxlexical_QueryInterface (ISAXLexicalHandler *iface, REFIID riid, void **out) |
|
static ULONG WINAPI | isaxlexical_AddRef (ISAXLexicalHandler *iface) |
|
static ULONG WINAPI | isaxlexical_Release (ISAXLexicalHandler *iface) |
|
static HRESULT WINAPI | isaxlexical_startDTD (ISAXLexicalHandler *iface, const WCHAR *pName, int nName, const WCHAR *pPublicId, int nPublicId, const WCHAR *pSystemId, int nSystemId) |
|
static HRESULT WINAPI | isaxlexical_endDTD (ISAXLexicalHandler *iface) |
|
static HRESULT WINAPI | isaxlexical_startEntity (ISAXLexicalHandler *iface, const WCHAR *pName, int nName) |
|
static HRESULT WINAPI | isaxlexical_endEntity (ISAXLexicalHandler *iface, const WCHAR *pName, int nName) |
|
static HRESULT WINAPI | isaxlexical_startCDATA (ISAXLexicalHandler *iface) |
|
static HRESULT WINAPI | isaxlexical_endCDATA (ISAXLexicalHandler *iface) |
|
static HRESULT WINAPI | isaxlexical_comment (ISAXLexicalHandler *iface, const WCHAR *pChars, int nChars) |
|
static void | init_saxlexicalhandler (struct saxlexicalhandler *handler, HRESULT hr) |
|
static struct saxdeclhandler * | impl_from_ISAXDeclHandler (ISAXDeclHandler *iface) |
|
static HRESULT WINAPI | isaxdecl_QueryInterface (ISAXDeclHandler *iface, REFIID riid, void **out) |
|
static ULONG WINAPI | isaxdecl_AddRef (ISAXDeclHandler *iface) |
|
static ULONG WINAPI | isaxdecl_Release (ISAXDeclHandler *iface) |
|
static HRESULT WINAPI | isaxdecl_elementDecl (ISAXDeclHandler *iface, const WCHAR *pName, int nName, const WCHAR *pModel, int nModel) |
|
static HRESULT WINAPI | isaxdecl_attributeDecl (ISAXDeclHandler *iface, const WCHAR *pElementName, int nElementName, const WCHAR *pAttributeName, int nAttributeName, const WCHAR *pType, int nType, const WCHAR *pValueDefault, int nValueDefault, const WCHAR *pValue, int nValue) |
|
static HRESULT WINAPI | isaxdecl_internalEntityDecl (ISAXDeclHandler *iface, const WCHAR *pName, int nName, const WCHAR *pValue, int nValue) |
|
static HRESULT WINAPI | isaxdecl_externalEntityDecl (ISAXDeclHandler *iface, const WCHAR *pName, int nName, const WCHAR *pPublicId, int nPublicId, const WCHAR *pSystemId, int nSystemId) |
|
static void | init_saxdeclhandler (struct saxdeclhandler *handler, HRESULT hr) |
|
static HRESULT WINAPI | istream_QueryInterface (IStream *iface, REFIID riid, void **ppvObject) |
|
static ULONG WINAPI | istream_AddRef (IStream *iface) |
|
static ULONG WINAPI | istream_Release (IStream *iface) |
|
static HRESULT WINAPI | istream_Read (IStream *iface, void *pv, ULONG cb, ULONG *pcbRead) |
|
static HRESULT WINAPI | istream_Write (IStream *iface, const void *pv, ULONG cb, ULONG *pcbWritten) |
|
static HRESULT WINAPI | istream_Seek (IStream *iface, LARGE_INTEGER dlibMove, DWORD dwOrigin, ULARGE_INTEGER *plibNewPosition) |
|
static HRESULT WINAPI | istream_SetSize (IStream *iface, ULARGE_INTEGER libNewSize) |
|
static HRESULT WINAPI | istream_CopyTo (IStream *iface, IStream *pstm, ULARGE_INTEGER cb, ULARGE_INTEGER *pcbRead, ULARGE_INTEGER *plibWritten) |
|
static HRESULT WINAPI | istream_Commit (IStream *iface, DWORD grfCommitFlags) |
|
static HRESULT WINAPI | istream_Revert (IStream *iface) |
|
static HRESULT WINAPI | istream_LockRegion (IStream *iface, ULARGE_INTEGER libOffset, ULARGE_INTEGER cb, DWORD dwLockType) |
|
static HRESULT WINAPI | istream_UnlockRegion (IStream *iface, ULARGE_INTEGER libOffset, ULARGE_INTEGER cb, DWORD dwLockType) |
|
static HRESULT WINAPI | istream_Stat (IStream *iface, STATSTG *pstatstg, DWORD grfStatFlag) |
|
static HRESULT WINAPI | istream_Clone (IStream *iface, IStream **ppstm) |
|
static HRESULT WINAPI | mxstream_Write (IStream *iface, const void *pv, ULONG cb, ULONG *pcbWritten) |
|
static HRESULT WINAPI | instream_Read (IStream *iface, void *pv, ULONG cb, ULONG *pcbRead) |
|
static IStream * | create_test_stream (const char *data, int len) |
|
static void | test_saxreader (void) |
|
static void | test_saxreader_properties (void) |
|
static void | test_saxreader_features (void) |
|
static void | test_saxreader_encoding (void) |
|
static void | test_mxwriter_handlers (void) |
|
static void | test_mxwriter_default_properties (const struct mxwriter_props_t *table) |
|
static void | test_mxwriter_properties (void) |
|
static void | test_mxwriter_flush (void) |
|
static void | test_mxwriter_startenddocument (void) |
|
static void | get_class_support_data (struct msxmlsupported_data_t *table, REFIID riid) |
|
static void | test_mxwriter_startendelement_batch (const struct writer_startendelement_t *table) |
|
static void | test_mxwriter_startendelement_batch2 (const struct writer_startendelement2_t *table) |
|
static void | test_mxwriter_startendelement (void) |
|
static void | test_mxwriter_characters (void) |
|
static void | test_mxwriter_stream (void) |
|
static void | test_mxwriter_encoding (void) |
|
static void | test_obj_dispex (IUnknown *obj) |
|
static void | test_saxreader_dispex (void) |
|
static void | test_mxwriter_dispex (void) |
|
static void | test_mxwriter_comment (void) |
|
static void | test_mxwriter_cdata (void) |
|
static void | test_mxwriter_pi (void) |
|
static void | test_mxwriter_ignorablespaces (void) |
|
static void | test_mxwriter_dtd (void) |
|
static void | test_mxattr_addAttribute (void) |
|
static void | test_mxattr_clear (void) |
|
static void | test_mxattr_dispex (void) |
|
static void | test_mxattr_qi (void) |
|
static void | test_mxattr_localname (void) |
|
static void | test_mxwriter_indent (void) |
|
| START_TEST (saxreader) |
|