sl@0: // Copyright (c) 2006-2009 Nokia Corporation and/or its subsidiary(-ies). sl@0: // All rights reserved. sl@0: // This component and the accompanying materials are made available sl@0: // under the terms of "Eclipse Public License v1.0" sl@0: // which accompanies this distribution, and is available sl@0: // at the URL "http://www.eclipse.org/legal/epl-v10.html". sl@0: // sl@0: // Initial Contributors: sl@0: // Nokia Corporation - initial contribution. sl@0: // sl@0: // Contributors: sl@0: // sl@0: // Description: sl@0: // @file sl@0: // sl@0: // sl@0: sl@0: //! @SYMTestSuiteName PDS-TEF-SQL-SUITE sl@0: //! @SYMScriptTestEnvironment TEF sl@0: //! @internalComponent sl@0: //! @test sl@0: sl@0: PRINT Run SQLite Tests, this lot largely negative tests. sl@0: sl@0: LOAD_SUITE te_SQL_Suite sl@0: sl@0: START_TESTCASE SYSLIB-SQL-CIT-1689 sl@0: //! @SYMTestCaseID SYSLIB-SQL-CIT-1689 sl@0: //! @SYMTestCaseDesc Performs some basic database operations intended to sl@0: //! generate errors (but not PANICs). Some errors are already sl@0: //! covered by other tests, so not all cases are covered by sl@0: //! this test. Includes, e.g attempting to create the sl@0: //! same table twice, checks that using the same parameter sl@0: //! index twice (on bind) results in only one entry. sl@0: //! @SYMTestPriority High sl@0: //! @SYMTestActions See description and the config file. sl@0: //! @SYMTestExpectedResults sl@0: //! The test looks for specific error codes and content sl@0: //! within the database. If these are not seen test errors sl@0: //! will be generated. sl@0: //! sl@0: //! @SYMREQ REQ5792 sl@0: sl@0: RUN_TEST_STEP 100 te_SQL_Suite CSQLDDT z:\TEF_SQL\SomeExceptions.ini Top sl@0: END_TESTCASE SYSLIB-SQL-CIT-1689 sl@0: sl@0: sl@0: START_TESTCASE SYSLIB-SQL-CIT-1693 sl@0: //! @SYMTestCaseID SYSLIB-SQL-CIT-1693 sl@0: //! @SYMTestCaseDesc Performs some basic database operations intended to sl@0: //! generate errors (but not PANICs). Some errors are already sl@0: //! covered by other tests, so not all cases are covered by sl@0: //! this test. Includes, e.g attempting to modify a read-only sl@0: //! database. sl@0: //! @SYMTestPriority High sl@0: //! @SYMTestActions See description and the config file. sl@0: //! @SYMTestExpectedResults sl@0: //! The test looks for specific error codes and content sl@0: //! within the database. If these are not seen test errors sl@0: //! will be generated. sl@0: //! sl@0: //! @SYMREQ REQ5792 sl@0: RUN_TEST_STEP 100 te_SQL_Suite CSQLDDT z:\TEF_SQL\SomeExceptions.ini GenerateErrors sl@0: END_TESTCASE SYSLIB-SQL-CIT-1693 sl@0: sl@0: START_TESTCASE SYSLIB-SQL-CIT-1702 sl@0: //! @SYMTestCaseID SYSLIB-SQL-CIT-1702 sl@0: //! @SYMTestCaseDesc Generates a KSqlErrSchema error. sl@0: //! @SYMTestPriority High sl@0: //! @SYMTestActions See description and the config file. sl@0: //! @SYMTestExpectedResults sl@0: //! @SYMREQ REQ5792 sl@0: sl@0: RUN_TEST_STEP 100 te_SQL_Suite CSQLDDT z:\TEF_SQL\SomeExceptions.ini DoErrSchema sl@0: END_TESTCASE SYSLIB-SQL-CIT-1702 sl@0: sl@0: START_TESTCASE SYSLIB-SQL-CIT-1703 sl@0: //! @SYMTestCaseID SYSLIB-SQL-CIT-1703 sl@0: //! @SYMTestCaseDesc Generates a KSqlErrCorrupt error. sl@0: //! @SYMTestPriority High sl@0: //! @SYMTestActions See description and the config file. sl@0: //! @SYMTestExpectedResults sl@0: //! @SYMREQ REQ5792 sl@0: sl@0: RUN_TEST_STEP 100 te_SQL_Suite CSQLDDT z:\TEF_SQL\SomeExceptions.ini CorruptedDb sl@0: END_TESTCASE SYSLIB-SQL-CIT-1703 sl@0: