summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorcvs2svn <no_author@cvs2svn>2003-10-05 21:30:13 (GMT)
committercvs2svn <no_author@cvs2svn>2003-10-05 21:30:13 (GMT)
commite1ba6c55decd4d19d2f2aec8980fd2cbc4848527 (patch)
treee3d641b5e554fb44765b4409b091da5f2cda9a30 /tools
parentb18839aebcbfd8892197d2f8c10b10baef08fc55 (diff)
downloadhdf5-e1ba6c55decd4d19d2f2aec8980fd2cbc4848527.zip
hdf5-e1ba6c55decd4d19d2f2aec8980fd2cbc4848527.tar.gz
hdf5-e1ba6c55decd4d19d2f2aec8980fd2cbc4848527.tar.bz2
[svn-r7547] This commit was manufactured by cvs2svn to create branch 'hdf5_1_6'.
Diffstat (limited to 'tools')
-rw-r--r--tools/testfiles/tnamed_dtype_attr.ddl20
-rw-r--r--tools/testfiles/tnamed_dtype_attr.h5bin0 -> 1656 bytes
-rw-r--r--tools/testfiles/tnamed_dtype_attr.h5.xml43
3 files changed, 63 insertions, 0 deletions
diff --git a/tools/testfiles/tnamed_dtype_attr.ddl b/tools/testfiles/tnamed_dtype_attr.ddl
new file mode 100644
index 0000000..71b9241
--- /dev/null
+++ b/tools/testfiles/tnamed_dtype_attr.ddl
@@ -0,0 +1,20 @@
+#############################
+Expected output for 'h5dump -A tnamed_dtype_attr.h5'
+#############################
+HDF5 "tnamed_dtype_attr.h5" {
+GROUP "/" {
+ DATASET "Dataset" {
+ DATATYPE "/Datatype"
+ DATASPACE SCALAR
+ ATTRIBUTE "Attribute" {
+ DATATYPE "/Datatype"
+ DATASPACE SCALAR
+ DATA {
+ 8
+ }
+ }
+ }
+ DATATYPE "Datatype" H5T_STD_I32LE;
+
+}
+}
diff --git a/tools/testfiles/tnamed_dtype_attr.h5 b/tools/testfiles/tnamed_dtype_attr.h5
new file mode 100644
index 0000000..4e136e5
--- /dev/null
+++ b/tools/testfiles/tnamed_dtype_attr.h5
Binary files differ
diff --git a/tools/testfiles/tnamed_dtype_attr.h5.xml b/tools/testfiles/tnamed_dtype_attr.h5.xml
new file mode 100644
index 0000000..38700db
--- /dev/null
+++ b/tools/testfiles/tnamed_dtype_attr.h5.xml
@@ -0,0 +1,43 @@
+#############################
+Expected output for 'h5dump --xml tnamed_dtype_attr.h5'
+#############################
+<?xml version="1.0" encoding="UTF-8"?>
+<hdf5:HDF5-File xmlns:hdf5="http://hdf.ncsa.uiuc.edu/DTDs/HDF5-File" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://hdf.ncsa.uiuc.edu/DTDs/HDF5File http://hdf.ncsa.uiuc.edu/DTDs/HDF5-File.xsd">
+<hdf5:RootGroup OBJ-XID="xid_928" H5Path="/">
+ <hdf5:NamedDataType Name="Datatype" OBJ-XID="xid_976" H5Path="/Datatype" Parents="xid_928" H5ParentPaths="/">
+ <hdf5:DataType>
+ <hdf5:AtomicType>
+ <hdf5:IntegerType ByteOrder="LE" Sign="true" Size="4" />
+ </hdf5:AtomicType>
+ </hdf5:DataType>
+ </hdf5:NamedDataType>
+ <hdf5:Dataset Name="Dataset" OBJ-XID="xid_1384" H5Path= "/Dataset" Parents="xid_928" H5ParentPaths="/">
+ <hdf5:StorageLayout>
+ <hdf5:ContiguousLayout/>
+ </hdf5:StorageLayout>
+ <hdf5:FillValueInfo FillTime="FillIfSet" AllocationTime="Late">
+ <hdf5:FillValue>
+ <hdf5:NoFill/>
+ </hdf5:FillValue>
+ </hdf5:FillValueInfo>
+ <hdf5:Dataspace>
+ <hdf5:ScalarDataspace />
+ </hdf5:Dataspace>
+ <hdf5:NamedDataTypePtr OBJ-XID="xid_976" H5Path="/Datatype" />
+ <hdf5:Attribute Name="Attribute">
+ <hdf5:Dataspace>
+ <hdf5:ScalarDataspace />
+ </hdf5:Dataspace>
+ <hdf5:NamedDataTypePtr OBJ-XID="xid_976" H5Path="/Datatype" />
+ <hdf5:Data>
+ <hdf5:DataFromFile>
+ 8
+ </hdf5:DataFromFile>
+ </hdf5:Data>
+ </hdf5:Attribute>
+ <hdf5:Data>
+ <hdf5:NoData/>
+ </hdf5:Data>
+ </hdf5:Dataset>
+</hdf5:RootGroup>
+</hdf5:HDF5-File>