Add Debug menu test for crash report sending.
This commit is contained in:
parent
3b7fe2e3ab
commit
d6501af4fe
|
@ -480,6 +480,12 @@ class AppDelegate: NSObject, NSApplicationDelegate, NSUserInterfaceValidations,
|
|||
#endif
|
||||
}
|
||||
|
||||
@IBAction func debugTestCrashReportSending(_ sender: Any?) {
|
||||
#if DEBUG
|
||||
CrashReporter.sendCrashLogText("This is a test. Hi, Brent.")
|
||||
#endif
|
||||
}
|
||||
|
||||
@IBAction func gotoToday(_ sender: Any?) {
|
||||
|
||||
createAndShowMainWindow()
|
||||
|
|
|
@ -441,18 +441,24 @@
|
|||
</menuItem>
|
||||
<menuItem title="Debug" id="UqE-mp-gtV" userLabel="Debug">
|
||||
<modifierMask key="keyEquivalentModifierMask"/>
|
||||
<menu key="submenu" title="Debug" id="s1g-zr-8Oi">
|
||||
<menu key="submenu" title="Debug" id="NOT-8E-ykF">
|
||||
<items>
|
||||
<menuItem title="Drop Conditional Get Info" id="ek9-OK-xbc">
|
||||
<menuItem title="Drop Conditional Get Info" id="btO-Tb-2qS">
|
||||
<modifierMask key="keyEquivalentModifierMask"/>
|
||||
<connections>
|
||||
<action selector="debugDropConditionalGetInfo:" target="Voe-Tx-rLC" id="MTC-K8-rkx"/>
|
||||
<action selector="debugDropConditionalGetInfo:" target="Voe-Tx-rLC" id="X24-9X-rwG"/>
|
||||
</connections>
|
||||
</menuItem>
|
||||
<menuItem title="Test Crash Reporter Window" id="Taw-kN-HFc">
|
||||
<menuItem title="Test Crash Reporter Window" id="gVd-kQ-efj">
|
||||
<modifierMask key="keyEquivalentModifierMask"/>
|
||||
<connections>
|
||||
<action selector="debugTestCrashReporterWindow:" target="Ady-hI-5gd" id="QNm-AM-i7p"/>
|
||||
<action selector="debugTestCrashReporterWindow:" target="Ady-hI-5gd" id="v4U-8D-e5t"/>
|
||||
</connections>
|
||||
</menuItem>
|
||||
<menuItem title="Test Crash Log Sender" id="XJG-gO-OKi">
|
||||
<modifierMask key="keyEquivalentModifierMask"/>
|
||||
<connections>
|
||||
<action selector="debugTestCrashReportSending:" target="Ady-hI-5gd" id="olQ-kb-kkm"/>
|
||||
</connections>
|
||||
</menuItem>
|
||||
</items>
|
||||
|
@ -579,7 +585,7 @@
|
|||
</menu>
|
||||
<customObject id="5Wg-Cw-OOw" customClass="SUUpdater"/>
|
||||
</objects>
|
||||
<point key="canvasLocation" x="75" y="0.0"/>
|
||||
<point key="canvasLocation" x="-54" y="-144"/>
|
||||
</scene>
|
||||
</scenes>
|
||||
</document>
|
||||
|
|
Loading…
Reference in New Issue