Back to index

moin  1.9.0~rc2
Public Member Functions
test_text_html_text_moin_wiki.TestConvertInlineFormatRepeatable Class Reference
Inheritance diagram for test_text_html_text_moin_wiki.TestConvertInlineFormatRepeatable:
Inheritance graph
[legend]
Collaboration diagram for test_text_html_text_moin_wiki.TestConvertInlineFormatRepeatable:
Collaboration graph
[legend]

List of all members.

Public Member Functions

def do
def testEmphasis01
def testEmphasis02
def testEmphasis03
def testEmphasis04
def testEmphasis05
def testEmphasis06
def testEmphasis07
def testEmphasis08
def testEmphasis09
def testEmphasis10
def testEmphasis11
def testFormatBig01
def testFormatSmall01
def testFormatStrike01
def testFormatSub01
def testFormatSup01
def testFormatUnderline01
def testPre01
def testWhitespace01
def do_convert_real

Detailed Description

Definition at line 986 of file test_text_html_text_moin_wiki.py.


Member Function Documentation

Definition at line 987 of file test_text_html_text_moin_wiki.py.

00987 
00988     def do(self, text, output):
00989         text = text.lstrip('\n')
00990         output = output.strip('\n')
00991         output = "<p>%s </p>" % output
00992         request = MinimalRequest(self.request)
00993         page = MinimalPage()
00994         formatter = Formatter(request)
00995         formatter.setPage(page)
00996         Parser(text, request).format(formatter)
00997         repeat = ''.join(request.result).strip('\n')
00998         #assert repeat == output
00999         out = self.do_convert_real([request, page.page_name, repeat])
01000         out = out.rstrip('\n')
01001         assert text == out

Here is the call graph for this function:

def test_text_html_text_moin_wiki.TestBase.do_convert_real (   self,
  func_args,
  successful = True 
) [inherited]

Definition at line 26 of file test_text_html_text_moin_wiki.py.

00026 
00027     def do_convert_real(self, func_args, successful=True):
00028         try:
00029             ret = convert(*func_args)
00030         except error, e:
00031             if successful:
00032                 py.test.fail("fails with parse error: %s" % e)
00033             else:
00034                 return
00035         if successful:
00036             return ret
00037         else:
00038             py.test.fail("doesn't fail with parse error")
00039 

Here is the caller graph for this function:

Definition at line 1002 of file test_text_html_text_moin_wiki.py.

01002 
01003     def testEmphasis01(self):
01004         py.test.skip('broken test')
01005         test = ur"''test''"
01006         output = ur"<em>test</em>"
01007         self.do(test, output)

Here is the call graph for this function:

Definition at line 1008 of file test_text_html_text_moin_wiki.py.

01008 
01009     def testEmphasis02(self):
01010         py.test.skip('broken test')
01011         test = ur"'''test'''"
01012         output = ur"<strong>test</strong>"
01013         self.do(test, output)

Here is the call graph for this function:

Definition at line 1014 of file test_text_html_text_moin_wiki.py.

01014 
01015     def testEmphasis03(self):
01016         py.test.skip('broken test')
01017         test = ur"'''''test'''''"
01018         output = ur"<em><strong>test</strong></em>"
01019         self.do(test, output)

Here is the call graph for this function:

Definition at line 1020 of file test_text_html_text_moin_wiki.py.

01020 
01021     def testEmphasis04(self):
01022         py.test.skip('broken test')
01023         test = ur"''test'''test'''''"
01024         output = ur"<em>test<strong>test</strong></em>"
01025         self.do(test, output)

Here is the call graph for this function:

Definition at line 1026 of file test_text_html_text_moin_wiki.py.

01026 
01027     def testEmphasis05(self):
01028         py.test.skip('broken test')
01029         test = ur"'''test''test'''''"
01030         output = ur"<strong>test<em>test</em></strong>"
01031         self.do(test, output)

Here is the call graph for this function:

Definition at line 1032 of file test_text_html_text_moin_wiki.py.

01032 
01033     def testEmphasis06(self):
01034         py.test.skip('broken test')
01035         test = ur"''test'''test'''test''"
01036         output = ur"<em>test<strong>test</strong>test</em>"
01037         self.do(test, output)

