phonebookengines/contactsmodel/tsrc/t_IccImportLock.cpp
changeset 24 0ba2181d7c28
parent 0 e686773b3f54
--- a/phonebookengines/contactsmodel/tsrc/t_IccImportLock.cpp	Tue Feb 02 10:12:17 2010 +0200
+++ b/phonebookengines/contactsmodel/tsrc/t_IccImportLock.cpp	Fri Mar 19 09:27:18 2010 +0200
@@ -1,20 +1,20 @@
-// Copyright (c) 2003-2009 Nokia Corporation and/or its subsidiary(-ies).
-// All rights reserved.
-// This component and the accompanying materials are made available
-// under the terms of "Eclipse Public License v1.0"
-// which accompanies this distribution, and is available
-// at the URL "http://www.eclipse.org/legal/epl-v10.html".
-//
-// Initial Contributors:
-// Nokia Corporation - initial contribution.
-//
-// Contributors:
-//
-// Description:
-//
+/*
+* Copyright (c) 2003-2009 Nokia Corporation and/or its subsidiary(-ies).
+* All rights reserved.
+* This component and the accompanying materials are made available
+* under the terms of "Eclipse Public License v1.0"
+* which accompanies this distribution, and is available
+* at the URL "http://www.eclipse.org/legal/epl-v10.html".
+*
+* Initial Contributors:
+* Nokia Corporation - initial contribution.
+*
+* Contributors:
+*
+* Description: 
+*
+*/
 
-
-// System includes
 #include <cntdb.h>
 #include <cntdef.h>
 #include <cntitem.h>
@@ -29,7 +29,7 @@
 #include <e32math.h>
 
 // User includes
-#include "T_UTILS.H"
+#include "t_utils.h"
 #include "t_utils2.h"
 
 // Constant
@@ -51,7 +51,7 @@
 static RTest					TheTest(_L("INC016848 - DB stressing - Group insert"));
 static RFs						TheFs;
 
-//
+///////////////////////////////////////////////////////////////////////////////
 /* CTestActiveScheduler                                                      */
 //  This class has been nicked from the t_currentdb.h / .cpp files
 class CTestActiveScheduler : public CActiveScheduler
@@ -75,7 +75,7 @@
 	}
 
 
-//
+///////////////////////////////////////////////////////////////////////////////
 /* CConcurrentDatabaseAccessBase - Specification                             */
 // Forms the base class for both threads.
 class CConcurrentDatabaseAccessBase : public CBase
@@ -123,7 +123,7 @@
 		CTestRegister* 			iFileRegister;
 	};
 
-//
+///////////////////////////////////////////////////////////////////////////////
 /* CConcurrentDatabaseAccessBase - Implementation                            */
 CConcurrentDatabaseAccessBase::CConcurrentDatabaseAccessBase()
 	{
@@ -299,7 +299,7 @@
 	}
 
 
-//
+///////////////////////////////////////////////////////////////////////////////
 /* CConcurrentDatabaseInserter - Specification                               */
 // This class is the inserter thread. It's thread function should insert
 // contacts into the database using the t_utils CRandomContactGenerator class
@@ -321,7 +321,7 @@
 	private:
 	};
 
-//
+///////////////////////////////////////////////////////////////////////////////
 /* CConcurrentDatabaseInserter - Implementation                              */
 
 CConcurrentDatabaseInserter* CConcurrentDatabaseInserter::NewLC(const TDesC& aFilename)
@@ -435,7 +435,7 @@
 	CloseTest();
 	}
 
-//
+///////////////////////////////////////////////////////////////////////////////
 /* CConcurrentDBGroupInserter                                               */
 class CConcurrentDBGroupInserter : public CConcurrentDatabaseAccessBase
 	{
@@ -588,16 +588,16 @@
 	CloseTest();
 	}
 
-//
+///////////////////////////////////////////////////////////////////////////////
 /* Test Function Prototypes                                                  */
-//
+///////////////////////////////////////////////////////////////////////////////
 void CreateTestDatabaseL(const TDesC& aFilename );
 void TestL();
 void doMainL();
 
-//
+///////////////////////////////////////////////////////////////////////////////
 /* Test Function Implementations                                             */
-//
+///////////////////////////////////////////////////////////////////////////////
 void CreateTestDatabaseL(const TDesC& aFilename )
 	{
 	CContactDatabase* database = NULL;
@@ -641,9 +641,9 @@
 	}
 
 
-//
+////////////////////////////////////////////////////////////////////////////////////
 // -------> Static global functions (source)
-//
+////////////////////////////////////////////////////////////////////////////////////
 void doMainL()
 	{
 	User::LeaveIfError( TheFs.Connect() );