[FIX] Remove unused file
[ohcount] / test / unit / mxml_test.rb
1 require File.dirname(__FILE__) + '/../test_helper'
2
3 class Ohcount::MxmlTest < Ohcount::Test
4         def test_comprehensive
5                 verify_parse("mxml1.mxml")
6         end
7
8         def test_comment_entities
9                 assert_equal('<!--comment-->', entities_array(" <!--comment-->", 'mxml', :comment).first)
10                 assert_equal('/*comment*/', entities_array("<mx:Style>\n/*comment*/\n</mx:Style>", 'mxml', :comment).first)
11                 assert_equal('//comment', entities_array("<mx:Script>\n//comment\n</mx:Script>", 'mxml', :comment).first)
12                 assert_equal('/*comment*/', entities_array("<mx:Script>\n/*comment*/\n</mx:Script>", 'mxml', :comment).first)
13         end
14 end