equal
deleted
inserted
replaced
450 { |
450 { |
451 User::Panic (KPanicConnTest, EConnTestContainer); |
451 User::Panic (KPanicConnTest, EConnTestContainer); |
452 } |
452 } |
453 } |
453 } |
454 |
454 |
|
455 // ---------------------------------------------------------------------------- |
|
456 // CConnTestContainer::SaveOutputWindowToFile |
|
457 // Store console output log to a file. |
|
458 // ---------------------------------------------------------------------------- |
|
459 // |
|
460 void CConnTestContainer::SaveOutputWindowToFile() |
|
461 { |
|
462 TInt error; |
|
463 _LIT( KOutputInternalMemory, "c:\\data\\conntest_output.txt" ); |
|
464 |
|
465 TBuf<100> filename( KOutputInternalMemory ); |
|
466 |
|
467 TRAP( error, iRichText->ExportAsTextL( filename, CPlainText::EOrganiseByParagraph, 0)); |
|
468 |
|
469 if(error != KErrNone) |
|
470 { |
|
471 User::Panic (KPanicConnTest, EConnTestContainer); |
|
472 } |
|
473 } |
455 |
474 |
456 // End of File |
475 // End of File |