loggingservices/eventlogger/LogServ/src/LogServRecentCondition.cpp
changeset 55 44f437012c90
parent 0 08ec8eefde2f
equal deleted inserted replaced
51:7d4490026038 55:44f437012c90
     1 // Copyright (c) 2002-2009 Nokia Corporation and/or its subsidiary(-ies).
     1 // Copyright (c) 2002-2010 Nokia Corporation and/or its subsidiary(-ies).
     2 // All rights reserved.
     2 // All rights reserved.
     3 // This component and the accompanying materials are made available
     3 // This component and the accompanying materials are made available
     4 // under the terms of "Eclipse Public License v1.0"
     4 // under the terms of "Eclipse Public License v1.0"
     5 // which accompanies this distribution, and is available
     5 // which accompanies this distribution, and is available
     6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
     6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
   103 	}
   103 	}
   104 
   104 
   105 #ifdef SYSLIBS_TEST
   105 #ifdef SYSLIBS_TEST
   106 
   106 
   107 #pragma BullseyeCoverage off
   107 #pragma BullseyeCoverage off
       
   108 #pragma CTC SKIP
   108 
   109 
   109 //When SYSLIBS_TEST macro is defined, creates a test recent list condition.
   110 //When SYSLIBS_TEST macro is defined, creates a test recent list condition.
   110 //Used from the unit tests to cover many of the production code branches, otherwise uncovered,
   111 //Used from the unit tests to cover many of the production code branches, otherwise uncovered,
   111 //because the recent list conditions can be loaded only from the resource file.
   112 //because the recent list conditions can be loaded only from the resource file.
   112 CLogServRecentCondition* CLogServRecentCondition::TestNewL(TUint16 aField)
   113 CLogServRecentCondition* CLogServRecentCondition::TestNewL(TUint16 aField)
   157 		__ASSERT_DEBUG(EFalse, Panic(ELogUnknownField));
   158 		__ASSERT_DEBUG(EFalse, Panic(ELogUnknownField));
   158 		break;
   159 		break;
   159 		}
   160 		}
   160 	}
   161 	}
   161 
   162 
       
   163 #pragma CTC ENDSKIP
   162 #pragma BullseyeCoverage on
   164 #pragma BullseyeCoverage on
   163 
   165 
   164 #endif//SYSLIBS_TEST
   166 #endif//SYSLIBS_TEST