From 15b5a6b9dc56784570c4c3501bc2ea76411e662e Mon Sep 17 00:00:00 2001 From: AlexandraTrifan Date: Mon, 3 Feb 2025 11:03:46 +0200 Subject: [PATCH] tests: reorganize the docs/tests folders and add index for each module. Signed-off-by: AlexandraTrifan --- docs/tests/plugins/adc/index.rst | 13 ++++++++++ docs/tests/plugins/dac/index.rst | 13 ++++++++++ docs/tests/plugins/datalogger/index.rst | 13 ++++++++++ docs/tests/plugins/debugger/index.rst | 2 +- docs/tests/plugins/index.rst | 25 ++++++------------- docs/tests/plugins/m2k/index.rst | 22 ++++++++++++++++ .../plugins/m2k/pattern_generator_tests.rst | 2 +- .../plugins/m2k/signal_generator_tests.rst | 2 +- .../plugins/m2k/spectrum_analyzer_tests.rst | 2 +- docs/tests/plugins/m2k/voltmeter_tests.rst | 2 +- docs/tests/plugins/pqm/index.rst | 13 ++++++++++ docs/tests/plugins/registermap/index.rst | 13 ++++++++++ docs/tests/plugins/swiot1l/index.rst | 13 ++++++++++ 13 files changed, 112 insertions(+), 23 deletions(-) create mode 100644 docs/tests/plugins/adc/index.rst create mode 100644 docs/tests/plugins/dac/index.rst create mode 100644 docs/tests/plugins/datalogger/index.rst create mode 100644 docs/tests/plugins/m2k/index.rst create mode 100644 docs/tests/plugins/pqm/index.rst create mode 100644 docs/tests/plugins/registermap/index.rst create mode 100644 docs/tests/plugins/swiot1l/index.rst diff --git a/docs/tests/plugins/adc/index.rst b/docs/tests/plugins/adc/index.rst new file mode 100644 index 000000000..567f62fdf --- /dev/null +++ b/docs/tests/plugins/adc/index.rst @@ -0,0 +1,13 @@ +.. _tests_adc: + +ADC +=============================================================================== + +Contents +--------------------------------------------------------------------- + +.. toctree:: + :includehidden: + :maxdepth: 3 + + adc_tests diff --git a/docs/tests/plugins/dac/index.rst b/docs/tests/plugins/dac/index.rst new file mode 100644 index 000000000..de2d1ccc0 --- /dev/null +++ b/docs/tests/plugins/dac/index.rst @@ -0,0 +1,13 @@ +.. _tests_dac: + +DAC +=============================================================================== + +Contents +--------------------------------------------------------------------- + +.. toctree:: + :includehidden: + :maxdepth: 3 + + dac_tests diff --git a/docs/tests/plugins/datalogger/index.rst b/docs/tests/plugins/datalogger/index.rst new file mode 100644 index 000000000..8aad6ca65 --- /dev/null +++ b/docs/tests/plugins/datalogger/index.rst @@ -0,0 +1,13 @@ +.. _tests_datalogger: + +Datalogger +=============================================================================== + +Contents +--------------------------------------------------------------------- + +.. toctree:: + :includehidden: + :maxdepth: 3 + + datalogger_tests diff --git a/docs/tests/plugins/debugger/index.rst b/docs/tests/plugins/debugger/index.rst index 935e8fdc0..45782f55f 100644 --- a/docs/tests/plugins/debugger/index.rst +++ b/docs/tests/plugins/debugger/index.rst @@ -1,6 +1,6 @@ .. _tests_debugger: -Debugger Test Cases +Debugger =============================================================================== Contents diff --git a/docs/tests/plugins/index.rst b/docs/tests/plugins/index.rst index 25bb222da..fef3f1f0c 100644 --- a/docs/tests/plugins/index.rst +++ b/docs/tests/plugins/index.rst @@ -13,24 +13,13 @@ Contents :includehidden: :maxdepth: 3 - pqm/pqm_tests - datalogger/datalogger_tests - dac/dac_tests - swiot1l/swiot1l_tests - adc/adc_tests - - m2k/digital_io_tests - m2k/logic_analyzer_tests - m2k/power_supply_tests - m2k/oscilloscope_tests - m2k/network_analyzer_tests - m2k/general_settings_tests - m2k/spectrum_analyzer_tests - m2k/signal_generator_tests - m2k/pattern_generator_tests - m2k/voltmeter_tests - - registermap/registermap_tests + pqm/index + datalogger/index + dac/index + swiot1l/index + adc/index + m2k/index + registermap/index debugger/index .. diff --git a/docs/tests/plugins/m2k/index.rst b/docs/tests/plugins/m2k/index.rst new file mode 100644 index 000000000..a94bfa894 --- /dev/null +++ b/docs/tests/plugins/m2k/index.rst @@ -0,0 +1,22 @@ +.. _tests_m2k: + +ADALM2000 +=============================================================================== + +Contents +--------------------------------------------------------------------- + +.. toctree:: + :includehidden: + :maxdepth: 3 + + digital_io_tests + general_settings_tests + logic_analyzer_tests + network_analyzer_tests + oscilloscope_tests + pattern_generator_tests + power_supply_tests + spectrum_analyzer_tests + signal_generator_tests + voltmeter_tests diff --git a/docs/tests/plugins/m2k/pattern_generator_tests.rst b/docs/tests/plugins/m2k/pattern_generator_tests.rst index 80ef8b01f..b1c766be2 100644 --- a/docs/tests/plugins/m2k/pattern_generator_tests.rst +++ b/docs/tests/plugins/m2k/pattern_generator_tests.rst @@ -1,6 +1,6 @@ .. _m2k_pattern_generator_tests: -M2K Pattern Generator - Test Suite +Pattern Generator - Test Suite ==================================================================================================== .. note:: diff --git a/docs/tests/plugins/m2k/signal_generator_tests.rst b/docs/tests/plugins/m2k/signal_generator_tests.rst index cd30d8e04..9c639f9ae 100644 --- a/docs/tests/plugins/m2k/signal_generator_tests.rst +++ b/docs/tests/plugins/m2k/signal_generator_tests.rst @@ -1,6 +1,6 @@ .. _m2k_signal_generator_tests: -M2K Signal Generator - Test Suite +Signal Generator - Test Suite ======================================================= .. note:: diff --git a/docs/tests/plugins/m2k/spectrum_analyzer_tests.rst b/docs/tests/plugins/m2k/spectrum_analyzer_tests.rst index e93f0d8df..af5118b74 100644 --- a/docs/tests/plugins/m2k/spectrum_analyzer_tests.rst +++ b/docs/tests/plugins/m2k/spectrum_analyzer_tests.rst @@ -1,6 +1,6 @@ .. _m2k_spectrum_analyzer_tests: -M2K Spectrum Analyzer - Test Suite +Spectrum Analyzer - Test Suite ==================================================================================================== .. note:: diff --git a/docs/tests/plugins/m2k/voltmeter_tests.rst b/docs/tests/plugins/m2k/voltmeter_tests.rst index c3a7d5e7b..124556fe8 100644 --- a/docs/tests/plugins/m2k/voltmeter_tests.rst +++ b/docs/tests/plugins/m2k/voltmeter_tests.rst @@ -1,6 +1,6 @@ .. _m2k_voltmeter_tests: -M2K Voltmeter - Test Suite +Voltmeter - Test Suite =============================================================================== .. note:: diff --git a/docs/tests/plugins/pqm/index.rst b/docs/tests/plugins/pqm/index.rst new file mode 100644 index 000000000..fade61ba7 --- /dev/null +++ b/docs/tests/plugins/pqm/index.rst @@ -0,0 +1,13 @@ +.. _tests_pqm: + +PQM +=============================================================================== + +Contents +--------------------------------------------------------------------- + +.. toctree:: + :includehidden: + :maxdepth: 3 + + pqm_tests diff --git a/docs/tests/plugins/registermap/index.rst b/docs/tests/plugins/registermap/index.rst new file mode 100644 index 000000000..ee4263355 --- /dev/null +++ b/docs/tests/plugins/registermap/index.rst @@ -0,0 +1,13 @@ +.. _tests_registermap: + +Register Map +=============================================================================== + +Contents +--------------------------------------------------------------------- + +.. toctree:: + :includehidden: + :maxdepth: 3 + + registermap_tests diff --git a/docs/tests/plugins/swiot1l/index.rst b/docs/tests/plugins/swiot1l/index.rst new file mode 100644 index 000000000..6cbe3b3de --- /dev/null +++ b/docs/tests/plugins/swiot1l/index.rst @@ -0,0 +1,13 @@ +.. _tests_swiot1l: + +SWIOT1L +=============================================================================== + +Contents +--------------------------------------------------------------------- + +.. toctree:: + :includehidden: + :maxdepth: 3 + + swiot1l_tests