Skip to content

Commit

Permalink
tests: reorganize the docs/tests folders and add index for each module.
Browse files Browse the repository at this point in the history
Signed-off-by: AlexandraTrifan <[email protected]>
  • Loading branch information
AlexandraTrifan committed Feb 3, 2025
1 parent 59ed5f1 commit 15b5a6b
Show file tree
Hide file tree
Showing 13 changed files with 112 additions and 23 deletions.
13 changes: 13 additions & 0 deletions docs/tests/plugins/adc/index.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
.. _tests_adc:

ADC
===============================================================================

Contents
---------------------------------------------------------------------

.. toctree::
:includehidden:
:maxdepth: 3

adc_tests
13 changes: 13 additions & 0 deletions docs/tests/plugins/dac/index.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
.. _tests_dac:

DAC
===============================================================================

Contents
---------------------------------------------------------------------

.. toctree::
:includehidden:
:maxdepth: 3

dac_tests
13 changes: 13 additions & 0 deletions docs/tests/plugins/datalogger/index.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
.. _tests_datalogger:

Datalogger
===============================================================================

Contents
---------------------------------------------------------------------

.. toctree::
:includehidden:
:maxdepth: 3

datalogger_tests
2 changes: 1 addition & 1 deletion docs/tests/plugins/debugger/index.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
.. _tests_debugger:

Debugger Test Cases
Debugger
===============================================================================

Contents
Expand Down
25 changes: 7 additions & 18 deletions docs/tests/plugins/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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

..
Expand Down
22 changes: 22 additions & 0 deletions docs/tests/plugins/m2k/index.rst
Original file line number Diff line number Diff line change
@@ -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
2 changes: 1 addition & 1 deletion docs/tests/plugins/m2k/pattern_generator_tests.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
.. _m2k_pattern_generator_tests:

M2K Pattern Generator - Test Suite
Pattern Generator - Test Suite
====================================================================================================

.. note::
Expand Down
2 changes: 1 addition & 1 deletion docs/tests/plugins/m2k/signal_generator_tests.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
.. _m2k_signal_generator_tests:

M2K Signal Generator - Test Suite
Signal Generator - Test Suite
=======================================================

.. note::
Expand Down
2 changes: 1 addition & 1 deletion docs/tests/plugins/m2k/spectrum_analyzer_tests.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
.. _m2k_spectrum_analyzer_tests:

M2K Spectrum Analyzer - Test Suite
Spectrum Analyzer - Test Suite
====================================================================================================

.. note::
Expand Down
2 changes: 1 addition & 1 deletion docs/tests/plugins/m2k/voltmeter_tests.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
.. _m2k_voltmeter_tests:

M2K Voltmeter - Test Suite
Voltmeter - Test Suite
===============================================================================

.. note::
Expand Down
13 changes: 13 additions & 0 deletions docs/tests/plugins/pqm/index.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
.. _tests_pqm:

PQM
===============================================================================

Contents
---------------------------------------------------------------------

.. toctree::
:includehidden:
:maxdepth: 3

pqm_tests
13 changes: 13 additions & 0 deletions docs/tests/plugins/registermap/index.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
.. _tests_registermap:

Register Map
===============================================================================

Contents
---------------------------------------------------------------------

.. toctree::
:includehidden:
:maxdepth: 3

registermap_tests
13 changes: 13 additions & 0 deletions docs/tests/plugins/swiot1l/index.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
.. _tests_swiot1l:

SWIOT1L
===============================================================================

Contents
---------------------------------------------------------------------

.. toctree::
:includehidden:
:maxdepth: 3

swiot1l_tests

0 comments on commit 15b5a6b

Please sign in to comment.