%
% API Documentation for cssutils
% Module cssutils.tests.test_serialize
%
% Generated by epydoc 3.0.1
% [Fri Feb 01 19:05:22 2008]
%

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%                          Module Description                           %%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

    \index{cssutils \textit{(package)}!cssutils.tests \textit{(package)}!cssutils.tests.test\_serialize \textit{(module)}|(}
\section{Module cssutils.tests.test\_serialize}

    \label{cssutils:tests:test_serialize}
testcases for cssutils.CSSSerializer

\textbf{Version:} \$LastChangedRevision: 950 \$



\textbf{Date:} \$LastChangedDate: 2008-01-27 17:28:41 +0100 (So, 27 Jan 2008) \$



\textbf{Author:} \$LastChangedBy: cthedot \$




%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%                           Class Description                           %%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

    \index{cssutils \textit{(package)}!cssutils.tests \textit{(package)}!cssutils.tests.test\_serialize \textit{(module)}!cssutils.tests.test\_serialize.CSSSerializerTestCase \textit{(class)}|(}
\subsection{Class CSSSerializerTestCase}

    \label{cssutils:tests:test_serialize:CSSSerializerTestCase}
\begin{tabular}{cccccccccc}
% Line for object, linespec=[False, False, False]
\multicolumn{2}{r}{\settowidth{\BCL}{object}\multirow{2}{\BCL}{object}}
&&
&&
&&
  \\\cline{3-3}
  &&\multicolumn{1}{c|}{}
&&
&&
&&
  \\
% Line for unittest.TestCase, linespec=[False, False]
\multicolumn{4}{r}{\settowidth{\BCL}{unittest.TestCase}\multirow{2}{\BCL}{unittest.TestCase}}
&&
&&
  \\\cline{5-5}
  &&&&\multicolumn{1}{c|}{}
&&
&&
  \\
% Line for cssutils.tests.basetest.BaseTestCase, linespec=[False]
\multicolumn{6}{r}{\settowidth{\BCL}{cssutils.tests.basetest.BaseTestCase}\multirow{2}{\BCL}{cssutils.tests.basetest.BaseTestCase}}
&&
  \\\cline{7-7}
  &&&&&&\multicolumn{1}{c|}{}
&&
  \\
&&&&&&\multicolumn{2}{l}{\textbf{cssutils.tests.test\_serialize.CSSSerializerTestCase}}
\end{tabular}

testcases for cssutils.CSSSerializer


%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%                                Methods                                %%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

  \subsubsection{Methods}

    \label{cssutils:tests:test_serialize:CSSSerializerTestCase:test_useDefaults}
    \index{cssutils \textit{(package)}!cssutils.tests \textit{(package)}!cssutils.tests.test\_serialize \textit{(module)}!cssutils.tests.test\_serialize.CSSSerializerTestCase \textit{(class)}!cssutils.tests.test\_serialize.CSSSerializerTestCase.test\_useDefaults \textit{(method)}}

    \vspace{0.5ex}

\hspace{.8\funcindent}\begin{boxedminipage}{\funcwidth}

    \raggedright \textbf{test\_useDefaults}(\textit{Preferences})

\setlength{\parskip}{2ex}
\setlength{\parskip}{1ex}
    \end{boxedminipage}

    \label{cssutils:tests:test_serialize:CSSSerializerTestCase:test_useMinified}
    \index{cssutils \textit{(package)}!cssutils.tests \textit{(package)}!cssutils.tests.test\_serialize \textit{(module)}!cssutils.tests.test\_serialize.CSSSerializerTestCase \textit{(class)}!cssutils.tests.test\_serialize.CSSSerializerTestCase.test\_useMinified \textit{(method)}}

    \vspace{0.5ex}

\hspace{.8\funcindent}\begin{boxedminipage}{\funcwidth}

    \raggedright \textbf{test\_useMinified}(\textit{Preferences})

\setlength{\parskip}{2ex}
\setlength{\parskip}{1ex}
    \end{boxedminipage}

    \label{cssutils:tests:test_serialize:CSSSerializerTestCase:test_defaultAtKeyword}
    \index{cssutils \textit{(package)}!cssutils.tests \textit{(package)}!cssutils.tests.test\_serialize \textit{(module)}!cssutils.tests.test\_serialize.CSSSerializerTestCase \textit{(class)}!cssutils.tests.test\_serialize.CSSSerializerTestCase.test\_defaultAtKeyword \textit{(method)}}

    \vspace{0.5ex}

\hspace{.8\funcindent}\begin{boxedminipage}{\funcwidth}

    \raggedright \textbf{test\_defaultAtKeyword}(\textit{self})

    \vspace{-1.5ex}

    \rule{\textwidth}{0.5\fboxrule}
\setlength{\parskip}{2ex}
    Preferences.defaultAtKeyword

\setlength{\parskip}{1ex}
    \end{boxedminipage}

    \label{cssutils:tests:test_serialize:CSSSerializerTestCase:test_defaultPropertyName}
    \index{cssutils \textit{(package)}!cssutils.tests \textit{(package)}!cssutils.tests.test\_serialize \textit{(module)}!cssutils.tests.test\_serialize.CSSSerializerTestCase \textit{(class)}!cssutils.tests.test\_serialize.CSSSerializerTestCase.test\_defaultPropertyName \textit{(method)}}

    \vspace{0.5ex}

\hspace{.8\funcindent}\begin{boxedminipage}{\funcwidth}

    \raggedright \textbf{test\_defaultPropertyName}(\textit{self})

    \vspace{-1.5ex}

    \rule{\textwidth}{0.5\fboxrule}
\setlength{\parskip}{2ex}
    Preferences.defaultPropertyName

\setlength{\parskip}{1ex}
    \end{boxedminipage}

    \label{cssutils:tests:test_serialize:CSSSerializerTestCase:test_defaultPropertyPriority}
    \index{cssutils \textit{(package)}!cssutils.tests \textit{(package)}!cssutils.tests.test\_serialize \textit{(module)}!cssutils.tests.test\_serialize.CSSSerializerTestCase \textit{(class)}!cssutils.tests.test\_serialize.CSSSerializerTestCase.test\_defaultPropertyPriority \textit{(method)}}

    \vspace{0.5ex}

\hspace{.8\funcindent}\begin{boxedminipage}{\funcwidth}

    \raggedright \textbf{test\_defaultPropertyPriority}(\textit{self})

    \vspace{-1.5ex}

    \rule{\textwidth}{0.5\fboxrule}
\setlength{\parskip}{2ex}
    Preferences.defaultPropertyPriority

\setlength{\parskip}{1ex}
    \end{boxedminipage}

    \label{cssutils:tests:test_serialize:CSSSerializerTestCase:test_importHrefFormat}
    \index{cssutils \textit{(package)}!cssutils.tests \textit{(package)}!cssutils.tests.test\_serialize \textit{(module)}!cssutils.tests.test\_serialize.CSSSerializerTestCase \textit{(class)}!cssutils.tests.test\_serialize.CSSSerializerTestCase.test\_importHrefFormat \textit{(method)}}

    \vspace{0.5ex}

\hspace{.8\funcindent}\begin{boxedminipage}{\funcwidth}

    \raggedright \textbf{test\_importHrefFormat}(\textit{self})

    \vspace{-1.5ex}

    \rule{\textwidth}{0.5\fboxrule}
\setlength{\parskip}{2ex}
    Preferences.importHrefFormat

\setlength{\parskip}{1ex}
    \end{boxedminipage}

    \label{cssutils:tests:test_serialize:CSSSerializerTestCase:test_indent}
    \index{cssutils \textit{(package)}!cssutils.tests \textit{(package)}!cssutils.tests.test\_serialize \textit{(module)}!cssutils.tests.test\_serialize.CSSSerializerTestCase \textit{(class)}!cssutils.tests.test\_serialize.CSSSerializerTestCase.test\_indent \textit{(method)}}

    \vspace{0.5ex}

\hspace{.8\funcindent}\begin{boxedminipage}{\funcwidth}

    \raggedright \textbf{test\_indent}(\textit{self})

    \vspace{-1.5ex}

    \rule{\textwidth}{0.5\fboxrule}
\setlength{\parskip}{2ex}
    Preferences.ident

\setlength{\parskip}{1ex}
    \end{boxedminipage}

    \label{cssutils:tests:test_serialize:CSSSerializerTestCase:test_keepAllProperties}
    \index{cssutils \textit{(package)}!cssutils.tests \textit{(package)}!cssutils.tests.test\_serialize \textit{(module)}!cssutils.tests.test\_serialize.CSSSerializerTestCase \textit{(class)}!cssutils.tests.test\_serialize.CSSSerializerTestCase.test\_keepAllProperties \textit{(method)}}

    \vspace{0.5ex}

\hspace{.8\funcindent}\begin{boxedminipage}{\funcwidth}

    \raggedright \textbf{test\_keepAllProperties}(\textit{self})

    \vspace{-1.5ex}

    \rule{\textwidth}{0.5\fboxrule}
\setlength{\parskip}{2ex}
    Preferences.keepAllProperties

\setlength{\parskip}{1ex}
    \end{boxedminipage}

    \label{cssutils:tests:test_serialize:CSSSerializerTestCase:test_keepComments}
    \index{cssutils \textit{(package)}!cssutils.tests \textit{(package)}!cssutils.tests.test\_serialize \textit{(module)}!cssutils.tests.test\_serialize.CSSSerializerTestCase \textit{(class)}!cssutils.tests.test\_serialize.CSSSerializerTestCase.test\_keepComments \textit{(method)}}

    \vspace{0.5ex}

\hspace{.8\funcindent}\begin{boxedminipage}{\funcwidth}

    \raggedright \textbf{test\_keepComments}(\textit{self})

    \vspace{-1.5ex}

    \rule{\textwidth}{0.5\fboxrule}
\setlength{\parskip}{2ex}
    Preferences.keepComments

\setlength{\parskip}{1ex}
    \end{boxedminipage}

    \label{cssutils:tests:test_serialize:CSSSerializerTestCase:test_keepEmptyRules}
    \index{cssutils \textit{(package)}!cssutils.tests \textit{(package)}!cssutils.tests.test\_serialize \textit{(module)}!cssutils.tests.test\_serialize.CSSSerializerTestCase \textit{(class)}!cssutils.tests.test\_serialize.CSSSerializerTestCase.test\_keepEmptyRules \textit{(method)}}

    \vspace{0.5ex}

\hspace{.8\funcindent}\begin{boxedminipage}{\funcwidth}

    \raggedright \textbf{test\_keepEmptyRules}(\textit{self})

    \vspace{-1.5ex}

    \rule{\textwidth}{0.5\fboxrule}
\setlength{\parskip}{2ex}
    Preferences.keepEmptyRules

\setlength{\parskip}{1ex}
    \end{boxedminipage}

    \label{cssutils:tests:test_serialize:CSSSerializerTestCase:test_lineNumbers}
    \index{cssutils \textit{(package)}!cssutils.tests \textit{(package)}!cssutils.tests.test\_serialize \textit{(module)}!cssutils.tests.test\_serialize.CSSSerializerTestCase \textit{(class)}!cssutils.tests.test\_serialize.CSSSerializerTestCase.test\_lineNumbers \textit{(method)}}

    \vspace{0.5ex}

\hspace{.8\funcindent}\begin{boxedminipage}{\funcwidth}

    \raggedright \textbf{test\_lineNumbers}(\textit{self})

    \vspace{-1.5ex}

    \rule{\textwidth}{0.5\fboxrule}
\setlength{\parskip}{2ex}
    Preferences.lineNumbers

\setlength{\parskip}{1ex}
    \end{boxedminipage}

    \label{cssutils:tests:test_serialize:CSSSerializerTestCase:test_lineSeparator}
    \index{cssutils \textit{(package)}!cssutils.tests \textit{(package)}!cssutils.tests.test\_serialize \textit{(module)}!cssutils.tests.test\_serialize.CSSSerializerTestCase \textit{(class)}!cssutils.tests.test\_serialize.CSSSerializerTestCase.test\_lineSeparator \textit{(method)}}

    \vspace{0.5ex}

\hspace{.8\funcindent}\begin{boxedminipage}{\funcwidth}

    \raggedright \textbf{test\_lineSeparator}(\textit{self})

    \vspace{-1.5ex}

    \rule{\textwidth}{0.5\fboxrule}
\setlength{\parskip}{2ex}
    Preferences.lineSeparator

\setlength{\parskip}{1ex}
    \end{boxedminipage}

    \label{cssutils:tests:test_serialize:CSSSerializerTestCase:test_listItemSpacer}
    \index{cssutils \textit{(package)}!cssutils.tests \textit{(package)}!cssutils.tests.test\_serialize \textit{(module)}!cssutils.tests.test\_serialize.CSSSerializerTestCase \textit{(class)}!cssutils.tests.test\_serialize.CSSSerializerTestCase.test\_listItemSpacer \textit{(method)}}

    \vspace{0.5ex}

\hspace{.8\funcindent}\begin{boxedminipage}{\funcwidth}

    \raggedright \textbf{test\_listItemSpacer}(\textit{self})

    \vspace{-1.5ex}

    \rule{\textwidth}{0.5\fboxrule}
\setlength{\parskip}{2ex}
    Preferences.listItemSpacer

\setlength{\parskip}{1ex}
    \end{boxedminipage}

    \label{cssutils:tests:test_serialize:CSSSerializerTestCase:test_omitLastSemicolon}
    \index{cssutils \textit{(package)}!cssutils.tests \textit{(package)}!cssutils.tests.test\_serialize \textit{(module)}!cssutils.tests.test\_serialize.CSSSerializerTestCase \textit{(class)}!cssutils.tests.test\_serialize.CSSSerializerTestCase.test\_omitLastSemicolon \textit{(method)}}

    \vspace{0.5ex}

\hspace{.8\funcindent}\begin{boxedminipage}{\funcwidth}

    \raggedright \textbf{test\_omitLastSemicolon}(\textit{self})

    \vspace{-1.5ex}

    \rule{\textwidth}{0.5\fboxrule}
\setlength{\parskip}{2ex}
    Preferences.omitLastSemicolon

\setlength{\parskip}{1ex}
    \end{boxedminipage}

    \label{cssutils:tests:test_serialize:CSSSerializerTestCase:test_paranthesisSpacer}
    \index{cssutils \textit{(package)}!cssutils.tests \textit{(package)}!cssutils.tests.test\_serialize \textit{(module)}!cssutils.tests.test\_serialize.CSSSerializerTestCase \textit{(class)}!cssutils.tests.test\_serialize.CSSSerializerTestCase.test\_paranthesisSpacer \textit{(method)}}

    \vspace{0.5ex}

\hspace{.8\funcindent}\begin{boxedminipage}{\funcwidth}

    \raggedright \textbf{test\_paranthesisSpacer}(\textit{self})

    \vspace{-1.5ex}

    \rule{\textwidth}{0.5\fboxrule}
\setlength{\parskip}{2ex}
    Preferences.paranthesisSpacer

\setlength{\parskip}{1ex}
    \end{boxedminipage}

    \label{cssutils:tests:test_serialize:CSSSerializerTestCase:test_propertyNameSpacer}
    \index{cssutils \textit{(package)}!cssutils.tests \textit{(package)}!cssutils.tests.test\_serialize \textit{(module)}!cssutils.tests.test\_serialize.CSSSerializerTestCase \textit{(class)}!cssutils.tests.test\_serialize.CSSSerializerTestCase.test\_propertyNameSpacer \textit{(method)}}

    \vspace{0.5ex}

\hspace{.8\funcindent}\begin{boxedminipage}{\funcwidth}

    \raggedright \textbf{test\_propertyNameSpacer}(\textit{self})

    \vspace{-1.5ex}

    \rule{\textwidth}{0.5\fboxrule}
\setlength{\parskip}{2ex}
    Preferences.propertyNameSpacer

\setlength{\parskip}{1ex}
    \end{boxedminipage}

    \label{cssutils:tests:test_serialize:CSSSerializerTestCase:test_selectorCombinatorSpacer}
    \index{cssutils \textit{(package)}!cssutils.tests \textit{(package)}!cssutils.tests.test\_serialize \textit{(module)}!cssutils.tests.test\_serialize.CSSSerializerTestCase \textit{(class)}!cssutils.tests.test\_serialize.CSSSerializerTestCase.test\_selectorCombinatorSpacer \textit{(method)}}

    \vspace{0.5ex}

\hspace{.8\funcindent}\begin{boxedminipage}{\funcwidth}

    \raggedright \textbf{test\_selectorCombinatorSpacer}(\textit{self})

    \vspace{-1.5ex}

    \rule{\textwidth}{0.5\fboxrule}
\setlength{\parskip}{2ex}
    Preferences.selectorCombinatorSpacer

\setlength{\parskip}{1ex}
    \end{boxedminipage}

    \label{cssutils:tests:test_serialize:CSSSerializerTestCase:test_CSSStyleSheet}
    \index{cssutils \textit{(package)}!cssutils.tests \textit{(package)}!cssutils.tests.test\_serialize \textit{(module)}!cssutils.tests.test\_serialize.CSSSerializerTestCase \textit{(class)}!cssutils.tests.test\_serialize.CSSSerializerTestCase.test\_CSSStyleSheet \textit{(method)}}

    \vspace{0.5ex}

\hspace{.8\funcindent}\begin{boxedminipage}{\funcwidth}

    \raggedright \textbf{test\_CSSStyleSheet}(\textit{self})

    \vspace{-1.5ex}

    \rule{\textwidth}{0.5\fboxrule}
\setlength{\parskip}{2ex}
    CSSSerializer.do\_CSSStyleSheet

\setlength{\parskip}{1ex}
    \end{boxedminipage}

    \label{cssutils:tests:test_serialize:CSSSerializerTestCase:test_Property}
    \index{cssutils \textit{(package)}!cssutils.tests \textit{(package)}!cssutils.tests.test\_serialize \textit{(module)}!cssutils.tests.test\_serialize.CSSSerializerTestCase \textit{(class)}!cssutils.tests.test\_serialize.CSSSerializerTestCase.test\_Property \textit{(method)}}

    \vspace{0.5ex}

\hspace{.8\funcindent}\begin{boxedminipage}{\funcwidth}

    \raggedright \textbf{test\_Property}(\textit{self})

    \vspace{-1.5ex}

    \rule{\textwidth}{0.5\fboxrule}
\setlength{\parskip}{2ex}
    CSSSerializer.do\_Property

\setlength{\parskip}{1ex}
    \end{boxedminipage}

    \label{cssutils:tests:test_serialize:CSSSerializerTestCase:test_escapeSTRINGtype}
    \index{cssutils \textit{(package)}!cssutils.tests \textit{(package)}!cssutils.tests.test\_serialize \textit{(module)}!cssutils.tests.test\_serialize.CSSSerializerTestCase \textit{(class)}!cssutils.tests.test\_serialize.CSSSerializerTestCase.test\_escapeSTRINGtype \textit{(method)}}

    \vspace{0.5ex}

\hspace{.8\funcindent}\begin{boxedminipage}{\funcwidth}

    \raggedright \textbf{test\_escapeSTRINGtype}(\textit{self})

    \vspace{-1.5ex}

    \rule{\textwidth}{0.5\fboxrule}
\setlength{\parskip}{2ex}
    CSSSerializer.\_escapeSTRINGtype

\setlength{\parskip}{1ex}
    \end{boxedminipage}


\large{\textbf{\textit{Inherited from cssutils.tests.basetest.BaseTestCase\textit{(Section \ref{cssutils:tests:basetest:BaseTestCase})}}}}

\begin{quote}
assertRaisesEx(), assertRaisesMsg(), do\_equal\_p(), do\_equal\_r(), do\_raise\_p(), do\_raise\_r(), setUp()
\end{quote}

\large{\textbf{\textit{Inherited from unittest.TestCase}}}

\begin{quote}
\_\_call\_\_(), \_\_init\_\_(), \_\_repr\_\_(), \_\_str\_\_(), assertAlmostEqual(), assertAlmostEquals(), assertEqual(), assertEquals(), assertFalse(), assertNotAlmostEqual(), assertNotAlmostEquals(), assertNotEqual(), assertNotEquals(), assertRaises(), assertTrue(), assert\_(), countTestCases(), debug(), defaultTestResult(), fail(), failIf(), failIfAlmostEqual(), failIfEqual(), failUnless(), failUnlessAlmostEqual(), failUnlessEqual(), failUnlessRaises(), id(), run(), shortDescription(), tearDown()
\end{quote}

\large{\textbf{\textit{Inherited from object}}}

\begin{quote}
\_\_delattr\_\_(), \_\_getattribute\_\_(), \_\_hash\_\_(), \_\_new\_\_(), \_\_reduce\_\_(), \_\_reduce\_ex\_\_(), \_\_setattr\_\_()
\end{quote}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%                              Properties                               %%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

  \subsubsection{Properties}

    \vspace{-1cm}
\hspace{\varindent}\begin{longtable}{|p{\varnamewidth}|p{\vardescrwidth}|l}
\cline{1-2}
\cline{1-2} \centering \textbf{Name} & \centering \textbf{Description}& \\
\cline{1-2}
\endhead\cline{1-2}\multicolumn{3}{r}{\small\textit{continued on next page}}\\\endfoot\cline{1-2}
\endlastfoot\multicolumn{2}{|l|}{\textit{Inherited from object}}\\
\multicolumn{2}{|p{\varwidth}|}{\raggedright \_\_class\_\_}\\
\cline{1-2}
\end{longtable}

    \index{cssutils \textit{(package)}!cssutils.tests \textit{(package)}!cssutils.tests.test\_serialize \textit{(module)}!cssutils.tests.test\_serialize.CSSSerializerTestCase \textit{(class)}|)}
    \index{cssutils \textit{(package)}!cssutils.tests \textit{(package)}!cssutils.tests.test\_serialize \textit{(module)}|)}
