kerneltest/f32test/smassstorage/scsiprot/t_ms_main.cpp
changeset 281 13fbfa31d2ba
parent 0 a41df078684a
equal deleted inserted replaced
266:0008ccd16016 281:13fbfa31d2ba
     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 the License "Eclipse Public License v1.0"
     4 // under the terms of the License "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".
    43 		test(EFalse);
    43 		test(EFalse);
    44 		}
    44 		}
    45 	}
    45 	}
    46 
    46 
    47 _LIT( KValueTestFailMsg, "ERROR Got %d expected %d" );
    47 _LIT( KValueTestFailMsg, "ERROR Got %d expected %d" );
    48 GLDEF_C void TestIfEqual( TInt aValue, TInt aExpected, TInt aLine, char aFileName[])
    48 GLDEF_C void TestIfEqual( TInt aValue, TInt aExpected, TInt aLine, const char aFileName[])
    49 	{
    49 	{
    50 	if( aExpected != aValue )
    50 	if( aExpected != aValue )
    51 		{
    51 		{
    52 		TText filenameU[512];
    52 		TText filenameU[512];
    53 		TUint i = 0;
    53 		TUint i = 0;