YARP
Yet Another Robot Platform
TestCase.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2006-2021 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
A class for storing options and configuration information.
Definition: Property.h:37
The YarpTestCase is a helper class to facilitate loading the tests settings which are developed for Y...
Definition: TestCase.h:34
The main, catch-all namespace for YARP.
Definition: environment.h:25
#define YARP_robottestingframework_API
Definition: api.h:18