equal
deleted
inserted
replaced
130 { |
130 { |
131 result = EPass ; |
131 result = EPass ; |
132 } |
132 } |
133 //[ ensure the controller is unloaded so that it does |
133 //[ ensure the controller is unloaded so that it does |
134 // not interfere with the following test ] |
134 // not interfere with the following test ] |
135 // There is an error in this code and the stop followed by reset |
135 // There is a bug in this code and the stop followed by reset |
136 // ensure the controller resources are released. |
136 // ensure the controller resources are released. |
137 iController.Stop(); |
137 iController.Stop(); |
138 iController.Reset(); |
138 iController.Reset(); |
139 iController.Close(); |
139 iController.Close(); |
140 |
140 |
272 result = EPass; |
272 result = EPass; |
273 } |
273 } |
274 |
274 |
275 //[ ensure the controller is unloaded so that it does |
275 //[ ensure the controller is unloaded so that it does |
276 // not interfere with the following test ] |
276 // not interfere with the following test ] |
277 // There is error in this code and the stop followed by reset |
277 // There is a bug in this code and the stop followed by reset |
278 // ensure the controller resources are released. |
278 // ensure the controller resources are released. |
279 iController.Stop(); |
279 iController.Stop(); |
280 iController.Reset(); |
280 iController.Reset(); |
281 iController.Close(); |
281 iController.Close(); |
282 |
282 |
381 result = EPass; |
381 result = EPass; |
382 } |
382 } |
383 |
383 |
384 //[ ensure the controller is unloaded so that it does |
384 //[ ensure the controller is unloaded so that it does |
385 // not interfere with the following test ] |
385 // not interfere with the following test ] |
386 // There is error in this code and the stop followed by reset |
386 // There is a bug in this code and the stop followed by reset |
387 // ensure the controller resources are released. |
387 // ensure the controller resources are released. |
388 iController.Stop(); |
388 iController.Stop(); |
389 iController.Reset(); |
389 iController.Reset(); |
390 iController.Close(); |
390 iController.Close(); |
391 |
391 |
472 result = EPass; |
472 result = EPass; |
473 } |
473 } |
474 |
474 |
475 //[ ensure the controller is unloaded so that it does |
475 //[ ensure the controller is unloaded so that it does |
476 // not interfere with the following test ] |
476 // not interfere with the following test ] |
477 // There is error in this code and the stop followed by reset |
477 // There is a bug in this code and the stop followed by reset |
478 // ensure the controller resources are released. |
478 // ensure the controller resources are released. |
479 iController.Stop(); |
479 iController.Stop(); |
480 iController.Reset(); |
480 iController.Reset(); |
481 iController.Close(); |
481 iController.Close(); |
482 |
482 |
573 result = EPass; |
573 result = EPass; |
574 } |
574 } |
575 |
575 |
576 //[ ensure the controller is unloaded so that it does |
576 //[ ensure the controller is unloaded so that it does |
577 // not interfere with the following test ] |
577 // not interfere with the following test ] |
578 // There is error in this code and the stop followed by reset |
578 // There is a bug in this code and the stop followed by reset |
579 // ensure the controller resources are released. |
579 // ensure the controller resources are released. |
580 iController.Stop(); |
580 iController.Stop(); |
581 iController.Reset(); |
581 iController.Reset(); |
582 iController.Close(); |
582 iController.Close(); |
583 |
583 |
680 result = EPass; |
680 result = EPass; |
681 } |
681 } |
682 |
682 |
683 //[ ensure the controller is unloaded so that it does |
683 //[ ensure the controller is unloaded so that it does |
684 // not interfere with the following test ] |
684 // not interfere with the following test ] |
685 // There is error in this code and the stop followed by reset |
685 // There is a bug in this code and the stop followed by reset |
686 // ensure the controller resources are released. |
686 // ensure the controller resources are released. |
687 iController.Stop(); |
687 iController.Stop(); |
688 iController.Reset(); |
688 iController.Reset(); |
689 iController.Close(); |
689 iController.Close(); |
690 |
690 |
818 // [ play for 10s (approx entire file) ] |
818 // [ play for 10s (approx entire file) ] |
819 User::After(10000000); |
819 User::After(10000000); |
820 |
820 |
821 //[ ensure the controller is unloaded so that it does |
821 //[ ensure the controller is unloaded so that it does |
822 // not interfere with the following test ] |
822 // not interfere with the following test ] |
823 // There is error in this code and the stop followed by reset |
823 // There is a bug in this code and the stop followed by reset |
824 // ensure the controller resources are released. |
824 // ensure the controller resources are released. |
825 iController.Stop(); |
825 iController.Stop(); |
826 iController.Reset(); |
826 iController.Reset(); |
827 iController.Close(); |
827 iController.Close(); |
828 |
828 |
921 result = EFail ; |
921 result = EFail ; |
922 } |
922 } |
923 |
923 |
924 //[ ensure the controller is unloaded so that it does |
924 //[ ensure the controller is unloaded so that it does |
925 // not interfere with the following test ] |
925 // not interfere with the following test ] |
926 // There is error in this code and the stop followed by reset |
926 // There is a bug in this code and the stop followed by reset |
927 // ensure the controller resources are released. |
927 // ensure the controller resources are released. |
928 iController.Stop(); |
928 iController.Stop(); |
929 iController.Reset(); |
929 iController.Reset(); |
930 iController.Close(); |
930 iController.Close(); |
931 |
931 |
999 result = EFail ; |
999 result = EFail ; |
1000 } |
1000 } |
1001 |
1001 |
1002 //[ ensure the controller is unloaded so that it does |
1002 //[ ensure the controller is unloaded so that it does |
1003 // not interfere with the following test ] |
1003 // not interfere with the following test ] |
1004 // There is error in this code and the stop followed by reset |
1004 // There is a bug in this code and the stop followed by reset |
1005 // ensure the controller resources are released. |
1005 // ensure the controller resources are released. |
1006 iController.Stop(); |
1006 iController.Stop(); |
1007 iController.Reset(); |
1007 iController.Reset(); |
1008 iController.Close(); |
1008 iController.Close(); |
1009 |
1009 |
1129 return EFail; |
1129 return EFail; |
1130 } |
1130 } |
1131 |
1131 |
1132 //[ ensure the controller is unloaded so that it does |
1132 //[ ensure the controller is unloaded so that it does |
1133 // not interfere with the following test ] |
1133 // not interfere with the following test ] |
1134 // There is error in this code and the stop followed by reset |
1134 // There is a bug in this code and the stop followed by reset |
1135 // ensure the controller resources are released. |
1135 // ensure the controller resources are released. |
1136 iController.Stop(); |
1136 iController.Stop(); |
1137 iController.Reset(); |
1137 iController.Reset(); |
1138 iController.Close(); |
1138 iController.Close(); |
1139 |
1139 |
1226 return result ; |
1226 return result ; |
1227 } |
1227 } |
1228 |
1228 |
1229 //[ ensure the controller is unloaded so that it does |
1229 //[ ensure the controller is unloaded so that it does |
1230 // not interfere with the following test ] |
1230 // not interfere with the following test ] |
1231 // There is error in this code and the stop followed by reset |
1231 // There is a bug in this code and the stop followed by reset |
1232 // ensure the controller resources are released. |
1232 // ensure the controller resources are released. |
1233 iController.Stop(); |
1233 iController.Stop(); |
1234 iController.Reset(); |
1234 iController.Reset(); |
1235 iController.Close(); |
1235 iController.Close(); |
1236 |
1236 |
1320 return result; |
1320 return result; |
1321 } |
1321 } |
1322 |
1322 |
1323 //[ ensure the controller is unloaded so that it does |
1323 //[ ensure the controller is unloaded so that it does |
1324 // not interfere with the following test ] |
1324 // not interfere with the following test ] |
1325 // There is error in this code and the stop followed by reset |
1325 // There is a bug in this code and the stop followed by reset |
1326 // ensure the controller resources are released. |
1326 // ensure the controller resources are released. |
1327 iController.Stop(); |
1327 iController.Stop(); |
1328 iController.Reset(); |
1328 iController.Reset(); |
1329 iController.Close(); |
1329 iController.Close(); |
1330 |
1330 |
1454 myTimer.After( timerStatus, KDelay ); |
1454 myTimer.After( timerStatus, KDelay ); |
1455 User::WaitForRequest( timerStatus ); |
1455 User::WaitForRequest( timerStatus ); |
1456 |
1456 |
1457 //[ ensure the controller is unloaded so that it does |
1457 //[ ensure the controller is unloaded so that it does |
1458 // not interfere with the following test ] |
1458 // not interfere with the following test ] |
1459 // There is error in this code and the stop followed by reset |
1459 // There is a bug in this code and the stop followed by reset |
1460 // ensure the controller resources are released. |
1460 // ensure the controller resources are released. |
1461 iController.Stop(); |
1461 iController.Stop(); |
1462 iController.Reset(); |
1462 iController.Reset(); |
1463 iController.Close(); |
1463 iController.Close(); |
1464 |
1464 |
1593 myTimer.After( timerStatus, KDelay ); |
1593 myTimer.After( timerStatus, KDelay ); |
1594 User::WaitForRequest( timerStatus ); |
1594 User::WaitForRequest( timerStatus ); |
1595 |
1595 |
1596 //[ ensure the controller is unloaded so that it does |
1596 //[ ensure the controller is unloaded so that it does |
1597 // not interfere with the following test ] |
1597 // not interfere with the following test ] |
1598 // There is error in this code and the stop followed by reset |
1598 // There is a bug in this code and the stop followed by reset |
1599 // ensure the controller resources are released. |
1599 // ensure the controller resources are released. |
1600 iController.Stop(); |
1600 iController.Stop(); |
1601 iController.Reset(); |
1601 iController.Reset(); |
1602 iController.Close(); |
1602 iController.Close(); |
1603 |
1603 |
1735 |
1735 |
1736 CleanupStack::PopAndDestroy(1); // supportedRates |
1736 CleanupStack::PopAndDestroy(1); // supportedRates |
1737 |
1737 |
1738 //[ ensure the controller is unloaded so that it does |
1738 //[ ensure the controller is unloaded so that it does |
1739 // not interfere with the following test ] |
1739 // not interfere with the following test ] |
1740 // There is error in this code and the stop followed by reset |
1740 // There is a bug in this code and the stop followed by reset |
1741 // ensure the controller resources are released. |
1741 // ensure the controller resources are released. |
1742 iController.Stop(); |
1742 iController.Stop(); |
1743 iController.Reset(); |
1743 iController.Reset(); |
1744 iController.Close(); |
1744 iController.Close(); |
1745 |
1745 |
1864 } |
1864 } |
1865 } |
1865 } |
1866 |
1866 |
1867 //[ ensure the controller is unloaded so that it does |
1867 //[ ensure the controller is unloaded so that it does |
1868 // not interfere with the following test ] |
1868 // not interfere with the following test ] |
1869 // There is error in this code and the stop followed by reset |
1869 // There is a bug in this code and the stop followed by reset |
1870 // ensure the controller resources are released. |
1870 // ensure the controller resources are released. |
1871 iController.Stop(); |
1871 iController.Stop(); |
1872 iController.Reset(); |
1872 iController.Reset(); |
1873 iController.Close(); |
1873 iController.Close(); |
1874 |
1874 |
1956 return result; |
1956 return result; |
1957 } |
1957 } |
1958 |
1958 |
1959 //[ ensure the controller is unloaded so that it does |
1959 //[ ensure the controller is unloaded so that it does |
1960 // not interfere with the following test ] |
1960 // not interfere with the following test ] |
1961 // There is error in this code and the stop followed by reset |
1961 // There is a bug in this code and the stop followed by reset |
1962 // ensure the controller resources are released. |
1962 // ensure the controller resources are released. |
1963 iController.Stop(); |
1963 iController.Stop(); |
1964 iController.Reset(); |
1964 iController.Reset(); |
1965 iController.Close(); |
1965 iController.Close(); |
1966 |
1966 |
2043 result = EFail; |
2043 result = EFail; |
2044 } |
2044 } |
2045 |
2045 |
2046 //[ ensure the controller is unloaded so that it does |
2046 //[ ensure the controller is unloaded so that it does |
2047 // not interfere with the following test ] |
2047 // not interfere with the following test ] |
2048 // There is error in this code and the stop followed by reset |
2048 // There is a bug in this code and the stop followed by reset |
2049 // ensure the controller resources are released. |
2049 // ensure the controller resources are released. |
2050 iController.Stop(); |
2050 iController.Stop(); |
2051 iController.Reset(); |
2051 iController.Reset(); |
2052 iController.Close(); |
2052 iController.Close(); |
2053 |
2053 |
2157 } |
2157 } |
2158 } |
2158 } |
2159 |
2159 |
2160 //[ ensure the controller is unloaded so that it does |
2160 //[ ensure the controller is unloaded so that it does |
2161 // not interfere with the following test ] |
2161 // not interfere with the following test ] |
2162 // There is error in this code and the stop followed by reset |
2162 // There is a bug in this code and the stop followed by reset |
2163 // ensure the controller resources are released. |
2163 // ensure the controller resources are released. |
2164 iController.Stop(); |
2164 iController.Stop(); |
2165 iController.Reset(); |
2165 iController.Reset(); |
2166 iController.Close(); |
2166 iController.Close(); |
2167 |
2167 |
2346 return result; |
2346 return result; |
2347 } |
2347 } |
2348 |
2348 |
2349 //[ ensure the controller is unloaded so that it does |
2349 //[ ensure the controller is unloaded so that it does |
2350 // not interfere with the following test ] |
2350 // not interfere with the following test ] |
2351 // There is error in this code and the stop followed by reset |
2351 // There is a bug in this code and the stop followed by reset |
2352 // ensure the controller resources are released. |
2352 // ensure the controller resources are released. |
2353 iController.Stop(); |
2353 iController.Stop(); |
2354 iController.Reset(); |
2354 iController.Reset(); |
2355 iController.Close(); |
2355 iController.Close(); |
2356 |
2356 |
2478 User::LeaveIfError( errorCode ); |
2478 User::LeaveIfError( errorCode ); |
2479 } |
2479 } |
2480 |
2480 |
2481 //[ ensure the controller is unloaded so that it does |
2481 //[ ensure the controller is unloaded so that it does |
2482 // not interfere with the following test ] |
2482 // not interfere with the following test ] |
2483 // There is error in this code and the stop followed by reset |
2483 // There is a bug in this code and the stop followed by reset |
2484 // ensure the controller resources are released. |
2484 // ensure the controller resources are released. |
2485 iController.Stop(); |
2485 iController.Stop(); |
2486 iController.Reset(); |
2486 iController.Reset(); |
2487 iController.Close(); |
2487 iController.Close(); |
2488 |
2488 |
2582 //[ pop supportedDataTypes ] |
2582 //[ pop supportedDataTypes ] |
2583 CleanupStack::PopAndDestroy(1);//supportedDataTypes |
2583 CleanupStack::PopAndDestroy(1);//supportedDataTypes |
2584 |
2584 |
2585 //[ ensure the controller is unloaded so that it does |
2585 //[ ensure the controller is unloaded so that it does |
2586 // not interfere with the following test ] |
2586 // not interfere with the following test ] |
2587 // There is error in this code and the stop followed by reset |
2587 // There is a bug in this code and the stop followed by reset |
2588 // ensure the controller resources are released. |
2588 // ensure the controller resources are released. |
2589 iController.Stop(); |
2589 iController.Stop(); |
2590 iController.Reset(); |
2590 iController.Reset(); |
2591 iController.Close(); |
2591 iController.Close(); |
2592 |
2592 |
2719 //[ pop supportedDataTypes ] |
2719 //[ pop supportedDataTypes ] |
2720 CleanupStack::PopAndDestroy(1);//supportedDataTypes |
2720 CleanupStack::PopAndDestroy(1);//supportedDataTypes |
2721 |
2721 |
2722 //[ ensure the controller is unloaded so that it does |
2722 //[ ensure the controller is unloaded so that it does |
2723 // not interfere with the following test ] |
2723 // not interfere with the following test ] |
2724 // There is error in this code and the stop followed by reset |
2724 // There is a bug in this code and the stop followed by reset |
2725 // ensure the controller resources are released. |
2725 // ensure the controller resources are released. |
2726 iController.Stop(); |
2726 iController.Stop(); |
2727 iController.Reset(); |
2727 iController.Reset(); |
2728 iController.Close(); |
2728 iController.Close(); |
2729 |
2729 |
2848 //[ pop supportedChannels ] |
2848 //[ pop supportedChannels ] |
2849 CleanupStack::PopAndDestroy(1);//supportedChannels |
2849 CleanupStack::PopAndDestroy(1);//supportedChannels |
2850 |
2850 |
2851 //[ ensure the controller is unloaded so that it does |
2851 //[ ensure the controller is unloaded so that it does |
2852 // not interfere with the following test ] |
2852 // not interfere with the following test ] |
2853 // There is error in this code and the stop followed by reset |
2853 // There is a bug in this code and the stop followed by reset |
2854 // ensure the controller resources are released. |
2854 // ensure the controller resources are released. |
2855 iController.Stop(); |
2855 iController.Stop(); |
2856 iController.Reset(); |
2856 iController.Reset(); |
2857 iController.Close(); |
2857 iController.Close(); |
2858 |
2858 |