/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * Copyright by the Board of Trustees of the University of Illinois. * * All rights reserved. * * * * This file is part of HDF5. The full HDF5 copyright notice, including * * terms governing use, modification, and redistribution, is contained in * * the files COPYING and Copyright.html. COPYING can be found at the root * * of the source code distribution tree; Copyright.html can be found at the * * root level of an installed copy of the electronic HDF5 document set and * * is linked from the top-level documents page. It can also be found at * * http://hdf.ncsa.uiuc.edu/HDF5/doc/Copyright.html. If you do not have * * access to either file, you may request a copy from hdfhelp@ncsa.uiuc.edu. * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */ /* FILE testhdf5.c - HDF5 testing framework main file. REMARKS General test wrapper for HDF5 base library test programs DESIGN Each test function should be implemented as function having no parameters and returning void (i.e. no return value). They should be put into the list of AddTest() calls in main() below. Functions which depend on other functionality should be placed below the AddTest() call for the base functionality testing. Each test module should include testhdf5.h and define a unique set of names for test files they create. BUGS/LIMITATIONS */ /* ANY new test needs to have a prototype in testhdf5.h */ #include "testhdf5.h" int main(int argc, char *argv[]) { /* Initialize testing framework */ TestInit(argv[0], NULL, NULL); /* Tests are generally arranged from least to most complexity... */ AddTest("config", test_configure, cleanup_configure, "Configure definitions", NULL); AddTest("metadata", test_metadata, cleanup_metadata, "Encode/decode metadata code", NULL); AddTest("tst", test_tst, NULL, "Ternary Search Trees", NULL); AddTest("heap", test_heap, NULL, "Memory Heaps", NULL); AddTest("skiplist", test_skiplist, NULL, "Skip Lists", NULL); AddTest("refstr", test_refstr, NULL, "Reference Counted Strings", NULL); AddTest("file", test_file, cleanup_file, "Low-Level File I/O", NULL); AddTest("h5s", test_h5s, cleanup_h5s, "Dataspaces", NULL); AddTest("attr", test_attr, cleanup_attr, "Attributes", NULL); AddTest("select", test_select, cleanup_select, "Selections", NULL); AddTest("time", test_time, cleanup_time, "Time Datatypes", NULL); AddTest("reference", test_reference, cleanup_reference, "References", NULL); AddTest("vltypes", test_vltypes, cleanup_vltypes, "Variable-Length Datatypes", NULL); AddTest("vlstrings", test_vlstrings, cleanup_vlstrings, "Variable-Length Strings", NULL); AddTest("iterate", test_iterate, cleanup_iterate, "Group & Attribute Iteration", NULL); AddTest("array", test_array, cleanup_array, "Array Datatypes", NULL); AddTest("genprop", test_genprop, cleanup_genprop, "Generic Properties", NULL); AddTest("unicode", test_unicode, cleanup_unicode, "UTF-8 Encoding", NULL); AddTest("id", test_ids, NULL, "User-Created Identifiers", NULL); AddTest("misc", test_misc, cleanup_misc, "Miscellaneous", NULL); /* Display testing information */ TestInfo(argv[0]); /* Parse command line arguments */ TestParseCmdLine(argc,argv); /* Perform requested testing */ PerformTests(); /* Display test summary, if requested */ if (GetTestSummary()) TestSummary(); /* Clean up test files, if allowed */ if (GetTestCleanup() && !getenv("HDF5_NOCLEANUP")) TestCleanup(); return (GetTestNumErrs()); } /* end main() */ td colspan='5' class='logmsg'> git@scm.dev.nokia.troll.no:qt/kinetic into kinetic-declarativeui | * Merge branch 'kinetic-declarativeui' of ↵Michael Brasser2009-09-037-267/+213 | |\ | | | | | | | | | git@scm.dev.nokia.troll.no:qt/kinetic into kinetic-declarativeui | | * Merge branch 'kinetic-declarativeui' of ↵Martin Jones2009-09-034-1/+12 | | |\ | | | | | | | | | | | | git@scm.dev.nokia.troll.no:qt/kinetic into kinetic-declarativeui | | * | Remove dragMode property from Flickable.Martin Jones2009-09-035-186/+71 | | | | | | * | Merge branch 'kinetic-declarativeui' of ↵Martin Jones2009-09-0364-421/+1235 | | |\ \ | | | | | | | | | | | | | | | git@scm.dev.nokia.troll.no:qt/kinetic into kinetic-declarativeui | | * | | Update changes file.Martin Jones2009-09-031-0/+4 | | | | | | | * | | Flickable visible area properties moved into visibleArea as dot props.Martin Jones2009-09-035-97/+154 | | | | | | * | | | Round out AnchorChanges API.Michael Brasser2009-09-032-4/+101 | | |_|/ | |/| | | * | | Fix bug when cancelling anchor change mid-transition.Michael Brasser2009-09-034-1/+12 | | |/ | |/| | * | Add one more animation test.Michael Brasser2009-09-031-0/+19 | | | | * | Get animation autotests working again, and add a few more.Michael Brasser2009-09-0312-79/+138 | | | * | | Move minehunt and twitter to demos directoryAlan Alpert2009-09-0323-0/+444 | | | | | | | | | | | | | | | Minehunt is more a demo than an example, and the twitter app goes with the flickr app. * | | Cleanup minehunt exampleAlan Alpert2009-09-032-49/+57 |/ / * | Merge branch 'kinetic-declarativeui' of ↵Alan Alpert2009-09-0326-232/+750 |\ \ | | | | | | | | | git@scm.dev.nokia.troll.no:qt/kinetic into kinetic-declarativeui | * | Remove dead testAaron Kennedy2009-09-033-146/+0 | | | | * | Merge branch 'kinetic-declarativeui' of ↵Aaron Kennedy2009-09-0318-1/+432 | |\ \ | | | | | | | | | | | | git@scm.dev.nokia.troll.no:qt/kinetic into kinetic-declarativeui-scriptopt | | * | Make it easier to test examples with EGL.Michael Brasser2009-09-024-0/+29 | | | | | | | | | | | | | | | | | | | | | | | | Currently -graphicssystem opengl is not very reliable with EGL, so we've added a -opengl option to qmlviewer which sets the viewport of the view to a QGLWidget and allows for GL testing. | | * | Add basic autotests for state handling.Michael Brasser2009-09-0211-0/+399 | | | | | * | | Add QML enum supportAaron Kennedy2009-09-039-19/+213 | | | | | | | | | | | | | | | | | | | | | | | | Enums are accessed as <Type Name>.<Enum value name> Currently this is highly unoptimal - enum assignments are not detected in the compiler, nor are they cached in the script engine. | * | | Merge branch 'kinetic-declarativeui' of ↵Aaron Kennedy2009-09-0212-34/+44 | |\ \ \ | | | | | | | | | | | | | | | git@scm.dev.nokia.troll.no:qt/kinetic into kinetic-declarativeui-scriptopt | * \ \ \ Merge branch 'kinetic-declarativeui' of ↵Aaron Kennedy2009-09-0218-80/+271 | |\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | git@scm.dev.nokia.troll.no:qt/kinetic into kinetic-declarativeui-scriptopt Conflicts: demos/declarative/samegame/content/samegame.js | * \ \ \ \ Merge branch 'kinetic-declarativeui' of ↵Aaron Kennedy2009-09-02145-1579/+2317 | |\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | git@scm.dev.nokia.troll.no:qt/kinetic into kinetic-declarativeui-scriptopt | * | | | | | Rework script binding methodAaron Kennedy2009-09-023-81/+126 | | | | | | | * | | | | | | Fix a bug in the qmlvme, which lead to an assert on valid QML.Alan Alpert2009-09-033-0/+11 | |_|_|_|/ / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | As QmlComponents are created outside the CreateObject instruction, they could be created with an uninitalized declarative data member. Also this patch sets the column on CreateObject instructions too. Reviewed-by: Aaron Kennedy * | | | | | Add an assert before we dereference a null pointerAlan Alpert2009-09-021-0/+1 | | | | | | | | | | | | | | | | | | | | | | | | Reviewed-by: Aaron Kennedy * | | | | | Merge branch 'kinetic-declarativeui' of ↵Alan Alpert2009-09-0212-34/+44 |\ \ \ \ \ \ | | |_|_|/ / | |/| | | | | | | | | | git@scm.dev.nokia.troll.no:qt/kinetic into kinetic-declarativeui | * | | | | Merge branch 'kinetic-declarativeui' of ↵Aaron Kennedy2009-09-025-64/+118 | |\ \ \ \ \ | | | |_|/ / | | |/| | | | | | | | | git@scm.dev.nokia.troll.no:qt/kinetic into kinetic-declarativeui | * | | | | Disallow using typenames as idsAaron Kennedy2009-09-0212-34/+44 | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is now illegal: import Qt 4.6 Item { id: Item } as is import Qt 4.6 Item { id: Text } * | | | | | Slightly better name dialog for SameGameAlan Alpert2009-09-021-1/+2 | | | | | | * | | | | | Merge branch 'kinetic-declarativeui' of ↵Alan Alpert2009-09-0210-67/+153 |\ \ \ \ \ \ | | |/ / / / | |/| | | | | | | | | | git@scm.dev.nokia.troll.no:qt/kinetic into kinetic-declarativeui | * | | | | Merge branch 'kinetic-declarativeui' of ↵Michael Brasser2009-09-0229-58/+303 | |\ \ \ \ \ | | |/ / / / | | | | | | | | | | | | git@scm.dev.nokia.troll.no:qt/kinetic into kinetic-declarativeui | | * | | | Merge branch 'kinetic-declarativeui' of ↵Aaron Kennedy2009-09-0218-36/+151 | | |\ \ \ \ | | | | | | | | | | | | | | | | | | | | | git@scm.dev.nokia.troll.no:qt/kinetic into kinetic-declarativeui | | * | | | | Save object creation line and column numberAaron Kennedy2009-09-025-3/+35 | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This info is used by the debugger interface, and by the qmlInfo() stream. | * | | | | | Provide some color manipulation functions.Michael Brasser2009-09-025-64/+118 | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | These may not be the final location for these, but it allows us to start testing. * | | | | | | SameGame score XSLT now sorts by score.Alan Alpert2009-09-021-0/+1 | |_|/ / / / |/| | | | | * | | | | | Don't need to tweet high scores tooAlan Alpert2009-09-021-17/+0 | | | | | | * | | | | | Merge branch 'kinetic-declarativeui' of ↵Alan Alpert2009-09-0216-39/+142 |\ \ \ \ \ \ | | |_|_|_|/ | |/| | | | | | | | | | git@scm.dev.nokia.troll.no:qt/kinetic into kinetic-declarativeui | * | | | | Fixed crash in keyPressed. keyToSignal function suppose to return “const ↵Mehul R. Patel2009-09-021-1/+1 | | |_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | QbyteArray” not “const char *”. Crash was coming because keyPressed was getting invalid memory pointer from keyToSignal function. Merge-request: 1374 Reviewed-by: Martin Jones <martin.jones@nokia.com> | * | | | Flickable locked property changed to interactive.Martin Jones2009-09-0210-22/+29 | | | | | | | | | | | | | | | | | | | | Note that the meaning of the property has been reversed. | * | | | Merge branch 'kinetic-declarativeui' of ↵Martin Jones2009-09-025-12/+108 | |\ \ \ \ | | | |/ / | | |/| | | | | | | git@scm.dev.nokia.troll.no:qt/kinetic into kinetic-declarativeui | | * | | Merge branch 'kinetic-declarativeui' of ↵Aaron Kennedy2009-09-021-7/+9 | | |\ \ \ | | | | | | | | | | | | | | | | | | git@scm.dev.nokia.troll.no:qt/kinetic into kinetic-declarativeui | | * | | | Add TextInput key handling testAaron Kennedy2009-09-023-0/+107 | | | | | | | | * | | | Merge branch 'kinetic-declarativeui' of ↵Aaron Kennedy2009-09-02131-1546/+2168 | | |\ \ \ \ | | | | |/ / | | | |/| / | | | |_|/ | | |/| | git@scm.dev.nokia.troll.no:qt/kinetic into kinetic-declarativeui | | * | | Remove unused member variables from QmlEnginePrivateAaron Kennedy2009-09-012-12/+1 | | | | | | * | | | Clear animation only in the direction being fixed in fixupX/Y.Martin Jones2009-09-021-4/+4 | | |_|/ | |/| | * | | | SameGame now asks for a name and saves your score.Alan Alpert2009-09-023-13/+30 | | | | | | | | | | | | | | | | | | | | | | | | | | | | Included a rewriting of the Dialog item to be half-decent. Watch http://qtfx-nokia.trolltech.com.au/samegame/scores.php on the internal network for highscores! * | | | SameGame high score server support.Alan Alpert2009-09-025-1/+109 |/ / / | | | | | | | | | | | | | | | This commit contains all the functionality for sending high scores to a server, and the server. The server files have been installed at http://qtfx-nokia.trolltech.com.au/samegame for internal testing. * | | Fix propertyValueSource testMartin Jones2009-09-021-7/+9 | |/ |/| * | Merge branch '4.6' of git@scm.dev.nokia.troll.no:qt/qt into ↵Michael Brasser2009-09-01