| THM1176InstrumentDriver 1.2 C++ API for Metrolab THM1176

Loading...
Searching...
No Matches
IEEE488InstrumentInterruptTest.h File Reference

Test IEEE488 Instrument: Interrupt methods. More...

`#include <gtest/gtest.h>`
`#include <regex>`
`#include "IEEE488InstrumentTest.h"`
Include dependency graph for IEEE488InstrumentInterruptTest.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

## Classes
class | IEEE488InstrumentInterruptTest

## Functions
| TEST_F (IEEE488InstrumentInterruptTest, EnableDisable)
| Test EnableEvent and DisableEvent.
| TEST_F (IEEE488InstrumentInterruptTest, WaitOnEvent)
| Test WaitOnEvent.
| TEST_F (IEEE488InstrumentInterruptTest, DiscardInterrupts)
| Test DiscardEvents.
| TEST_F (IEEE488InstrumentInterruptTest, MixSRQandSTB)
| Test mixing Status Byte and Service Requests. Note: in USBTMC, both of these arrive on the Interrupt-In endpoint.

## Detailed Description

Test IEEE488 Instrument: Interrupt methods.

Definition in file IEEE488InstrumentInterruptTest.h.

## Function Documentation

## ◆ TEST_F() [1/4]

TEST_F | ( | IEEE488InstrumentInterruptTest | ,
|  | DiscardInterrupts | )

Test DiscardEvents.

Definition at line 93 of file IEEE488InstrumentInterruptTest.h.

## ◆ TEST_F() [2/4]

TEST_F | ( | IEEE488InstrumentInterruptTest | ,
|  | EnableDisable | )

Test EnableEvent and DisableEvent.

Definition at line 45 of file IEEE488InstrumentInterruptTest.h.

## ◆ TEST_F() [3/4]

TEST_F | ( | IEEE488InstrumentInterruptTest | ,
|  | MixSRQandSTB | )

Test mixing Status Byte and Service Requests. Note: in USBTMC, both of these arrive on the Interrupt-In endpoint.

Definition at line 119 of file IEEE488InstrumentInterruptTest.h.

## ◆ TEST_F() [4/4]

TEST_F | ( | IEEE488InstrumentInterruptTest | ,
|  | WaitOnEvent | )

Test WaitOnEvent.

Definition at line 60 of file IEEE488InstrumentInterruptTest.h.