From fa080de7afc95aa1c19a6e6fc0e0708ced2eadc4 Mon Sep 17 00:00:00 2001 From: Joseph Hunkeler Date: Wed, 8 Jul 2015 20:46:52 -0400 Subject: Initial commit --- vo/votest/tests/req_1.1.cl | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 vo/votest/tests/req_1.1.cl (limited to 'vo/votest/tests/req_1.1.cl') diff --git a/vo/votest/tests/req_1.1.cl b/vo/votest/tests/req_1.1.cl new file mode 100644 index 00000000..5e94ed7c --- /dev/null +++ b/vo/votest/tests/req_1.1.cl @@ -0,0 +1,34 @@ +# +# Access to and table elements. + +# Set the test description string. +votest.descr = "Access to and table elements" + +# Convert the data$logical to a local path. +s1 = data_url // "/usno-b.xml" +s2 = "file://" // data_path // "/usno-b.xml" +s3 = "file:///localhost" // data_path // "/usno-b.xml" + +print ("------------------------------------------------------------------") +print ("Req 1.1: Users shall be able to access the and ") +print (" elements of a VOTable as standard table header information.") +print ("------------------------------------------------------------------") + + +fcache init + +# Execute the test commands. +print ("\nLogical Path: data$usno-b.xml") # logical path +thedit ("data$usno-b.xml", "parnam*,parval*,infnam*,infval*",".",del-,show+) + +print ("\nHTTP URI: " // s1) # remote http URI +thedit (s1, "parnam*,parval*,infnam*,infval*",".",del-,show+) + + +print ("\nFile URI: " // s2) # file URI +thedit (s2, "parnam*,parval*,infnam*,infval*",".",del-,show+) + + +print ("\nFile URI: " // s3) # file URI +thedit (s3, "parnam*,parval*,infnam*,infval*",".",del-,show+) + -- cgit