Sha256: c8f6ea098aa52fdfa4f2c3f6bcdb37b58b0050259c6c02996eeb3efcb2c589fd

Contents?: true

Size: 476 Bytes

Versions: 6

Compression:

Stored size: 476 Bytes

Contents

require 'test/helper'

class TestGenerator < Test::Unit::TestCase

  def test_object_works
    a = AtomLog::Generator.new('test/fixtures/test.log')
    assert a
  end

  def test_line_to_xml
    a = AtomLog::Generator.new('test/fixtures/test.log')
    line = AtomLog::Parser.parse_log_line(TEST_LOG_LINE)
    xml_line = a.line_to_xml(line)
    assert xml_line
  end

  def test_to_atom
    a = AtomLog::Generator.new('test/fixtures/test.log')
    assert a.to_atom
  end


end

Version data entries

6 entries across 6 versions & 2 rubygems

Version Path
jcapote-atomlog-1.0.2 test/test_generator.rb
jcapote-atomlog-1.0.3 test/test_generator.rb
jcapote-atomlog-1.0.4 test/test_generator.rb
jcapote-atomlog-1.1.0 test/test_generator.rb
jcapote-atomlog-1.1.1 test/test_generator.rb
atomlog-1.1.1 test/test_generator.rb