<!DOCTYPE html>
<html lang="en">
  <head>
    <title>System arguments  Reference</title>
    <link rel="stylesheet" type="text/css" href="css/jazzy.css" />
    <link rel="stylesheet" type="text/css" href="css/highlight.css" />
    <meta charset='utf-8'>
    <script src="js/jquery.min.js" defer></script>
    <script src="js/jazzy.js" defer></script>
    
  </head>
  <body>
    <a title="System arguments  Reference"></a>
    <header>
      <div class="content-wrapper">
        <p><a href="index.html">AutoMate Docs</a> (100% documented)</p>
      </div>
    </header>
    <div class="content-wrapper">
      <p id="breadcrumbs">
        <a href="index.html">AutoMate Reference</a>
        <img id="carat" src="img/carat.png" />
        System arguments  Reference
      </p>
    </div>
    <div class="content-wrapper">
      <nav class="sidebar">
        <ul class="nav-groups">
          <li class="nav-group-name">
            <a href="Guides.html">Guides</a>
            <ul class="nav-group-tasks">
              <li class="nav-group-task">
                <a href="Structs/TestLauncher.html">TestLauncher</a>
              </li>
              <li class="nav-group-task">
                <a href="system-arguments.html">System arguments</a>
              </li>
              <li class="nav-group-task">
                <a href="custom-arguments.html">Custom arguments</a>
              </li>
              <li class="nav-group-task">
                <a href="launch-environments.html">Launch environments</a>
              </li>
              <li class="nav-group-task">
                <a href="automate-environments.html">AutoMate environments</a>
              </li>
            </ul>
          </li>
          <li class="nav-group-name">
            <a href="XCTest.html">XCTest</a>
            <ul class="nav-group-tasks">
              <li class="nav-group-task">
                <a href="Classes/AppUITestCase.html">AppUITestCase</a>
              </li>
              <li class="nav-group-task">
                <a href="Extensions/XCTestCase.html">XCTestCase</a>
              </li>
              <li class="nav-group-task">
                <a href="Extensions/XCUIApplication.html">XCUIApplication</a>
              </li>
              <li class="nav-group-task">
                <a href="Extensions/XCUIElement.html">XCUIElement</a>
              </li>
              <li class="nav-group-task">
                <a href="Extensions/XCUIElementQuery.html">XCUIElementQuery</a>
              </li>
              <li class="nav-group-task">
                <a href="Extensions/XCUIElementTypeQueryProvider.html">XCUIElementTypeQueryProvider</a>
              </li>
            </ul>
          </li>
          <li class="nav-group-name">
            <a href="Page objects.html">Page objects</a>
            <ul class="nav-group-tasks">
              <li class="nav-group-task">
                <a href="Protocols/BaseAppPageProtocol.html">BaseAppPageProtocol</a>
              </li>
              <li class="nav-group-task">
                <a href="Classes/BaseAppPage.html">BaseAppPage</a>
              </li>
              <li class="nav-group-task">
                <a href="Protocols/ModalPage.html">ModalPage</a>
              </li>
              <li class="nav-group-task">
                <a href="Protocols/PushedPage.html">PushedPage</a>
              </li>
              <li class="nav-group-task">
                <a href="Classes/HealthPermissionPage.html">HealthPermissionPage</a>
              </li>
              <li class="nav-group-task">
                <a href="Classes/HealthPermissionPage/Locators.html">– Locators</a>
              </li>
            </ul>
          </li>
          <li class="nav-group-name">
            <a href="Locators.html">Locators</a>
            <ul class="nav-group-tasks">
              <li class="nav-group-task">
                <a href="Protocols/Locator.html">Locator</a>
              </li>
              <li class="nav-group-task">
                <a href="Enums/KeyboardLocator.html">KeyboardLocator</a>
              </li>
            </ul>
          </li>
          <li class="nav-group-name">
            <a href="System alerts.html">System alerts</a>
            <ul class="nav-group-tasks">
              <li class="nav-group-task">
                <a href="Protocols/SystemAlert.html">SystemAlert</a>
              </li>
              <li class="nav-group-task">
                <a href="Structs/HealthAuthorizationDontAllowAlert.html">HealthAuthorizationDontAllowAlert</a>
              </li>
              <li class="nav-group-task">
                <a href="Structs/LocationAlwaysAlert.html">LocationAlwaysAlert</a>
              </li>
              <li class="nav-group-task">
                <a href="Structs/LocationUpgradeWhenInUseAlwaysAlert.html">LocationUpgradeWhenInUseAlwaysAlert</a>
              </li>
              <li class="nav-group-task">
                <a href="Structs/LocationWhenInUseAlert.html">LocationWhenInUseAlert</a>
              </li>
              <li class="nav-group-task">
                <a href="Structs/AddressBookAlert.html">AddressBookAlert</a>
              </li>
              <li class="nav-group-task">
                <a href="Structs/BluetoothPeripheralAlert.html">BluetoothPeripheralAlert</a>
              </li>
              <li class="nav-group-task">
                <a href="Structs/CalendarAlert.html">CalendarAlert</a>
              </li>
              <li class="nav-group-task">
                <a href="Structs/CallsAlert.html">CallsAlert</a>
              </li>
              <li class="nav-group-task">
                <a href="Structs/CameraAlert.html">CameraAlert</a>
              </li>
              <li class="nav-group-task">
                <a href="Structs/MediaLibraryAlert.html">MediaLibraryAlert</a>
              </li>
              <li class="nav-group-task">
                <a href="Structs/MicrophoneAlert.html">MicrophoneAlert</a>
              </li>
              <li class="nav-group-task">
                <a href="Structs/MotionAlert.html">MotionAlert</a>
              </li>
              <li class="nav-group-task">
                <a href="Structs/PhotosAlert.html">PhotosAlert</a>
              </li>
              <li class="nav-group-task">
                <a href="Structs/RemindersAlert.html">RemindersAlert</a>
              </li>
              <li class="nav-group-task">
                <a href="Structs/SiriAlert.html">SiriAlert</a>
              </li>
              <li class="nav-group-task">
                <a href="Structs/SpeechRecognitionAlert.html">SpeechRecognitionAlert</a>
              </li>
              <li class="nav-group-task">
                <a href="Structs/WillowAlert.html">WillowAlert</a>
              </li>
            </ul>
          </li>
          <li class="nav-group-name">
            <a href="Launch arguments.html">Launch arguments</a>
            <ul class="nav-group-tasks">
              <li class="nav-group-task">
                <a href="Structs/SystemLanguages.html">SystemLanguages</a>
              </li>
              <li class="nav-group-task">
                <a href="Structs/SystemLocale.html">SystemLocale</a>
              </li>
              <li class="nav-group-task">
                <a href="Structs/SoftwareKeyboards.html">SoftwareKeyboards</a>
              </li>
              <li class="nav-group-task">
                <a href="Structs/HardwareKeyboards.html">HardwareKeyboards</a>
              </li>
              <li class="nav-group-task">
                <a href="Structs/SystemKeyboards.html">SystemKeyboards</a>
              </li>
              <li class="nav-group-task">
                <a href="Enums/CoreDataOption.html">CoreDataOption</a>
              </li>
              <li class="nav-group-task">
                <a href="Enums/CoreDataOption/VerbosityLevel.html">– VerbosityLevel</a>
              </li>
              <li class="nav-group-task">
                <a href="Enums/CoreDataOption/DiskSyncing.html">– DiskSyncing</a>
              </li>
              <li class="nav-group-task">
                <a href="Enums/LocalizedStrings.html">LocalizedStrings</a>
              </li>
              <li class="nav-group-task">
                <a href="Protocols/LaunchArgument.html">LaunchArgument</a>
              </li>
              <li class="nav-group-task">
                <a href="Protocols/LaunchArgumentWithSingleValue.html">LaunchArgumentWithSingleValue</a>
              </li>
              <li class="nav-group-task">
                <a href="Protocols/LaunchArgumentWithMultipleValues.html">LaunchArgumentWithMultipleValues</a>
              </li>
              <li class="nav-group-task">
                <a href="Protocols/LaunchArgumentValue.html">LaunchArgumentValue</a>
              </li>
            </ul>
          </li>
          <li class="nav-group-name">
            <a href="Launch environments.html">Launch environments</a>
            <ul class="nav-group-tasks">
              <li class="nav-group-task">
                <a href="Structs/EventLaunchEnvironment.html">EventLaunchEnvironment</a>
              </li>
              <li class="nav-group-task">
                <a href="Structs/ReminderLaunchEnvironment.html">ReminderLaunchEnvironment</a>
              </li>
              <li class="nav-group-task">
                <a href="Structs/ContactLaunchEnvironment.html">ContactLaunchEnvironment</a>
              </li>
              <li class="nav-group-task">
                <a href="Structs/AnimationLaunchEnvironment.html">AnimationLaunchEnvironment</a>
              </li>
              <li class="nav-group-task">
                <a href="Structs/IsInUITestLaunchEnvironment.html">IsInUITestLaunchEnvironment</a>
              </li>
              <li class="nav-group-task">
                <a href="Protocols/AutoMateLaunchEnvironment.html">AutoMateLaunchEnvironment</a>
              </li>
              <li class="nav-group-task">
                <a href="Structs/LaunchEnvironment.html">LaunchEnvironment</a>
              </li>
              <li class="nav-group-task">
                <a href="Structs/LaunchEnvironments.html">LaunchEnvironments</a>
              </li>
              <li class="nav-group-task">
                <a href="Protocols/LaunchEnvironmentProtocol.html">LaunchEnvironmentProtocol</a>
              </li>
              <li class="nav-group-task">
                <a href="Protocols/LaunchEnvironmentWithSingleValue.html">LaunchEnvironmentWithSingleValue</a>
              </li>
              <li class="nav-group-task">
                <a href="Protocols/LaunchEnvironmentWithMultipleValues.html">LaunchEnvironmentWithMultipleValues</a>
              </li>
              <li class="nav-group-task">
                <a href="Protocols/CleanableLaunchEnvironment.html">CleanableLaunchEnvironment</a>
              </li>
              <li class="nav-group-task">
                <a href="Protocols/CleanableLaunchEnvironmentWithMultipleValues.html">CleanableLaunchEnvironmentWithMultipleValues</a>
              </li>
              <li class="nav-group-task">
                <a href="Protocols/LaunchEnvironmentValue.html">LaunchEnvironmentValue</a>
              </li>
              <li class="nav-group-task">
                <a href="Structs/LaunchEnvironmentResourceValue.html">LaunchEnvironmentResourceValue</a>
              </li>
            </ul>
          </li>
          <li class="nav-group-name">
            <a href="Other Enums.html">Other Enumerations</a>
            <ul class="nav-group-tasks">
              <li class="nav-group-task">
                <a href="Enums/AutoMateKey.html">AutoMateKey</a>
              </li>
              <li class="nav-group-task">
                <a href="Enums/AvoidableElement.html">AvoidableElement</a>
              </li>
              <li class="nav-group-task">
                <a href="Enums/BooleanLaunchArgumentValue.html">BooleanLaunchArgumentValue</a>
              </li>
              <li class="nav-group-task">
                <a href="Enums/BooleanLaunchEnvironmentValue.html">BooleanLaunchEnvironmentValue</a>
              </li>
              <li class="nav-group-task">
                <a href="Enums/DeviceType.html">DeviceType</a>
              </li>
              <li class="nav-group-task">
                <a href="Enums/HardwareKeyboard.html">HardwareKeyboard</a>
              </li>
              <li class="nav-group-task">
                <a href="Enums/SoftwareKeyboard.html">SoftwareKeyboard</a>
              </li>
              <li class="nav-group-task">
                <a href="Enums/StringComparisonOperator.html">StringComparisonOperator</a>
              </li>
              <li class="nav-group-task">
                <a href="Enums/SwipeDirection.html">SwipeDirection</a>
              </li>
              <li class="nav-group-task">
                <a href="Enums/SystemCountry.html">SystemCountry</a>
              </li>
              <li class="nav-group-task">
                <a href="Enums/SystemLanguage.html">SystemLanguage</a>
              </li>
            </ul>
          </li>
          <li class="nav-group-name">
            <a href="Other Extensions.html">Other Extensions</a>
            <ul class="nav-group-tasks">
              <li class="nav-group-task">
                <a href="Extensions/Array.html">Array</a>
              </li>
              <li class="nav-group-task">
                <a href="Extensions/Bundle.html">Bundle</a>
              </li>
              <li class="nav-group-task">
                <a href="Extensions/Dictionary.html">Dictionary</a>
              </li>
              <li class="nav-group-task">
                <a href="Extensions/RawRepresentable.html">RawRepresentable</a>
              </li>
              <li class="nav-group-task">
                <a href="Extensions/Sequence.html">Sequence</a>
              </li>
              <li class="nav-group-task">
                <a href="Extensions/String.html">String</a>
              </li>
            </ul>
          </li>
          <li class="nav-group-name">
            <a href="Other Functions.html">Other Functions</a>
            <ul class="nav-group-tasks">
              <li class="nav-group-task">
                <a href="Other Functions.html#/s:8AutoMate2eeoiySbAA16LaunchOptionsSetV_ADtF">==(_:_:)</a>
              </li>
            </ul>
          </li>
          <li class="nav-group-name">
            <a href="Other Protocols.html">Other Protocols</a>
            <ul class="nav-group-tasks">
              <li class="nav-group-task">
                <a href="Protocols/Application.html">Application</a>
              </li>
              <li class="nav-group-task">
                <a href="Protocols/DescendantsMatching.html">DescendantsMatching</a>
              </li>
              <li class="nav-group-task">
                <a href="Protocols/HealthAlertAllow.html">HealthAlertAllow</a>
              </li>
              <li class="nav-group-task">
                <a href="Protocols/HealthAlertDeny.html">HealthAlertDeny</a>
              </li>
              <li class="nav-group-task">
                <a href="Protocols/HealthAlertOk.html">HealthAlertOk</a>
              </li>
              <li class="nav-group-task">
                <a href="Protocols/HealthAlertTurnOffAll.html">HealthAlertTurnOffAll</a>
              </li>
              <li class="nav-group-task">
                <a href="Protocols/HealthAlertTurnOnAll.html">HealthAlertTurnOnAll</a>
              </li>
              <li class="nav-group-task">
                <a href="Protocols/IdentifiableByElement.html">IdentifiableByElement</a>
              </li>
              <li class="nav-group-task">
                <a href="Protocols/KeyboardLaunchArgument.html">KeyboardLaunchArgument</a>
              </li>
              <li class="nav-group-task">
                <a href="Protocols/LanguageLaunchArgument.html">LanguageLaunchArgument</a>
              </li>
              <li class="nav-group-task">
                <a href="Protocols/LaunchOption.html">LaunchOption</a>
              </li>
              <li class="nav-group-task">
                <a href="Protocols/LocaleLaunchArgument.html">LocaleLaunchArgument</a>
              </li>
              <li class="nav-group-task">
                <a href="Protocols/LocationAlertAllow.html">LocationAlertAllow</a>
              </li>
              <li class="nav-group-task">
                <a href="Protocols/LocationAlertCancel.html">LocationAlertCancel</a>
              </li>
              <li class="nav-group-task">
                <a href="Protocols/LocationAlertDeny.html">LocationAlertDeny</a>
              </li>
              <li class="nav-group-task">
                <a href="Protocols/LocationAlertOk.html">LocationAlertOk</a>
              </li>
              <li class="nav-group-task">
                <a href="Protocols/LocationAlwaysAlertAllow.html">LocationAlwaysAlertAllow</a>
              </li>
              <li class="nav-group-task">
                <a href="Protocols/LocationAlwaysAlertAllowWhenInUseOnly.html">LocationAlwaysAlertAllowWhenInUseOnly</a>
              </li>
              <li class="nav-group-task">
                <a href="Protocols/SystemAlertAllow.html">SystemAlertAllow</a>
              </li>
              <li class="nav-group-task">
                <a href="Protocols/SystemAlertCancel.html">SystemAlertCancel</a>
              </li>
              <li class="nav-group-task">
                <a href="Protocols/SystemAlertDeny.html">SystemAlertDeny</a>
              </li>
              <li class="nav-group-task">
                <a href="Protocols/SystemAlertOk.html">SystemAlertOk</a>
              </li>
              <li class="nav-group-task">
                <a href="Protocols/SystemMessages.html">SystemMessages</a>
              </li>
            </ul>
          </li>
          <li class="nav-group-name">
            <a href="Other Structs.html">Other Structures</a>
            <ul class="nav-group-tasks">
              <li class="nav-group-task">
                <a href="Structs/LaunchOptionsSet.html">LaunchOptionsSet</a>
              </li>
              <li class="nav-group-task">
                <a href="Structs/PhotosAddAlert.html">PhotosAddAlert</a>
              </li>
            </ul>
          </li>
        </ul>
      </nav>
      <article class="main-content">
        <section>
          <section class="section">
            
            <h1 id='system-launch-arguments' class='heading'>System launch arguments</h1>

