Functions
gtest_labjack_node.cpp File Reference

Unit tests. More...

#include "gtest/gtest.h"
#include "ljacklm_mock.h"
#include "labjack_node.h"
#include "labjack_data.h"
Include dependency graph for gtest_labjack_node.cpp:

Go to the source code of this file.

Functions

int main (int argc, char **argv)
 TEST (LabjackNode, GetStateDs)
 TEST (LabjackNode, SetStateDs)
 TEST (LabjackNode, GetStateD)
 TEST (LabjackNode, SetStateD)
 TEST (LabjackNode, ClearStateD)
 TEST (LabjackNode, GetDsDirection)
 TEST (LabjackNode, GetStateIOs)
 TEST (LabjackNode, SetStateIOs)
 TEST (LabjackNode, GetStateIO)
 TEST (LabjackNode, SetStateIO)
 TEST (LabjackNode, ClearStateIO)
 TEST (LabjackNode, GetAI)
 TEST (LabjackNode, SetAOs)
 TEST (LabjackNode, SetPulseD)
 TEST (LabjackNode, SetPulseIO)
 TEST (LabjackNode, SetState)
 TEST (LabjackNode, EnableBase)
 TEST (LabjackNode, EnableBody)
 TEST (LabjackNode, setWatchdog)
 TEST (LabjackNode, ClearWatchdog)
 TEST (LabjackNode, IsEmergency)
 TEST (LabjackNode, SetEmergency)
 TEST (LabjackNode, GetVoltage)
 TEST (LabjackNode, IsPlugged)

Detailed Description

Unit tests.

Author:
Raul Perula-Martinez <raul.perula@uc3m.es>
Date:
2015-02

This program is free software: you can redistribute it and/or modify it under the terms of the Licencia Educativa UC3M as published by the University Carlos III of Madrid, either version 1.0, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY. See the Licencia Educativa UC3M version 1.0 or any later version for more details.

A copy of the Licencia Educativa UC3M is in the LICENSE file.

Definition in file gtest_labjack_node.cpp.


Function Documentation

int main ( int  argc,
char **  argv 
)

Definition at line 932 of file gtest_labjack_node.cpp.

TEST ( LabjackNode  ,
GetStateDs   
)

Definition at line 36 of file gtest_labjack_node.cpp.

TEST ( LabjackNode  ,
SetStateDs   
)

Definition at line 71 of file gtest_labjack_node.cpp.

TEST ( LabjackNode  ,
GetStateD   
)

Definition at line 106 of file gtest_labjack_node.cpp.

TEST ( LabjackNode  ,
SetStateD   
)

Definition at line 143 of file gtest_labjack_node.cpp.

TEST ( LabjackNode  ,
ClearStateD   
)

Definition at line 178 of file gtest_labjack_node.cpp.

TEST ( LabjackNode  ,
GetDsDirection   
)

Definition at line 213 of file gtest_labjack_node.cpp.

TEST ( LabjackNode  ,
GetStateIOs   
)

Definition at line 248 of file gtest_labjack_node.cpp.

TEST ( LabjackNode  ,
SetStateIOs   
)

Definition at line 283 of file gtest_labjack_node.cpp.

TEST ( LabjackNode  ,
GetStateIO   
)

Definition at line 318 of file gtest_labjack_node.cpp.

TEST ( LabjackNode  ,
SetStateIO   
)

Definition at line 356 of file gtest_labjack_node.cpp.

TEST ( LabjackNode  ,
ClearStateIO   
)

Definition at line 391 of file gtest_labjack_node.cpp.

TEST ( LabjackNode  ,
GetAI   
)

Definition at line 426 of file gtest_labjack_node.cpp.

TEST ( LabjackNode  ,
SetAOs   
)

Definition at line 464 of file gtest_labjack_node.cpp.

TEST ( LabjackNode  ,
SetPulseD   
)

Definition at line 501 of file gtest_labjack_node.cpp.

TEST ( LabjackNode  ,
SetPulseIO   
)

Definition at line 537 of file gtest_labjack_node.cpp.

TEST ( LabjackNode  ,
SetState   
)

Definition at line 573 of file gtest_labjack_node.cpp.

TEST ( LabjackNode  ,
EnableBase   
)

Definition at line 622 of file gtest_labjack_node.cpp.

TEST ( LabjackNode  ,
EnableBody   
)

Definition at line 669 of file gtest_labjack_node.cpp.

TEST ( LabjackNode  ,
setWatchdog   
)

Definition at line 716 of file gtest_labjack_node.cpp.

TEST ( LabjackNode  ,
ClearWatchdog   
)

Definition at line 751 of file gtest_labjack_node.cpp.

TEST ( LabjackNode  ,
IsEmergency   
)

Definition at line 786 of file gtest_labjack_node.cpp.

TEST ( LabjackNode  ,
SetEmergency   
)

Definition at line 821 of file gtest_labjack_node.cpp.

TEST ( LabjackNode  ,
GetVoltage   
)

Definition at line 868 of file gtest_labjack_node.cpp.

TEST ( LabjackNode  ,
IsPlugged   
)

Definition at line 903 of file gtest_labjack_node.cpp.



labjack
Author(s): Raul Perula-Martinez
autogenerated on Wed Apr 1 2015 10:17:06