OdbcParserTests.h
Go to the documentation of this file.
1 #pragma once
2 
3 namespace AppSecInc
4 {
5  namespace UnitTests
6  {
7  namespace Databases
8  {
9  namespace ODBC
10  {
11  class OdbcParserUnitTests : public CPPUNIT_NS::TestFixture
12  {
13  CPPUNIT_TEST_SUITE( OdbcParserUnitTests );
14  CPPUNIT_TEST(testCommandSetSqlServer);
15  CPPUNIT_TEST(testCommandSetDelimiters);
16  CPPUNIT_TEST(testCommandSetFindCommand);
18  CPPUNIT_TEST(testOdbcParserSplitting);
19  CPPUNIT_TEST(testOdbcParserInsert);
21  CPPUNIT_TEST(testOdbcParserNoDelims);
22  CPPUNIT_TEST(testOdbcParserExitOnErrorFlag);
23  CPPUNIT_TEST(testOdbcParserCr);
24  CPPUNIT_TEST(testOdbcParserLf);
25  CPPUNIT_TEST(testOdbcParserLfCr);
27  CPPUNIT_TEST_SUITE_END();
28  public:
34  void testOdbcParserInsert();
38  void testOdbcParserCr();
39  void testOdbcParserLf();
40  void testOdbcParserLfCr();
42  };
43  }
44  }
45  }
46 }
void testCommandSetDelimiters()
Definition: OdbcParserTests.cpp:29
void testOdbcParserExitOnErrorFlag()
Definition: OdbcParserTests.cpp:153
void testCommandSetFindCommand()
Definition: OdbcParserTests.cpp:43
void testOdbcParserInsert()
Definition: OdbcParserTests.cpp:113
void testCommandSetSqlServer()
Definition: OdbcParserTests.cpp:11
void testOdbcParserLf()
Definition: OdbcParserTests.cpp:188
void testOdbcParserLfCr()
Definition: OdbcParserTests.cpp:203
void testCommandSetFindCommandForDelimiters()
Definition: OdbcParserTests.cpp:58
void testOdbcParserPrintMultipleLines()
Definition: OdbcParserTests.cpp:218
void testOdbcParserNoDelims()
Definition: OdbcParserTests.cpp:143
void testOdbcParserCr()
Definition: OdbcParserTests.cpp:173
void testOdbcParserInsertNotTerminating()
Definition: OdbcParserTests.cpp:128
void testOdbcParserSplitting()
Definition: OdbcParserTests.cpp:67


© Application Security Inc. - All Rights Reserved http://msiext.codeplex.com