<ul>
<li><a href="#usage">Usage</a></li>
<li><a href="#predefined-arguments">Predefined arguments</a>

<ul>
<li><a href="#systeml-anguages">System languages</a></li>
<li><a href="#system-locale">System locale</a></li>
<li><a href="#system-keyboards">System keyboards</a></li>
<li><a href="#core-data-options">Core Data options</a></li>
<li><a href="#localised-strings-options">Localised strings options</a></li>
</ul></li>
</ul>
<h2 id='usage' class='heading'>Usage</h2>

<p><code>AutoMate</code> contains set of predefined launch arguments. They can be passed to the <code><a href="Structs/TestLauncher.html">TestLauncher</a></code>
to configure the application before launch.</p>

<p>Use <code><a href="Structs/TestLauncher.html">TestLauncher</a></code> in the <code>setUp()</code> method to configure application settings and launch the application:</p>
<pre class="highlight swift"><code><span class="k">let</span> <span class="nv">app</span> <span class="o">=</span> <span class="kt">XCUIApplication</span><span class="p">()</span>
<span class="kt">TestLauncher</span><span class="p">(</span><span class="nv">options</span><span class="p">:</span> <span class="p">[</span>
    <span class="kt">SystemLanguages</span><span class="p">([</span><span class="o">.</span><span class="kt">English</span><span class="p">,</span> <span class="o">.</span><span class="kt">German</span><span class="p">])</span>
<span class="p">])</span><span class="o">.</span><span class="nf">configure</span><span class="p">(</span><span class="n">app</span><span class="p">)</span><span class="o">.</span><span class="nf">launch</span><span class="p">()</span>
</code></pre>
<h2 id='predefined-arguments' class='heading'>Predefined arguments</h2>

