diff -r 000000000000 -r a41df078684a kerneltest/f32test/server/b_rep.cpp --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/kerneltest/f32test/server/b_rep.cpp Mon Oct 19 15:55:17 2009 +0100 @@ -0,0 +1,111 @@ +// 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\server\b_rep.cpp +// +// + +#include +#include +#include "t_server.h" + +GLDEF_D RTest test(_L("B_REP")); +LOCAL_D RFile TheFile; +GLDEF_D TFileName nameBuf1=_L("B_REP Test File.PAR"); +GLDEF_D TBuf8<0x200> testPat1; +GLDEF_D TBuf8<0x200> chkPat1; + +const TInt noTimes=500; +const TInt len=24; + +void DoTest() + { + + TBuf8<0x10> buf; + TBuf8<0x10> testBuf; + buf.SetLength(sizeof(TInt)); + TInt r; + for (TInt numb=0;numb