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

    \label{cssutils:tests:test_csscomment}
testcases for cssutils.css.CSSComment

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



\textbf{Date:} \$LastChangedDate: 2007-11-01 22:39:38 +0100 (Do, 01 Nov 2007) \$



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




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

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

    \label{cssutils:tests:test_csscomment:CSSCommentTestCase}
\begin{tabular}{cccccccccccc}
% Line for object, linespec=[False, 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, 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, False]
\multicolumn{6}{r}{\settowidth{\BCL}{cssutils.tests.basetest.BaseTestCase}\multirow{2}{\BCL}{cssutils.tests.basetest.BaseTestCase}}
&&
&&
  \\\cline{7-7}
  &&&&&&\multicolumn{1}{c|}{}
&&
&&
  \\
% Line for cssutils.tests.test\_cssrule.CSSRuleTestCase, linespec=[False]
\multicolumn{8}{r}{\settowidth{\BCL}{cssutils.tests.test\_cssrule.CSSRuleTestCase}\multirow{2}{\BCL}{cssutils.tests.test\_cssrule.CSSRuleTestCase}}
&&
  \\\cline{9-9}
  &&&&&&&&\multicolumn{1}{c|}{}
&&
  \\
&&&&&&&&\multicolumn{2}{l}{\textbf{cssutils.tests.test\_csscomment.CSSCommentTestCase}}
\end{tabular}


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

  \subsubsection{Methods}

    \vspace{0.5ex}

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

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

\setlength{\parskip}{2ex}
    OVERWRITE! self.r is the rule self.rRO the readonly rule relf.r\_type 
    the type as defined in CSSRule

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

    \end{boxedminipage}

    \vspace{0.5ex}

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

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

    \vspace{-1.5ex}

    \rule{\textwidth}{0.5\fboxrule}
\setlength{\parskip}{2ex}
    CSSComment.type and init

\setlength{\parskip}{1ex}
      Overrides: cssutils.tests.test\_cssrule.CSSRuleTestCase.test\_init

    \end{boxedminipage}

    \label{cssutils:tests:test_csscomment:CSSCommentTestCase:test_InvalidModificationErr}
    \index{cssutils \textit{(package)}!cssutils.tests \textit{(package)}!cssutils.tests.test\_csscomment \textit{(module)}!cssutils.tests.test\_csscomment.CSSCommentTestCase \textit{(class)}!cssutils.tests.test\_csscomment.CSSCommentTestCase.test\_InvalidModificationErr \textit{(method)}}

    \vspace{0.5ex}

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

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

    \vspace{-1.5ex}

    \rule{\textwidth}{0.5\fboxrule}
\setlength{\parskip}{2ex}
    CSSComment.cssText InvalidModificationErr

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

    \label{cssutils:tests:test_csscomment:CSSCommentTestCase:test_csstext}
    \index{cssutils \textit{(package)}!cssutils.tests \textit{(package)}!cssutils.tests.test\_csscomment \textit{(module)}!cssutils.tests.test\_csscomment.CSSCommentTestCase \textit{(class)}!cssutils.tests.test\_csscomment.CSSCommentTestCase.test\_csstext \textit{(method)}}

    \vspace{0.5ex}

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

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

    \vspace{-1.5ex}

    \rule{\textwidth}{0.5\fboxrule}
\setlength{\parskip}{2ex}
    CSSComment.cssText

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

    \label{cssutils:tests:test_csscomment:CSSCommentTestCase:test_reprANDstr}
    \index{cssutils \textit{(package)}!cssutils.tests \textit{(package)}!cssutils.tests.test\_csscomment \textit{(module)}!cssutils.tests.test\_csscomment.CSSCommentTestCase \textit{(class)}!cssutils.tests.test\_csscomment.CSSCommentTestCase.test\_reprANDstr \textit{(method)}}

    \vspace{0.5ex}

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

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

    \vspace{-1.5ex}

    \rule{\textwidth}{0.5\fboxrule}
\setlength{\parskip}{2ex}
    CSSComment.\_\_repr\_\_(), .\_\_str\_\_()

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


\large{\textbf{\textit{Inherited from cssutils.tests.test\_cssrule.CSSRuleTestCase\textit{(Section \ref{cssutils:tests:test_cssrule:CSSRuleTestCase})}}}}

\begin{quote}
test\_readonly()
\end{quote}

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