<html>
<head>
<style><!--
body {background-color:#ffffff;}
.file {border:1px solid #eeeeee;margin-top:1em;margin-bottom:1em;}
.pathname {font-family:monospace; float:right;}
.fileheader {margin-bottom:.5em;}
.diff {margin:0;}
.tasklist {padding:4px;border:1px dashed #000000;margin-top:1em;}
.tasklist ul {margin-top:0;margin-bottom:0;}
tr.alt {background-color:#eeeeee}
#added {background-color:#ddffdd;}
#addedchars {background-color:#99ff99;font-weight:bolder;}
tr.alt #added {background-color:#ccf7cc;}
#removed {background-color:#ffdddd;}
#removedchars {background-color:#ff9999;font-weight:bolder;}
tr.alt #removed {background-color:#f7cccc;}
#copied {background-color:#ccccff;}
tr.alt #copied {background-color:#bbbbf7;}
#info {color:#888888;}
#context {background-color:#eeeeee;}
td {padding-left:.3em;padding-right:.3em;}
tr.head {border-bottom-width:1px;border-bottom-style:solid;}
tr.head td {padding:0;padding-top:.2em;}
.task {background-color:#ffff00;}
.comment {white-space:-moz-pre-wrap;white-space:-pre-wrap;white-space:-o-pre-wrap;white-space:pre-wrap;word-wrap:break-word;padding:4px;border:1px dashed #000000;background-color:#ffffdd}
.error {color:red;}
hr {border-width:0px;height:2px;background:black;}
--></style>
</head>
<body>
<table cellspacing="0" cellpadding="0" border="0" rules="cols">
<tr class="head"><td colspan="5">Commit in <b><tt>as2api/trunk/as2api</tt></b></td></tr>
<tr><td><tt><a href="#file1"><span id="removed">tc_actionscript_lexer.rb</span></a></tt> </td><td></td><td></td><td align="right" id="removed">-143</td><td nowrap="nowrap">325 removed</td></tr>
<tr class="alt"><td><tt><a href="#file2"><span id="removed">tc_actionscript_parser.rb</span></a></tt> </td><td></td><td></td><td align="right" id="removed">-104</td><td nowrap="nowrap">325 removed</td></tr>
<tr><td><tt><a href="#file3"><span id="removed">tc_doc_comment.rb</span></a></tt> </td><td></td><td></td><td align="right" id="removed">-102</td><td nowrap="nowrap">325 removed</td></tr>
<tr class="alt"><td><tt><a href="#file4"><span id="removed">tc_doccomment_lexer.rb</span></a></tt> </td><td></td><td></td><td align="right" id="removed">-72</td><td nowrap="nowrap">325 removed</td></tr>
<tr><td><tt><a href="#file5"><span id="removed">tc_doccomment_parser.rb</span></a></tt> </td><td></td><td></td><td align="right" id="removed">-84</td><td nowrap="nowrap">325 removed</td></tr>
<tr class="alt"><td><tt>tests/<a href="#file6"><span id="copied">tc_actionscript_lexer.rb</span></a></tt> </td><td colspan="3" align="center"><small id="info">[copied]</small></td><td nowrap="nowrap" align="center">as2api/trunk/as2api/tc_actionscript_lexer.rb:325 -> 326</td></tr>
<tr><td><tt> /<a href="#file7"><span id="copied">tc_actionscript_parser.rb</span></a></tt> </td><td colspan="3" align="center"><small id="info">[copied]</small></td><td nowrap="nowrap" align="center">as2api/trunk/as2api/tc_actionscript_parser.rb:325 -> 326</td></tr>
<tr class="alt"><td><tt> /<a href="#file8"><span id="copied">tc_doc_comment.rb</span></a></tt> </td><td colspan="3" align="center"><small id="info">[copied]</small></td><td nowrap="nowrap" align="center">as2api/trunk/as2api/tc_doc_comment.rb:325 -> 326</td></tr>
<tr><td><tt> /<a href="#file9"><span id="copied">tc_doccomment_lexer.rb</span></a></tt> </td><td colspan="3" align="center"><small id="info">[copied]</small></td><td nowrap="nowrap" align="center">as2api/trunk/as2api/tc_doccomment_lexer.rb:325 -> 326</td></tr>
<tr class="alt"><td><tt> /<a href="#file10"><span id="copied">tc_doccomment_parser.rb</span></a></tt> </td><td colspan="3" align="center"><small id="info">[copied]</small></td><td nowrap="nowrap" align="center">as2api/trunk/as2api/tc_doccomment_parser.rb:325 -> 326</td></tr>
<tr><td><tt> /<a href="#file11">ts.rb</a></tt> </td><td></td><td align="right" id="added">+5</td><td></td><td nowrap="nowrap" align="center">325 -> 326</td></tr>
<tr class="alt"><td><tt><a href="#file12"><span id="removed">ts.rb</span></a></tt> </td><td></td><td></td><td align="right" id="removed">-24</td><td nowrap="nowrap">325 removed</td></tr>
<tr><td></td><td></td><td align="right" id="added">+5</td><td align="right" id="removed">-529</td><td></td></tr>
</table>
<small id="info">6 removed + 5 copied + 1 modified, total 12 files</small><br />
<pre class="comment">
Move existing unit tests into new 'tests' dir
</pre>
<hr /><a name="file1" /><div class="file">
<span class="pathname" id="removed">as2api/trunk/as2api</span><br />
<div class="fileheader" id="removed"><big><b>tc_actionscript_lexer.rb</b></big> <small id="info">removed after 325</small></div>
<pre class="diff"><small id="info">--- trunk/as2api/tc_actionscript_lexer.rb        2006-03-23 00:07:17 UTC (rev 325)
+++ trunk/as2api/tc_actionscript_lexer.rb        2006-03-23 00:14:58 UTC (rev 326)
@@ -1,143 +0,0 @@
</small></pre><pre class="diff" id="removed">-#
-# Part of as2api - http://www.badgers-in-foil.co.uk/projects/as2api/
-#
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation; either version 2 of the License, or
-# (at your option) any later version.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-#
-
-require 'test/unit'
-require 'parse/aslexer'
-
-class TC_ActionScriptLexer < Test::Unit::TestCase
-
- include ActionScript::Parse
-
- def test_lex_error
- begin
- assert_lex_to("@")
- flunk("should be exception on invalid input")
- rescue
- end
- end
-
- def test_simple_string
- assert_lex_to("'test'", StringToken.new("test", 1))
- assert_lex_to("\"test\"", StringToken.new("test", 1))
- assert_lex_to("\"'\"", StringToken.new("'", 1))
- assert_lex_to('"\\"\"', StringToken.new('"', 1))
- end
-
- def test_identfier
- assert_lex_to("foo", IdentifierToken.new("foo", 1))
- # check keyword at start of identifier doesn't confuse lexer
- assert_lex_to("getfoo", IdentifierToken.new("getfoo", 1))
- assert_lex_to("BAR", IdentifierToken.new("BAR", 1))
- # 'dollar' and underscore are allowed
- assert_lex_to("$foo", IdentifierToken.new("$foo", 1))
- assert_lex_to("bar$", IdentifierToken.new("bar$", 1))
- assert_lex_to("_x", IdentifierToken.new("_x", 1))
- assert_lex_to("z_", IdentifierToken.new("z_", 1))
- end
-
- def test_number
- assert_lex_to("1", NumberToken.new("1", 1))
- end
-
- def test_single_line_comment
- assert_lex_to("// foo ", SingleLineCommentToken.new(" foo ", 1))
- # 'single line' comments shouldn't eat the whole body of a Mac-format file
- assert_lex_to("//foo\r", SingleLineCommentToken.new("foo", 1),
- WhitespaceToken.new("\r", 1))
- end
-
- def test_multiline_comment
- assert_lex_to("/* hide!/* */", MultiLineCommentToken.new(" hide!/* ", 1))
- end
-
- def test_comma; assert_simple_token(",", CommaToken) end
- def test_lbrace; assert_simple_token("{", LBraceToken) end
- def test_rbrace; assert_simple_token("}", RBraceToken) end
- def test_colon; assert_simple_token(":", ColonToken) end
- def test_semicolon; assert_simple_token(";", SemicolonToken) end
- def test_lbracket; assert_simple_token("[", LBracketToken) end
- def test_rbracket; assert_simple_token("]", RBracketToken) end
- def test_rparen; assert_simple_token(")", RParenToken) end
- def test_equals; assert_simple_token("=", AssignToken) end
- def test_greater; assert_simple_token(">", GreaterToken) end
- def test_divide; assert_simple_token("/", DivideToken) end
- def test_divide_assign; assert_simple_token("/=", DivideAssignToken) end
- def test_dynamic; assert_simple_token("dynamic", DynamicToken) end
- def test_whitespace; assert_simple_token(" \t\n", WhitespaceToken) end
-
-
-# def test_multiline_string
-# simple_lex("'test
-#test
-#test'") do |tok|
-# assert_instance_of(StringToken, tok)
-# assert_equal("test
-#test
-#test", tok.body)
-# end
-# end
-
- private
- def simple_lex(text)
- input = StrIO.new(text)
- lex = ASLexer.new(input)
- yield lex.get_next
- assert_nil(lex.get_next)
- end
-
- def assert_lex_to(text, *tokens)
- input = StrIO.new(text)
- lex = ASLexer.new(input)
- tokens.each do |expected|
- tok = lex.get_next
- assert_equal(expected.class, tok.class)
- assert_equal(expected.body, tok.body)
- end
- assert_nil(lex.get_next)
- end
-
- def assert_simple_token(text, token)
- simple_lex(text) do |tok|
- assert_instance_of(token, tok)
- end
- end
-
-end
-
-
-# Simple IO-like object the readsfrom a String, rather than a file
-# TODO: handle multiple lines
-class StrIO
- def initialize(data)
- @data = data
- end
-
- def readline
- dat = @data
- @data = nil
- dat
- end
-
- def eof?
- @data.nil?
- end
-
- def lineno
- 1
- end
-end
</pre></div>
<hr /><a name="file2" /><div class="file">
<span class="pathname" id="removed">as2api/trunk/as2api</span><br />
<div class="fileheader" id="removed"><big><b>tc_actionscript_parser.rb</b></big> <small id="info">removed after 325</small></div>
<pre class="diff"><small id="info">--- trunk/as2api/tc_actionscript_parser.rb        2006-03-23 00:07:17 UTC (rev 325)
+++ trunk/as2api/tc_actionscript_parser.rb        2006-03-23 00:14:58 UTC (rev 326)
@@ -1,104 +0,0 @@
</small></pre><pre class="diff" id="removed">-#
-# Part of as2api - http://www.badgers-in-foil.co.uk/projects/as2api/
-#
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation; either version 2 of the License, or
-# (at your option) any later version.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-#
-
-require 'test/unit'
-require 'parse/aslexer'
-require 'parse/parser'
-require 'stringio'
-
-class TC_ActionScriptParser < Test::Unit::TestCase
-
- include ActionScript::Parse
-
- def test_compilation_unit
- simple_parse("class Foo {}") do |parse|
- parse.parse_compilation_unit
- end
- end
-
- def test_imports_and_attributes
- simple_parse("[foo=bar]\nimport foo;[bar=foo]\nclass Foo {}") do |parse|
- parse.parse_compilation_unit
- end
- end
-
- def test_access_modifier
- simple_parse("") do |parse|
- access = parse.parse_access_modifier
- assert(!access.is_static)
- assert_nil(access.visibility)
- end
- simple_parse("public") do |parse|
- access = parse.parse_access_modifier
- assert(!access.is_static)
- assert_instance_of(PublicToken, access.visibility)
- end
- simple_parse("private") do |parse|
- access = parse.parse_access_modifier
- assert(!access.is_static)
- assert_instance_of(PrivateToken, access.visibility)
- end
- simple_parse("static") do |parse|
- access = parse.parse_access_modifier
- assert(access.is_static)
- end
- simple_parse("public static") do |parse|
- access = parse.parse_access_modifier
- assert(access.is_static)
- assert_instance_of(PublicToken, access.visibility)
- end
- simple_parse("private static") do |parse|
- access = parse.parse_access_modifier
- assert(access.is_static)
- assert_instance_of(PrivateToken, access.visibility)
- end
- end
-
- def test_parse_member
- simple_parse("private static var foo;") do |parse|
- access = parse.parse_class_member
- end
- simple_parse("private static function foo() { }") do |parse|
- access = parse.parse_class_member
- end
- simple_parse("function get foo() { }") do |parse|
- access = parse.parse_class_member
- end
- simple_parse("function get() { }") do |parse|
- access = parse.parse_class_member
- end
- end
-
- def test_parse_multi_field
- simple_parse("var foo:String,bar:Number;}") do |parse|
- parse.parse_class_member_list
- # consume '}' -- hack around private expect() by using send()
- parse.send(:expect, ActionScript::Parse::RBraceToken)
- end
- end
-
- private
- def simple_parse(text)
- input = StringIO.new(text)
- lex = SkipASLexer.new(ASLexer.new(input))
- parse = ASParser.new(lex)
- parse.handler = ASHandler.new
- yield parse
- assert_nil(lex.get_next)
- end
-end
</pre></div>
<hr /><a name="file3" /><div class="file">
<span class="pathname" id="removed">as2api/trunk/as2api</span><br />
<div class="fileheader" id="removed"><big><b>tc_doc_comment.rb</b></big> <small id="info">removed after 325</small></div>
<pre class="diff"><small id="info">--- trunk/as2api/tc_doc_comment.rb        2006-03-23 00:07:17 UTC (rev 325)
+++ trunk/as2api/tc_doc_comment.rb        2006-03-23 00:14:58 UTC (rev 326)
@@ -1,102 +0,0 @@
</small></pre><pre class="diff" id="removed">-#
-# Part of as2api - http://www.badgers-in-foil.co.uk/projects/as2api/
-#
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation; either version 2 of the License, or
-# (at your option) any later version.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-#
-
-require 'test/unit'
-require 'doc_comment'
-require 'api_loader'
-
-class TC_DocComment < Test::Unit::TestCase
- def test_description()
- text = "foo bar\n *blat\n * @param foo bar\n blat ping pong\n *"
- comment_data = parse_it(text)
- assert_equal("foo bar\nblat", comment_data[0].inlines[0].strip)
- end
-
- def test_params()
- text = "*\n * @param foo bar\n blat ping pong\n *"
- comment_data = parse_it(text)
- assert(comment_data.has_params?, "should have @param tag")
- expected = ParamBlockTag.new();
- expected.param_name = "foo"
- expected.add_inline("bar\n blat ping pong\n")
- assert_equal(expected, comment_data[1])
- end
-
- def test_return()
- text = "*\n * @return foo bar\n blat\n *"
- comment_data = parse_it(text)
- assert(comment_data.has_return?, "should have @return tag")
- expected = ReturnBlockTag.new();
- expected.add_inline(" foo bar\n blat\n")
- assert_equal(expected, comment_data[1])
- end
-
- def test_see()
- text = "*\n * @see foo bar\n blat\n *"
- comment_data = parse_it(text)
- assert(comment_data.has_seealso?, "should have @see tag")
- expected = SeeBlockTag.new
- type_proxy = TypeProxy.new(nil, "foo")
- type_proxy.lineno=2
- link = LinkTag.new(2, type_proxy, nil, "bar\n blat\n")
- link.lineno=2
- expected.add_inline(link)
- assert_equal(expected, comment_data[1])
- #assert(doc.seealso_a.member?(expected), "@see didn't have #{expected.inspect}")
- end
-
- def test_throws()
- text = "*\n * @throws foo.Bbar blat\nping\n *"
- comment_data = parse_it(text)
- assert(comment_data.has_exceptions?, "should have @throws tag")
- expected = ThrowsBlockTag.new();
- expected.add_inline("blat\nping")
- assert(expected, comment_data[1])
- end
-
-# def test_package_html
-# [
-# "<html><body>test</body></html>",
-# "<body>te<b>st</b></body>"
-# ].each do |text|
-# PackageHTML.process(text) do |element|
-#        a = REXML::XPath.match(element, "descendant::text()").join
-# assert_equal("test", a)
-# end
-# end
-# end
-
- def parse_it(text)
- comment_data = CommentData.new
-
- input = StringIO.new(text)
- input.lineno = 1
- lexer = ActionScript::ParseDoc::DocCommentLexer.new(input)
- lexer.source = caller.last
- parser = ActionScript::ParseDoc::DocCommentParser.new(lexer)
- parse_conf_build = ConfigBuilder.new
- config = parse_conf_build.build_method_config
- type_namespace = TypeLocalNamespace.new(nil)
- handler = OurDocCommentHandler.new(comment_data, config, type_namespace)
- parser.handler = handler
-
- parser.parse_comment
-
- comment_data
- end
-end
</pre></div>
<hr /><a name="file4" /><div class="file">
<span class="pathname" id="removed">as2api/trunk/as2api</span><br />
<div class="fileheader" id="removed"><big><b>tc_doccomment_lexer.rb</b></big> <small id="info">removed after 325</small></div>
<pre class="diff"><small id="info">--- trunk/as2api/tc_doccomment_lexer.rb        2006-03-23 00:07:17 UTC (rev 325)
+++ trunk/as2api/tc_doccomment_lexer.rb        2006-03-23 00:14:58 UTC (rev 326)
@@ -1,72 +0,0 @@
</small></pre><pre class="diff" id="removed">-#
-# Part of as2api - http://www.badgers-in-foil.co.uk/projects/as2api/
-#
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation; either version 2 of the License, or
-# (at your option) any later version.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-#
-
-require 'test/unit'
-require 'parse/doccomment_lexer'
-require 'stringio'
-
-class TC_DocComemntLexer < Test::Unit::TestCase
-
- include ActionScript::ParseDoc
-
- def test_stars
- assert_lex_to("*", StarsToken.new("*", 1))
- assert_lex_to("**", StarsToken.new("**", 1))
- assert_lex_to(" *", StarsToken.new(" *", 1))
- assert_lex_to(" \t**", StarsToken.new(" \t**", 1))
- end
-
- def test_braces
- assert_lex_to("{", LBraceToken.new(1))
- assert_lex_to("}", RBraceToken.new(1))
- end
-
- def test_inline_tag
- assert_lex_to("{@", LBraceToken.new(1),
- WordToken.new("@", 1))
- assert_lex_to("{@ ", LBraceToken.new(1),
- WordToken.new("@", 1),
-                         WhitespaceToken.new(" ", 1))
- assert_lex_to("{@f", InlineAtTagToken.new("f", 1))
- end
-
- def test_para_tag
- assert_lex_to("@ ", WordToken.new("@", 1),
- WhitespaceToken.new(" ", 1))
- assert_lex_to("@f", ParaAtTagToken.new("f", 1))
- # parser would catch that this is not a valid place for a para-tag, and
- # treat as normal word,
- assert_lex_to("{ @f", LBraceToken.new(1),
-                         WhitespaceToken.new(" ", 1),
- ParaAtTagToken.new("f", 1))
- end
-
- private
-
- def assert_lex_to(text, *tokens)
- input = StringIO.new(text)
- lex = DocCommentLexer.new(input)
- tokens.each do |expected|
- tok = lex.get_next
- assert_equal(expected.class, tok.class)
- assert_equal(expected.body, tok.body)
- end
- assert_nil(lex.get_next)
- end
-
-end
</pre></div>
<hr /><a name="file5" /><div class="file">
<span class="pathname" id="removed">as2api/trunk/as2api</span><br />
<div class="fileheader" id="removed"><big><b>tc_doccomment_parser.rb</b></big> <small id="info">removed after 325</small></div>
<pre class="diff"><small id="info">--- trunk/as2api/tc_doccomment_parser.rb        2006-03-23 00:07:17 UTC (rev 325)
+++ trunk/as2api/tc_doccomment_parser.rb        2006-03-23 00:14:58 UTC (rev 326)
@@ -1,84 +0,0 @@
</small></pre><pre class="diff" id="removed">-#
-# Part of as2api - http://www.badgers-in-foil.co.uk/projects/as2api/
-#
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation; either version 2 of the License, or
-# (at your option) any later version.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-#
-
-require 'test/unit'
-require 'parse/doccomment_lexer'
-require 'parse/doccomment_parser'
-require 'stringio'
-
-class MyDocCommentHandler < ActionScript::ParseDoc::DocCommentHandler
- def initialize; @collected_text=""; end
- attr_reader :collected_text
- def text(text); @collected_text<<text.to_s; end
-end
-
-class TC_DocCommentParser < Test::Unit::TestCase
-
- include ActionScript::ParseDoc
-
- def test_parse_comment
- simple_parse("", :parse_comment)
- simple_parse("*", :parse_comment)
- simple_parse(" *foo\n * foo\n", :parse_comment, "foo\n foo\n")
-
- comment_text = <<HERE
-some test {text @param foo
-
-more {@foobar}
-
-@param asia is clever {@link here }
-
-@throws java.lang.RuntimeException blah blah
-        blah blah
-
-@see other
-HERE
-
- simple_parse(comment_text, :parse_comment, "some test {text @param foo\n\nmore \n\n asia is clever here \n\n java.lang.RuntimeException blah blah\n        blah blah\n\n other\n")
- end
-
- def test_parse_para_tag
- simple_parse("@param foo", :parse_line, " foo")
- end
-
- def test_parse_inline_tag
- simple_parse("{@link foo}", :parse_inline_tag, " foo")
- simple_parse("{@link\nfoo}", :parse_inline_tag, "\nfoo")
- # check initial stars are stripped inside inline-tags,
- simple_parse("{@link\n * foo}", :parse_inline_tag, "\n foo")
- # stars should be stripped in an inline-tag's nested braces too,
- simple_parse("{@code for(;;){\n * foo}}", :parse_inline_tag, " for(;;){\n foo}")
- end
-
- def test_parse_brace_pair
- txt = "{{}{{}}}"
- simple_parse(txt, :parse_brace_pair, txt)
- end
-
- private
- def simple_parse(text, method, expected_text="")
- input = StringIO.new(text)
- lex = DocCommentLexer.new(input)
- parse = DocCommentParser.new(lex)
- handler = MyDocCommentHandler.new
- parse.handler = handler
- parse.method(method).call
- assert_nil(lex.get_next)
- assert_equal(expected_text, handler.collected_text)
- end
-end
</pre></div>
<hr /><a name="file6" /><div class="file">
<span class="pathname" id="copied">as2api/trunk/as2api/tests</span><br />
<div class="fileheader" id="copied"><big><b>tc_actionscript_lexer.rb</b></big> <small id="info">copied from as2api/trunk/as2api/tc_actionscript_lexer.rb:325</small></div>
<pre class="diff"><small id="info">
Copied from as2api/trunk/as2api/tc_actionscript_lexer.rb:323
</small></pre></div>
<hr /><a name="file7" /><div class="file">
<span class="pathname" id="copied">as2api/trunk/as2api/tests</span><br />
<div class="fileheader" id="copied"><big><b>tc_actionscript_parser.rb</b></big> <small id="info">copied from as2api/trunk/as2api/tc_actionscript_parser.rb:325</small></div>
<pre class="diff"><small id="info">
Copied from as2api/trunk/as2api/tc_actionscript_parser.rb:323
</small></pre></div>
<hr /><a name="file8" /><div class="file">
<span class="pathname" id="copied">as2api/trunk/as2api/tests</span><br />
<div class="fileheader" id="copied"><big><b>tc_doc_comment.rb</b></big> <small id="info">copied from as2api/trunk/as2api/tc_doc_comment.rb:325</small></div>
<pre class="diff"><small id="info">
Copied from as2api/trunk/as2api/tc_doc_comment.rb:323
</small></pre></div>
<hr /><a name="file9" /><div class="file">
<span class="pathname" id="copied">as2api/trunk/as2api/tests</span><br />
<div class="fileheader" id="copied"><big><b>tc_doccomment_lexer.rb</b></big> <small id="info">copied from as2api/trunk/as2api/tc_doccomment_lexer.rb:325</small></div>
<pre class="diff"><small id="info">
Copied from as2api/trunk/as2api/tc_doccomment_lexer.rb:323
</small></pre></div>
<hr /><a name="file10" /><div class="file">
<span class="pathname" id="copied">as2api/trunk/as2api/tests</span><br />
<div class="fileheader" id="copied"><big><b>tc_doccomment_parser.rb</b></big> <small id="info">copied from as2api/trunk/as2api/tc_doccomment_parser.rb:325</small></div>
<pre class="diff"><small id="info">
Copied from as2api/trunk/as2api/tc_doccomment_parser.rb:323
</small></pre></div>
<hr /><a name="file11" /><div class="file">
<span class="pathname">as2api/trunk/as2api/tests</span><br />
<div class="fileheader"><big><b>ts.rb</b></big> <small id="info">325 -> 326</small></div>
<pre class="diff"><small id="info">--- trunk/as2api/tests/ts.rb        2006-03-23 00:07:17 UTC (rev 325)
+++ trunk/as2api/tests/ts.rb        2006-03-23 00:14:58 UTC (rev 326)
@@ -16,4 +16,9 @@
</small></pre><pre class="diff" id="context"> # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
#
</pre><pre class="diff" id="added">+require 'tc_actionscript_lexer.rb'
+require 'tc_actionscript_parser.rb'
+require 'tc_doccomment_lexer.rb'
+require 'tc_doccomment_parser.rb'
+require 'tc_doc_comment.rb'
</pre><pre class="diff" id="context"> require 'tc_api_serializer'
</pre></div>
<hr /><a name="file12" /><div class="file">
<span class="pathname" id="removed">as2api/trunk/as2api</span><br />
<div class="fileheader" id="removed"><big><b>ts.rb</b></big> <small id="info">removed after 325</small></div>
<pre class="diff"><small id="info">--- trunk/as2api/ts.rb        2006-03-23 00:07:17 UTC (rev 325)
+++ trunk/as2api/ts.rb        2006-03-23 00:14:58 UTC (rev 326)
@@ -1,24 +0,0 @@
</small></pre><pre class="diff" id="removed">-#
-# Part of as2api - http://www.badgers-in-foil.co.uk/projects/as2api/
-#
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation; either version 2 of the License, or
-# (at your option) any later version.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-#
-
-require 'test/unit'
-require 'tc_actionscript_lexer.rb'
-require 'tc_actionscript_parser.rb'
-require 'tc_doccomment_lexer.rb'
-require 'tc_doccomment_parser.rb'
-require 'tc_doc_comment.rb'
</pre></div>
<center><small><a href="http://www.badgers-in-foil.co.uk/projects/cvsspam/" title="commit -> email">CVSspam</a> 0.2.12</small></center>
</body></html>