Rename VMFrame to ScriptFrame in the unit tests

refs #8065
This commit is contained in:
Gunnar Beutner 2014-12-12 15:39:15 +01:00
parent 0a4c461caa
commit 26c5256c05
1 changed files with 3 additions and 3 deletions

View File

@ -26,7 +26,7 @@ BOOST_AUTO_TEST_SUITE(config_ops)
BOOST_AUTO_TEST_CASE(simple)
{
VMFrame frame;
ScriptFrame frame;
Expression *expr;
Dictionary::Ptr dict;
@ -199,7 +199,7 @@ BOOST_AUTO_TEST_CASE(simple)
BOOST_AUTO_TEST_CASE(advanced)
{
VMFrame frame;
ScriptFrame frame;
Expression *expr;
expr = ConfigCompiler::CompileText("<test>", "regex(\"^Hello\", \"Hello World\")");
@ -215,7 +215,7 @@ BOOST_AUTO_TEST_CASE(advanced)
delete expr;
Object::Ptr self = new Object();
VMFrame frame2(self);
ScriptFrame frame2(self);
expr = ConfigCompiler::CompileText("<test>", "this");
BOOST_CHECK(expr->Evaluate(frame2) == Value(self));
delete expr;