
//*****************************************************************************
// The input parameter should be in the order
// <keyboard mode> <key code>
[Test]
title Test CPsQueryItem: Unit Test 1
create PsUtilsTestSuite api
api PsQueryItem_SetAndGetL EItut 5
delete api
[Endtest] 

//*****************************************************************************
// The input parameter should be in the order
// <keyboard mode> <key code>
[Test]
title Test CPsQueryItem: Unit Test 1
create PsUtilsTestSuite api
api PsQueryItem_SetAndGetL EQwerty z
delete api
[Endtest] 

//*****************************************************************************

// The input parameter should be in the order
// <keyboard mode> <search key codes> <remove index>
[Test]
title Test CPsQuery: Unit Test 1
create PsUtilsTestSuite api
api PsQuery_SetAndGetL EItut 5245 3
delete api
[Endtest]

//*****************************************************************************

// The input parameter should be in the order
// <keyboard mode> <search key codes> <remove index>
[Test]
title Test CPsQuery: Unit Test 2
create PsUtilsTestSuite api
api PsQuery_SetAndGetL EQwerty abcde 3
delete api
[Endtest]

//*****************************************************************************

// The input parameter should be in the order
// <Unique id> <data stores uri> <data fields count> <data field 1> ... <data field N> <extended data field>
[Test]
title Test CPsClientData: Unit Test 1
create PsUtilsTestSuite api
api PsClientData_SetAndGetL "ID[7]" "URI[cntdb:\/\/c:contacts.cdb]"  "DATA[a,b,c,d]" 
delete api
[Endtest] 

//*****************************************************************************
[Test]
title Test CPsClientData: Unit Test 2 NULL Values
create PsUtilsTestSuite api
api PsClientData_SetAndGetL 
delete api
[Endtest] 


//*****************************************************************************
// The input parameter should be in the order
// <Unique id> <data stores uri> <data fields count> <data field 1> ... <data field N> <extended data field> <int data fields count> <int data field 1> ... <int data field N>
[Test]
title Test CPsData: Unit Test 1
create PsUtilsTestSuite api
api PsData_SetAndGetL "ID[7]" "DATA[abc,bcd,cde,def]"
delete api
[Endtest]


//*****************************************************************************
[Test]
title Test CPsData: Unit Test 2 NULL values
create PsUtilsTestSuite api
api PsData_SetAndGetL
delete api
[Endtest]
//*****************************************************************************

[Test]
title Test CPsSettings: Unit Test 1
create PsUtilsTestSuite api
api PsSettings_SetAndGetL "ID[7]" "URI[cntdb:\/\/c:contacts.cdb,cntdb::\/\/group.gdb/group?=765]" "DISP[27]" "SORT[EAlphabetical]" "GRPID[765]"
delete api
[Endtest]

//*****************************************************************************

[Test]
title Test CPsSettings: Unit Test 2
create PsUtilsTestSuite api
api PsSettings_SetAndGetL "ID[-10]" "URI[cntdb:\/\/c:contacts.cdb,cntdb::\/\/group.gdb/group?=765]" "DISP[27]" "SORT[EAlphabetical]" "GRPID[765]"
delete api
[Endtest]

//*****************************************************************************

[Test]
title Test CPsPattern: Unit Test 1
create PsUtilsTestSuite api
api PsPattern_SetAndGetL "ID[7]" "DATA[abcdef]"
delete api
[Endtest]

//*****************************************************************************

