class TestCenter::Helper::XcodeJunit::Testable

Public Class Methods

new(xml_element) click to toggle source
# File lib/fastlane/plugin/test_center/helper/junit_helper.rb, line 26
def initialize(xml_element)
  @root = xml_element
  @testsuites = []
  @root.elements.each('testsuite') do |testsuite_element|
    @testsuites << TestSuite.new(testsuite_element)
  end
end

Public Instance Methods

name() click to toggle source
# File lib/fastlane/plugin/test_center/helper/junit_helper.rb, line 34
def name
  return @root.attribute('name').value
end
testsuites() click to toggle source
# File lib/fastlane/plugin/test_center/helper/junit_helper.rb, line 38
def testsuites
  return @testsuites
end