|
3Depict
|
#include <string>#include <list>#include <set>#include <fstream>#include <iostream>
Functions | |
| bool | filterTests () |
| Run each filter through its own unit test function. More... | |
| bool | filterCloneTests () |
| Try cloning the filter from itself, and checking the filter. More... | |
| bool | filterTreeTests () |
| basic filter tree topology tests More... | |
| bool | filterRefreshNoOut () |
| bool | testFilterTree (const FilterTree &f) |
| Test a given filter tree that the refresh works. More... | |
| bool | testFilterTree (const FilterTree &f, std::list< std::pair< Filter *, std::vector< const FilterStreamData * > > > &outData) |
| Test a given filter tree that the refresh is successful,. More... | |
| bool filterCloneTests | ( | ) |
Try cloning the filter from itself, and checking the filter.
References Filter::cloneUncached(), FILTER_TYPE_ENUM_END, ConfigFile::getDefaultFilter(), Filter::getUserString(), ConfigFile::read(), Filter::readState(), STATE_FORMAT_XML, stlStr(), TEST, WARN, and Filter::writeState().
Referenced by filterTests().

| bool filterRefreshNoOut | ( | ) |
References FilterTree::addFilter(), DATALOAD_TEXT_FILE, EXTERNALPROGRAM_KEY_COMMAND, DataLoadFilter::setFileMode(), DataLoadFilter::setFilename(), Filter::setProperty(), stlStr(), TEST, testFilterTree(), and WARN.
Referenced by filterTests().

| bool filterTests | ( | ) |
Run each filter through its own unit test function.
References FILTER_TYPE_ENUM_END, filterCloneTests(), filterRefreshNoOut(), filterTreeTests(), and makeFilter().
| bool filterTreeTests | ( | ) |
basic filter tree topology tests
References FilterTree::addFilter(), FilterTree::addFilterTree(), ASSERT, FilterTree::clear(), FilterTree::contains(), FilterTree::copyFilter(), genRandomFilename(), KEY_IONDOWNSAMPLE_COUNT, KEY_IONDOWNSAMPLE_FRACTION, FilterTree::loadXML(), FilterTree::maxDepth(), FilterTree::removeSubtree(), FilterTree::reparentFilter(), FilterTree::saveXML(), FilterTree::setFilterProperty(), Filter::setUserString(), FilterTree::size(), stream_cast(), FilterTree::swap(), TEST, WARN, and XMLHelpFwdToElem().
Referenced by filterTests().

| bool testFilterTree | ( | const FilterTree & | f | ) |
Test a given filter tree that the refresh works.
References FilterTree::safeDeleteFilterList().
Referenced by filterRefreshNoOut(), and threeDepictApp::OnCmdLineParsed().

| bool testFilterTree | ( | const FilterTree & | f, |
| std::list< std::pair< Filter *, std::vector< const FilterStreamData * > > > & | outData | ||
| ) |
Test a given filter tree that the refresh is successful,.
References ASSERT, ATOMIC_BOOL, ilog2(), NUM_STREAM_TYPES, FilterTree::refreshFilterTree(), FilterTree::safeDeleteFilterList(), and STREAM_NAMES.
1.8.13