• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /macosx-10.10/ruby-106/ruby/test/rdoc/

Lines Matching refs:to

11     @to = RDoc::Markup::ToRdoc.new
15 assert_equal "\n", @to.res.join
19 assert_equal "> quote\n", @to.res.join
23 assert_equal "hello\n", @to.res.join
27 assert_equal "===== Hello\n", @to.res.join
31 assert_empty @to.list_index
32 assert_empty @to.list_type
33 assert_empty @to.list_width
37 assert_empty @to.list_index
38 assert_empty @to.list_type
39 assert_empty @to.list_width
43 assert_empty @to.list_index
44 assert_empty @to.list_type
45 assert_empty @to.list_width
49 assert_empty @to.list_index
50 assert_empty @to.list_type
51 assert_empty @to.list_width
55 assert_empty @to.list_index
56 assert_empty @to.list_type
57 assert_empty @to.list_width
61 assert_empty @to.list_index
62 assert_empty @to.list_type
63 assert_empty @to.list_width
67 assert_equal 0, @to.indent, 'indent'
71 assert_equal "cat:\n", @to.res.join
72 assert_equal 0, @to.indent, 'indent'
76 assert_equal 0, @to.indent, 'indent'
77 assert_equal 'b', @to.list_index.last
81 assert_equal "cat:\n", @to.res.join
82 assert_equal 0, @to.indent, 'indent'
86 assert_equal 0, @to.indent, 'indent'
87 assert_equal 2, @to.list_index.last
91 assert_equal 0, @to.indent, 'indent'
92 assert_equal 'B', @to.list_index.last
96 assert_equal [""], @to.res
97 assert_equal '* ', @to.prefix
101 assert_equal [""], @to.res
102 assert_equal "cat:\n ", @to.prefix
104 assert_equal 2, @to.indent
108 assert_equal [""], @to.res
109 assert_equal 'a. ', @to.prefix
111 assert_equal 'a', @to.list_index.last
112 assert_equal 3, @to.indent
116 assert_equal [""], @to.res
117 assert_equal "cat:\n ", @to.prefix
119 assert_equal 2, @to.indent
123 assert_equal [""], @to.res
124 assert_equal '1. ', @to.prefix
126 assert_equal 1, @to.list_index.last
127 assert_equal 3, @to.indent
131 assert_equal [""], @to.res
132 assert_equal 'A. ', @to.prefix
134 assert_equal 'A', @to.list_index.last
135 assert_equal 3, @to.indent
139 assert_equal "", @to.res.join
140 assert_equal [nil], @to.list_index
141 assert_equal [:BULLET], @to.list_type
142 assert_equal [1], @to.list_width
146 assert_equal "", @to.res.join
147 assert_equal [nil], @to.list_index
148 assert_equal [:LABEL], @to.list_type
149 assert_equal [2], @to.list_width
153 assert_equal "", @to.res.join
154 assert_equal ['a'], @to.list_index
155 assert_equal [:LALPHA], @to.list_type
156 assert_equal [1], @to.list_width
160 assert_equal "", @to.res.join
161 assert_equal [nil], @to.list_index
162 assert_equal [:NOTE], @to.list_type
163 assert_equal [2], @to.list_width
167 assert_equal "", @to.res.join
168 assert_equal [1], @to.list_index
169 assert_equal [:NUMBER], @to.list_type
170 assert_equal [1], @to.list_width
174 assert_equal "", @to.res.join
175 assert_equal ['A'], @to.list_index
176 assert_equal [:UALPHA], @to.list_type
177 assert_equal [1], @to.list_width
181 assert_equal "hi\n", @to.res.join
193 assert_equal raw, @to.res.join
197 assert_equal "#{'-' * 78}\n", @to.res.join
201 assert_equal " hi\n world\n\n", @to.res.join
205 assert_equal "hi", @to.end_accepting
209 assert_equal 0, @to.indent
210 assert_equal [""], @to.res
211 assert_empty @to.list_index
212 assert_empty @to.list_type
213 assert_empty @to.list_width
217 assert_equal "= Hello\n", @to.end_accepting
221 assert_equal "== Hello\n", @to.end_accepting
225 assert_equal "=== Hello\n", @to.end_accepting
229 assert_equal "==== Hello\n", @to.end_accepting
233 assert_equal " = Hello\n", @to.end_accepting
237 assert_equal "= <b>Hello</b>\n", @to.end_accepting
241 assert_equal "= Hello\n", @to.end_accepting
245 assert_equal "<tt>teletype</tt>:\n teletype description\n\n", @to.res.join
250 @to.res.join
254 assert_equal "one\ntwo:\n two headers\n\n", @to.res.join
258 assert_equal "reg <b>bold words</b> reg\n", @to.end_accepting
262 assert_equal "one\ntwo\n", @to.end_accepting
266 assert_equal "hello\nworld\n", @to.end_accepting
270 assert_equal "reg <em>italic words</em> reg\n", @to.end_accepting
280 assert_equal expected, @to.end_accepting
284 assert_equal "reg <tt>teletype</tt> reg\n", @to.end_accepting
288 assert_equal "reg <b>bold</b> reg\n", @to.end_accepting
292 assert_equal "reg <em>italic</em> reg\n", @to.end_accepting
302 assert_equal expected, @to.end_accepting
306 assert_equal " #{'-' * 75}\n", @to.end_accepting
310 assert_equal " hi\n world\n\n", @to.end_accepting
314 assert_equal " hi\n world\n\n", @to.end_accepting
324 assert_equal expected, @to.end_accepting
345 assert_equal expected, @to.end_accepting
363 assert_equal expected, @to.convert(note_list)
369 @to.start_accepting
371 @to.accept_indented_paragraph ip
373 assert_equal " cats are cool\n", @to.end_accepting