<p><code>AutoMate</code> has predefined launch argument types for most common system launch arguments.
Below are shown examples of each of them, with corresponding generated strings that
would be set on the <code>XCUIApplication</code> instance.</p>
<h3 id='system-languages' class='heading'>System languages</h3>

<p><code><a href="Structs/SystemLanguages.html">SystemLanguages</a></code> allows to replace order of preferred languages which will be used
by the application do display localized content.</p>

<p><strong>Swift expression:</strong></p>
<pre class="highlight swift"><code><span class="kt">SystemLanguages</span><span class="p">([</span><span class="o">.</span><span class="kt">English</span><span class="p">,</span> <span class="o">.</span><span class="kt">Polish</span><span class="p">])</span>
<span class="c1">// or</span>
<span class="p">[</span><span class="o">.</span><span class="kt">English</span><span class="p">,</span> <span class="o">.</span><span class="kt">Polish</span><span class="p">]</span> <span class="k">as</span> <span class="kt">SystemLanguages</span>
</code></pre>

<p><strong>Generated strings:</strong></p>
<pre class="highlight swift"><code><span class="o">-</span><span class="kt">AppleLanguages</span> <span class="p">(</span><span class="s">"en"</span><span class="p">,</span> <span class="s">"pl"</span><span class="p">)</span>
</code></pre>
<h3 id='system-locale' class='heading'>System locale</h3>

