File: ServiceTestClient2.h

package info (click to toggle)
robotraconteur 1.2.7-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 101,380 kB
  • sloc: cpp: 1,149,268; cs: 87,653; java: 58,127; python: 26,897; ansic: 356; sh: 152; makefile: 90; xml: 51
file content (59 lines) | stat: -rw-r--r-- 1,437 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
#include <RobotRaconteur.h>
#include "robotraconteur_generated.h"
#include "ServiceTest2.h"

#pragma once

using namespace std;
using namespace RobotRaconteur;
using namespace com::robotraconteur::testing::TestService3;

#include "CompareArray.h"
#include "array_compare.h"

namespace RobotRaconteurTest
{
class ServiceTestClient2
{
  public:
    void RunFullTest(const std::string& url);

    void Connect(const std::string& url);
    void Disconnect();

    void TestWirePeekPoke();
    void AsyncTestWirePeekPoke();
    void AsyncTestWirePeekPoke1(const int32_t& value, const TimeSpec& ts, RR_SHARED_PTR<RobotRaconteurException> err);
    void AsyncTestWirePeekPoke2(RR_SHARED_PTR<RobotRaconteurException> err);
    void AsyncTestWirePeekPoke3(const int32_t& value, const TimeSpec& ts, RR_SHARED_PTR<RobotRaconteurException> err);

    void TestEnums();
    void TestPods();
    void TestMemories();
    void test_m1();
    void test_m2();

    void TestGenerators();

    void TestNamedArrays();
    void TestNamedArrayMemories();
    void test_namedarray_m1();
    void test_namedarray_m2();

    void TestComplex();
    void TestComplexMemories();

    void TestNoLock();

    void TestBools();
    void TestBoolMemories();

    void TestExceptionParams();

    RR_SHARED_PTR<testroot3> r;

    AutoResetEvent async_peekpoke_evt;
    RR_SHARED_PTR<RobotRaconteurException> async_peekpoke_err;
};

} // namespace RobotRaconteurTest