diff -r 000000000000 -r a41df078684a kerneltest/f32test/manager/t_locdrv.cpp --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/kerneltest/f32test/manager/t_locdrv.cpp Mon Oct 19 15:55:17 2009 +0100 @@ -0,0 +1,87 @@ +// Copyright (c) 1996-2009 Nokia Corporation and/or its subsidiary(-ies). +// All rights reserved. +// This component and the accompanying materials are made available +// under the terms of the License "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: +// f32test\manager\t_locdrv.cpp +// +// + +#include +#include +const TUint KMaxDriveFileLen=0x00020000; + +LOCAL_D RTest test(_L("T_LOCDRV")); + +GLDEF_C TInt E32Main() + { + TBusLocalDrive TheLocalDrives[KMaxLocalDrives]; + TBool isBoolean; + + test.Title(); + test.Start(_L("Test Local Drive Sw")); + + test.Next(_L("Connect - all drives")); + TInt i=0; + for (; i wrBuf(0x100); + TBuf8<256> rdBuf(0X100); + + for (TInt j=0 ; j<0x100 ; j++) + wrBuf[j]=(TUint8)j; + for (i=0;i