<p><code><a href="Structs/SystemLocale.html">SystemLocale</a></code> allows to replace users locale.</p>

<p><strong>Swift expression:</strong></p>
<pre class="highlight swift"><code><span class="kt">SystemLocale</span><span class="p">(</span><span class="nv">localeIdentifier</span><span class="p">:</span> <span class="s">"pl"</span><span class="p">)</span>
<span class="kt">SystemLocale</span><span class="p">(</span><span class="nv">language</span><span class="p">:</span> <span class="o">.</span><span class="kt">Polish</span><span class="p">,</span> <span class="nv">country</span><span class="p">:</span> <span class="o">.</span><span class="kt">Poland</span><span class="p">)</span>
</code></pre>

<p><strong>Generated strings:</strong></p>
<pre class="highlight swift"><code><span class="o">-</span><span class="kt">AppleLocale</span> <span class="s">"pl"</span>
<span class="o">-</span><span class="kt">AppleLocale</span> <span class="s">"pl_PL"</span>
</code></pre>
<h3 id='system-keyboards' class='heading'>System keyboards</h3>

<p><code><a href="Structs/SoftwareKeyboards.html">SoftwareKeyboards</a></code> and <code><a href="Structs/HardwareKeyboards.html">HardwareKeyboards</a></code> allows to set keyboards used in the application.
It is possible to provide only software keyboards, or only hardware keyboards.</p>

