datacommsserver/esockserver/test/TE_RConnectionSuite/src/TE_AllInterfaceNotification.cpp
branchRCL_3
changeset 12 8b5d60ce1e94
parent 4 928ed51ddc43
equal deleted inserted replaced
11:98a7181d2ce7 12:8b5d60ce1e94
  1768         return EFail; // EFail has no effect, default fail result set in pre-amble
  1768         return EFail; // EFail has no effect, default fail result set in pre-amble
  1769         }
  1769         }
  1770     
  1770     
  1771     // PASS
  1771     // PASS
  1772     SetTestStepResult(EPass);
  1772     SetTestStepResult(EPass);
       
  1773     return EPass;
  1773     }
  1774     }
  1774 
  1775 
  1775 TVerdict TE_RConnectionTestAllInterfaceNot210::doTestStepPreambleL()
  1776 TVerdict TE_RConnectionTestAllInterfaceNot210::doTestStepPreambleL()
  1776     {
  1777     {
  1777     TInt err;
  1778     TInt err;
  1808     err = dummyNifEnableProperty.Attach(KAvailabilityTestingPubSubUid, KApId);
  1809     err = dummyNifEnableProperty.Attach(KAvailabilityTestingPubSubUid, KApId);
  1809     TESTEL(err == KErrNone, err);
  1810     TESTEL(err == KErrNone, err);
  1810 
  1811 
  1811     dummyNifEnableProperty.Set(0); // Dummy NIF not available - Start should fail
  1812     dummyNifEnableProperty.Set(0); // Dummy NIF not available - Start should fail
  1812     dummyNifEnableProperty.Close();
  1813     dummyNifEnableProperty.Close();
       
  1814     return EPass;
  1813     }
  1815     }
  1814 
  1816 
  1815 TVerdict TE_RConnectionTestAllInterfaceNot210::doTestStepPostambleL()
  1817 TVerdict TE_RConnectionTestAllInterfaceNot210::doTestStepPostambleL()
  1816     {
  1818     {
  1817     
  1819     return EPass;
  1818     }
  1820     }
  1819 
  1821 
  1820 TE_RConnectionTestAllInterfaceNot210::~TE_RConnectionTestAllInterfaceNot210()
  1822 TE_RConnectionTestAllInterfaceNot210::~TE_RConnectionTestAllInterfaceNot210()
  1821     {
  1823     {
  1822     iConnAllIfaceNotify.Close();
  1824     iConnAllIfaceNotify.Close();