equal
deleted
inserted
replaced
1 // Copyright (c) 2004-2009 Nokia Corporation and/or its subsidiary(-ies). |
1 // Copyright (c) 2004-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". |
85 TEST(dbNames->Count() > 0); |
85 TEST(dbNames->Count() > 0); |
86 TBool casePreserved = EFalse; |
86 TBool casePreserved = EFalse; |
87 for(TInt i=0;i<dbNames->Count();++i) |
87 for(TInt i=0;i<dbNames->Count();++i) |
88 { |
88 { |
89 const TDesC& dbName = (*dbNames)[i]; |
89 const TDesC& dbName = (*dbNames)[i]; |
90 RDebug::Print(_L("--Database: %S\n"), &dbName); |
90 TheTest.Printf(_L("--Database: %S\n"), &dbName); |
91 TBuf<128> dbName2; |
91 TBuf<128> dbName2; |
92 dbName2.Append(TChar('A' + EDriveC)); |
92 dbName2.Append(TChar('A' + EDriveC)); |
93 dbName2.Append(TChar(':')); |
93 dbName2.Append(TChar(':')); |
94 dbName2.Append(dbName); |
94 dbName2.Append(dbName); |
95 if(dbName2 == KDbName()) |
95 if(dbName2 == KDbName()) |