| THM1176InstrumentDriver 1.2 C++ API for Metrolab THM1176

Loading...
Searching...
No Matches
CTHM1176TimeoutHandlingTest.cpp File Reference

Test THM1176 API: Handling timeouts on long acquisitions. More...

`#include "gtest/gtest.h"`
`#include "THM1176TestUtilities.h"`
`#include <ctime>`
`#include <thread>`
Include dependency graph for CTHM1176TimeoutHandlingTest.cpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

## Classes
class | CTHM1176TimeoutHandlingTest
| Test THM1176 API: Handling timeouts on long acquisitions. More...

## Functions
| TEST_F (CTHM1176TimeoutHandlingTest, ReadWithTimeout)
static void | l_LaunchMeasurement (CTHM1176Instrument< THM1176_TEST_INSTRUMENT_CLASS, THM1176_TEST_RESOURCE_MANAGER_CLASS > *pTHM1176)
| TEST_F (CTHM1176TimeoutHandlingTest, DISABLED_AbortRead)

## Detailed Description

Test THM1176 API: Handling timeouts on long acquisitions.

Definition in file CTHM1176TimeoutHandlingTest.cpp.

## Function Documentation

## ◆ l_LaunchMeasurement()

void l_LaunchMeasurement | ( | CTHM1176Instrument< THM1176_TEST_INSTRUMENT_CLASS, THM1176_TEST_RESOURCE_MANAGER_CLASS > * | pTHM1176 | ) |
| static

Definition at line 73 of file CTHM1176TimeoutHandlingTest.cpp.

## ◆ TEST_F() [1/2]

TEST_F | ( | CTHM1176TimeoutHandlingTest | ,
|  | DISABLED_AbortRead | )

Test
  Test AbortRead method.

Definition at line 81 of file CTHM1176TimeoutHandlingTest.cpp.

## ◆ TEST_F() [2/2]

TEST_F | ( | CTHM1176TimeoutHandlingTest | ,
|  | ReadWithTimeout | )

Test
  Test Measure method after SetTimeout with a short timeout.

Definition at line 52 of file CTHM1176TimeoutHandlingTest.cpp.