Lines Matching refs:r
211 void testSimple( const XExtendedDocumentHandlerRef &r );
212 void testExceptions( const XExtendedDocumentHandlerRef &r );
213 void testDTD( const XExtendedDocumentHandlerRef &r );
214 void testPerformance( const XExtendedDocumentHandlerRef &r );
215 void writeParagraph( const XExtendedDocumentHandlerRef &r , const UString & s);
298 AttributeListImpl::AttributeListImpl( const AttributeListImpl &r ) in AttributeListImpl() argument
301 *m_pImpl = *(r.m_pImpl); in AttributeListImpl()
541 void OSaxWriterTest::writeParagraph( const XExtendedDocumentHandlerRef &r , const UString & s) in writeParagraph() argument
551 r->allowLineBreak(); in writeParagraph()
552 r->characters( s.copy( nStart , n - nStart ) ); in writeParagraph()
556 r->allowLineBreak(); in writeParagraph()
557 r->characters( s.copy( nStart , n - nStart ) ); in writeParagraph()
564 void OSaxWriterTest::testSimple( const XExtendedDocumentHandlerRef &r ) in testSimple() argument
576 XActiveDataSourceRef source( r , USR_QUERY ); in testSimple()
583 r->startDocument(); in testSimple()
588 r->startElement( L"tag1" , rList ); in testSimple()
589 r->ignorableWhitespace( L"" ); in testSimple()
591 r->characters( L"huhu" ); in testSimple()
592 r->ignorableWhitespace( L"" ); in testSimple()
594 r->startElement( L"hi" , rList ); in testSimple()
595 r->ignorableWhitespace( L"" ); in testSimple()
598 r->characters( L"ü" ); in testSimple()
601 r->ignorableWhitespace( UString() ); in testSimple()
607 r->characters( in testSimple()
610 r->ignorableWhitespace( UString() ); in testSimple()
613 r->startCDATA(); in testSimple()
614 r->characters( L">fsfsdf<" ); in testSimple()
615 r->endCDATA(); in testSimple()
616 r->ignorableWhitespace( UString() ); in testSimple()
618 writeParagraph( r , testParagraph ); in testSimple()
621 r->ignorableWhitespace( UString() ); in testSimple()
622 r->comment( L"Dies ist ein Kommentar !" ); in testSimple()
623 r->ignorableWhitespace( UString() ); in testSimple()
625 r->startElement( L"emptytagtest" , rList ); in testSimple()
626 r->endElement( L"emptytagtest" ); in testSimple()
628 r->endElement( L"hi" ); in testSimple()
629 r->ignorableWhitespace( L"" ); in testSimple()
631 r->endElement( L"tag1" ); in testSimple()
632 r->endDocument(); in testSimple()
636 void OSaxWriterTest::testExceptions( const XExtendedDocumentHandlerRef & r ) in testExceptions() argument
645 XActiveDataSourceRef source( r , USR_QUERY ); in testExceptions()
655 r->startElement( L"huhu" , rList ); in testExceptions()
664 r->startDocument(); in testExceptions()
666 r->startElement( L"huhu" , rList ); in testExceptions()
667 r->startCDATA(); in testExceptions()
672 r->startElement( L"huhu" , rList ); in testExceptions()
681 r->endCDATA(); in testExceptions()
682 r->endElement( L"hi" ); in testExceptions()
684 r->endDocument(); in testExceptions()
688 void OSaxWriterTest::testDTD(const XExtendedDocumentHandlerRef &r ) in testDTD() argument
696 XActiveDataSourceRef source( r , USR_QUERY ); in testDTD()
704 r->startDocument(); in testDTD()
705 r->unknown( L"<!DOCTYPE iCalendar >\n" ); in testDTD()
706 r->startElement( L"huhu" , rList ); in testDTD()
708 r->endElement( L"huhu" ); in testDTD()
709 r->endDocument(); in testDTD()
712 void OSaxWriterTest::testPerformance(const XExtendedDocumentHandlerRef &r ) in testPerformance() argument
725 XActiveDataSourceRef source( r , USR_QUERY ); in testPerformance()
736 r->startDocument(); in testPerformance()
742 r->startElement( UString( L"tag" ) + UString::valueOf( i2 ), rList ); in testPerformance()
745 r->ignorableWhitespace( L""); in testPerformance()
746 r->startElement( L"huhu" , rList ); in testPerformance()
747 r->characters( testParagraph ); in testPerformance()
750 r->ignorableWhitespace( L""); in testPerformance()
751 r->endElement( L"huhu" ); in testPerformance()
756 r->ignorableWhitespace( L""); in testPerformance()
757 r->endElement( UString( L"tag" ) + UString::valueOf( i2 ) ); in testPerformance()
760 r->endDocument(); in testPerformance()