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.3.cl | 47 ++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 47 insertions(+) create mode 100644 vo/votest/tests/req_1.3.cl (limited to 'vo/votest/tests/req_1.3.cl') diff --git a/vo/votest/tests/req_1.3.cl b/vo/votest/tests/req_1.3.cl new file mode 100644 index 00000000..bcbb0b40 --- /dev/null +++ b/vo/votest/tests/req_1.3.cl @@ -0,0 +1,47 @@ +# +# Demonstrate selection of column for tasks expecting a list. + +# Set the test description string. +votest.descr = "Demonstrate selection of column for tasks expecting a list" + +# Convert the data$logical to a local path. +s1 = data_url // "/sia.xml" +s2 = "file://" // data_path // "/sia.xml" +s3 = "file:///localhost" // data_path // "/sia.xml" + +print ("------------------------------------------------------------------") +print ("Req 1.3: Users shall be able to select a column in a VOTable") +print (" for use in tasks that expect a list of values.") +print ("------------------------------------------------------------------") + + +fcache init +flpr 0 + +print (" ") +print (" This test is demonstrated by using the @-file syntax to auto-") +print ("matically extract the image access reference column from an SIA") +print ("result table.") +print (" ") + + +# Suppress the image name to avoid a false failure because of checksum +# algorithm differences between platforms. +imstat.fields = "npix,mean,stddev,min,max" + + +# Execute the test commands. +print ("\nLogical Path: data$sia.xml") # logical path +imstat ("@data$sia.xml") + +print ("\nHTTP URI: " // s1) # remote http URI +imstat ("@" // s1) + +print ("\nFile URI: " // s2) # file URI +imstat ("@" // s2) + +print ("\nFile URI: " // s3) # file URI +imstat ("@" // s3) + + + -- cgit