Removed obsolete test applications

git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@458 860be788-9bd5-4423-9f1e-828f051e677b
This commit is contained in:
mat007 2012-06-14 21:13:32 +00:00
parent fba8a4b9d1
commit cb6204b399
9 changed files with 0 additions and 7164 deletions

View file

@ -1,201 +0,0 @@
<?xml version="1.0" encoding="Windows-1252"?>
<VisualStudioProject
ProjectType="Visual C++"
Version="8.00"
Name="boost_test"
ProjectGUID="{C4D5F5D6-87FB-4A1F-8C9E-F2871E1A8DF1}"
RootNamespace="boost_test"
>
<Platforms>
<Platform
Name="Win32"
/>
</Platforms>
<ToolFiles>
</ToolFiles>
<Configurations>
<Configuration
Name="debug|Win32"
OutputDirectory="../../out/vc80/$(ConfigurationName)/tests/$(ProjectName)"
IntermediateDirectory="../../out/vc80/$(ConfigurationName)/tests/$(ProjectName)"
ConfigurationType="1"
>
<Tool
Name="VCPreBuildEventTool"
/>
<Tool
Name="VCCustomBuildTool"
/>
<Tool
Name="VCXMLDataGeneratorTool"
/>
<Tool
Name="VCWebServiceProxyGeneratorTool"
/>
<Tool
Name="VCMIDLTool"
/>
<Tool
Name="VCCLCompilerTool"
AdditionalOptions="/Zm172"
Optimization="0"
AdditionalIncludeDirectories="../../src/libraries, ../../include"
PreprocessorDefinitions="WIN32,_DEBUG,_CONSOLE"
BasicRuntimeChecks="3"
RuntimeLibrary="3"
RuntimeTypeInfo="true"
UsePrecompiledHeader="0"
PrecompiledHeaderThrough="$(ProjectName)_pch.h"
PrecompiledHeaderFile="$(IntDir)/$(ProjectName).pch"
AssemblerListingLocation="$(IntDir)/"
ObjectFile="$(IntDir)/"
ProgramDataBaseFileName="$(IntDir)/$(ProjectName).pdb"
WarningLevel="4"
SuppressStartupBanner="true"
Detect64BitPortabilityProblems="true"
DebugInformationFormat="3"
/>
<Tool
Name="VCManagedResourceCompilerTool"
/>
<Tool
Name="VCResourceCompilerTool"
/>
<Tool
Name="VCPreLinkEventTool"
/>
<Tool
Name="VCLinkerTool"
AdditionalDependencies=""
OutputFile="$(OutDir)/$(ProjectName).exe"
AdditionalLibraryDirectories="../../lib/vc80"
GenerateDebugInformation="true"
SubSystem="1"
/>
<Tool
Name="VCALinkTool"
/>
<Tool
Name="VCManifestTool"
/>
<Tool
Name="VCXDCMakeTool"
/>
<Tool
Name="VCBscMakeTool"
/>
<Tool
Name="VCFxCopTool"
/>
<Tool
Name="VCAppVerifierTool"
/>
<Tool
Name="VCWebDeploymentTool"
/>
<Tool
Name="VCPostBuildEventTool"
CommandLine="cd ../../run/vc80&#x0D;&#x0A;&quot;$(TargetDir)$(TargetName).exe&quot; --result_code=no --report_level=no --log_level=warning --data_directory=../../data/tests/$(ProjectName)&#x0D;&#x0A;"
/>
</Configuration>
<Configuration
Name="release|Win32"
OutputDirectory="../../out/vc80/$(ConfigurationName)/tests/$(ProjectName)"
IntermediateDirectory="../../out/vc80/$(ConfigurationName)/tests/$(ProjectName)"
ConfigurationType="1"
>
<Tool
Name="VCPreBuildEventTool"
/>
<Tool
Name="VCCustomBuildTool"
/>
<Tool
Name="VCXMLDataGeneratorTool"
/>
<Tool
Name="VCWebServiceProxyGeneratorTool"
/>
<Tool
Name="VCMIDLTool"
/>
<Tool
Name="VCCLCompilerTool"
AdditionalOptions="/Zm162"
Optimization="2"
AdditionalIncludeDirectories="../../src/libraries, ../../include"
PreprocessorDefinitions="WIN32,NDEBUG,_CONSOLE"
BasicRuntimeChecks="0"
RuntimeLibrary="2"
RuntimeTypeInfo="true"
UsePrecompiledHeader="0"
PrecompiledHeaderThrough="$(ProjectName)_pch.h"
PrecompiledHeaderFile="$(IntDir)/$(ProjectName).pch"
AssemblerListingLocation="$(IntDir)/"
ObjectFile="$(IntDir)/"
ProgramDataBaseFileName="$(IntDir)/$(ProjectName).pdb"
WarningLevel="4"
SuppressStartupBanner="true"
Detect64BitPortabilityProblems="true"
DebugInformationFormat="3"
/>
<Tool
Name="VCManagedResourceCompilerTool"
/>
<Tool
Name="VCResourceCompilerTool"
/>
<Tool
Name="VCPreLinkEventTool"
/>
<Tool
Name="VCLinkerTool"
AdditionalDependencies=""
OutputFile="$(OutDir)/$(ProjectName).exe"
AdditionalLibraryDirectories="../../lib/vc80"
GenerateDebugInformation="true"
SubSystem="1"
/>
<Tool
Name="VCALinkTool"
/>
<Tool
Name="VCManifestTool"
/>
<Tool
Name="VCXDCMakeTool"
/>
<Tool
Name="VCBscMakeTool"
/>
<Tool
Name="VCFxCopTool"
/>
<Tool
Name="VCAppVerifierTool"
/>
<Tool
Name="VCWebDeploymentTool"
/>
<Tool
Name="VCPostBuildEventTool"
CommandLine="cd ../../run/vc80&#x0D;&#x0A;&quot;$(TargetDir)$(TargetName).exe&quot; --result_code=no --report_level=no --log_level=warning --data_directory=../../data/tests/$(ProjectName)&#x0D;&#x0A;"
/>
</Configuration>
</Configurations>
<References>
</References>
<Files>
<Filter
Name="Source Files"
Filter="cpp;c;cxx;def;odl;idl;hpj;bat;asm;asmx;h;hpp;hxx;hm;inl;inc;xsd"
>
<File
RelativePath="..\..\src\tests\boost_test\static_test.cpp"
>
</File>
</Filter>
</Files>
<Globals>
</Globals>
</VisualStudioProject>

View file

@ -1,206 +0,0 @@
<?xml version="1.0" encoding="Windows-1252"?>
<VisualStudioProject
ProjectType="Visual C++"
Version="8,00"
Name="hippomocks_test"
ProjectGUID="{ED2540E2-411B-4E25-95D2-5C8FA017B806}"
RootNamespace="hippomocks_test"
>
<Platforms>
<Platform
Name="Win32"
/>
</Platforms>
<ToolFiles>
</ToolFiles>
<Configurations>
<Configuration
Name="debug|Win32"
OutputDirectory="../../out/vc80/$(ConfigurationName)/tests/$(ProjectName)"
IntermediateDirectory="../../out/vc80/$(ConfigurationName)/tests/$(ProjectName)"
ConfigurationType="1"
>
<Tool
Name="VCPreBuildEventTool"
/>
<Tool
Name="VCCustomBuildTool"
/>
<Tool
Name="VCXMLDataGeneratorTool"
/>
<Tool
Name="VCWebServiceProxyGeneratorTool"
/>
<Tool
Name="VCMIDLTool"
/>
<Tool
Name="VCCLCompilerTool"
AdditionalOptions="/Zm172"
Optimization="0"
InlineFunctionExpansion="1"
AdditionalIncludeDirectories="../../src/libraries, ../../include"
PreprocessorDefinitions="WIN32,_DEBUG,_CONSOLE"
BasicRuntimeChecks="3"
RuntimeLibrary="3"
RuntimeTypeInfo="true"
UsePrecompiledHeader="0"
PrecompiledHeaderThrough="$(ProjectName)_pch.h"
PrecompiledHeaderFile="$(IntDir)/$(ProjectName).pch"
AssemblerListingLocation="$(IntDir)/"
ObjectFile="$(IntDir)/"
ProgramDataBaseFileName="$(IntDir)/$(ProjectName).pdb"
WarningLevel="4"
SuppressStartupBanner="true"
Detect64BitPortabilityProblems="true"
DebugInformationFormat="3"
/>
<Tool
Name="VCManagedResourceCompilerTool"
/>
<Tool
Name="VCResourceCompilerTool"
/>
<Tool
Name="VCPreLinkEventTool"
/>
<Tool
Name="VCLinkerTool"
AdditionalDependencies="Kernel32.lib"
OutputFile="$(OutDir)/$(ProjectName).exe"
AdditionalLibraryDirectories="../../lib/vc80"
GenerateDebugInformation="true"
SubSystem="1"
/>
<Tool
Name="VCALinkTool"
/>
<Tool
Name="VCManifestTool"
/>
<Tool
Name="VCXDCMakeTool"
/>
<Tool
Name="VCBscMakeTool"
/>
<Tool
Name="VCFxCopTool"
/>
<Tool
Name="VCAppVerifierTool"
/>
<Tool
Name="VCWebDeploymentTool"
/>
<Tool
Name="VCPostBuildEventTool"
CommandLine="cd ../../run/vc80&#x0D;&#x0A;&quot;$(TargetDir)$(TargetName).exe&quot; --result_code=no --report_level=no --log_level=warning&#x0D;&#x0A;"
/>
</Configuration>
<Configuration
Name="release|Win32"
OutputDirectory="../../out/vc80/$(ConfigurationName)/tests/$(ProjectName)"
IntermediateDirectory="../../out/vc80/$(ConfigurationName)/tests/$(ProjectName)"
ConfigurationType="1"
>
<Tool
Name="VCPreBuildEventTool"
/>
<Tool
Name="VCCustomBuildTool"
/>
<Tool
Name="VCXMLDataGeneratorTool"
/>
<Tool
Name="VCWebServiceProxyGeneratorTool"
/>
<Tool
Name="VCMIDLTool"
/>
<Tool
Name="VCCLCompilerTool"
AdditionalOptions="/Zm162"
Optimization="2"
AdditionalIncludeDirectories="../../src/libraries, ../../include"
PreprocessorDefinitions="WIN32,NDEBUG,_CONSOLE"
BasicRuntimeChecks="0"
RuntimeLibrary="2"
RuntimeTypeInfo="true"
UsePrecompiledHeader="0"
PrecompiledHeaderThrough="$(ProjectName)_pch.h"
PrecompiledHeaderFile="$(IntDir)/$(ProjectName).pch"
AssemblerListingLocation="$(IntDir)/"
ObjectFile="$(IntDir)/"
ProgramDataBaseFileName="$(IntDir)/$(ProjectName).pdb"
WarningLevel="4"
SuppressStartupBanner="true"
Detect64BitPortabilityProblems="true"
DebugInformationFormat="3"
/>
<Tool
Name="VCManagedResourceCompilerTool"
/>
<Tool
Name="VCResourceCompilerTool"
/>
<Tool
Name="VCPreLinkEventTool"
/>
<Tool
Name="VCLinkerTool"
AdditionalDependencies="Kernel32.lib"
OutputFile="$(OutDir)/$(ProjectName).exe"
AdditionalLibraryDirectories="../../lib/vc80"
GenerateDebugInformation="true"
SubSystem="1"
/>
<Tool
Name="VCALinkTool"
/>
<Tool
Name="VCManifestTool"
/>
<Tool
Name="VCXDCMakeTool"
/>
<Tool
Name="VCBscMakeTool"
/>
<Tool
Name="VCFxCopTool"
/>
<Tool
Name="VCAppVerifierTool"
/>
<Tool
Name="VCWebDeploymentTool"
/>
<Tool
Name="VCPostBuildEventTool"
CommandLine="cd ../../run/vc80&#x0D;&#x0A;&quot;$(TargetDir)$(TargetName).exe&quot; --result_code=no --report_level=no --log_level=warning&#x0D;&#x0A;"
/>
</Configuration>
</Configurations>
<References>
</References>
<Files>
<Filter
Name="Source Files"
Filter="cpp;c;cxx;def;odl;idl;hpj;bat;asm;asmx;h;hpp;hxx;hm;inl;inc;xsd"
>
<File
RelativePath="..\..\src\tests\hippomocks_test\hippomocks.h"
>
</File>
<File
RelativePath="..\..\src\tests\hippomocks_test\test.cpp"
>
</File>
</Filter>
</Files>
<Globals>
</Globals>
</VisualStudioProject>

