kerneltest/e32test/dll/t_xxver2.cpp
changeset 271 dc268b18d709
parent 189 a5496987b1da
equal deleted inserted replaced
269:d57b86b1867a 271:dc268b18d709
     1 // Copyright (c) 2003-2009 Nokia Corporation and/or its subsidiary(-ies).
     1 // Copyright (c) 2003-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".
   426 	test(f != 0);
   426 	test(f != 0);
   427 	result = (*f)();
   427 	result = (*f)();
   428 	test.Printf(_L("Ord 1 returns %08x\n"), result);
   428 	test.Printf(_L("Ord 1 returns %08x\n"), result);
   429 	test(result == DllVersion[expected]);
   429 	test(result == DllVersion[expected]);
   430 	CheckExports(expected, l);
   430 	CheckExports(expected, l);
       
   431 
       
   432 	TInt codeSize=0;
       
   433 	TInt constDataSize=0;
       
   434 	test(KErrNone==l.GetRamSizes(codeSize, constDataSize));
       
   435 	test.Printf(_L("Code size: 0x%x, const data size:0x%x\n"),codeSize,constDataSize);
       
   436 	test(codeSize>0);
   431 	l.Close();
   437 	l.Close();
   432 	}
   438 	}
   433 
   439 
   434 void TestLibraryInfo(TInt aN)
   440 void TestLibraryInfo(TInt aN)
   435 	{
   441 	{