-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
EnclosedContextTestBase useful enough to merit creation of new project
- Loading branch information
1 parent
18cffbc
commit abb0cf3
Showing
10 changed files
with
56 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 2 additions & 0 deletions
2
...towiring/test/EnclosedContextTestBase.hpp → autowiring/EnclosedContextTestBase.h
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -18,3 +18,4 @@ endif() | |
|
||
add_subdirectory(autonet) | ||
add_subdirectory(autowiring) | ||
add_subdirectory(autotesting) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
set(AutoTesting_SOURCES | ||
EnclosedContextTestBase.h | ||
EnclosedContextTestBase.cpp | ||
) | ||
|
||
rewrite_header_paths(AutoTesting_SOURCES) | ||
add_library(AutoTesting ${AutoTesting_SOURCES}) | ||
set_property(TARGET AutoTesting PROPERTY FOLDER "Autowiring") | ||
target_link_libraries(AutoTesting Autowiring) |
2 changes: 1 addition & 1 deletion
2
...towiring/test/EnclosedContextTestBase.cpp → src/autotesting/EnclosedContextTestBase.cpp
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
// Copyright (C) 2012-2014 Leap Motion, Inc. All rights reserved. | ||
#include "stdafx.h" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
// Copyright (C) 2012-2014 Leap Motion, Inc. All rights reserved. | ||
#pragma once | ||
|
||
// Only include these headers in cases where a pch can be generated | ||
// Currently this is only supported on MSVC | ||
#ifdef _MSC_VER | ||
#include <thread> | ||
#define NOMINMAX | ||
#endif | ||
|
||
#ifndef _MSC_VER | ||
#include <stdlib.h> | ||
#endif | ||
|
||
// C++11 glue logic, for platforms that have incomplete C++11 support | ||
#include "contrib/C++11/cpp11.h" | ||
|
||
|
||
template<class T, int n> | ||
const char(&ArraySize(const T(&vals)[n]))[n]; | ||
#define ARRAYCOUNT(x) sizeof(ArraySize(x)) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters