Added error analyser first draft

git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@212 860be788-9bd5-4423-9f1e-828f051e677b
This commit is contained in:
mat007 2011-01-29 10:24:46 +00:00
parent b5845cfdec
commit 78befdb9be
2 changed files with 26 additions and 0 deletions

View file

@ -0,0 +1,22 @@
//
// 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)
//
#include <turtle/mock.hpp>
namespace
{
MOCK_CLASS( cl )
{
MOCK_METHOD_EXT( m, 0, int(), m ) // add another test with void() and another with std::string()
};
void test_case()
{
cl c;
MOCK_EXPECT( c, m ).returns( "42" );
}
}