View file

@ -1,221 +0,0 @@
<?xml version="1.0" encoding="Windows-1252"?>
<VisualStudioProject
ProjectType="Visual C++"
Version="8.00"
Name="pch_test"
ProjectGUID="{121C87D6-DBCC-4A73-99DE-9A0759FD04B6}"
RootNamespace="pch_test"
>
<Platforms>
<Platform
Name="Win32"
/>
</Platforms>
<ToolFiles>
</ToolFiles>
<Configurations>
<Configuration
Name="debug|Win32"
OutputDirectory="../../out/vc80/$(ConfigurationName)/tests/$(ProjectName)"
IntermediateDirectory="../../out/vc80/$(ConfigurationName)/tests/$(ProjectName)"
ConfigurationType="1"
>
<Tool
Name="VCPreBuildEventTool"
/>
<Tool
Name="VCCustomBuildTool"
/>
<Tool
Name="VCXMLDataGeneratorTool"
/>
<Tool
Name="VCWebServiceProxyGeneratorTool"
/>
<Tool
Name="VCMIDLTool"
/>
<Tool
Name="VCCLCompilerTool"
AdditionalOptions="/Zm1"
Optimization="0"
AdditionalIncludeDirectories="../../src/libraries, ../../include"
PreprocessorDefinitions="WIN32,_DEBUG,_CONSOLE"
BasicRuntimeChecks="3"
RuntimeLibrary="3"
RuntimeTypeInfo="true"
UsePrecompiledHeader="2"
PrecompiledHeaderThrough="$(ProjectName).h"
PrecompiledHeaderFile="$(IntDir)/$(ProjectName).pch"
AssemblerListingLocation="$(IntDir)/"
ObjectFile="$(IntDir)/"
ProgramDataBaseFileName="$(IntDir)/$(ProjectName).pdb"
WarningLevel="4"
SuppressStartupBanner="true"
Detect64BitPortabilityProblems="true"
DebugInformationFormat="3"
/>
<Tool
Name="VCManagedResourceCompilerTool"
/>
<Tool
Name="VCResourceCompilerTool"
/>
<Tool
Name="VCPreLinkEventTool"
/>
<Tool
Name="VCLinkerTool"
AdditionalDependencies=""
OutputFile="$(OutDir)/$(ProjectName).exe"
AdditionalLibraryDirectories="../../lib/vc80"
GenerateDebugInformation="true"
SubSystem="1"
/>
<Tool
Name="VCALinkTool"
/>
<Tool
Name="VCManifestTool"
/>
<Tool
Name="VCXDCMakeTool"
/>
<Tool
Name="VCBscMakeTool"
/>
<Tool
Name="VCFxCopTool"
/>
<Tool
Name="VCAppVerifierTool"
/>
<Tool
Name="VCWebDeploymentTool"
/>
<Tool
Name="VCPostBuildEventTool"
CommandLine=""
/>
</Configuration>
<Configuration
Name="release|Win32"
OutputDirectory="../../out/vc80/$(ConfigurationName)/tests/$(ProjectName)"
IntermediateDirectory="../../out/vc80/$(ConfigurationName)/tests/$(ProjectName)"
ConfigurationType="1"
>
<Tool
Name="VCPreBuildEventTool"
/>
<Tool
Name="VCCustomBuildTool"
/>
<Tool
Name="VCXMLDataGeneratorTool"
/>
<Tool
Name="VCWebServiceProxyGeneratorTool"
/>
<Tool
Name="VCMIDLTool"
/>
<Tool
Name="VCCLCompilerTool"
AdditionalOptions="/Zm1"
Optimization="2"
AdditionalIncludeDirectories="../../src/libraries, ../../include"
PreprocessorDefinitions="WIN32,NDEBUG,_CONSOLE"
BasicRuntimeChecks="0"
RuntimeLibrary="2"
RuntimeTypeInfo="true"
UsePrecompiledHeader="2"
PrecompiledHeaderThrough="$(ProjectName).h"
PrecompiledHeaderFile="$(IntDir)/$(ProjectName).pch"
AssemblerListingLocation="$(IntDir)/"
ObjectFile="$(IntDir)/"
ProgramDataBaseFileName="$(IntDir)/$(ProjectName).pdb"
WarningLevel="4"
SuppressStartupBanner="true"
Detect64BitPortabilityProblems="true"
DebugInformationFormat="3"
/>
<Tool
Name="VCManagedResourceCompilerTool"
/>
<Tool
Name="VCResourceCompilerTool"
/>
<Tool
Name="VCPreLinkEventTool"
/>
<Tool
Name="VCLinkerTool"
AdditionalDependencies=""
OutputFile="$(OutDir)/$(ProjectName).exe"
AdditionalLibraryDirectories="../../lib/vc80"
GenerateDebugInformation="true"
SubSystem="1"
/>
<Tool
Name="VCALinkTool"
/>
<Tool
Name="VCManifestTool"
/>
<Tool
Name="VCXDCMakeTool"
/>
<Tool
Name="VCBscMakeTool"
/>
<Tool
Name="VCFxCopTool"
/>
<Tool
Name="VCAppVerifierTool"
/>
<Tool
Name="VCWebDeploymentTool"
/>
<Tool
Name="VCPostBuildEventTool"
CommandLine=""
/>
</Configuration>
</Configurations>
<References>
</References>
<Files>
<Filter
Name="Source Files"
Filter="cpp;c;cxx;def;odl;idl;hpj;bat;asm;asmx;h;hpp;hxx;hm;inl;inc;xsd"
>
<File
RelativePath="..\..\src\tests\pch_test\pch_test.cpp"
>
<FileConfiguration
Name="debug|Win32"
>
<Tool
Name="VCCLCompilerTool"
UsePrecompiledHeader="1"
/>
</FileConfiguration>
<FileConfiguration
Name="release|Win32"
>
<Tool
Name="VCCLCompilerTool"
UsePrecompiledHeader="1"
/>
</FileConfiguration>
</File>
<File
RelativePath="..\..\src\tests\pch_test\pch_test.h"
>
</File>
</Filter>
</Files>
<Globals>
</Globals>
</VisualStudioProject>