<p><strong>Swift expression:</strong></p>
<pre class="highlight swift"><code><span class="p">[</span><span class="o">.</span><span class="kt">Bengali</span><span class="p">]</span> <span class="k">as</span> <span class="kt">SoftwareKeyboards</span>
<span class="p">[</span><span class="o">.</span><span class="kt">Bengali</span><span class="p">]</span> <span class="k">as</span> <span class="kt">HardwareKeyboards</span>
</code></pre>

<p><strong>Generated strings:</strong></p>
<pre class="highlight swift"><code><span class="o">-</span><span class="kt">AppleKeyboards</span> <span class="p">(</span><span class="s">"bn@sw=Bengali"</span><span class="p">)</span>
<span class="o">-</span><span class="kt">AppleKeyboards</span> <span class="p">(</span><span class="s">"bn@hw=Bangla"</span><span class="p">)</span>
</code></pre>

<p>Keyboards can be also joined together by using <code><a href="Structs/SystemKeyboards.html">SystemKeyboards</a></code>:</p>
<pre class="highlight swift"><code><span class="k">var</span> <span class="nv">softwareKeyboards</span><span class="p">:</span> <span class="kt">SoftwareKeyboards</span> <span class="o">=</span> <span class="p">[</span><span class="o">.</span><span class="kt">Bengali</span><span class="p">]</span>
<span class="k">var</span> <span class="nv">hardwareKeyboards</span><span class="p">:</span> <span class="kt">HardwareKeyboards</span> <span class="o">=</span> <span class="p">[</span><span class="o">.</span><span class="kt">Bengali</span><span class="p">]</span>

