diff --git a/test/unit/core/tc_api.rb b/test/unit/core/tc_api.rb new file mode 100644 index 000000000..2055ba4c7 --- /dev/null +++ b/test/unit/core/tc_api.rb @@ -0,0 +1,20 @@ +require 'test/unit' +require 'webrick' + +class TC_Api < Test::Unit::TestCase + + def setup + $root_dir="../../" + $:.unshift File.join( %w{ ../../ } ) + end + + # + # Test the api is functional + # + def test_api + assert_nothing_raised do + require 'core/api' + end + end + +end diff --git a/test/unit/core/tc_core.rb b/test/unit/core/tc_core.rb new file mode 100644 index 000000000..5e5fefb49 --- /dev/null +++ b/test/unit/core/tc_core.rb @@ -0,0 +1,20 @@ +require 'test/unit' +require 'webrick' + +class TC_Core < Test::Unit::TestCase + + def setup + $root_dir="../../" + $:.unshift File.join( %w{ ../../ } ) + end + + # + # Test the core is functional + # + def test_core + assert_nothing_raised do + require 'core/core' + end + end + +end diff --git a/test/unit/core/tc_loader.rb b/test/unit/core/tc_loader.rb new file mode 100644 index 000000000..7992b0a30 --- /dev/null +++ b/test/unit/core/tc_loader.rb @@ -0,0 +1,20 @@ +require 'test/unit' +require 'webrick' + +class TC_Loader < Test::Unit::TestCase + + def setup + $root_dir="../../" + $:.unshift File.join( %w{ ../../ } ) + end + + # + # Test the loader is functional + # + def test_loader + assert_nothing_raised do + require 'core/loader' + end + end + +end