Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependents: BLE_file_test BLE_Blink ExternalEncoder
MemapParserTests Class Reference
Public Member Functions | |
def | setUp |
def | tearDown |
def | generate_test_helper |
def | test_report_computed |
def | test_generate_output_table |
def | test_generate_output_json |
def | test_generate_output_csv_ci |
Detailed Description
Test cases for Test Api
Definition at line 31 of file memap_test.py.
Member Function Documentation
def generate_test_helper | ( | self, | |
output_type, | |||
file_output = None |
|||
) |
Helper that ensures that the member variables "modules", "mem_report", and "mem_summary" are unchanged after calling "generate_output" :param output_type: type string that is passed to "generate_output" :param file_output: path to output file that is passed to "generate_output" :return:
Definition at line 103 of file memap_test.py.
def setUp | ( | self ) |
Called before each test case :return:
Definition at line 36 of file memap_test.py.
def tearDown | ( | self ) |
Called after each test case :return:
Definition at line 95 of file memap_test.py.
def test_generate_output_csv_ci | ( | self ) |
Test ensures that an output of type "csv-ci" can be generated correctly :return:
Definition at line 155 of file memap_test.py.
def test_generate_output_json | ( | self ) |
Test ensures that an output of type "json" can be generated correctly :return:
Definition at line 144 of file memap_test.py.
def test_generate_output_table | ( | self ) |
Test ensures that an output of type "table" can be generated correctly :return:
Definition at line 136 of file memap_test.py.
def test_report_computed | ( | self ) |
Test ensures the report and summary are computed :return:
Definition at line 124 of file memap_test.py.
Generated on Tue Jul 12 2022 15:21:06 by
