#include <string>
#include <vector>
+#include <boost/shared_ptr.hpp>
#include <gtest/gtest.h>
#include "gromacs/commandline/cmdlineprogramcontext.h"
#include "gromacs/utility/common.h"
#include "gromacs/utility/path.h"
-#include "gromacs/utility/uniqueptr.h"
#include "testutils/cmdlinetest.h"
};
//! Shorthand for a smart pointer to TestExecutableEnvironment.
-typedef gmx::gmx_unique_ptr<TestExecutableEnvironment>::type
+typedef boost::shared_ptr<TestExecutableEnvironment>
TestExecutableEnvironmentPointer;
class CommandLineProgramContextTest : public ::testing::Test
void testBinaryPathSearch(const char *argv0)
{
ASSERT_TRUE(env_.get() != NULL);
- gmx::CommandLineProgramContext info(1, &argv0, move(env_));
+ gmx::CommandLineProgramContext info(1, &argv0, env_);
EXPECT_EQ(expectedExecutable_, info.fullBinaryPath());
}
void testBinaryPathSearch(const std::string &argv0)