Here is the call graph for this function:

Definition at line 1038 of file test_text_html_text_moin_wiki.py.

01038 
01039     def testEmphasis07(self):
01040         py.test.skip('broken test')
01041         test = ur"'''test''test''test'''"
01042         output = ur"<strong>test<em>test</em>test</strong>"
01043         self.do(test, output)

Here is the call graph for this function:

Definition at line 1044 of file test_text_html_text_moin_wiki.py.

01044 
01045     def testEmphasis08(self):
01046         py.test.skip('broken test')
01047         test = ur"''test'''''test'''"
01048         output = ur"<em>test</em><strong>test</strong>"
01049         self.do(test, output)

Here is the call graph for this function:

Definition at line 1050 of file test_text_html_text_moin_wiki.py.

01050 
01051     def testEmphasis09(self):
01052         py.test.skip('broken test')
01053         test = ur"'''test'''''test''"
01054         output = ur"<strong>test</strong><em>test</em>"
01055         self.do(test, output)

Here is the call graph for this function:

Definition at line 1056 of file test_text_html_text_moin_wiki.py.

01056 
01057     def testEmphasis10(self):
01058         py.test.skip('broken test')
01059         test = ur"'''''test''test'''"
01060         output = ur"<strong><em>test</em>test</strong>"
01061         self.do(test, output)

Here is the call graph for this function:

Definition at line 1062 of file test_text_html_text_moin_wiki.py.

01062 
01063     def testEmphasis11(self):
01064         py.test.skip('broken test')
01065         test = ur"'''''test'''test''"
01066         output = ur"<em><strong>test</strong>test</em>"
01067         self.do(test, output)

Here is the call graph for this function:

Definition at line 1068 of file test_text_html_text_moin_wiki.py.

01068 
01069     def testFormatBig01(self):
01070         py.test.skip('broken test')
01071         test = ur"~+test+~"
01072         output = ur"<big>test</big>"
01073         self.do(test, output)

Here is the call graph for this function:

Definition at line 1074 of file test_text_html_text_moin_wiki.py.

01074 
01075     def testFormatSmall01(self):
01076         py.test.skip('broken test')
01077         test = ur"~-test-~"
01078         output = ur"<small>test</small>"
01079         self.do(test, output)

Here is the call graph for this function:

Definition at line 1080 of file test_text_html_text_moin_wiki.py.

01080 
01081     def testFormatStrike01(self):
01082         py.test.skip('broken test')
01083         test = ur"--(test)--"
01084         output = ur"<strike>test</strike>"
01085         self.do(test, output)

Here is the call graph for this function:

Definition at line 1086 of file test_text_html_text_moin_wiki.py.

01086 
01087     def testFormatSub01(self):
01088         py.test.skip('broken test')
01089         test = ur",,test,,"
01090         output = ur"<sub>test</sub>"
01091         self.do(test, output)

Here is the call graph for this function:

Definition at line 1092 of file test_text_html_text_moin_wiki.py.

01092 
01093     def testFormatSup01(self):
01094         py.test.skip('broken test')
01095         test = ur"^test^"
01096         output = ur"<sup>test</sup>"
01097         self.do(test, output)

Here is the call graph for this function:

Definition at line 1098 of file test_text_html_text_moin_wiki.py.

01098 
01099     def testFormatUnderline01(self):
01100         py.test.skip('broken test')
01101         test = ur"__test__"
01102         output = ur"<u>test</u>"
01103         self.do(test, output)

Here is the call graph for this function:

Definition at line 1104 of file test_text_html_text_moin_wiki.py.

01104 
01105     def testPre01(self):
01106         py.test.skip('broken test')
01107         test = ur"{{{test}}}"
01108         output = ur"<tt>test</tt>"
01109         self.do(test, output)

Here is the call graph for this function:

Definition at line 1110 of file test_text_html_text_moin_wiki.py.

01110 
01111     def testWhitespace01(self):
01112         py.test.skip('broken test')
01113         test = ur"''test '''test'''''"
01114         output = ur"<em>test <strong>test</strong></em>"
01115         self.do(test, output)

Here is the call graph for this function:


The documentation for this class was generated from the following file: