Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

added require test unit to event testing

  • Loading branch information...
commit 196620c6d3f470db2e94771a6c91af22f1361efb 1 parent 6f52870
Jim Weirich jimweirich authored
10 test/performance.rb
... ... @@ -1,5 +1,15 @@
1 1 #!/usr/bin/env ruby
2 2
  3 +#--
  4 +# Portions copyright 2004 by Jim Weirich (jim@weirichhouse.org).
  5 +# Portions copyright 2005 by Sam Ruby (rubys@intertwingly.net).
  6 +# All rights reserved.
  7 +
  8 +# Permission is granted for use, copying, modification, distribution,
  9 +# and distribution of modified versions of this work as long as the
  10 +# above copyright notice is included.
  11 +#++
  12 +
3 13 require 'builder/xmlmarkup'
4 14 require 'benchmark'
5 15
10 test/preload.rb
... ... @@ -1,5 +1,15 @@
1 1 #!/usr/bin/env ruby
2 2
  3 +#--
  4 +# Portions copyright 2004 by Jim Weirich (jim@weirichhouse.org).
  5 +# Portions copyright 2005 by Sam Ruby (rubys@intertwingly.net).
  6 +# All rights reserved.
  7 +
  8 +# Permission is granted for use, copying, modification, distribution,
  9 +# and distribution of modified versions of this work as long as the
  10 +# above copyright notice is included.
  11 +#++
  12 +
3 13 # We are defining method_added in Kernel and Object so that when
4 14 # BlankSlate overrides them later, we can verify that it correctly
5 15 # calls the older hooks.
10 test/test_blankslate.rb
... ... @@ -1,5 +1,15 @@
1 1 #!/usr/bin/env ruby
2 2
  3 +#--
  4 +# Portions copyright 2004 by Jim Weirich (jim@weirichhouse.org).
  5 +# Portions copyright 2005 by Sam Ruby (rubys@intertwingly.net).
  6 +# All rights reserved.
  7 +
  8 +# Permission is granted for use, copying, modification, distribution,
  9 +# and distribution of modified versions of this work as long as the
  10 +# above copyright notice is included.
  11 +#++
  12 +
3 13 require 'test/unit'
4 14 require 'test/preload'
5 15 require 'builder/blankslate'
10 test/test_cssbuilder.rb
... ... @@ -1,5 +1,15 @@
1 1 #!/usr/bin/env ruby
2 2
  3 +#--
  4 +# Portions copyright 2004 by Jim Weirich (jim@weirichhouse.org).
  5 +# Portions copyright 2005 by Sam Ruby (rubys@intertwingly.net).
  6 +# All rights reserved.
  7 +
  8 +# Permission is granted for use, copying, modification, distribution,
  9 +# and distribution of modified versions of this work as long as the
  10 +# above copyright notice is included.
  11 +#++
  12 +
3 13 require 'test/unit'
4 14 require 'test/preload'
5 15 require 'builder'
17 test/test_eventbuilder.rb
... ... @@ -1,3 +1,20 @@
  1 +#!/usr/bin/env ruby
  2 +
  3 +#--
  4 +# Portions copyright 2004 by Jim Weirich (jim@weirichhouse.org).
  5 +# Portions copyright 2005 by Sam Ruby (rubys@intertwingly.net).
  6 +# All rights reserved.
  7 +
  8 +# Permission is granted for use, copying, modification, distribution,
  9 +# and distribution of modified versions of this work as long as the
  10 +# above copyright notice is included.
  11 +#++
  12 +
  13 +require 'test/unit'
  14 +require 'test/preload'
  15 +require 'builder'
  16 +require 'builder/xmlevents'
  17 +
1 18 class TestEvents < Test::Unit::TestCase
2 19
3 20 class Target
10 test/test_namecollision.rb
... ... @@ -1,5 +1,15 @@
1 1 #!/usr/bin/env ruby
2 2
  3 +#--
  4 +# Portions copyright 2004 by Jim Weirich (jim@weirichhouse.org).
  5 +# Portions copyright 2005 by Sam Ruby (rubys@intertwingly.net).
  6 +# All rights reserved.
  7 +
  8 +# Permission is granted for use, copying, modification, distribution,
  9 +# and distribution of modified versions of this work as long as the
  10 +# above copyright notice is included.
  11 +#++
  12 +
3 13 require 'test/unit'
4 14 require 'builder/xchar'
5 15
12 test/test_xchar.rb
... ... @@ -1,5 +1,17 @@
1 1 #!/usr/bin/env ruby
2 2
  3 +#--
  4 +# Portions copyright 2004 by Jim Weirich (jim@weirichhouse.org).
  5 +# Portions copyright 2005 by Sam Ruby (rubys@intertwingly.net).
  6 +# All rights reserved.
  7 +
  8 +# Permission is granted for use, copying, modification, distribution,
  9 +# and distribution of modified versions of this work as long as the
  10 +# above copyright notice is included.
  11 +#++
  12 +
  13 +#!/usr/bin/env ruby
  14 +
3 15 require 'test/unit'
4 16 require 'builder/xchar'
5 17

0 comments on commit 196620c

Please sign in to comment.
Something went wrong with that request. Please try again.