module OroGen::SelfTest

Constants

TEST_DATA_DIR
TEST_DIR
WC_ROOT

Public Instance Methods

create_dummy_project() click to toggle source
# File lib/orogen/test.rb, line 56
def create_dummy_project
    loader = OroGen::Loaders::Files.new
    OroGen::Loaders::RTT.setup_loader(loader)
    OroGen::Spec::Project.new(loader)
end
path_to_data() click to toggle source

@return [String] the full path to oroGen's test/data folder, where

fixtures are stored
# File lib/orogen/test.rb, line 46
def path_to_data
    TEST_DATA_DIR
end
path_to_test() click to toggle source

Overload of {test_dir} for use in specs, as test_* is somewhat hidden by minitest

# File lib/orogen/test.rb, line 40
def path_to_test
    TEST_DIR
end
path_to_wc_root() click to toggle source

@return [String] the full path to oroGen's test/wc folder, where

code is being generated by the tests
# File lib/orogen/test.rb, line 52
def path_to_wc_root
    WC_ROOT
end
setup() click to toggle source
# File lib/orogen/test.rb, line 62
def setup
    # Setup code for all the tests
end
teardown() click to toggle source
# File lib/orogen/test.rb, line 66
def teardown
    # Teardown code for all the tests
end