%
% API Documentation for cssutils
% Module cssutils.tests.test_parse
%
% 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\_parse \textit{(module)}|(}
\section{Module cssutils.tests.test\_parse}

    \label{cssutils:tests:test_parse}
tests for parsing which does not raise Exceptions normally

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



\textbf{Date:} \$LastChangedDate: 2008-01-12 22:36:38 +0100 (Sa, 12 Jan 2008) \$



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




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

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

    \label{cssutils:tests:test_parse:CSSStyleSheetTestCase}
\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\_parse.CSSStyleSheetTestCase}}
\end{tabular}


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

  \subsubsection{Methods}

    \label{cssutils:tests:test_parse:CSSStyleSheetTestCase:test_roundtrip}
    \index{cssutils \textit{(package)}!cssutils.tests \textit{(package)}!cssutils.tests.test\_parse \textit{(module)}!cssutils.tests.test\_parse.CSSStyleSheetTestCase \textit{(class)}!cssutils.tests.test\_parse.CSSStyleSheetTestCase.test\_roundtrip \textit{(method)}}

    \vspace{0.5ex}

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

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

    \vspace{-1.5ex}

    \rule{\textwidth}{0.5\fboxrule}
\setlength{\parskip}{2ex}
    cssutils encodings

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

    \label{cssutils:tests:test_parse:CSSStyleSheetTestCase:test_escapes}
    \index{cssutils \textit{(package)}!cssutils.tests \textit{(package)}!cssutils.tests.test\_parse \textit{(module)}!cssutils.tests.test\_parse.CSSStyleSheetTestCase \textit{(class)}!cssutils.tests.test\_parse.CSSStyleSheetTestCase.test\_escapes \textit{(method)}}

    \vspace{0.5ex}

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

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

    \vspace{-1.5ex}

    \rule{\textwidth}{0.5\fboxrule}
\setlength{\parskip}{2ex}
    cssutils escapes

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

    \label{cssutils:tests:test_parse:CSSStyleSheetTestCase:test_invalidstring}
    \index{cssutils \textit{(package)}!cssutils.tests \textit{(package)}!cssutils.tests.test\_parse \textit{(module)}!cssutils.tests.test\_parse.CSSStyleSheetTestCase \textit{(class)}!cssutils.tests.test\_parse.CSSStyleSheetTestCase.test\_invalidstring \textit{(method)}}

    \vspace{0.5ex}

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

    \raggedright \textbf{test\_invalidstring}(\textit{cssutils}, \textit{INVALID\_STRING})

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

    \label{cssutils:tests:test_parse:CSSStyleSheetTestCase:test_invalid}
    \index{cssutils \textit{(package)}!cssutils.tests \textit{(package)}!cssutils.tests.test\_parse \textit{(module)}!cssutils.tests.test\_parse.CSSStyleSheetTestCase \textit{(class)}!cssutils.tests.test\_parse.CSSStyleSheetTestCase.test\_invalid \textit{(method)}}

    \vspace{0.5ex}

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

    \raggedright \textbf{test\_invalid}(\textit{cssutils}, \textit{INVALID\_CSS})

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

    \label{cssutils:tests:test_parse:CSSStyleSheetTestCase:test_specialcases}
    \index{cssutils \textit{(package)}!cssutils.tests \textit{(package)}!cssutils.tests.test\_parse \textit{(module)}!cssutils.tests.test\_parse.CSSStyleSheetTestCase \textit{(class)}!cssutils.tests.test\_parse.CSSStyleSheetTestCase.test\_specialcases \textit{(method)}}

    \vspace{0.5ex}

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

    \raggedright \textbf{test\_specialcases}(\textit{cssutils}, \textit{special\_case})

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

    \label{cssutils:tests:test_parse:CSSStyleSheetTestCase:test_iehack}
    \index{cssutils \textit{(package)}!cssutils.tests \textit{(package)}!cssutils.tests.test\_parse \textit{(module)}!cssutils.tests.test\_parse.CSSStyleSheetTestCase \textit{(class)}!cssutils.tests.test\_parse.CSSStyleSheetTestCase.test\_iehack \textit{(method)}}

    \vspace{0.5ex}

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

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

    \vspace{-1.5ex}

    \rule{\textwidth}{0.5\fboxrule}
\setlength{\parskip}{2ex}
    IEhack: \$property

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

    \label{cssutils:tests:test_parse:CSSStyleSheetTestCase:test_attributes}
    \index{cssutils \textit{(package)}!cssutils.tests \textit{(package)}!cssutils.tests.test\_parse \textit{(module)}!cssutils.tests.test\_parse.CSSStyleSheetTestCase \textit{(class)}!cssutils.tests.test\_parse.CSSStyleSheetTestCase.test\_attributes \textit{(method)}}

    \vspace{0.5ex}

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

    \raggedright \textbf{test\_attributes}(\textit{cssutils}, \textit{href}, \textit{media})

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

    \vspace{0.5ex}

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

    \raggedright \textbf{tearDown}(\textit{self})

\setlength{\parskip}{2ex}
    Hook method for deconstructing the test fixture after testing it.

\setlength{\parskip}{1ex}
      Overrides: unittest.TestCase.tearDown 	extit{(inherited documentation)}

    \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()
\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\_parse \textit{(module)}!cssutils.tests.test\_parse.CSSStyleSheetTestCase \textit{(class)}|)}
    \index{cssutils \textit{(package)}!cssutils.tests \textit{(package)}!cssutils.tests.test\_parse \textit{(module)}|)}
