equal
deleted
inserted
replaced
1 // Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies). |
1 // Copyright (c) 2009-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". |
305 TEST(rc); |
305 TEST(rc); |
306 |
306 |
307 CleanupStack::PopAndDestroy(fdiscovery); |
307 CleanupStack::PopAndDestroy(fdiscovery); |
308 } |
308 } |
309 |
309 |
310 void DoFeatureDiscoveryTest2(TBool aStaticMethodsUsed) |
310 void DoFeatureDiscoveryTest2L(TBool aStaticMethodsUsed) |
311 { |
311 { |
312 CFeatureDiscovery* fdiscovery = NULL; |
312 CFeatureDiscovery* fdiscovery = NULL; |
313 if(!aStaticMethodsUsed) |
313 if(!aStaticMethodsUsed) |
314 { |
314 { |
315 fdiscovery = CFeatureDiscovery::NewL(); |
315 fdiscovery = CFeatureDiscovery::NewL(); |
396 @SYMTestExpectedResults Test must not fail |
396 @SYMTestExpectedResults Test must not fail |
397 @SYMDEF DEF144262 |
397 @SYMDEF DEF144262 |
398 */ |
398 */ |
399 void FeatureDiscoveryTest2L() |
399 void FeatureDiscoveryTest2L() |
400 { |
400 { |
401 DoFeatureDiscoveryTest2(ETrue); |
401 DoFeatureDiscoveryTest2L(ETrue); |
402 DoFeatureDiscoveryTest2(EFalse); |
402 DoFeatureDiscoveryTest2L(EFalse); |
403 } |
403 } |
404 |
404 |
405 void DoTestsL() |
405 void DoTestsL() |
406 { |
406 { |
407 TheTest.Start(_L("@SYMTestCaseID:PDS-EFM-CT-4059 FeatureManager::FeatureSupported() test")); |
407 TheTest.Start(_L("@SYMTestCaseID:PDS-EFM-CT-4059 FeatureManager::FeatureSupported() test")); |