Home | History | Annotate | Download | only in unit

Lines Matching refs:elements

253     elements = []
255 elements << node.to_s
258 assert_equal( %w(B), elements )
265 elements = []
267 elements << node.to_s
270 assert_equal(%w(C), elements)
277 elements = []
279 elements << node.to_s
282 assert_equal(%w(B B B), elements)
289 elements = []
291 elements << node.to_s
294 assert_equal(%w(A A), elements)
304 elements = []
306 elements << context(node, parent, child_index)
309 assert_equal(['B@A[0]', 'B@A[1]', 'B@A[2]'], elements)
316 elements = []
318 elements << context(node, parent, child_index)
321 assert_equal(['A@nil[-1]', 'A@A[1]'], elements)
327 elements = []
329 elements << node.to_s
332 assert_equal(%w(A), elements)
339 elements = []
341 elements << context(node, parent, child_index)
344 assert_equal( %w(A@A[2] A@D[0]) , elements )
355 elements = []
357 elements << labeled_context(node, parent, child_index, labels, 'a', 'b')
360 assert_equal( ['foo@A[2]foo&bar', 'big@D[0]big&dog'] , elements )