From f5768c09019b303e82b7b7905b137b0e1df3823c Mon Sep 17 00:00:00 2001 From: murphy Date: Sun, 15 Oct 2006 15:10:04 +0000 Subject: Moved scanner tests into test/scanners. --- test/scanners/xml/kate.in.xml | 76 +++++++++++++++++++++++++++++++++++++ test/scanners/xml/kate.out.raydebug | 76 +++++++++++++++++++++++++++++++++++++ test/scanners/xml/suite.rb | 2 + 3 files changed, 154 insertions(+) create mode 100644 test/scanners/xml/kate.in.xml create mode 100644 test/scanners/xml/kate.out.raydebug create mode 100644 test/scanners/xml/suite.rb (limited to 'test/scanners/xml') diff --git a/test/scanners/xml/kate.in.xml b/test/scanners/xml/kate.in.xml new file mode 100644 index 0000000..b13333b --- /dev/null +++ b/test/scanners/xml/kate.in.xml @@ -0,0 +1,76 @@ + + + + + + indexing + class + inherit + creation + feature + rename + redefine + undefine + select + export + local + deferred + do + is + once + alias + external + rescue + debug + if + inspect + from + else + elseif + when + until + loop + then + obsolete + end + + + check + ensure + require + variant + invariant + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/test/scanners/xml/kate.out.raydebug b/test/scanners/xml/kate.out.raydebug new file mode 100644 index 0000000..01eec5a --- /dev/null +++ b/test/scanners/xml/kate.out.raydebug @@ -0,0 +1,76 @@ +preprocessor() +preprocessor() +tag( attribute_name(version)operator(=)string attribute_name(kateversion)operator(=)string attribute_name(section)operator(=)string attribute_name(extensions)operator(=)string attribute_name(mimetype)operator(=)stringtag(>) + tag() + tag(tag(>) + tag() plain(indexing )tag() + tag() plain(class )tag() + tag() plain(inherit )tag() + tag() plain(creation )tag() + tag() plain(feature )tag() + tag() plain(rename )tag() + tag() plain(redefine )tag() + tag() plain(undefine )tag() + tag() plain(select )tag() + tag() plain(export )tag() + tag() plain(local )tag() + tag() plain(deferred )tag() + tag() plain(do )tag() + tag() plain(is )tag() + tag() plain(once )tag() + tag() plain(alias )tag() + tag() plain(external )tag() + tag() plain(rescue )tag() + tag() plain(debug )tag() + tag() plain(if )tag() + tag() plain(inspect )tag() + tag() plain(from )tag() + tag() plain(else )tag() + tag() plain(elseif )tag() + tag() plain(when )tag() + tag() plain(until )tag() + tag() plain(loop )tag() + tag() plain(then )tag() + tag() plain(obsolete )tag() + tag() plain(end )tag() + tag() + tag(tag(>) + tag() plain(check )tag() + tag() plain(ensure )tag() + tag() plain(require )tag() + tag() plain(variant )tag() + tag() plain(invariant )tag() + tag() + tag() + tag( attribute_name(lineEndContext)operator(=)string attribute_name(name)operator(=)stringtag(>) + tag( attribute_name(context)operator(=)string attribute_name(String)operator(=)stringtag(/>) + tag( attribute_name(context)operator(=)stringtag(/>) + tag( attribute_name(context)operator(=)stringtag(/>) + tag( attribute_name(context)operator(=)string attribute_name(String)operator(=)stringtag(/>) + tag( attribute_name(context)operator(=)string attribute_name(char)operator(=)stringtag(/>) + tag( attribute_name(context)operator(=)string attribute_name(char)operator(=)string attribute_name(char1)operator(=)stringtag(/>) + tag( attribute_name(context)operator(=)string attribute_name(String)operator(=)stringtag(/>) + tag() + tag( attribute_name(lineEndContext)operator(=)string attribute_name(name)operator(=)stringtag(>) + tag( attribute_name(context)operator(=)string attribute_name(char)operator(=)stringtag(/>) + tag() + tag( attribute_name(name)operator(=)string attribute_name(lineEndContext)operator(=)stringtag(/>) + tag() + tag() + tag( attribute_name(defStyleNum)operator(=)string tag(/>) + tag( attribute_name(defStyleNum)operator(=)string tag(/>) + tag( attribute_name(defStyleNum)operator(=)string tag(/>) + tag( attribute_name(defStyleNum)operator(=)string tag(/>) + tag( attribute_name(defStyleNum)operator(=)string tag(/>) + tag( attribute_name(defStyleNum)operator(=)string tag(/>) + tag( attribute_name(defStyleNum)operator(=)string tag(/>) + tag( attribute_name(defStyleNum)operator(=)string tag(/>) + tag() + tag() + tag() + tag() + tag( attribute_name(start)operator(=)string tag(/>) + tag() + tag( tag(/>) + tag() +tag() diff --git a/test/scanners/xml/suite.rb b/test/scanners/xml/suite.rb new file mode 100644 index 0000000..b135c31 --- /dev/null +++ b/test/scanners/xml/suite.rb @@ -0,0 +1,2 @@ +class XML < CodeRay::TestCase +end -- cgit v1.2.1