contentmgmt/referencedrmagent/tcaf/source/ManagerStep.cpp
changeset 108 ca9a0fc2f082
parent 15 da2ae96f639b
equal deleted inserted replaced
102:deec7e509f66 108:ca9a0fc2f082
     1 /*
     1 /*
     2 * Copyright (c) 2003-2009 Nokia Corporation and/or its subsidiary(-ies).
     2 * Copyright (c) 2003-2010 Nokia Corporation and/or its subsidiary(-ies).
     3 * All rights reserved.
     3 * All rights reserved.
     4 * This component and the accompanying materials are made available
     4 * This component and the accompanying materials are made available
     5 * under the terms of the License "Eclipse Public License v1.0"
     5 * under the terms of the License "Eclipse Public License v1.0"
     6 * which accompanies this distribution, and is available
     6 * which accompanies this distribution, and is available
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
  1289 	mimeType8.Copy(mimeType);
  1289 	mimeType8.Copy(mimeType);
  1290 	
  1290 	
  1291 	__UHEAP_MARK;
  1291 	__UHEAP_MARK;
  1292 	
  1292 	
  1293 	CIteratorTestStateMachine *t = new CIteratorTestStateMachine(this);
  1293 	CIteratorTestStateMachine *t = new CIteratorTestStateMachine(this);
  1294 	
  1294 
       
  1295 	CleanupStack::PushL(t);
       
  1296 
  1295 	t->RunTestL(path, ETrue, mimeType8);
  1297 	t->RunTestL(path, ETrue, mimeType8);
  1296 	
  1298 
  1297 	delete t;	
  1299 	CleanupStack::PopAndDestroy(t);
       
  1300 	
  1298 	__UHEAP_MARKEND;
  1301 	__UHEAP_MARKEND;
  1299 	return TestStepResult();
  1302 	return TestStepResult();
  1300 	}
  1303 	}
  1301 
  1304 
  1302 void CCAFContentIteratorStep::PrintResult(const TDesC& aFileName, const TDesC& aUniqueId, const TDesC& aMimeType)
  1305 void CCAFContentIteratorStep::PrintResult(const TDesC& aFileName, const TDesC& aUniqueId, const TDesC& aMimeType)