Skip to content

Commit c7c0045

Browse files
author
Andrea Ruzzenenti
authored
Merge pull request #97 from traversaro/fixBackwardCompatibility
Fix backward compatibility with version 1.2
2 parents 819d721 + 73b50b6 commit c7c0045

File tree

3 files changed

+25
-0
lines changed

3 files changed

+25
-0
lines changed

src/rtf/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ if(ENABLE_WEB_LISTENER)
2929
include/rtf/TestResultCollector.h
3030
include/rtf/TestResult.h
3131
include/rtf/TestRunner.h
32+
include/rtf/TestSuit.h
3233
include/rtf/TestSuite.h
3334
include/rtf/TextOutputter.h
3435
include/rtf/WebProgressListener.h)

src/rtf/include/rtf/Asserter.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,9 @@
1616
#include <rtf/TestCase.h>
1717
#include <rtf/TestSuite.h>
1818

19+
// TODO(traversaro): For backcompatibility 1.2 --> 1.4 . To be removed in 1.6
20+
#include <rtf/TestSuit.h>
21+
1922
#if defined _MSC_VER && _MSC_VER <= 1800 //Visual Studio 12 or earlier has not [[noreturn]]
2023
# define RTF_NORETURN __declspec(noreturn)
2124
#else

src/rtf/include/rtf/TestSuit.h

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
// -*- mode:C++; tab-width:4; c-basic-offset:4; indent-tabs-mode:nil -*-
2+
3+
/*
4+
* Copyright (C) 2015 iCub Facility
5+
* Authors: Ali Paikan
6+
* CopyPolicy: Released under the terms of the LGPLv2.1 or later, see LGPL.TXT
7+
*
8+
*/
9+
10+
11+
#ifndef _RTF_TESTSUIT_H
12+
#define _RTF_TESTSUIT_H
13+
14+
#include <rtf/TestSuite.h>
15+
16+
namespace RTF
17+
{
18+
typedef TestSuite TestSuit;
19+
}
20+
21+
#endif // _RTF_TESTSUIT_H

0 commit comments

Comments
 (0)