Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Renamed RollbarCrashReportTests to RollbarReportTests #314

Merged
merged 3 commits into from
Jul 21, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -14,23 +14,9 @@
buildForAnalyzing = "YES">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "RollbarNotifier"
BuildableName = "RollbarNotifier"
BlueprintName = "RollbarNotifier"
ReferencedContainer = "container:">
</BuildableReference>
</BuildActionEntry>
<BuildActionEntry
buildForTesting = "YES"
buildForRunning = "YES"
buildForProfiling = "YES"
buildForArchiving = "YES"
buildForAnalyzing = "YES">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "RollbarNotifier_RollbarCrashReportTests"
BuildableName = "RollbarNotifier_RollbarCrashReportTests"
BlueprintName = "RollbarNotifier_RollbarCrashReportTests"
BlueprintIdentifier = "RollbarCrash"
BuildableName = "RollbarCrash"
BlueprintName = "RollbarCrash"
ReferencedContainer = "container:">
</BuildableReference>
</BuildActionEntry>
Expand All @@ -42,23 +28,23 @@
buildForAnalyzing = "YES">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "RollbarCrash"
BuildableName = "RollbarCrash"
BlueprintName = "RollbarCrash"
BlueprintIdentifier = "RollbarNotifier"
BuildableName = "RollbarNotifier"
BlueprintName = "RollbarNotifier"
ReferencedContainer = "container:">
</BuildableReference>
</BuildActionEntry>
<BuildActionEntry
buildForTesting = "YES"
buildForRunning = "YES"
buildForProfiling = "YES"
buildForArchiving = "YES"
buildForAnalyzing = "YES">
buildForRunning = "NO"
buildForProfiling = "NO"
buildForArchiving = "NO"
buildForAnalyzing = "NO">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "RollbarCrashReport"
BuildableName = "RollbarCrashReport"
BlueprintName = "RollbarCrashReport"
BlueprintIdentifier = "RollbarReportTests"
BuildableName = "RollbarReportTests"
BlueprintName = "RollbarReportTests"
ReferencedContainer = "container:">
</BuildableReference>
</BuildActionEntry>
Expand Down Expand Up @@ -94,9 +80,9 @@
skipped = "NO">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "RollbarCrashReportTests"
BuildableName = "RollbarCrashReportTests"
BlueprintName = "RollbarCrashReportTests"
BlueprintIdentifier = "RollbarReportTests"
BuildableName = "RollbarReportTests"
BlueprintName = "RollbarReportTests"
ReferencedContainer = "container:">
</BuildableReference>
</TestableReference>
Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ private final class ISO8601Formatter: DateFormatter {

self.locale = .init(identifier: "en_US_POSIX")
self.dateFormat = "yyyy-MM-dd HH:mm:ss.SSS ZZZ"
self.timeZone = .init(secondsFromGMT: 0)
}
}

Expand Down
3 changes: 2 additions & 1 deletion RollbarNotifier/Tests/LinuxMain.swift
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
import XCTest

import RollbarNotifierTests
import RollbarReportTests

XCTMain([
RollbarNotifierTests.allTests(),
RollbarCrashReportTests.allTests(),
RollbarReportTests.allTests(),
])
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ Version: 4 (1.0)
Code Type: ARM-64
Parent Process: ? [54621]

Date/Time: 2023-02-15 23:09:40.723 -0300
Date/Time: 2023-02-16 02:09:40.723 +0000
OS Version: iOS 16.2 (22D68)
Report Version: 104

Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
#if !os(watchOS)
import XCTest
@testable import RollbarCrashReport
@testable import RollbarReport

final class RollbarCrashReportTests: XCTestCase {
final class RollbarReportTests: XCTestCase {

func testRollbarCrashReportDiagnostics() {
func testRollbarReportDiagnostics() {
let report = Bundle.module
.url(forResource: "crash.json", withExtension: .none)
.flatMap { try? Data(contentsOf: $0) }
Expand All @@ -31,7 +31,7 @@ final class RollbarCrashReportTests: XCTestCase {
}
}

func testRollbarCrashReportFormatting() {
func testRollbarReportFormatting() {
let diagnosedCrash = Bundle.module
.url(forResource: "diagnosed.json", withExtension: .none)
.flatMap { try! Data(contentsOf: $0) }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import XCTest
#if !canImport(ObjectiveC)
public func allTests() -> [XCTestCaseEntry] {
return [
testCase(RollbarCrashReportTests.allTests),
testCase(RollbarReportTests.allTests),
]
}
#endif
Expand Down