HEX
Server: Apache
System: Linux srv1.prosuiteplus.com 5.4.0-216-generic #236-Ubuntu SMP Fri Apr 11 19:53:21 UTC 2025 x86_64
User: prosuiteplus (1001)
PHP: 8.3.20
Disabled: NONE
Upload Files
File: //lib/python2.7/dist-packages/gyp/easy_xml_test.pyc
�
�n�Zc@scdZddljZddlZddlZdejfd��YZedkr_ej�ndS(s& Unit tests for the easy_xml.py file. i����NtTestSequenceFunctionscBs>eZd�Zd�Zd�Zd�Zd�Zd�ZRS(cCstj�|_dS(N(tStringIOtstderr(tself((s5/usr/lib/python2.7/dist-packages/gyp/easy_xml_test.pytsetUpscCsB|jtjdg�d�|jtjdgdd�d�dS(Nttests-<?xml version="1.0" encoding="utf-8"?><test/>tencodingsWindows-1252s4<?xml version="1.0" encoding="Windows-1252"?><test/>(tassertEqualteasy_xmltXmlToString(R((s5/usr/lib/python2.7/dist-packages/gyp/easy_xml_test.pyttest_EasyXml_simplescCs1|jtjdidd6dd6g�d�dS(Nttest2tvalue1tatvalue2tbsD<?xml version="1.0" encoding="utf-8"?><test2 a="value1" b="value2"/>(RRR	(R((s5/usr/lib/python2.7/dist-packages/gyp/easy_xml_test.pyt#test_EasyXml_simple_with_attributess cCsUd}d}|jdd�}|jtjdi|d6|g�d||f�dS(Ns<test>'"
&
foos%&lt;test&gt;'&quot;&#xD;&amp;&#xA;foot's&apos;ttest3R
s><?xml version="1.0" encoding="utf-8"?><test3 a="%s">%s</test3>(treplaceRRR	(Rtoriginalt	convertedtconverted_apos((s5/usr/lib/python2.7/dist-packages/gyp/easy_xml_test.pyttest_EasyXml_escaping!scCs>|jtjddddggdgggdt�d�dS(NRtGrandParenttParent1tChildtParent2tprettys�<?xml version="1.0" encoding="utf-8"?>
<test3>
  <GrandParent>
    <Parent1>
      <Child/>
    </Parent1>
    <Parent2/>
  </GrandParent>
</test3>
(RRR	tTrue(R((s5/usr/lib/python2.7/dist-packages/gyp/easy_xml_test.pyttest_EasyXml_pretty*s	c	Cs�d}tjddidd6ddgdd	gd
dggdid
d6gdidd6dd6ddgddggg�}|j||�dS(Ns�<?xml version="1.0" encoding="utf-8"?><Project><PropertyGroup Label="Globals"><ProjectGuid>{D2250C20-3A94-4FB9-AF73-11BC5B73884B}</ProjectGuid><Keyword>Win32Proj</Keyword><RootNamespace>automated_ui_tests</RootNamespace></PropertyGroup><Import Project="$(VCTargetsPath)\Microsoft.Cpp.props"/><PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration"><ConfigurationType>Application</ConfigurationType><CharacterSet>Unicode</CharacterSet></PropertyGroup></Project>tProjectt
PropertyGrouptGlobalstLabeltProjectGuids&{D2250C20-3A94-4FB9-AF73-11BC5B73884B}tKeywordt	Win32Projt
RootNamespacetautomated_ui_teststImports$$(VCTargetsPath)\Microsoft.Cpp.propss-'$(Configuration)|$(Platform)'=='Debug|Win32't	Conditiont
ConfigurationtConfigurationTypetApplicationtCharacterSettUnicode(RR	R(Rttargettxml((s5/usr/lib/python2.7/dist-packages/gyp/easy_xml_test.pyttest_EasyXml_complexAs
		
	(t__name__t
__module__RR
RRRR1(((s5/usr/lib/python2.7/dist-packages/gyp/easy_xml_test.pyRs							t__main__(	t__doc__tgyp.easy_xmlRtunittestRtTestCaseRR2tmain(((s5/usr/lib/python2.7/dist-packages/gyp/easy_xml_test.pyt<module>sX