Class: TestSimpleLogging
- Inherits:
-
Minitest::Test
- Object
- Minitest::Test
- TestSimpleLogging
- Defined in:
- lib/repla/logger/test/tc_logger.rb
Overview
Test logging via standard out
Instance Method Summary collapse
Instance Method Details
#setup ⇒ Object
128 129 130 131 132 133 |
# File 'lib/repla/logger/test/tc_logger.rb', line 128 def setup Repla.load_plugin(Repla::Test::TEST_LOG_PLUGIN_FILE) window_id = Repla.run_plugin(Repla::Test::TEST_LOG_PLUGIN_NAME) @window = Repla::Window.new(window_id) assert(window_id == @window.window_id) end |
#teardown ⇒ Object
140 141 142 |
# File 'lib/repla/logger/test/tc_logger.rb', line 140 def teardown @window.close end |