taucmdr.model.tests.test_measurement module
Test functions.
Functions used for unit tests of measurement.py.
-
class taucmdr.model.tests.test_measurement.DarwinInstrumentationTest(methodName='runTest')[source]
Bases: DarwinTestCase
Tests for the instrumentation defaults and requirements on macOS.
-
_classSetupFailed = False
-
_class_cleanups = []
-
_select(*measurement_args, name='meas1')[source]
-
setUp()[source]
Hook method for setting up the test fixture before exercising it.
-
test_compiler_inst_without_binutils()[source]
-
test_defaults()[source]
-
test_io_under_tau_exec()[source]
-
test_io_with_instrumentation_refused()[source]
-
test_memory_alloc_refused()[source]
-
test_sample_without_binutils()[source]
-
test_source_inst_refused()[source]
-
class taucmdr.model.tests.test_measurement.InstrumentationTest(methodName='runTest')[source]
Bases: TestCase
Tests for the instrumentation defaults and requirements on other operating systems.
-
_classSetupFailed = False
-
_class_cleanups = []
-
test_compiler_inst_requires_binutils()[source]
-
test_defaults()[source]
-
class taucmdr.model.tests.test_measurement.MeasurementTest(methodName='runTest')[source]
Bases: TestCase
-
_classSetupFailed = False
-
_class_cleanups = []