os/persistentdata/persistentstorage/sql/TEST/testexecute/SQLite/src/cdtest.h
author sl@SLION-WIN7.fritz.box
Fri, 15 Jun 2012 03:10:57 +0200
changeset 0 bde4ae8d615e
permissions -rw-r--r--
First public contribution.
     1 // Copyright (c) 2006-2009 Nokia Corporation and/or its subsidiary(-ies).
     2 // All rights reserved.
     3 // This component and the accompanying materials are made available
     4 // under the terms of "Eclipse Public License v1.0"
     5 // which accompanies this distribution, and is available
     6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
     7 //
     8 // Initial Contributors:
     9 // Nokia Corporation - initial contribution.
    10 //
    11 // Contributors:
    12 //
    13 // Description:
    14 //
    15 
    16 #if (!defined __CDTEST_H__)
    17 #define __CDTEST_H__
    18 #include <test/testexecutestepbase.h>
    19 #include "Te_SQL_SuiteStepBase.h"
    20 #include "sqlfn.h"
    21 
    22 class CSQLCDT : public CSQLFnStep
    23     {
    24 public:
    25     CSQLCDT();
    26     ~CSQLCDT();
    27     void ResolveTestFunctionL(const TDesC&, const TInt, const TPtrC &);
    28 
    29     /*
    30      * Code driven tests (configurable).
    31      */
    32     void WriteBigTableL(const TDesC&, TInt);
    33     void ReadBigTableL(const TDesC&);
    34 
    35     void CopyCellsUsingStreamsL(const TDesC&);
    36     void WriteIntsToStream(const TDesC &, const TInt);
    37     void NearFillDisk(const TDesC &);
    38     void ScalarFullSelectL(const TDesC &, const TInt );
    39     void FilesDifferBySize(const TDesC &, const TInt );
    40     void SecurityPolicyCheck(const TDesC &, const TInt );
    41     void CollationTest(const TDesC &, const TInt );
    42 
    43 private:
    44     void PrepareLargeDisk(const TDesC&, const TDriveUnit atdu, TInt64 &atowrite);
    45     };
    46 
    47 #endif // CDTEST_H__