Sha256: 73cd89545e4d21bc5827974f700c042c7672cd34865ef19e7f3b170a39fb7340

Contents?: true

Size: 378 Bytes

Versions: 22

Compression:

Stored size: 378 Bytes

Contents

#include "unittest.hpp"
#include "rice/VM.hpp"
#include "rice/Object.hpp"
#include <memory>

using namespace Rice;

std::auto_ptr<VM> vm;

TESTSUITE(VM);

SETUP(VM)
{
  std::vector<const char *> args;
  args.push_back("test_VM");
  args.push_back("-e");
  args.push_back("puts \"HELLO\"");
  vm.reset(new VM(args));
}

TESTCASE(create_object)
{
  Object o;
  o.call("to_s");
}

Version data entries

22 entries across 22 versions & 5 rubygems

Version Path
jameskilton-rice-1.2.0 test/test_VM.cpp
rice-1.6.0 test/test_VM.cpp
rice-1.6.0.pre test/test_VM.cpp
rice-1.5.3 test/test_VM.cpp
rice-1.5.2 test/test_VM.cpp
keyme-rice-1.5.1.keyme1 test/test_VM.cpp
keyme-rice-1.5.1.keyme test/test_VM.cpp
rice-1.5.1 test/test_VM.cpp
rice-1.5.0 test/test_VM.cpp
rice-jdguyot-1.4.3p1 test/test_VM.cpp
rice-1.4.3 test/test_VM.cpp
wurlinc-rice-1.4.0.4 test/test_VM.cpp
wurlinc-rice-1.4.0.1 test/test_VM.cpp
rice-1.4.2 test/test_VM.cpp
rice-jdguyot-1.4.0.p1 test/test_VM.cpp
rice-jdguyot-1.4.0 test/test_VM.cpp
rice-1.4.0 test/test_VM.cpp
rice-1.3.2 test/test_VM.cpp
rice-1.3.1 test/test_VM.cpp
rice-1.3.0 test/test_VM.cpp