class Juniter::TestSuiteProperties

Public Class Methods

from_xml(node) click to toggle source
# File lib/juniter/test_suite_properties.rb, line 7
def from_xml(node)
  new(node.nodes.map { |n| TestSuiteProperty.from_xml(n) })
end

Public Instance Methods

to_xml() click to toggle source
# File lib/juniter/test_suite_properties.rb, line 12
def to_xml
  Ox::Element.new(:properties).tap do |properties|
    each do |property|
      properties << property.to_xml
    end
  end
end