Evaluation Environment for AUTOSAR-Autocode in Motor Control ...
Evaluation Environment for AUTOSAR-Autocode in Motor Control ...
Evaluation Environment for AUTOSAR-Autocode in Motor Control ...
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
Contents<br />
6.3.3 Per<strong>for</strong>m . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 59<br />
6.3.4 Ma<strong>in</strong> W<strong>in</strong>dow . . . . . . . . . . . . . . . . . . . . . . . . . . . . 61<br />
6.3.5 Configuration Widgets . . . . . . . . . . . . . . . . . . . . . . . 63<br />
6.3.6 Per<strong>for</strong>m Widgets . . . . . . . . . . . . . . . . . . . . . . . . . . 66<br />
6.4 Implement<strong>in</strong>g Tests with Perl . . . . . . . . . . . . . . . . . . . . . . . 68<br />
6.4.1 Utilities <strong>for</strong> Test Scripts . . . . . . . . . . . . . . . . . . . . . . 68<br />
6.4.2 Scripts <strong>for</strong> the Test Types . . . . . . . . . . . . . . . . . . . . . 69<br />
6.5 XML Scheme . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 71<br />
6.6 Launch<strong>in</strong>g the Test <strong>Environment</strong> . . . . . . . . . . . . . . . . . . . . . 71<br />
6.7 Summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 73<br />
7 Test Cases 75<br />
7.1 Creat<strong>in</strong>g Test Cases . . . . . . . . . . . . . . . . . . . . . . . . . . . . 75<br />
7.1.1 Tests to Accept or Reject . . . . . . . . . . . . . . . . . . . . . 75<br />
7.1.2 Code Review of Tests . . . . . . . . . . . . . . . . . . . . . . . 76<br />
7.1.3 Tests <strong>for</strong> the PC–OS . . . . . . . . . . . . . . . . . . . . . . . . 76<br />
7.1.4 Tests <strong>for</strong> Integration <strong>in</strong> MEDC17 . . . . . . . . . . . . . . . . . 77<br />
7.2 Example: Mode Test . . . . . . . . . . . . . . . . . . . . . . . . . . . . 79<br />
7.2.1 Configuration of the Mode Example . . . . . . . . . . . . . . . 79<br />
7.2.2 Implementation of the Mode Example . . . . . . . . . . . . . . 80<br />
7.2.3 Modification of this Example . . . . . . . . . . . . . . . . . . . 84<br />
7.2.4 Conclusion . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 84<br />
7.3 Example: DataReceivedEvent <strong>in</strong> MEDC17 . . . . . . . . . . . . . . . . 85<br />
7.3.1 Configuration of the MEDC17 Example . . . . . . . . . . . . . 85<br />
7.3.2 Implementation of the MEDC17 Example . . . . . . . . . . . . 86<br />
7.3.3 Execution . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 87<br />
7.4 Found RTE Generator Bugs . . . . . . . . . . . . . . . . . . . . . . . . 88<br />
7.4.1 Implicit API buffers copied twice . . . . . . . . . . . . . . . . . 88<br />
7.4.2 DataReceivedEvent without DataReceivedEvent . . . . . . . . 89<br />
7.4.3 Header Files <strong>for</strong> Composition not created . . . . . . . . . . . . 90<br />
7.5 Summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 90<br />
8 Conclusion 91<br />
8.1 Reached Goals . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 91<br />
8.2 Perspective . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 91<br />
8.3 Impressions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 92<br />
A Example 93<br />
B Requirements of the Functional Specification 99<br />
B.1 Ma<strong>in</strong> Requirements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 99<br />
B.2 User Interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 99<br />
B.3 Layout and Organization . . . . . . . . . . . . . . . . . . . . . . . . . 100<br />
B.4 Provided Tests . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 100<br />
ix