Skip to content

Commit

Permalink
Generated single header files.
Browse files Browse the repository at this point in the history
  • Loading branch information
FranckRJ committed May 12, 2021
1 parent e29aafc commit 514ca29
Show file tree
Hide file tree
Showing 10 changed files with 40 additions and 80 deletions.
12 changes: 4 additions & 8 deletions single_header/boost/fakeit.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
/*
* FakeIt - A Simplified C++ Mocking Framework
* Copyright (c) Eran Pe'er 2013
* Generated: 2021-04-11 20:16:42.931992
* Generated: 2021-05-12 13:47:04.884568
* Distributed under the MIT License. Please refer to the LICENSE file at:
* https://github.com/eranpeer/FakeIt
*/
Expand Down Expand Up @@ -5275,22 +5275,18 @@ namespace fakeit {
class VTUtils {
public:

#ifdef __GNUG__
#ifndef __clang__
#if defined(__GNUG__) && !defined(__clang__) && __GNUC__ >= 8
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wcast-function-type"
#endif
#endif
template<typename C, typename R, typename ... arglist>
static unsigned int getOffset(R (C::*vMethod)(arglist...)) {
auto sMethod = reinterpret_cast<unsigned int (VirtualOffsetSelector::*)(int)>(vMethod);
VirtualOffsetSelector offsetSelctor;
return (offsetSelctor.*sMethod)(0);
}
#ifdef __GNUG__
#ifndef __clang__
#if defined(__GNUG__) && !defined(__clang__) && __GNUC__ >= 8
#pragma GCC diagnostic pop
#endif
#endif

template<typename C>
Expand Down Expand Up @@ -6997,7 +6993,7 @@ namespace fakeit {
template<int q>
struct Times : public Quantity {

Times<q>() : Quantity(q) { }
Times() : Quantity(q) { }

template<typename R>
static Quantifier<R> of(const R &value) {
Expand Down
12 changes: 4 additions & 8 deletions single_header/catch/fakeit.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
/*
* FakeIt - A Simplified C++ Mocking Framework
* Copyright (c) Eran Pe'er 2013
* Generated: 2021-04-11 20:16:43.013491
* Generated: 2021-05-12 13:47:04.979584
* Distributed under the MIT License. Please refer to the LICENSE file at:
* https://github.com/eranpeer/FakeIt
*/
Expand Down Expand Up @@ -5349,22 +5349,18 @@ namespace fakeit {
class VTUtils {
public:

#ifdef __GNUG__
#ifndef __clang__
#if defined(__GNUG__) && !defined(__clang__) && __GNUC__ >= 8
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wcast-function-type"
#endif
#endif
template<typename C, typename R, typename ... arglist>
static unsigned int getOffset(R (C::*vMethod)(arglist...)) {
auto sMethod = reinterpret_cast<unsigned int (VirtualOffsetSelector::*)(int)>(vMethod);
VirtualOffsetSelector offsetSelctor;
return (offsetSelctor.*sMethod)(0);
}
#ifdef __GNUG__
#ifndef __clang__
#if defined(__GNUG__) && !defined(__clang__) && __GNUC__ >= 8
#pragma GCC diagnostic pop
#endif
#endif

template<typename C>
Expand Down Expand Up @@ -7071,7 +7067,7 @@ namespace fakeit {
template<int q>
struct Times : public Quantity {

Times<q>() : Quantity(q) { }
Times() : Quantity(q) { }

template<typename R>
static Quantifier<R> of(const R &value) {
Expand Down
12 changes: 4 additions & 8 deletions single_header/cute/fakeit.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
/*
* FakeIt - A Simplified C++ Mocking Framework
* Copyright (c) Eran Pe'er 2013
* Generated: 2021-04-11 20:16:43.092492
* Generated: 2021-05-12 13:47:05.100105
* Distributed under the MIT License. Please refer to the LICENSE file at:
* https://github.com/eranpeer/FakeIt
*/
Expand Down Expand Up @@ -5240,22 +5240,18 @@ namespace fakeit {
class VTUtils {
public:

#ifdef __GNUG__
#ifndef __clang__
#if defined(__GNUG__) && !defined(__clang__) && __GNUC__ >= 8
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wcast-function-type"
#endif
#endif
template<typename C, typename R, typename ... arglist>
static unsigned int getOffset(R (C::*vMethod)(arglist...)) {
auto sMethod = reinterpret_cast<unsigned int (VirtualOffsetSelector::*)(int)>(vMethod);
VirtualOffsetSelector offsetSelctor;
return (offsetSelctor.*sMethod)(0);
}
#ifdef __GNUG__
#ifndef __clang__
#if defined(__GNUG__) && !defined(__clang__) && __GNUC__ >= 8
#pragma GCC diagnostic pop
#endif
#endif

template<typename C>
Expand Down Expand Up @@ -6962,7 +6958,7 @@ namespace fakeit {
template<int q>
struct Times : public Quantity {

Times<q>() : Quantity(q) { }
Times() : Quantity(q) { }

template<typename R>
static Quantifier<R> of(const R &value) {
Expand Down
12 changes: 4 additions & 8 deletions single_header/gtest/fakeit.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
/*
* FakeIt - A Simplified C++ Mocking Framework
* Copyright (c) Eran Pe'er 2013
* Generated: 2021-04-11 20:16:43.193991
* Generated: 2021-05-12 13:47:05.218626
* Distributed under the MIT License. Please refer to the LICENSE file at:
* https://github.com/eranpeer/FakeIt
*/
Expand Down Expand Up @@ -5240,22 +5240,18 @@ namespace fakeit {
class VTUtils {
public:

#ifdef __GNUG__
#ifndef __clang__
#if defined(__GNUG__) && !defined(__clang__) && __GNUC__ >= 8
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wcast-function-type"
#endif
#endif
template<typename C, typename R, typename ... arglist>
static unsigned int getOffset(R (C::*vMethod)(arglist...)) {
auto sMethod = reinterpret_cast<unsigned int (VirtualOffsetSelector::*)(int)>(vMethod);
VirtualOffsetSelector offsetSelctor;
return (offsetSelctor.*sMethod)(0);
}
#ifdef __GNUG__
#ifndef __clang__
#if defined(__GNUG__) && !defined(__clang__) && __GNUC__ >= 8
#pragma GCC diagnostic pop
#endif
#endif

template<typename C>
Expand Down Expand Up @@ -6962,7 +6958,7 @@ namespace fakeit {
template<int q>
struct Times : public Quantity {

Times<q>() : Quantity(q) { }
Times() : Quantity(q) { }

template<typename R>
static Quantifier<R> of(const R &value) {
Expand Down
12 changes: 4 additions & 8 deletions single_header/mettle/fakeit.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
/*
* FakeIt - A Simplified C++ Mocking Framework
* Copyright (c) Eran Pe'er 2013
* Generated: 2021-04-11 20:16:43.271493
* Generated: 2021-05-12 13:47:05.328644
* Distributed under the MIT License. Please refer to the LICENSE file at:
* https://github.com/eranpeer/FakeIt
*/
Expand Down Expand Up @@ -5262,22 +5262,18 @@ namespace fakeit {
class VTUtils {
public:

#ifdef __GNUG__
#ifndef __clang__
#if defined(__GNUG__) && !defined(__clang__) && __GNUC__ >= 8
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wcast-function-type"
#endif
#endif
template<typename C, typename R, typename ... arglist>
static unsigned int getOffset(R (C::*vMethod)(arglist...)) {
auto sMethod = reinterpret_cast<unsigned int (VirtualOffsetSelector::*)(int)>(vMethod);
VirtualOffsetSelector offsetSelctor;
return (offsetSelctor.*sMethod)(0);
}
#ifdef __GNUG__
#ifndef __clang__
#if defined(__GNUG__) && !defined(__clang__) && __GNUC__ >= 8
#pragma GCC diagnostic pop
#endif
#endif

template<typename C>
Expand Down Expand Up @@ -6984,7 +6980,7 @@ namespace fakeit {
template<int q>
struct Times : public Quantity {

Times<q>() : Quantity(q) { }
Times() : Quantity(q) { }

template<typename R>
static Quantifier<R> of(const R &value) {
Expand Down
12 changes: 4 additions & 8 deletions single_header/mstest/fakeit.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
/*
* FakeIt - A Simplified C++ Mocking Framework
* Copyright (c) Eran Pe'er 2013
* Generated: 2021-04-11 20:16:43.349491
* Generated: 2021-05-12 13:47:05.433663
* Distributed under the MIT License. Please refer to the LICENSE file at:
* https://github.com/eranpeer/FakeIt
*/
Expand Down Expand Up @@ -5264,22 +5264,18 @@ namespace fakeit {
class VTUtils {
public:

#ifdef __GNUG__
#ifndef __clang__
#if defined(__GNUG__) && !defined(__clang__) && __GNUC__ >= 8
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wcast-function-type"
#endif
#endif
template<typename C, typename R, typename ... arglist>
static unsigned int getOffset(R (C::*vMethod)(arglist...)) {
auto sMethod = reinterpret_cast<unsigned int (VirtualOffsetSelector::*)(int)>(vMethod);
VirtualOffsetSelector offsetSelctor;
return (offsetSelctor.*sMethod)(0);
}
#ifdef __GNUG__
#ifndef __clang__
#if defined(__GNUG__) && !defined(__clang__) && __GNUC__ >= 8
#pragma GCC diagnostic pop
#endif
#endif

template<typename C>
Expand Down Expand Up @@ -6986,7 +6982,7 @@ namespace fakeit {
template<int q>
struct Times : public Quantity {

Times<q>() : Quantity(q) { }
Times() : Quantity(q) { }

template<typename R>
static Quantifier<R> of(const R &value) {
Expand Down
12 changes: 4 additions & 8 deletions single_header/nunit/fakeit.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
/*
* FakeIt - A Simplified C++ Mocking Framework
* Copyright (c) Eran Pe'er 2013
* Generated: 2021-04-11 20:16:43.427492
* Generated: 2021-05-12 13:47:05.538682
* Distributed under the MIT License. Please refer to the LICENSE file at:
* https://github.com/eranpeer/FakeIt
*/
Expand Down Expand Up @@ -5247,22 +5247,18 @@ namespace fakeit {
class VTUtils {
public:

#ifdef __GNUG__
#ifndef __clang__
#if defined(__GNUG__) && !defined(__clang__) && __GNUC__ >= 8
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wcast-function-type"
#endif
#endif
template<typename C, typename R, typename ... arglist>
static unsigned int getOffset(R (C::*vMethod)(arglist...)) {
auto sMethod = reinterpret_cast<unsigned int (VirtualOffsetSelector::*)(int)>(vMethod);
VirtualOffsetSelector offsetSelctor;
return (offsetSelctor.*sMethod)(0);
}
#ifdef __GNUG__
#ifndef __clang__
#if defined(__GNUG__) && !defined(__clang__) && __GNUC__ >= 8
#pragma GCC diagnostic pop
#endif
#endif

template<typename C>
Expand Down Expand Up @@ -6969,7 +6965,7 @@ namespace fakeit {
template<int q>
struct Times : public Quantity {

Times<q>() : Quantity(q) { }
Times() : Quantity(q) { }

template<typename R>
static Quantifier<R> of(const R &value) {
Expand Down
12 changes: 4 additions & 8 deletions single_header/qtest/fakeit.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
/*
* FakeIt - A Simplified C++ Mocking Framework
* Copyright (c) Eran Pe'er 2013
* Generated: 2021-04-11 20:16:43.506491
* Generated: 2021-05-12 13:47:05.632198
* Distributed under the MIT License. Please refer to the LICENSE file at:
* https://github.com/eranpeer/FakeIt
*/
Expand Down Expand Up @@ -5248,22 +5248,18 @@ namespace fakeit {
class VTUtils {
public:

#ifdef __GNUG__
#ifndef __clang__
#if defined(__GNUG__) && !defined(__clang__) && __GNUC__ >= 8
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wcast-function-type"
#endif
#endif
template<typename C, typename R, typename ... arglist>
static unsigned int getOffset(R (C::*vMethod)(arglist...)) {
auto sMethod = reinterpret_cast<unsigned int (VirtualOffsetSelector::*)(int)>(vMethod);
VirtualOffsetSelector offsetSelctor;
return (offsetSelctor.*sMethod)(0);
}
#ifdef __GNUG__
#ifndef __clang__
#if defined(__GNUG__) && !defined(__clang__) && __GNUC__ >= 8
#pragma GCC diagnostic pop
#endif
#endif

template<typename C>
Expand Down Expand Up @@ -6970,7 +6966,7 @@ namespace fakeit {
template<int q>
struct Times : public Quantity {

Times<q>() : Quantity(q) { }
Times() : Quantity(q) { }

template<typename R>
static Quantifier<R> of(const R &value) {
Expand Down
12 changes: 4 additions & 8 deletions single_header/standalone/fakeit.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
/*
* FakeIt - A Simplified C++ Mocking Framework
* Copyright (c) Eran Pe'er 2013
* Generated: 2021-04-11 20:16:43.585492
* Generated: 2021-05-12 13:47:05.726214
* Distributed under the MIT License. Please refer to the LICENSE file at:
* https://github.com/eranpeer/FakeIt
*/
Expand Down Expand Up @@ -5316,22 +5316,18 @@ namespace fakeit {
class VTUtils {
public:

#ifdef __GNUG__
#ifndef __clang__
#if defined(__GNUG__) && !defined(__clang__) && __GNUC__ >= 8
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wcast-function-type"
#endif
#endif
template<typename C, typename R, typename ... arglist>
static unsigned int getOffset(R (C::*vMethod)(arglist...)) {
auto sMethod = reinterpret_cast<unsigned int (VirtualOffsetSelector::*)(int)>(vMethod);
VirtualOffsetSelector offsetSelctor;
return (offsetSelctor.*sMethod)(0);
}
#ifdef __GNUG__
#ifndef __clang__
#if defined(__GNUG__) && !defined(__clang__) && __GNUC__ >= 8
#pragma GCC diagnostic pop
#endif
#endif

template<typename C>
Expand Down Expand Up @@ -7038,7 +7034,7 @@ namespace fakeit {
template<int q>
struct Times : public Quantity {

Times<q>() : Quantity(q) { }
Times() : Quantity(q) { }

template<typename R>
static Quantifier<R> of(const R &value) {
Expand Down
Loading

0 comments on commit 514ca29

Please sign in to comment.