View file

@ -4,16 +4,10 @@ Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "turtle", "turtle.vcproj", "
EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "turtle_test", "turtle_test.vcproj", "{74810A2A-33D8-47D6-9A50-71261F1683F5}"
EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "pch_test", "pch_test.vcproj", "{121C87D6-DBCC-4A73-99DE-9A0759FD04B6}"
EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "bench_test", "bench_test.vcproj", "{2D607783-30B9-46DE-81E2-28513B31D5D2}"
EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "boost_test", "boost_test.vcproj", "{C4D5F5D6-87FB-4A1F-8C9E-F2871E1A8DF1}"
EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "errors_test", "errors_test.vcproj", "{231E907C-7B55-4128-B9EF-AB5B8042898D}"
EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "hippomocks_test", "hippomocks_test.vcproj", "{ED2540E2-411B-4E25-95D2-5C8FA017B806}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
debug|Win32 = debug|Win32
@ -28,26 +22,14 @@ Global
{74810A2A-33D8-47D6-9A50-71261F1683F5}.debug|Win32.Build.0 = debug|Win32
{74810A2A-33D8-47D6-9A50-71261F1683F5}.release|Win32.ActiveCfg = release|Win32
{74810A2A-33D8-47D6-9A50-71261F1683F5}.release|Win32.Build.0 = release|Win32
{121C87D6-DBCC-4A73-99DE-9A0759FD04B6}.debug|Win32.ActiveCfg = debug|Win32
{121C87D6-DBCC-4A73-99DE-9A0759FD04B6}.debug|Win32.Build.0 = debug|Win32
{121C87D6-DBCC-4A73-99DE-9A0759FD04B6}.release|Win32.ActiveCfg = release|Win32
{121C87D6-DBCC-4A73-99DE-9A0759FD04B6}.release|Win32.Build.0 = release|Win32
{2D607783-30B9-46DE-81E2-28513B31D5D2}.debug|Win32.ActiveCfg = debug|Win32
{2D607783-30B9-46DE-81E2-28513B31D5D2}.debug|Win32.Build.0 = debug|Win32
{2D607783-30B9-46DE-81E2-28513B31D5D2}.release|Win32.ActiveCfg = release|Win32
{2D607783-30B9-46DE-81E2-28513B31D5D2}.release|Win32.Build.0 = release|Win32
{C4D5F5D6-87FB-4A1F-8C9E-F2871E1A8DF1}.debug|Win32.ActiveCfg = debug|Win32
{C4D5F5D6-87FB-4A1F-8C9E-F2871E1A8DF1}.debug|Win32.Build.0 = debug|Win32
{C4D5F5D6-87FB-4A1F-8C9E-F2871E1A8DF1}.release|Win32.ActiveCfg = release|Win32
{C4D5F5D6-87FB-4A1F-8C9E-F2871E1A8DF1}.release|Win32.Build.0 = release|Win32
{231E907C-7B55-4128-B9EF-AB5B8042898D}.debug|Win32.ActiveCfg = debug|Win32
{231E907C-7B55-4128-B9EF-AB5B8042898D}.debug|Win32.Build.0 = debug|Win32
{231E907C-7B55-4128-B9EF-AB5B8042898D}.release|Win32.ActiveCfg = release|Win32
{231E907C-7B55-4128-B9EF-AB5B8042898D}.release|Win32.Build.0 = release|Win32
{ED2540E2-411B-4E25-95D2-5C8FA017B806}.debug|Win32.ActiveCfg = debug|Win32
{ED2540E2-411B-4E25-95D2-5C8FA017B806}.debug|Win32.Build.0 = debug|Win32
{ED2540E2-411B-4E25-95D2-5C8FA017B806}.release|Win32.ActiveCfg = release|Win32
{ED2540E2-411B-4E25-95D2-5C8FA017B806}.release|Win32.Build.0 = release|Win32
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE

