YARP
Yet Another Robot Platform
TestCase.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2006-2020 Istituto Italiano di Tecnologia (IIT)
3  * All rights reserved.
4  *
5  * This software may be modified and distributed under the terms of the
6  * BSD-3-Clause license. See the accompanying LICENSE file for details.
7  */
8 
9 #ifndef YARP_ROBOTTESTINGFRAMEWORK_YARPTESTCASE_H
10 #define YARP_ROBOTTESTINGFRAMEWORK_YARPTESTCASE_H
11 
13 #include <yarp/os/Property.h>
15 #include <string>
16 
17 namespace yarp {
18 namespace robottestingframework {
19 
35 public:
36  TestCase(std::string name);
37  virtual ~TestCase();
38 
39  bool setup(int argc, char** argv) override;
40  virtual bool setup(yarp::os::Property& property);
41 
42 private:
43  class Private;
44  Private * const mPriv;
45 };
46 
47 } // namespace robottestingframework
48 } // namespace yarp
49 
50 #endif // YARP_ROBOTTESTINGFRAMEWORK_YARPTESTCASE_H
yarp::robottestingframework::TestCase
The YarpTestCase is a helper class to facilitate loading the tests settings which are developed for Y...
Definition: TestCase.h:34
YARP_robottestingframework_API
#define YARP_robottestingframework_API
Definition: api.h:18
api.h
Property.h
yarp::robottestingframework::TestCase::Private
Definition: TestCase.cpp:22
yarp
The main, catch-all namespace for YARP.
Definition: environment.h:18
TestCase.h
yarp::os::Property
A class for storing options and configuration information.
Definition: Property.h:37