IODA Bundle
TestCase.cc
Go to the documentation of this file.
1 /*
2  * (C) Copyright 1996-2012 ECMWF.
3  *
4  * This software is licensed under the terms of the Apache Licence Version 2.0
5  * which can be obtained at http://www.apache.org/licenses/LICENSE-2.0.
6  * In applying this licence, ECMWF does not waive the privileges and immunities
7  * granted to it by virtue of its status as an intergovernmental organisation nor
8  * does it submit to any jurisdiction.
9  */
10 
11 /// \file TestCase.h
12 ///
13 /// @author Piotr Kuchta, ECMWF, Feb 2009
14 
15 #include <iostream>
16 #include <vector>
17 #include <map>
18 using namespace std;
19 
20 #include "Tool.h"
21 #include "TestCase.h"
22 #include "ToolFactory.h"
23 
24 namespace odc {
25 namespace tool {
26 namespace test {
27 
28 TestCase::TestCase(int argc, char **argv)
29 : Tool(argc, argv)
30 {}
31 
33 {
34  setUp();
35  test();
36  tearDown();
37 }
38 
40 
41 void TestCase::setUp() {}
42 void TestCase::test() {}
44 
45 } // namespace test
46 } // namespace tool
47 } // namespace odc
48 
virtual void test()
Definition: TestCase.cc:42
virtual void setUp()
Definition: TestCase.cc:41
virtual void tearDown()
Definition: TestCase.cc:43
virtual void run()
Definition: TestCase.cc:32
Definition: ColumnInfo.h:23
Definition: encode.cc:30