<span class="kt">SystemKeyboards</span><span class="p">(</span><span class="nv">software</span><span class="p">:</span> <span class="n">softwareKeyboards</span><span class="p">,</span> <span class="nv">hardware</span><span class="p">:</span> <span class="n">hardwareKeyboards</span><span class="p">)</span>
</code></pre>

<p><strong>Generated strings:</strong></p>
<pre class="highlight swift"><code><span class="o">-</span><span class="kt">AppleKeyboards</span> <span class="p">(</span><span class="s">"bn@sw=Bengali"</span><span class="p">,</span> <span class="s">"bn@hw=Bangla"</span><span class="p">)</span>
</code></pre>
<h3 id='core-data-options' class='heading'>Core Data options</h3>

<p><code><a href="Enums/CoreDataOption.html">CoreDataOption</a></code> allows to enable debug options for CoreData.</p>
<pre class="highlight swift"><code><span class="c1">// -com.apple.CoreData.SQLDebug "1"</span>
<span class="kt">CoreDataOption</span><span class="o">.</span><span class="nf">sqlDebug</span><span class="p">(</span><span class="nv">verbosityLevel</span><span class="p">:</span> <span class="o">.</span><span class="n">low</span><span class="p">)</span>

<span class="c1">// -com.apple.CoreData.SQLiteDebugSynchronous "1"</span>
<span class="kt">CoreDataOption</span><span class="o">.</span><span class="nf">sqLiteDebugSynchronous</span><span class="p">(</span><span class="nv">syncing</span><span class="p">:</span> <span class="o">.</span><span class="n">disabled</span><span class="p">)</span>

