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.
memap_test Namespace Reference
Functions | |
def | memap_parser |
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
mbed SDK Copyright (c) 2017 ARM Limited Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Function Documentation
def memap_test::generate_test_helper | ( | memap_parser, | |
format, | |||
depth, | |||
sep, | |||
file_output = None |
|||
) |
Helper that tests that the member variables "modules" is unchanged after calling "generate_output" :param memap_parser: the parser object :param depth: how much detail to put in the report :param format: the file type to output :param file_output: the file to output to
Definition at line 141 of file memap_test.py.
def memap_test::memap_parser | ( | ) |
Called before each test case :return:
Definition at line 32 of file memap_test.py.
def memap_test::test_generate_output_csv_ci | ( | memap_parser, | |
tmpdir, | |||
depth, | |||
sep | |||
) |
Test ensures that an output of type "csv-ci" can be generated correctly :param memap_parser: Mocked parser :param tmpdir: a unique location to place an output file :param depth: the detail of the output
Definition at line 208 of file memap_test.py.
def memap_test::test_generate_output_json | ( | memap_parser, | |
tmpdir, | |||
depth, | |||
sep | |||
) |
Test that an output of type "json" can be generated correctly :param memap_parser: Mocked parser :param tmpdir: a unique location to place an output file :param depth: the detail of the output
Definition at line 193 of file memap_test.py.
def memap_test::test_generate_output_table | ( | memap_parser, | |
depth, | |||
sep | |||
) |
Test that an output of type "table" can be generated correctly :param memap_parser: Mocked parser :param depth: the detail of the output
Definition at line 182 of file memap_test.py.
def memap_test::test_report_computed | ( | memap_parser, | |
depth, | |||
sep | |||
) |
Test that a report and summary are computed :param memap_parser: Mocked parser :param depth: the detail of the output
Definition at line 165 of file memap_test.py.
Generated on Tue Jul 12 2022 13:33:24 by
