Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Update tests to use new top-level require file.

Also update all copyright headers.
  • Loading branch information...
commit 9ab9166ef72c210a3dc6cbc5123556307d84b269 1 parent 362230d
@hainesr hainesr authored
View
9 Rakefile
@@ -1,8 +1,11 @@
-# Copyright (c) 2012 The University of Manchester, UK.
+# Copyright (c) 2009-2013 The University of Manchester, UK.
#
# See LICENCE file for details.
#
-# Author: Robert Haines
+# Authors: Finn Bacall
+# Robert Haines
+# David Withers
+# Mannie Tagarira
require 'rubygems'
require 'rake'
@@ -20,7 +23,7 @@ Jeweler::Tasks.new do |s|
s.name = "taverna-t2flow"
s.version = T2FLOW_GEM_VERSION
s.authors = ["Finn Bacall", "Robert Haines", "David Withers", "Mannie Tagarira"]
- s.email = ["finn.bacall@cs.man.ac.uk", "rhaines@manchester.ac.uk"]
+ s.email = ["support@mygrid.org.uk"]
s.homepage = "http://www.taverna.org.uk/"
s.platform = Gem::Platform::RUBY
s.summary = "Support for interacting with Taverna 2 workflows."
View
9 lib/t2flow/dot.rb
@@ -1,3 +1,12 @@
+# Copyright (c) 2009-2013 The University of Manchester, UK.
+#
+# See LICENCE file for details.
+#
+# Authors: Finn Bacall
+# Robert Haines
+# David Withers
+# Mannie Tagarira
+
module T2Flow
# This class enables you to write the script will will be used by dot
View
12 lib/t2flow/model.rb
@@ -1,4 +1,14 @@
-# This is the module containing the T2Flow model implementation i.e. the model structure/definition and all its internals.
+# Copyright (c) 2009-2013 The University of Manchester, UK.
+#
+# See LICENCE file for details.
+#
+# Authors: Finn Bacall
+# Robert Haines
+# David Withers
+# Mannie Tagarira
+#
+# This is the module containing the T2Flow model implementation i.e. the
+# model structure/definition and all its internals.
module T2Flow # :nodoc:
View
14 lib/t2flow/parser.rb
@@ -1,5 +1,15 @@
-require "libxml"
-require "cgi"
+# Copyright (c) 2009-2013 The University of Manchester, UK.
+#
+# See LICENCE file for details.
+#
+# Authors: Finn Bacall
+# Robert Haines
+# David Withers
+# Mannie Tagarira
+
+require 'rubygems'
+require 'libxml'
+require 'cgi'
module T2Flow
View
11 test/run_tests.rb
@@ -1,8 +1,7 @@
-require 'rubygems'
require 'test/unit'
+require 'taverna-t2flow'
-require File.expand_path(File.join(__FILE__, "..", "test_helper.rb"))
-
-require File.expand_path(File.join(__FILE__, "..", "test_bogus_workflows.rb"))
-require File.expand_path(File.join(__FILE__, "..", "test_starter_pack_workflows.rb"))
-require File.expand_path(File.join(__FILE__, "..", "test_component_workflows.rb"))
+require 'test_helper.rb'
+require 'test_bogus_workflows.rb'
+require 'test_starter_pack_workflows.rb'
+require 'test_component_workflows.rb'
View
15 test/test_bogus_workflows.rb
@@ -1,10 +1,11 @@
-require 'rubygems'
-require 'test/unit'
-
-require File.expand_path(File.join(__FILE__, "..", "..", "lib", "t2flow", "model.rb"))
-require File.expand_path(File.join(__FILE__, "..", "..", "lib", "t2flow", "parser.rb"))
-
-require File.expand_path(File.join(__FILE__, "..", "test_helper.rb"))
+# Copyright (c) 2009-2013 The University of Manchester, UK.
+#
+# See LICENCE file for details.
+#
+# Authors: Finn Bacall
+# Robert Haines
+# David Withers
+# Mannie Tagarira
class BogusWorkflowTest < Test::Unit::TestCase
View
15 test/test_component_workflows.rb
@@ -1,10 +1,11 @@
-require 'rubygems'
-require 'test/unit'
-
-require File.expand_path(File.join(__FILE__, "..", "..", "lib", "t2flow", "model.rb"))
-require File.expand_path(File.join(__FILE__, "..", "..", "lib", "t2flow", "parser.rb"))
-
-require File.expand_path(File.join(__FILE__, "..", "test_helper.rb"))
+# Copyright (c) 2009-2013 The University of Manchester, UK.
+#
+# See LICENCE file for details.
+#
+# Authors: Finn Bacall
+# Robert Haines
+# David Withers
+# Mannie Tagarira
class ComponentWorkflowTest < Test::Unit::TestCase
View
9 test/test_helper.rb
@@ -1,3 +1,12 @@
+# Copyright (c) 2009-2013 The University of Manchester, UK.
+#
+# See LICENCE file for details.
+#
+# Authors: Finn Bacall
+# Robert Haines
+# David Withers
+# Mannie Tagarira
+
module TestHelper
def generic_model_test(model)
View
15 test/test_starter_pack_workflows.rb
@@ -1,10 +1,11 @@
-require 'rubygems'
-require 'test/unit'
-
-require File.expand_path(File.join(__FILE__, "..", "..", "lib", "t2flow", "model.rb"))
-require File.expand_path(File.join(__FILE__, "..", "..", "lib", "t2flow", "parser.rb"))
-
-require File.expand_path(File.join(__FILE__, "..", "test_helper.rb"))
+# Copyright (c) 2009-2013 The University of Manchester, UK.
+#
+# See LICENCE file for details.
+#
+# Authors: Finn Bacall
+# Robert Haines
+# David Withers
+# Mannie Tagarira
class StarterPackWorkflowsTest < Test::Unit::TestCase
Please sign in to comment.
Something went wrong with that request. Please try again.