Lines Matching refs:TestSet
66 DE_DECLARE_COMMAND_LINE_OPT(TestSet, vector<string>);
102 << Option<TestSet> ("t", "testset", "Comma-separated list of include filters.", parseCommaSeparatedList)
134 vector<string> testset;
169 if (!opts.hasOption<opt::TestSet>())
171 std::cout << "Invalid command line arguments. --testset not defined." << std::endl;
199 cmdLine.testset = opts.getOption<opt::TestSet>();
305 void addMatchingCases (const xe::TestGroup& group, xe::TestSet& testSet, const char* filter)
318 addMatchingCases(static_cast<const xe::TestGroup&>(*child), testSet, filter);
323 testSet.add(child);
329 void removeMatchingCases (const xe::TestGroup& group, xe::TestSet& testSet, const char* filter)
342 removeMatchingCases(static_cast<const xe::TestGroup&>(*child), testSet, filter);
347 testSet.remove(child);
409 void printBatchResultSummary (const xe::TestNode* root, const xe::TestSet& testSet, const xe::BatchResult& batchResult)
417 if (node->getNodeType() == xe::TESTNODETYPE_TEST_CASE && testSet.hasNode(node))
586 xe::TestSet testSet;
589 for (vector<string>::const_iterator filterIter = cmdLine.testset.begin(); filterIter != cmdLine.testset.end(); ++filterIter)
590 addMatchingCases(root, testSet, filterIter->c_str());
592 if (testSet.empty())
597 removeMatchingCases(root, testSet, filterIter->c_str());
610 xe::BatchExecutor executor(cmdLine.targetCfg, commLink.get(), &root, testSet, &batchResult, &infoLog);
635 printBatchResultSummary(&root, testSet, batchResult);
653 printBatchResultSummary(&root, testSet, batchResult);