srcanamdw_os/leavescan/test/testcases/LS3-testcases/PCT-LeaveScan-LS3-001.cpp
author Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
Tue, 02 Feb 2010 01:39:43 +0200
changeset 0 83f4b4db085c
child 2 99082257a271
permissions -rw-r--r--
Revision: 201005 Kit: 201005

//desc:test new(ELeave) and User::Leave of LS3
//option:
//date:2008-8-12 15:58:1
//author:pingorliu
//type: CT

void func()
{
/*new(ELeave)CL();*/ //check:-func,-calls

/*
 *
 * new(ELeave)CL();  //check:-func,-calls
 *
*/	

new(ELeavet)CL(); //check:func,ELeave

//this is a function call User::Leave(); //check:-func,-calls
//this is a function call User::LeaveIfError(); //check:-func,-calls
//this is a function call User::LeaveNoMemory(); //check:-func,-calls
//this is a function call User::LeaveIfError(); //check:-func,-calls


string str = "calling new(ELeave)CL()"; //check:-func,-ELeave
string str2 = "\"calling User::Leave()\""; //check:-func,-calls
string str3 = "\"calling User::LeaveIfError()"; //check:-func,-calls
string str4 = "'calling ELeave'"; //check:-func,-calls
string str5 = "'calling Leave()"; //check:-func,-calls
string str6 = " this is a function\
                User::Leave()";  //check:-func,-calls

int ELeavet = 1; //check:-func,-calls
MARCOELEAVE(); //check:-func,-calls

}