equal
deleted
inserted
replaced
13 // Description: |
13 // Description: |
14 // f32test\server\t_fname.cpp |
14 // f32test\server\t_fname.cpp |
15 // |
15 // |
16 // |
16 // |
17 |
17 |
|
18 #define __E32TEST_EXTENSION__ |
18 #include <e32test.h> |
19 #include <e32test.h> |
19 #include <f32dbg.h> |
20 #include <f32dbg.h> |
20 #include <e32debug.h> |
21 #include <e32debug.h> |
21 |
22 |
22 |
23 |
31 TFileName xfn(RProcess().FileName()); |
32 TFileName xfn(RProcess().FileName()); |
32 TFileName path = PlatSec::ConfigSetting(PlatSec::EPlatSecEnforceSysBin)?_L("Z:\\sys\\bin\\"):_L("Z:\\system\\bin\\"); |
33 TFileName path = PlatSec::ConfigSetting(PlatSec::EPlatSecEnforceSysBin)?_L("Z:\\sys\\bin\\"):_L("Z:\\system\\bin\\"); |
33 path[0] = xfn[0]; |
34 path[0] = xfn[0]; |
34 RLibrary lib; |
35 RLibrary lib; |
35 TInt r=lib.Load(_L("t_start1.dll"), path); |
36 TInt r=lib.Load(_L("t_start1.dll"), path); |
36 test(r==KErrNone); |
37 test_KErrNone(r); |
37 TFileName name; |
38 TFileName name; |
38 name=lib.FileName(); |
39 name=lib.FileName(); |
39 path += _L("t_start1.dll"); |
40 path += _L("t_start1.dll"); |
40 test(name==path); |
41 test(name==path); |
41 lib.Close(); |
42 lib.Close(); |