equal
deleted
inserted
replaced
189 //Prepares the test directory. |
189 //Prepares the test directory. |
190 //TheFs.Connect() has to be called already. |
190 //TheFs.Connect() has to be called already. |
191 static void SetupTestDirectory() |
191 static void SetupTestDirectory() |
192 { |
192 { |
193 TInt err = TheFs.MkDir(KTestDatabase); |
193 TInt err = TheFs.MkDir(KTestDatabase); |
|
194 if(err != KErrNone) |
|
195 { |
|
196 RDebug::Print(_L("*** SetupTestDirectory(), RFs::MkDir(), err=%d\r\n"), err); |
|
197 } |
194 TEST(err == KErrNone || err == KErrAlreadyExists); |
198 TEST(err == KErrNone || err == KErrAlreadyExists); |
195 } |
199 } |
196 |
200 |
197 //Leaves with info message printed out |
201 //Leaves with info message printed out |
198 static void LeaveL(TInt aError, TInt aLine) |
202 static void LeaveL(TInt aError, TInt aLine) |