summaryrefslogtreecommitdiffstats
path: root/tools/testfiles
diff options
context:
space:
mode:
authorBill Wendling <wendling@ncsa.uiuc.edu>2002-01-05 16:33:50 (GMT)
committerBill Wendling <wendling@ncsa.uiuc.edu>2002-01-05 16:33:50 (GMT)
commit3c6be60da7927d3f5dd2486dc193cabe98f08276 (patch)
tree9a8850a518e66db6cf6411eba0247bfc51d1247f /tools/testfiles
parentcb7800feee85ec1dc62ceeb9ed1f8ac59a526c16 (diff)
downloadhdf5-3c6be60da7927d3f5dd2486dc193cabe98f08276.zip
hdf5-3c6be60da7927d3f5dd2486dc193cabe98f08276.tar.gz
hdf5-3c6be60da7927d3f5dd2486dc193cabe98f08276.tar.bz2
[svn-r4782]
Purpose: Feature Add Description: Added support for dumping Group Comments. This involved a modification of the DDL as well. Solution: Steal code from h5ls and put it in the h5dump. The ddl.html file was updated as normal. And a test was created... Platforms tested: Dangermouse, Modi4, Kelgia
Diffstat (limited to 'tools/testfiles')
-rw-r--r--tools/testfiles/tgrp_comments.ddl46
-rw-r--r--tools/testfiles/tgrp_comments.h5bin0 -> 14336 bytes
2 files changed, 46 insertions, 0 deletions
diff --git a/tools/testfiles/tgrp_comments.ddl b/tools/testfiles/tgrp_comments.ddl
new file mode 100644
index 0000000..aead73d
--- /dev/null
+++ b/tools/testfiles/tgrp_comments.ddl
@@ -0,0 +1,46 @@
+#############################
+Expected output for 'h5dump tgrp_comments.h5'
+#############################
+HDF5 "tgrp_comments.h5" {
+GROUP "/" {
+ GROUP "g1" {
+ COMMENT "Comment for group /g1"
+ GROUP "g1.1" {
+ COMMENT "Comment for group /g1/g1.1"
+ }
+ GROUP "g1.2" {
+ COMMENT "Comment for group /g1/g1.2"
+ }
+ }
+ GROUP "g2" {
+ COMMENT "Comment for group /g2"
+ GROUP "g2.1" {
+ COMMENT "Comment for group /g2/g2.1"
+ GROUP "g2.1.1" {
+ COMMENT "Comment for group /g2/g2.1/g2.1.1"
+ }
+ GROUP "g2.1.2" {
+ COMMENT "Comment for group /g2/g2.1/g2.1.2"
+ }
+ GROUP "g2.1.3" {
+ COMMENT "Comment for group /g2/g2.1/g2.1.3"
+ }
+ }
+ }
+ GROUP "g3" {
+ COMMENT "Comment for group /g3"
+ GROUP "g3.1" {
+ COMMENT "Comment for group /g3/g3.1"
+ }
+ GROUP "g3.2" {
+ COMMENT "Comment for group /g3/g3.2"
+ }
+ GROUP "g3.3" {
+ COMMENT "Comment for group /g3/g3.3"
+ }
+ GROUP "g3.4" {
+ COMMENT "Comment for group /g3/g3.4"
+ }
+ }
+}
+}
diff --git a/tools/testfiles/tgrp_comments.h5 b/tools/testfiles/tgrp_comments.h5
new file mode 100644
index 0000000..b72edcc
--- /dev/null
+++ b/tools/testfiles/tgrp_comments.h5
Binary files differ