36 const char* alphabet =
"abcd";
37 const char* numbers =
"1234";
43 tr.
process(datafile.string().c_str());
46 cout << (* (*it).begin()) << endl;
49 for (; it != vth.
end(); it++)
52 for (vector<string>::const_iterator it2=(*it).begin(); it2!=(*it).end();it2++)
54 const char*
value = (*it2).c_str();
70 tr.
process(datafile.string().c_str());
79 int main(
int argc,
char** argv)
85 bfs::path datapath =
".";
87 for (
int i=1; i<argc; i++)
89 if (!strcmp(argv[i],
"-v"))
95 datapath = bfs::path(argv[i]).branch_path();
97 if (
os_) *
os_ <<
"TabReaderTest\n";
std::vector< std::vector< std::string > >::const_iterator const_iterator
int main(int argc, char **argv)
virtual bool process(const char *filename)
void testMSIHandler(const bfs::path &datafile)
void runTests(const bfs::path &datapath)
virtual const_iterator end() const
virtual const_iterator begin() const
void testDefaultTabHandler(const bfs::path &datafile)
virtual void setHandler(TabHandler *handler)
#define TEST_PROLOG(argc, argv)
KernelTraitsBase< Kernel >::space_type::abscissa_type x
PWIZ_API_DECL std::string value(const std::string &id, const std::string &name)
convenience function to extract a named value from an id string
KernelTraitsBase< Kernel >::space_type::ordinate_type y