From 76e40a33e2b46e571109351787a6cd8439af46d0 Mon Sep 17 00:00:00 2001 From: Josh Bradley Date: Mon, 10 Nov 2014 17:37:55 -0900 Subject: [PATCH] Update schemas submodule to v0.9.0 Updated tests to use v0.9.0 --- .gitmodules | 4 ++-- test/schemas/v0_8 | 1 - test/schemas/v0_9 | 1 + test/tc_translation.rb | 6 +++--- 4 files changed, 6 insertions(+), 6 deletions(-) delete mode 160000 test/schemas/v0_8 create mode 160000 test/schemas/v0_9 diff --git a/.gitmodules b/.gitmodules index c5b7add51..ab2425d01 100644 --- a/.gitmodules +++ b/.gitmodules @@ -1,3 +1,3 @@ -[submodule "test/schemas/v0_8"] - path = test/schemas/v0_8 +[submodule "test/schemas/v0_9"] + path = test/schemas/v0_9 url = https://github.com/adiwg/adiwg-json-schemas.git diff --git a/test/schemas/v0_8 b/test/schemas/v0_8 deleted file mode 160000 index 2a7591ccb..000000000 --- a/test/schemas/v0_8 +++ /dev/null @@ -1 +0,0 @@ -Subproject commit 2a7591ccb85cf32e257ca3ff8b77f1f2e163ce35 diff --git a/test/schemas/v0_9 b/test/schemas/v0_9 new file mode 160000 index 000000000..f362be5c3 --- /dev/null +++ b/test/schemas/v0_9 @@ -0,0 +1 @@ +Subproject commit f362be5c3bae5b613b6332db021f7295b8c0fa1f diff --git a/test/tc_translation.rb b/test/tc_translation.rb index 49d43dbd8..e7f2fe209 100644 --- a/test/tc_translation.rb +++ b/test/tc_translation.rb @@ -8,13 +8,13 @@ require 'json' require File.join(File.expand_path('..', __FILE__),'..','lib', 'adiwg-mdtranslator.rb') -class TestTranslation_v0_8 < MiniTest::Unit::TestCase +class TestTranslation_v0_9 < MiniTest::Unit::TestCase @@reader = 'adiwgJson' @@writer = 'iso19115_2' def test_ouput_success # read test adiwg full json test - file = File.open(File.join(File.dirname(__FILE__),'schemas','v0_8','examples','full_example.json'), 'r') + file = File.open(File.join(File.dirname(__FILE__),'schemas','v0_9','examples','full_example.json'), 'r') jsonObj = file.read file.close @@ -38,7 +38,7 @@ def test_ouput_success def test_minimum # read test adiwg minimum json test - file = File.open(File.join(File.dirname(__FILE__),'schemas','v0_8','examples','minimum_example.json'), 'r') + file = File.open(File.join(File.dirname(__FILE__),'schemas','v0_9','examples','minimum_example.json'), 'r') jsonObj = file.read file.close