Class: Evrone::CI::Message::BuildLog

Inherits:
ProtocolBuffers::Message
  • Object
show all
Includes:
Serializable
Defined in:
lib/evrone/ci/message.rb,
lib/evrone/ci/message/testing.rb

Class Method Summary collapse

Methods included from Serializable

#to_serialized_string

Class Method Details

.test_attributes(options = {}) ⇒ Object



96
97
98
99
100
101
102
103
# File 'lib/evrone/ci/message/testing.rb', line 96

def test_attributes(options = {})
  {
    build_id: 1,
    log:      'log',
    tm:       1376137604,
    tm_usec:  1234,
  }.merge(options)
end

.test_message(options = {}) ⇒ Object



105
106
107
# File 'lib/evrone/ci/message/testing.rb', line 105

def test_message(options = {})
  new test_attributes(options)
end