serviceproviders/sapi_messaging/tsrc/testing/tmessagingtest/get_message_async/conf/get_message_async.cfg
author Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
Thu, 27 Aug 2009 07:43:07 +0300
changeset 22 fc9cf246af83
permissions -rw-r--r--
Revision: 200931 Kit: 200935

/*  ===========================================================================
 *  Copyright © 2006-2007 Nokia Corporation.
 *  This material, including documentation and any related 
 *  computer programs, is protected by copyright controlled by 
 *  Nokia Corporation. All rights are reserved. Copying, 
 *  including reproducing, storing, adapting or translating, any 
 *  or all of this material requires the prior written consent of 
 *  Nokia Corporation. This material also contains confidential 
 *  information which may not be disclosed to others without the 
 *  prior written consent of Nokia Corporation.
 * ============================================================================
 */
 
// message-id   fromarray  subject  sort-type  uid-type  start-date  end-date positive/negative 0-negative  1-positive

[Test]
title Null Filter
create get_message_async foobar
foobar test_1  0  NULL  NULL  0  NULL  0  0    1
delete foobar
[Endtest]

[Test]
title Non existent Messageid
create get_message_async foobar
foobar test_1  128  NULL  NULL  0  NULL  0  0    0   
delete foobar
[Endtest] 

[Test]
title Invalid Messageid
create get_message_async foobar
foobar test_1  -657  NULL  NULL  0  NULL  0  0    0     
delete foobar
[Endtest]

[Test]
title Valid Messageid
create get_message_async foobar
foobar test_1  1  NULL  NULL  0  NULL  0  0    1    
delete foobar
[Endtest]


[Test]
title Valid FromArray
create get_message_async foobar
foobar test_1  0  20  AddrEnd  NULL  0  NULL  0  0   1     
delete foobar
[Endtest]

[Test]
title Invalid FromArray
create get_message_async foobar
foobar test_1  0  -7  AddrEnd  NULL  0  NULL  0  0    0  
delete foobar
[Endtest]

[Test]
title Non Existent FromArray
create get_message_async foobar
foobar test_1  0  917  AddrEnd  NULL  0  NULL  0  0      0 
delete foobar
[Endtest]

[Test]
title Non Existent Subject
create get_message_async foobar
foobar test_1  0  NULL  zd  0  NULL  0  0      0
delete foobar
[Endtest]

[Test]
title Valid SortOrder
create get_message_async foobar
foobar test_1  0  NULL  NULL  10  NULL  0  0    1          
delete foobar
[Endtest]

[Test]
title Valid uid(sms)
create get_message_async foobar
foobar test_1  0  NULL  NULL  0  SMS  MtmEnd  0  0    1
delete foobar
[Endtest]


[Test]
title Valid uid(mms)
create get_message_async foobar
foobar test_1  0  NULL  NULL  0  MMS  MtmEnd  0  0     1 
delete foobar
[Endtest]

[Test]
title  Start date>End date
create get_message_async foobar
foobar test_1  0  NULL  NULL  0  NULL  1  2009 5 23 0 0 0 0   1   2009 5 22 0 0 0 0     0
delete foobar
[Endtest]

[Test]
title  Start date>Current date
create get_message_async foobar
foobar test_1  0  NULL  NULL  0  NULL  1  2909 9 14 0 0 0 0   0    0   
delete foobar
[Endtest]


[Test]
title  End date<Current date
create get_message_async foobar
foobar test_1  0  NULL  NULL  0  NULL  0   1   2007 9 9 0 0 0 0    0
delete foobar
[Endtest]

[Test]
title  Start date eq End date
create get_message_async foobar
foobar test_1  0  NULL  NULL  0  SMS  MtmEnd  0  0    1
delete foobar
[Endtest]