View file

@ -1,48 +0,0 @@
//
// Copyright Mathieu Champlon 2011
//
// Distributed under the Boost Software License, Version 1.0.
// (See accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt)
//
// See http://turtle.sf.net for documentation.
#define BOOST_AUTO_TEST_MAIN
#include <boost/test/auto_unit_test.hpp>
#define BOOST_LIB_NAME boost_unit_test_framework
#include <boost/config/auto_link.hpp>
#include <iostream>
#include <turtle/mock.hpp>
namespace
{
struct fixture
{
fixture()
{
std::cout << __FUNCTION__ << std::endl;
BOOST_FAIL( "oups" );
}
~fixture()
{
std::cout << __FUNCTION__ << std::endl;
BOOST_FAIL( "oups" );
}
};
BOOST_GLOBAL_FIXTURE( fixture );
struct s
{
MOCK_METHOD_EXT( f, 0, void(), f )
};
s s1;
}
BOOST_AUTO_TEST_CASE( some_test )
{
MOCK_EXPECT( s1.f ).once();
}
BOOST_AUTO_TEST_CASE( some_other_test )
{
}

File diff suppressed because it is too large Load diff

View file

@ -1,48 +0,0 @@
//
// Copyright Mathieu Champlon 2012
//
// Distributed under the Boost Software License, Version 1.0.
// (See accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt)
//
// See http://turtle.sf.net for documentation.
#define BOOST_AUTO_TEST_MAIN
#include "hippomocks.h"
#include <boost/test/auto_unit_test.hpp>
#define BOOST_LIB_NAME boost_unit_test_framework
#include <boost/config/auto_link.hpp>
namespace
{
struct s
{
virtual void method( int ) {}
virtual s& operator=( int ) { return *this; }
};
bool check( int )
{
return true;
}
}
BOOST_AUTO_TEST_CASE( hmm )
{
MockRepository mocks;
s* m = mocks.Mock< s >();
mocks.ExpectCall( m, s::method ).Match( check );
mocks.ExpectCallOverload( m, (s&(s::*)(int))&s::operator= );
m->method( 7 );
}
//namespace
//{
// void free_function() { std::cout << "ok" << std::endl; }
//}
//
//BOOST_AUTO_TEST_CASE( hmm2 )
//{
// MockRepository mocks;
// mocks.ExpectCallFunc( free_function );
// free_function();
//}

