Class: Phoenx::TestableTarget
- Inherits:
-
AbstractTarget
- Object
- AbstractTarget
- Phoenx::TestableTarget
- Defined in:
- lib/phoenx/entities/target.rb
Instance Attribute Summary collapse
-
#excluded_private_headers ⇒ Object
Returns the value of attribute excluded_private_headers.
-
#excluded_project_headers ⇒ Object
Returns the value of attribute excluded_project_headers.
-
#excluded_public_headers ⇒ Object
Returns the value of attribute excluded_public_headers.
-
#module_name ⇒ Object
Returns the value of attribute module_name.
-
#platform ⇒ Object
Returns the value of attribute platform.
-
#private_headers ⇒ Object
Returns the value of attribute private_headers.
-
#project_headers ⇒ Object
Returns the value of attribute project_headers.
-
#public_headers ⇒ Object
Returns the value of attribute public_headers.
-
#schemes ⇒ Object
readonly
Returns the value of attribute schemes.
-
#sub_projects ⇒ Object
Returns the value of attribute sub_projects.
-
#target_type ⇒ Object
readonly
Returns the value of attribute target_type.
-
#test_targets ⇒ Object
readonly
Returns the value of attribute test_targets.
-
#umbrella_header ⇒ Object
Returns the value of attribute umbrella_header.
-
#version ⇒ Object
Returns the value of attribute version.
Attributes inherited from AbstractTarget
#config_files, #dependencies, #excluded_resources, #excluded_sources, #excluded_support_files, #frameworks, #libraries, #name, #post_build_scripts, #pre_build_scripts, #resources, #sources, #support_files, #system_frameworks, #system_libraries
Instance Method Summary collapse
-
#initialize(name, type, platform, version) {|_self| ... } ⇒ TestableTarget
constructor
A new instance of TestableTarget.
- #scheme(name, &block) ⇒ Object
- #test_target(name, &block) ⇒ Object
Methods inherited from AbstractTarget
Constructor Details
#initialize(name, type, platform, version) {|_self| ... } ⇒ TestableTarget
Returns a new instance of TestableTarget.
61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 |
# File 'lib/phoenx/entities/target.rb', line 61 def initialize(name, type, platform, version) super() @test_targets = [] @schemes = [] @name = name @target_type = type @platform = platform @version = version @sub_projects = [] @private_headers = [] @excluded_private_headers = [] @project_headers = [] @excluded_project_headers = [] @public_headers = [] @excluded_public_headers = [] yield(self) end |
Instance Attribute Details
#excluded_private_headers ⇒ Object
Returns the value of attribute excluded_private_headers.
51 52 53 |
# File 'lib/phoenx/entities/target.rb', line 51 def excluded_private_headers @excluded_private_headers end |
#excluded_project_headers ⇒ Object
Returns the value of attribute excluded_project_headers.
53 54 55 |
# File 'lib/phoenx/entities/target.rb', line 53 def excluded_project_headers @excluded_project_headers end |
#excluded_public_headers ⇒ Object
Returns the value of attribute excluded_public_headers.
55 56 57 |
# File 'lib/phoenx/entities/target.rb', line 55 def excluded_public_headers @excluded_public_headers end |
#module_name ⇒ Object
Returns the value of attribute module_name.
57 58 59 |
# File 'lib/phoenx/entities/target.rb', line 57 def module_name @module_name end |
#platform ⇒ Object
Returns the value of attribute platform.
47 48 49 |
# File 'lib/phoenx/entities/target.rb', line 47 def platform @platform end |
#private_headers ⇒ Object
Returns the value of attribute private_headers.
50 51 52 |
# File 'lib/phoenx/entities/target.rb', line 50 def private_headers @private_headers end |
#project_headers ⇒ Object
Returns the value of attribute project_headers.
52 53 54 |
# File 'lib/phoenx/entities/target.rb', line 52 def project_headers @project_headers end |
#public_headers ⇒ Object
Returns the value of attribute public_headers.
54 55 56 |
# File 'lib/phoenx/entities/target.rb', line 54 def public_headers @public_headers end |
#schemes ⇒ Object (readonly)
Returns the value of attribute schemes.
45 46 47 |
# File 'lib/phoenx/entities/target.rb', line 45 def schemes @schemes end |
#sub_projects ⇒ Object
Returns the value of attribute sub_projects.
49 50 51 |
# File 'lib/phoenx/entities/target.rb', line 49 def sub_projects @sub_projects end |
#target_type ⇒ Object (readonly)
Returns the value of attribute target_type.
48 49 50 |
# File 'lib/phoenx/entities/target.rb', line 48 def target_type @target_type end |
#test_targets ⇒ Object (readonly)
Returns the value of attribute test_targets.
44 45 46 |
# File 'lib/phoenx/entities/target.rb', line 44 def test_targets @test_targets end |
#umbrella_header ⇒ Object
Returns the value of attribute umbrella_header.
56 57 58 |
# File 'lib/phoenx/entities/target.rb', line 56 def umbrella_header @umbrella_header end |
#version ⇒ Object
Returns the value of attribute version.
46 47 48 |
# File 'lib/phoenx/entities/target.rb', line 46 def version @version end |
Instance Method Details
#scheme(name, &block) ⇒ Object
85 86 87 |
# File 'lib/phoenx/entities/target.rb', line 85 def scheme(name, &block) @schemes << Phoenx::Scheme.new(name, block) end |
#test_target(name, &block) ⇒ Object
79 80 81 82 83 |
# File 'lib/phoenx/entities/target.rb', line 79 def test_target(name, &block) target = Phoenx::TestTarget.new &block target.name = name @test_targets << target end |