<span class="c1">// -com.apple.CoreData.SyntaxColoredLogging "1"</span>
<span class="kt">CoreDataOption</span><span class="o">.</span><span class="n">syntaxColoredLogging</span>

<span class="c1">// -com.apple.CoreData.MigrationDebug "1"</span>
<span class="kt">CoreDataOption</span><span class="o">.</span><span class="n">migrationDebug</span>

<span class="c1">// -com.apple.CoreData.ConcurrencyDebug "1"</span>
<span class="kt">CoreDataOption</span><span class="o">.</span><span class="n">concurrencyDebug</span>

<span class="c1">// -com.apple.CoreData.SQLiteIntegrityCheck "1"</span>
<span class="kt">CoreDataOption</span><span class="o">.</span><span class="n">sqLiteIntegrityCheck</span>

<span class="c1">// -com.apple.CoreData.ThreadingDebug "1"</span>
<span class="kt">CoreDataOption</span><span class="o">.</span><span class="nf">threadingDebug</span><span class="p">(</span><span class="nv">verbosityLevel</span><span class="p">:</span> <span class="o">.</span><span class="n">low</span><span class="p">)</span>
</code></pre>

<p><strong>Usage:</strong></p>
<pre class="highlight swift"><code><span class="k">let</span> <span class="nv">app</span> <span class="o">=</span> <span class="kt">XCUIApplication</span><span class="p">()</span>
<span class="kt">TestLauncher</span><span class="p">(</span><span class="nv">options</span><span class="p">:</span> <span class="p">[</span>
    <span class="kt">CoreDataOption</span><span class="o">.</span><span class="nf">sqlDebug</span><span class="p">(</span><span class="nv">verbosityLevel</span><span class="p">:</span> <span class="o">.</span><span class="n">high</span><span class="p">)</span>
<span class="p">])</span><span class="o">.</span><span class="nf">configure</span><span class="p">(</span><span class="n">app</span><span class="p">)</span><span class="o">.</span><span class="nf">launch</span><span class="p">()</span>
</code></pre>
<h3 id='localised-strings-options' class='heading'>Localised strings options</h3>

<p><code><a href="Enums/LocalizedStrings.html">LocalizedStrings</a></code> allows to set options to debug localized strings.</p>
<pre class="highlight swift"><code><span class="c1">// -NSShowNonLocalizedStrings "1"</span>
<span class="kt">LocalizedStrings</span><span class="o">.</span><span class="n">showNonLocalizedStrings</span>

<span class="c1">// -NSDoubleLocalizedStrings "1"</span>
<span class="kt">LocalizedStrings</span><span class="o">.</span><span class="n">doubleLocalizedStrings</span>
</code></pre>

          </section>
        </section>
        <section id="footer">
          <p>&copy; 2019 <a class="link" href="https://github.com/PGSSoft/AutoMate" target="_blank" rel="external">Joanna Bednarz, Paweł Szot, Bartosz Janda, Paweł Kania, Michał Myśliwiec, Ewelina Cyło, and Mateusz Nicpoń</a>. All rights reserved. (Last updated: 2019-08-25)</p>
          <p>Generated by <a class="link" href="https://github.com/realm/jazzy" target="_blank" rel="external">jazzy ♪♫ v0.10.0</a>, a <a class="link" href="https://realm.io" target="_blank" rel="external">Realm</a> project.</p>
        </section>
      </article>
    </div>
  </body>
</div>
</html>
