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__ |
|
19 #include <e32test.h> |
18 #include <e32test.h> |
20 #include <f32dbg.h> |
19 #include <f32dbg.h> |
21 #include <e32debug.h> |
20 #include <e32debug.h> |
22 |
21 |
23 |
22 |
32 TFileName xfn(RProcess().FileName()); |
31 TFileName xfn(RProcess().FileName()); |
33 TFileName path = PlatSec::ConfigSetting(PlatSec::EPlatSecEnforceSysBin)?_L("Z:\\sys\\bin\\"):_L("Z:\\system\\bin\\"); |
32 TFileName path = PlatSec::ConfigSetting(PlatSec::EPlatSecEnforceSysBin)?_L("Z:\\sys\\bin\\"):_L("Z:\\system\\bin\\"); |
34 path[0] = xfn[0]; |
33 path[0] = xfn[0]; |
35 RLibrary lib; |
34 RLibrary lib; |
36 TInt r=lib.Load(_L("t_start1.dll"), path); |
35 TInt r=lib.Load(_L("t_start1.dll"), path); |
37 test_KErrNone(r); |
36 test(r==KErrNone); |
38 TFileName name; |
37 TFileName name; |
39 name=lib.FileName(); |
38 name=lib.FileName(); |
40 path += _L("t_start1.dll"); |
39 path += _L("t_start1.dll"); |
41 test(name==path); |
40 test(name==path); |
42 lib.Close(); |
41 lib.Close(); |