;ς Œ=!Cc@s'dkZdkZdkZdklZedjo$eeiieiddƒƒndkl Z dk Z dk l Z dk lZdklZd klZd klZd klZd klZd klZd„Zde i fd„ƒYZedjo eƒndk Z d„ZdS(N(sjoins__main__is framework.py(s ZopeTestCase(s SilvaTestCase(smanage_addDocument(smanage_addGhost(smanage_addGhostFolder(s xmlexport(smanage_addLink(s ParsedXML(sDateTimecCs2tiitƒ}ttii||ƒ|ƒSdS(N(sosspathsdirnames__file__s directorysopensjoinsrw(spathsrws directory((sL/mnt/gmirror/ports/www/zope-silva/work/SilvaDocument/tests/test_xmlexport.pystestopenss SetTestCasecBstZd„Zd„ZRS(NcCsS|i|iddddƒ} t| ddƒ| i}|iƒ}t ddƒ|_ t i ƒt idƒ}t iƒ}t i}t i| ƒ}|i|i||ƒƒ\}}}} } } } }|i |d ƒ|i |d |i!ƒƒ|i |d ƒ|i | d ƒ|i | d ƒ|i | dƒ|i | dƒ|i |dƒdS(Ns testfoldersThis is a testfolders policy_namesAuto TOCs test_documentsThis is (surprise!) a documentsΕ ζ‰Ώθ«ΎεΊƒε‘ŠοΌŠζ—’γ«γ€οΌ’ε„„γ€οΌ“ε„„γ€οΌ•ε„„οΌ™εƒδΈ‡ε††εŽε…₯θ€…γŒηΆšε‡Ίboo bazs6[0-9]{4}-[0-9]{2}-[0-9]{2}T[0-9]{2}:[0-9]{2}:[0-9]{2}Zs This is <boo>a</boo> testfolders2test_user_1_n/ahttp://nohost/root/testfoldersΩThis is <boo>a</boo> testfoldersAtest_user_1_test_user_1_http://nohost/root/testfolder/indexsfunapprovedThis is (surprise!) a documentsItest_user_1_unknown userhttp://nohost/root/testfolder/test_documentsK ζ‰Ώθ«ΎεΊƒε‘ŠοΌŠζ—’γ«γ€οΌ’ε„„γ€οΌ“ε„„γ€οΌ•ε„„οΌ™εƒδΈ‡ε††εŽε…₯θ€…γŒηΆšε‡Ίboo baz("sselfs add_foldersroots testfoldersmanage_addDocuments test_documentsdocs get_editablesdoc_edits ParsedXMLscontents xmlexportsinitializeXMLExportRegistrysrescompilessplittorsExportSettingsssettingsstheXMLExportersexportersSilvaExportRoots exportRootssplitsexportToStringspart1spart2spart3spart4spart5spart6spart7spart8s assertEqualssgetSilvaProductVersion(sselfsexporterspart8s exportRootsdocssettingsspart1spart2ssplittorspart4spart5spart6spart7s testfolderspart3sdoc_edit((sL/mnt/gmirror/ports/www/zope-silva/work/SilvaDocument/tests/test_xmlexport.pystest_xml_document_exports.        3c CsVy|idƒWn dSnX|i|iddddƒ} tddƒ}| ididd |ƒt | d d ƒ| i }|i ƒ} td d ƒ| _hd d<}| ii}|ii|ƒtiƒtiƒ}|itƒti}ti| ƒ}|i ||ƒi!dƒ\}} d} |i%| i&ddƒ| i&ddƒƒdS(NsSilvaExternalSourcess testfoldersThis is a testfolders policy_namesAuto TOCsdata/test_csv.csvsrscsvs A CSV Sources test_documentsThis is (surprise!) a documents\ grid 2 Shakespeare Global Theatre

This is the text of the citation. Only this text appears in the editing area, however the author and/or source will be shown in the preview and published version of the document.

sb_startis sΞ grid2
h1 h2 h3 h4 h5 h6
r3-1 r3-2 r3-3 r3-4 r3-5 r3-6
r4-1 r4-2 r4-3 r4-4 r4-5 r4-6
Shakespeare GlobalTheatre Thisisthetextofthecitation.Onlythis textappearsintheeditingarea,howevertheauthorand/or sourcewillbeshowninthepreviewandpublishedversionofthe document.
s s('sselfsinstallExtensions add_foldersroots testfolderstestopens source_filesmanage_addProductsmanage_addCSVSourcesmanage_addDocuments test_documentsdocs get_editablesdoc_edits ParsedXMLscontents BatchStartscsvsREQUESTsRequestsformsupdates xmlexportsinitializeXMLExportRegistrysExportSettingsssettingsssetExternalRenderingsTruestheXMLExportersexportersSilvaExportRoots exportRootsexportToStringssplitsxml1sxml2s xml_expecteds assertEqualssreplace( sselfsxml1sexporters BatchStarts exportRootsdocssettingssRequests source_files testfoldersdoc_edits xml_expectedsxml2((sL/mnt/gmirror/ports/www/zope-silva/work/SilvaDocument/tests/test_xmlexport.pys$test_xml_document_with_source_export;s8          !(s__name__s __module__stest_xml_document_exports$test_xml_document_with_source_export(((sL/mnt/gmirror/ports/www/zope-silva/work/SilvaDocument/tests/test_xmlexport.pys SetTestCases "cCs*tiƒ}|ititƒƒ|SdS(N(sunittests TestSuitessuitesaddTests makeSuites SetTestCase(ssuite((sL/mnt/gmirror/ports/www/zope-silva/work/SilvaDocument/tests/test_xmlexport.pys test_suiteps (sosssyssresos.pathsjoins__name__sexecfilespathsTestings ZopeTestCasesunittestsProducts.Silva.testss SilvaTestCasesProducts.SilvaDocument.Documentsmanage_addDocumentsProducts.Silva.Ghostsmanage_addGhostsProducts.Silva.GhostFoldersmanage_addGhostFoldersProducts.Silva.silvaxmls xmlexportsProducts.Silva.Linksmanage_addLinksProducts.ParsedXML.ParsedXMLs ParsedXMLsDateTimestestopens SetTestCases frameworks test_suite(s test_suitesjoins ParsedXMLs ZopeTestCasesunittestsmanage_addLinks xmlexportsmanage_addGhostssyssres SetTestCasestestopens SilvaTestCasesmanage_addGhostFoldersmanage_addDocumentsDateTimesos((sL/mnt/gmirror/ports/www/zope-silva/work/SilvaDocument/tests/test_xmlexport.pys?s&  $           T