Class: Xcodeproj::XCScheme::TestAction::TestableReference::Test

Inherits:
XMLElementWrapper show all
Defined in:
lib/xcodeproj/scheme/test_action.rb

Instance Attribute Summary

Attributes inherited from XMLElementWrapper

#xml_element

Instance Method Summary collapse

Methods inherited from XMLElementWrapper

#to_s

Constructor Details

#initialize(node = nil) ⇒ Test



364
365
366
367
368
# File 'lib/xcodeproj/scheme/test_action.rb', line 364

def initialize(node = nil)
  create_xml_element_with_fallback(node, 'Test') do
    self.identifier = node.attributes['Identifier'] unless node.nil?
  end
end

Instance Method Details

#identifierString



373
374
375
# File 'lib/xcodeproj/scheme/test_action.rb', line 373

def identifier
  @xml_element.attributes['Identifier']
end

#identifier=(value) ⇒ Object



380
381
382
# File 'lib/xcodeproj/scheme/test_action.rb', line 380

def identifier=(value)
  @xml_element.attributes['Identifier'] = value
end