equal
deleted
inserted
replaced
1 // Copyright (c) 1994-2009 Nokia Corporation and/or its subsidiary(-ies). |
1 // Copyright (c) 1994-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". |
32 |
32 |
33 //forward declaration for all scsi protocol tests |
33 //forward declaration for all scsi protocol tests |
34 GLDEF_C void t_scsi_prot(); |
34 GLDEF_C void t_scsi_prot(); |
35 |
35 |
36 |
36 |
37 GLDEF_C void TestIfEqual( TInt aValue, TInt aExpected, TInt aLine, char aFileName[]); |
37 GLDEF_C void TestIfEqual( TInt aValue, TInt aExpected, TInt aLine, const char aFileName[]); |
38 #define TEST_FOR_VALUE( r, expected ) TestIfEqual( r, expected, __LINE__, __FILE__) |
38 #define TEST_FOR_VALUE( r, expected ) TestIfEqual( r, expected, __LINE__, __FILE__) |
39 |
39 |
40 #define TEST_SENSE_CODE( aSensePtr, aExpKey, aExtAddCode ) \ |
40 #define TEST_SENSE_CODE( aSensePtr, aExpKey, aExtAddCode ) \ |
41 { \ |
41 { \ |
42 TRequestSenseData senseDataErr (aSensePtr); \ |
42 TRequestSenseData senseDataErr (aSensePtr); \ |