| 115 | } |
| 116 | |
| 117 | void cmXCodeScheme::WriteTestAction(cmXMLWriter& xout, |
| 118 | std::string const& configuration, |
| 119 | std::string const& container) |
| 120 | { |
| 121 | xout.StartElement("TestAction"); |
| 122 | xout.BreakAttributes(); |
| 123 | xout.Attribute("buildConfiguration", configuration); |
| 124 | xout.Attribute("selectedDebuggerIdentifier", |
| 125 | "Xcode.DebuggerFoundation.Debugger.LLDB"); |
| 126 | xout.Attribute("selectedLauncherIdentifier", |
| 127 | "Xcode.DebuggerFoundation.Launcher.LLDB"); |
| 128 | xout.Attribute("shouldUseLaunchSchemeArgsEnv", "YES"); |
| 129 | WriteCustomLLDBInitFile(xout, configuration); |
| 130 | |
| 131 | xout.StartElement("Testables"); |
| 132 | for (auto const* test : this->Tests) { |
| 133 | xout.StartElement("TestableReference"); |
| 134 | xout.BreakAttributes(); |
| 135 | xout.Attribute("skipped", "NO"); |
| 136 | WriteBuildableReference(xout, test, container); |
| 137 | xout.EndElement(); // TestableReference |
| 138 | } |
| 139 | xout.EndElement(); |
| 140 | |
| 141 | if (IsTestable()) { |
| 142 | xout.StartElement("MacroExpansion"); |
| 143 | WriteBuildableReference(xout, this->Target, container); |
| 144 | xout.EndElement(); // MacroExpansion |
| 145 | } |
| 146 | |
| 147 | xout.StartElement("AdditionalOptions"); |
| 148 | xout.EndElement(); |
| 149 | |
| 150 | xout.EndElement(); // TestAction |
| 151 | } |
| 152 | |
| 153 | void cmXCodeScheme::WriteLaunchAction(cmXMLWriter& xout, |
| 154 | std::string const& configuration, |
nothing calls this directly
no test coverage detected