View file

@ -1,15 +0,0 @@
//
// Copyright Mathieu Champlon 2008
//
// Distributed under the Boost Software License, Version 1.0.
// (See accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt)
//
// See http://turtle.sf.net for documentation.
#include "pch_test.h"
int main()
{
return 0;
}

View file

@ -1,56 +0,0 @@
//
// Copyright Mathieu Champlon 2011
//
// Distributed under the Boost Software License, Version 1.0.
// (See accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt)
//
// See http://turtle.sf.net for documentation.
//#include <boost/spirit/home/phoenix/statement/throw.hpp>
//#include <boost/spirit/home/phoenix/operator/self.hpp>
//#include <boost/spirit/home/phoenix/core/nothing.hpp>
//#include <boost/spirit/home/phoenix/bind.hpp>
//#include <boost/function.hpp>
//#include <boost/bind.hpp>
//#include <boost/test/test_tools.hpp>
//#include <boost/test/unit_test_suite.hpp>
//#include <boost/test/execution_monitor.hpp>
//#include <boost/type_traits/remove_reference.hpp>
//#include <boost/type_traits/remove_const.hpp>
//#include <boost/type_traits/integral_constant.hpp>
//#include <boost/type_traits/is_convertible.hpp>
//#include <boost/type_traits/detail/yes_no_type.hpp>
//#include <boost/type_traits/is_base_of.hpp>
//#include <boost/function_types/function_type.hpp>
//#include <boost/lambda/lambda.hpp>
//#include <boost/lambda/bind.hpp>
#include <turtle/mock.hpp>
//#include <boost/test/auto_unit_test.hpp>
// release vc80
//
// xeumeuleu/xml.h 24
// boost/shared_ptr.hpp 5
// boost/bind.hpp 6
// boost/type_traits.hpp 19
// boost/function_types/function_type.hpp 19
// boost/function.hpp 23
// boost/function.hpp + boost/bind.hpp 25
// boost/lambda/lambda.hpp 25
// boost/lambda/bind.hpp 22
// boost/function_types/function_type.hpp + boost/type_traits.hpp 36
// boost/spirit/home/phoenix/core.hpp 46
//
// boost/test/auto_unit_test.hpp 27
// turtle/mock.hpp 89
// boost/test/auto_unit_test.hpp + turtle/mock.hpp 93
//
// all boost includes from turtle 89
// getting rid of :
// boost/bind 3
// function_type 13
// boost/phoenix 31