src/Common/ODBC/OdbcParserTests.h

Go to the documentation of this file.
00001 #pragma once
00002 
00003 namespace AppSecInc
00004 {
00005         namespace UnitTests 
00006         {
00007                 namespace Databases
00008                 {
00009                         namespace ODBC
00010                         {
00011                                 class OdbcParserUnitTests : public CPPUNIT_NS::TestFixture
00012                                 {
00013                                         CPPUNIT_TEST_SUITE( OdbcParserUnitTests );
00014                                         CPPUNIT_TEST(testCommandSetSqlServer);
00015                                         CPPUNIT_TEST(testCommandSetDelimiters);
00016                                         CPPUNIT_TEST(testCommandSetFindCommand);
00017                                         CPPUNIT_TEST(testCommandSetFindCommandForDelimiters);
00018                                         CPPUNIT_TEST(testOdbcParserSplitting);
00019                                         CPPUNIT_TEST(testOdbcParserInsert);
00020                                         CPPUNIT_TEST(testOdbcParserInsertNotTerminating);
00021                                         CPPUNIT_TEST(testOdbcParserNoDelims);
00022                                         CPPUNIT_TEST(testOdbcParserExitOnErrorFlag);
00023                                         CPPUNIT_TEST(testOdbcParserCr);
00024                                         CPPUNIT_TEST(testOdbcParserLf);
00025                                         CPPUNIT_TEST(testOdbcParserLfCr);
00026                                         CPPUNIT_TEST(testOdbcParserPrintMultipleLines);
00027                                         CPPUNIT_TEST_SUITE_END();
00028                                 public:
00029                                         void testCommandSetSqlServer();
00030                                         void testCommandSetDelimiters();
00031                                         void testCommandSetFindCommand();
00032                                         void testCommandSetFindCommandForDelimiters();
00033                                         void testOdbcParserSplitting();
00034                                         void testOdbcParserInsert();
00035                                         void testOdbcParserInsertNotTerminating();
00036                                         void testOdbcParserNoDelims();
00037                                         void testOdbcParserExitOnErrorFlag();
00038                                         void testOdbcParserCr();
00039                                         void testOdbcParserLf();
00040                                         void testOdbcParserLfCr();
00041                                         void testOdbcParserPrintMultipleLines();
00042                                 };
00043                         }
00044                 }
00045         }
00046 }


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