Skip to content
This repository has been archived by the owner on Sep 20, 2023. It is now read-only.

Integrated GitHub Actions support (kinda) #2828

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

LuanAdemi
Copy link

@LuanAdemi LuanAdemi commented Sep 8, 2019

GitHub recently introduced GitHub Actions, a CI service integrated into GitHub.

After setting it up in one of my projects, I noticed that my GitHawk app was unable to display my Inbox.

So here is a quick fix, for this problem.

  • this pull request fixes the decoding problem of the new notification reason called Checksuite and makes it possible to display it.
  • adds a new icon for the new notification type
  • redirects the user to the actions page of the repository when clicked on the notification

Here is a screenshot of the new notification type displayed by the GitHawk app

Caution!
Here are some problem this pull request has

  • I don't have the capabilities to fully test this pull request. I only tested this on a Xcode simulator
  • since I am not able to invest much time, I used the function presentSafari(URL url) to show the actions page of the origin repository. This is probably the only way to show the user whether the workflow run succeeded or failed, since the notification request response does not contain any information about it

Here is the log of the test run

Test Suite 'FreetimeTests.xctest' started at 2019-09-08 20:35:53.348
Test Suite 'BookmarkCloudMigratorTests' started at 2019-09-08 20:35:53.378
Test Case '-[FreetimeTests.BookmarkCloudMigratorTests test_afterError_needMigration]' started.
Test Case '-[FreetimeTests.BookmarkCloudMigratorTests test_afterError_needMigration]' passed (0.006 seconds).
Test Case '-[FreetimeTests.BookmarkCloudMigratorTests test_afterSuccess_doesntNeedMigration]' started.
Test Case '-[FreetimeTests.BookmarkCloudMigratorTests test_afterSuccess_doesntNeedMigration]' passed (0.002 seconds).
Test Case '-[FreetimeTests.BookmarkCloudMigratorTests test_initWithEmptyOldValues]' started.
Test Case '-[FreetimeTests.BookmarkCloudMigratorTests test_initWithEmptyOldValues]' passed (0.001 seconds).
Test Case '-[FreetimeTests.BookmarkCloudMigratorTests test_initWithOldValues]' started.
Test Case '-[FreetimeTests.BookmarkCloudMigratorTests test_initWithOldValues]' passed (0.001 seconds).
Test Case '-[FreetimeTests.BookmarkCloudMigratorTests test_initWithUnsupportedValues]' started.
Test Case '-[FreetimeTests.BookmarkCloudMigratorTests test_initWithUnsupportedValues]' passed (0.001 seconds).
Test Suite 'BookmarkCloudMigratorTests' passed at 2019-09-08 20:35:53.394.
Executed 5 tests, with 0 failures (0 unexpected) in 0.011 (0.016) seconds
Test Suite 'BookmarkIDCloudStoreTests' started at 2019-09-08 20:35:53.395
Test Case '-[FreetimeTests.BookmarkIDCloudStoreTests test_onRemove]' started.
Test Case '-[FreetimeTests.BookmarkIDCloudStoreTests test_onRemove]' passed (0.003 seconds).
Test Case '-[FreetimeTests.BookmarkIDCloudStoreTests test_whenAdd_thatListenerNotified]' started.
Test Case '-[FreetimeTests.BookmarkIDCloudStoreTests test_whenAdd_thatListenerNotified]' passed (0.003 seconds).
Test Case '-[FreetimeTests.BookmarkIDCloudStoreTests test_whenAddArray_thatListenerNotified]' started.
Test Case '-[FreetimeTests.BookmarkIDCloudStoreTests test_whenAddArray_thatListenerNotified]' passed (0.004 seconds).
Test Suite 'BookmarkIDCloudStoreTests' passed at 2019-09-08 20:35:53.408.
Executed 3 tests, with 0 failures (0 unexpected) in 0.010 (0.013) seconds
Test Suite 'BookmarkViewControllerTests' started at 2019-09-08 20:35:53.409
Test Case '-[FreetimeTests.BookmarkViewControllerTests test_whenEmptyMigrationResults_withNoData_thatEmptyViewDisplayed]' started.
Test Case '-[FreetimeTests.BookmarkViewControllerTests test_whenEmptyMigrationResults_withNoData_thatEmptyViewDisplayed]' passed (0.097 seconds).
Test Case '-[FreetimeTests.BookmarkViewControllerTests test_whenFetchError_thatEmptyViewDisplayed]' started.
Test Case '-[FreetimeTests.BookmarkViewControllerTests test_whenFetchError_thatEmptyViewDisplayed]' passed (0.112 seconds).
Test Case '-[FreetimeTests.BookmarkViewControllerTests test_whenFetchReturnsModels_thatCellsExist]' started.
Test Case '-[FreetimeTests.BookmarkViewControllerTests test_whenFetchReturnsModels_thatCellsExist]' passed (0.187 seconds).
Test Case '-[FreetimeTests.BookmarkViewControllerTests test_whenMigrationError_thatMigrationButtonDisplayed]' started.
2019-09-08 20:35:53.851210+0200 Freetime[64413:1023490] Warning: Attempt to present <UIAlertController: 0x7fb69683ea00> on <Freetime.BookmarkViewController: 0x7fb6978a7000> whose view is not in the window hierarchy!
Test Case '-[FreetimeTests.BookmarkViewControllerTests test_whenMigrationError_thatMigrationButtonDisplayed]' passed (0.100 seconds).
Test Case '-[FreetimeTests.BookmarkViewControllerTests test_whenMigrationInProgress_thatLoadingViewDisplayed]' started.
Test Case '-[FreetimeTests.BookmarkViewControllerTests test_whenMigrationInProgress_thatLoadingViewDisplayed]' passed (0.028 seconds).
Test Case '-[FreetimeTests.BookmarkViewControllerTests test_whenNoMigration_withNoData_thatEmptyViewDisplayed]' started.
Test Case '-[FreetimeTests.BookmarkViewControllerTests test_whenNoMigration_withNoData_thatEmptyViewDisplayed]' passed (0.047 seconds).
Test Suite 'BookmarkViewControllerTests' passed at 2019-09-08 20:35:53.988.
Executed 6 tests, with 0 failures (0 unexpected) in 0.572 (0.580) seconds
Test Suite 'ContentWidthUtilsTests' started at 2019-09-08 20:35:53.991
Test Case '-[FreetimeTests.ContentWidthUtilsTests test_collectionViewFrameWidth]' started.
Test Case '-[FreetimeTests.ContentWidthUtilsTests test_collectionViewFrameWidth]' passed (0.006 seconds).
Test Case '-[FreetimeTests.ContentWidthUtilsTests test_listKit]' started.
Test Case '-[FreetimeTests.ContentWidthUtilsTests test_listKit]' passed (0.022 seconds).
Test Suite 'ContentWidthUtilsTests' passed at 2019-09-08 20:35:54.023.
Executed 2 tests, with 0 failures (0 unexpected) in 0.028 (0.032) seconds
Test Suite 'DetectShortlinkTests' started at 2019-09-08 20:35:54.031
Test Case '-[FreetimeTests.DetectShortlinkTests test_ConsecutivePositiveMatches]' started.
Test Case '-[FreetimeTests.DetectShortlinkTests test_ConsecutivePositiveMatches]' passed (0.035 seconds).
Test Case '-[FreetimeTests.DetectShortlinkTests test_negativeMatches]' started.
Test Case '-[FreetimeTests.DetectShortlinkTests test_negativeMatches]' passed (0.004 seconds).
Test Case '-[FreetimeTests.DetectShortlinkTests test_positiveMatches]' started.
Test Case '-[FreetimeTests.DetectShortlinkTests test_positiveMatches]' passed (0.010 seconds).
Test Suite 'DetectShortlinkTests' passed at 2019-09-08 20:35:54.090.
Executed 3 tests, with 0 failures (0 unexpected) in 0.050 (0.058) seconds
Test Suite 'EmojiTests' started at 2019-09-08 20:35:54.093
Test Case '-[FreetimeTests.EmojiTests test_replacingEmoji]' started.
:0: Test Case '-[FreetimeTests.EmojiTests test_replacingEmoji]' measured [Time, seconds] average: 0.007, relative standard deviation: 171.926%, values: [0.042859, 0.003113, 0.002929, 0.002750, 0.002725, 0.002726, 0.002808, 0.003798, 0.002917, 0.002994], performanceMetricID:com.apple.XCTPerformanceMetric_WallClockTime, baselineName: "", baselineAverage: , maxPercentRegression: 10.000%, maxPercentRelativeStandardDeviation: 10.000%, maxRegression: 0.100, maxStandardDeviation: 0.100
Test Case '-[FreetimeTests.EmojiTests test_replacingEmoji]' passed (2.390 seconds).
Test Suite 'EmojiTests' passed at 2019-09-08 20:35:56.488.
Executed 1 test, with 0 failures (0 unexpected) in 2.390 (2.394) seconds
Test Suite 'FilePathTests' started at 2019-09-08 20:35:56.488
Test Case '-[FreetimeTests.FilePathTests test_appending]' started.
Test Case '-[FreetimeTests.FilePathTests test_appending]' passed (0.001 seconds).
Test Case '-[FreetimeTests.FilePathTests test_initWithNoComponents]' started.
Test Case '-[FreetimeTests.FilePathTests test_initWithNoComponents]' passed (0.001 seconds).
Test Case '-[FreetimeTests.FilePathTests test_withOneComponent]' started.
Test Case '-[FreetimeTests.FilePathTests test_withOneComponent]' passed (0.006 seconds).
Test Case '-[FreetimeTests.FilePathTests test_withThreeComponents]' started.
Test Case '-[FreetimeTests.FilePathTests test_withThreeComponents]' passed (0.007 seconds).
Test Case '-[FreetimeTests.FilePathTests test_withTwoComponents]' started.
Test Case '-[FreetimeTests.FilePathTests test_withTwoComponents]' passed (0.001 seconds).
Test Suite 'FilePathTests' passed at 2019-09-08 20:35:56.506.
Executed 5 tests, with 0 failures (0 unexpected) in 0.015 (0.017) seconds
Test Suite 'GithubURLTests' started at 2019-09-08 20:35:56.506
Test Case '-[FreetimeTests.GithubURLTests test_codeBlob]' started.
Test Case '-[FreetimeTests.GithubURLTests test_codeBlob]' passed (0.001 seconds).
Test Suite 'GithubURLTests' passed at 2019-09-08 20:35:56.508.
Executed 1 test, with 0 failures (0 unexpected) in 0.001 (0.002) seconds
Test Suite 'GraphQLIDDecodeTests' started at 2019-09-08 20:35:56.508
Test Case '-[FreetimeTests.GraphQLIDDecodeTests test_whenDecodingIssueComment_thatNumberReturned]' started.
Test Case '-[FreetimeTests.GraphQLIDDecodeTests test_whenDecodingIssueComment_thatNumberReturned]' passed (0.001 seconds).
Test Suite 'GraphQLIDDecodeTests' passed at 2019-09-08 20:35:56.512.
Executed 1 test, with 0 failures (0 unexpected) in 0.001 (0.004) seconds
Test Suite 'InboxZeroLoaderTests' started at 2019-09-08 20:35:56.513
Test Case '-[FreetimeTests.InboxZeroLoaderTests test_defaultMessage]' started.
Test Case '-[FreetimeTests.InboxZeroLoaderTests test_defaultMessage]' passed (0.005 seconds).
Test Case '-[FreetimeTests.InboxZeroLoaderTests test_fixedDate]' started.
Test Case '-[FreetimeTests.InboxZeroLoaderTests test_fixedDate]' passed (0.001 seconds).
Test Case '-[FreetimeTests.InboxZeroLoaderTests test_particularDate]' started.
Test Case '-[FreetimeTests.InboxZeroLoaderTests test_particularDate]' passed (0.001 seconds).
Test Suite 'InboxZeroLoaderTests' passed at 2019-09-08 20:35:56.523.
Executed 3 tests, with 0 failures (0 unexpected) in 0.007 (0.009) seconds
Test Suite 'InitialEmptyViewTests' started at 2019-09-08 20:35:56.523
Test Case '-[FreetimeTests.InitialEmptyViewTests test_onTap]' started.
Test Case '-[FreetimeTests.InitialEmptyViewTests test_onTap]' passed (0.002 seconds).
Test Suite 'InitialEmptyViewTests' passed at 2019-09-08 20:35:56.527.
Executed 1 test, with 0 failures (0 unexpected) in 0.002 (0.003) seconds
Test Suite 'IssueLabelCellTests' started at 2019-09-08 20:35:56.527
Test Case '-[FreetimeTests.IssueLabelCellTests test_background_styling]' started.
Test Case '-[FreetimeTests.IssueLabelCellTests test_background_styling]' passed (0.003 seconds).
Test Case '-[FreetimeTests.IssueLabelCellTests test_bindViewModel_invalidViewModel]' started.
Test Case '-[FreetimeTests.IssueLabelCellTests test_bindViewModel_invalidViewModel]' passed (0.002 seconds).
Test Case '-[FreetimeTests.IssueLabelCellTests test_bindViewModel_repsitoryLabelViewModel]' started.
Test Case '-[FreetimeTests.IssueLabelCellTests test_bindViewModel_repsitoryLabelViewModel]' passed (0.004 seconds).
Test Case '-[FreetimeTests.IssueLabelCellTests test_label_styling]' started.
Test Case '-[FreetimeTests.IssueLabelCellTests test_label_styling]' passed (0.002 seconds).
Test Suite 'IssueLabelCellTests' passed at 2019-09-08 20:35:56.540.
Executed 4 tests, with 0 failures (0 unexpected) in 0.011 (0.013) seconds
Test Suite 'IssueTests' started at 2019-09-08 20:35:56.541
Test Case '-[FreetimeTests.IssueTests test_linkContainingBrackets]' started.
Test Case '-[FreetimeTests.IssueTests test_linkContainingBrackets]' passed (0.011 seconds).
Test Case '-[FreetimeTests.IssueTests test_URLThatContainsIssueReferenceLinkInDescription]' started.
Test Case '-[FreetimeTests.IssueTests test_URLThatContainsIssueReferenceLinkInDescription]' passed (0.003 seconds).
Test Case '-[FreetimeTests.IssueTests test_whenCheckmarks]' started.
Test Case '-[FreetimeTests.IssueTests test_whenCheckmarks]' passed (0.014 seconds).
Test Case '-[FreetimeTests.IssueTests test_whenCodeBlock_withLanguage_withSurroundedByText]' started.
Test Case '-[FreetimeTests.IssueTests test_whenCodeBlock_withLanguage_withSurroundedByText]' passed (0.083 seconds).
Test Case '-[FreetimeTests.IssueTests test_whenCodeBlock_withoutLanguage_withSurroundedByText]' started.
Test Case '-[FreetimeTests.IssueTests test_whenCodeBlock_withoutLanguage_withSurroundedByText]' passed (0.003 seconds).
Test Case '-[FreetimeTests.IssueTests test_whenCodePartOfParagraph]' started.
Test Case '-[FreetimeTests.IssueTests test_whenCodePartOfParagraph]' passed (0.002 seconds).
Test Case '-[FreetimeTests.IssueTests test_whenImageAtTheBeginning]' started.
Test Case '-[FreetimeTests.IssueTests test_whenImageAtTheBeginning]' passed (0.002 seconds).
Test Case '-[FreetimeTests.IssueTests test_whenImageAtTheEnd]' started.
Test Case '-[FreetimeTests.IssueTests test_whenImageAtTheEnd]' passed (0.002 seconds).
Test Case '-[FreetimeTests.IssueTests test_whenImageEmbeddedInCode]' started.
Test Case '-[FreetimeTests.IssueTests test_whenImageEmbeddedInCode]' passed (0.031 seconds).
Test Case '-[FreetimeTests.IssueTests test_whenImageInTheMiddle]' started.
Test Case '-[FreetimeTests.IssueTests test_whenImageInTheMiddle]' passed (0.003 seconds).
Test Case '-[FreetimeTests.IssueTests test_whenMultipleImages_withSurroundedByText]' started.
Test Case '-[FreetimeTests.IssueTests test_whenMultipleImages_withSurroundedByText]' passed (0.004 seconds).
Test Case '-[FreetimeTests.IssueTests test_whenOnlyOneImage]' started.
Test Case '-[FreetimeTests.IssueTests test_whenOnlyOneImage]' passed (0.001 seconds).
Test Case '-[FreetimeTests.IssueTests test_whenPluckingSubstring_withNewlines]' started.
Test Case '-[FreetimeTests.IssueTests test_whenPluckingSubstring_withNewlines]' passed (0.007 seconds).
Test Case '-[FreetimeTests.IssueTests test_whenPluckingSubstringFromRange]' started.
Test Case '-[FreetimeTests.IssueTests test_whenPluckingSubstringFromRange]' passed (0.001 seconds).
Test Case '-[FreetimeTests.IssueTests test_whenQuote]' started.
Test Case '-[FreetimeTests.IssueTests test_whenQuote]' passed (0.006 seconds).
Test Case '-[FreetimeTests.IssueTests test_whenSoftBreak]' started.
Test Case '-[FreetimeTests.IssueTests test_whenSoftBreak]' passed (0.002 seconds).
Test Suite 'IssueTests' passed at 2019-09-08 20:35:56.723.
Executed 16 tests, with 0 failures (0 unexpected) in 0.174 (0.182) seconds
Test Suite 'LocalNotificationCacheTests' started at 2019-09-08 20:35:56.724
Test Case '-[FreetimeTests.LocalNotificationCacheTests test_whenNoNotifications_thatNothingReturned]' started.
“test_whenNoNotifications_thatNothingReturned.sqlite” couldn’t be removed.
path: /Users/LuanAdemi/Library/Developer/CoreSimulator/Devices/A3633A18-F189-4938-93D1-02BE33D2C758/data/Containers/Data/Application/B3DD7EE3-6EF1-4EF4-A847-6915329044A2/Documents/test_whenNoNotifications_thatNothingReturned.sqlite
Test Case '-[FreetimeTests.LocalNotificationCacheTests test_whenNoNotifications_thatNothingReturned]' passed (0.008 seconds).
Test Case '-[FreetimeTests.LocalNotificationCacheTests test_whenUpdating_thatReadFirstTime_thenSecondCallEmpty]' started.
“test_whenUpdating_thatReadFirstTime_thenSecondCallEmpty.sqlite” couldn’t be removed.
path: /Users/LuanAdemi/Library/Developer/CoreSimulator/Devices/A3633A18-F189-4938-93D1-02BE33D2C758/data/Containers/Data/Application/B3DD7EE3-6EF1-4EF4-A847-6915329044A2/Documents/test_whenUpdating_thatReadFirstTime_thenSecondCallEmpty.sqlite
Test Case '-[FreetimeTests.LocalNotificationCacheTests test_whenUpdating_thatReadFirstTime_thenSecondCallEmpty]' passed (0.009 seconds).
Test Case '-[FreetimeTests.LocalNotificationCacheTests test_whenUpdatingWithSameNotificationWithUpdatedTime_thatNotificationReceived]' started.
“test_whenUpdatingWithSameNotificationWithUpdatedTime_thatNotificationReceived.sqlite” couldn’t be removed.
path: /Users/LuanAdemi/Library/Developer/CoreSimulator/Devices/A3633A18-F189-4938-93D1-02BE33D2C758/data/Containers/Data/Application/B3DD7EE3-6EF1-4EF4-A847-6915329044A2/Documents/test_whenUpdatingWithSameNotificationWithUpdatedTime_thatNotificationReceived.sqlite
Test Case '-[FreetimeTests.LocalNotificationCacheTests test_whenUpdatingWithSameNotificationWithUpdatedTime_thatNotificationReceived]' passed (0.007 seconds).
Test Suite 'LocalNotificationCacheTests' passed at 2019-09-08 20:35:56.751.
Executed 3 tests, with 0 failures (0 unexpected) in 0.025 (0.027) seconds
Test Suite 'MergeTests' started at 2019-09-08 20:35:56.751
Test Case '-[FreetimeTests.MergeTests test_mergeStatuses_containsError]' started.
Test Case '-[FreetimeTests.MergeTests test_mergeStatuses_containsError]' passed (0.001 seconds).
Test Case '-[FreetimeTests.MergeTests test_mergeStatuses_containsFailure]' started.
Test Case '-[FreetimeTests.MergeTests test_mergeStatuses_containsFailure]' passed (0.001 seconds).
Test Case '-[FreetimeTests.MergeTests test_mergeStatuses_containsFailure_andError]' started.
Test Case '-[FreetimeTests.MergeTests test_mergeStatuses_containsFailure_andError]' passed (0.001 seconds).
Test Case '-[FreetimeTests.MergeTests test_mergeStatuses_containsOnlyError]' started.
Test Case '-[FreetimeTests.MergeTests test_mergeStatuses_containsOnlyError]' passed (0.001 seconds).
Test Case '-[FreetimeTests.MergeTests test_mergeStatuses_containsOnlyFailure]' started.
Test Case '-[FreetimeTests.MergeTests test_mergeStatuses_containsOnlyFailure]' passed (0.001 seconds).
Test Case '-[FreetimeTests.MergeTests test_mergeStatuses_containsOnlySuccess]' started.
Test Case '-[FreetimeTests.MergeTests test_mergeStatuses_containsOnlySuccess]' passed (0.001 seconds).
Test Case '-[FreetimeTests.MergeTests test_mergeStatuses_containsPending_butNoErrorOrFailure]' started.
Test Case '-[FreetimeTests.MergeTests test_mergeStatuses_containsPending_butNoErrorOrFailure]' passed (0.001 seconds).
Test Suite 'MergeTests' passed at 2019-09-08 20:35:56.760.
Executed 7 tests, with 0 failures (0 unexpected) in 0.006 (0.009) seconds
Test Suite 'ReactionTests' started at 2019-09-08 20:35:56.761
Test Case '-[FreetimeTests.ReactionTests test_detailText]' started.
Test Case '-[FreetimeTests.ReactionTests test_detailText]' passed (0.003 seconds).
Test Case '-[FreetimeTests.ReactionTests test_labelContainsViewer]' started.
Test Case '-[FreetimeTests.ReactionTests test_labelContainsViewer]' passed (0.002 seconds).
Test Case '-[FreetimeTests.ReactionTests test_userCountCapsAtThree]' started.
Test Case '-[FreetimeTests.ReactionTests test_userCountCapsAtThree]' passed (0.001 seconds).
Test Case '-[FreetimeTests.ReactionTests test_whenModelCountAndUserCountMismatch]' started.
Test Case '-[FreetimeTests.ReactionTests test_whenModelCountAndUserCountMismatch]' passed (0.000 seconds).
Test Suite 'ReactionTests' passed at 2019-09-08 20:35:56.769.
Executed 4 tests, with 0 failures (0 unexpected) in 0.006 (0.008) seconds
Test Suite 'SearchQueryTests' started at 2019-09-08 20:35:56.770
Test Case '-[FreetimeTests.SearchQueryTests test_encodesAndDecodes_recentlyViewed]' started.
Test Case '-[FreetimeTests.SearchQueryTests test_encodesAndDecodes_recentlyViewed]' passed (0.024 seconds).
Test Case '-[FreetimeTests.SearchQueryTests test_encodesAndDecodes_search]' started.
Test Case '-[FreetimeTests.SearchQueryTests test_encodesAndDecodes_search]' passed (0.001 seconds).
Test Case '-[FreetimeTests.SearchQueryTests test_equality]' started.
Test Case '-[FreetimeTests.SearchQueryTests test_equality]' passed (0.003 seconds).
Test Suite 'SearchQueryTests' passed at 2019-09-08 20:35:56.800.
Executed 3 tests, with 0 failures (0 unexpected) in 0.028 (0.030) seconds
Test Suite 'SearchRecentStoreTests' started at 2019-09-08 20:35:56.800
Test Case '-[FreetimeTests.SearchRecentStoreTests test_add_canReorderObjects]' started.
Test Case '-[FreetimeTests.SearchRecentStoreTests test_add_canReorderObjects]' passed (0.005 seconds).
Test Case '-[FreetimeTests.SearchRecentStoreTests test_clear_removesAllObjects]' started.
Test Case '-[FreetimeTests.SearchRecentStoreTests test_clear_removesAllObjects]' passed (0.002 seconds).
Test Case '-[FreetimeTests.SearchRecentStoreTests test_remove]' started.
Test Case '-[FreetimeTests.SearchRecentStoreTests test_remove]' passed (0.002 seconds).
Test Case '-[FreetimeTests.SearchRecentStoreTests test_remove_takesNoAction_ifNotPresent]' started.
Test Case '-[FreetimeTests.SearchRecentStoreTests test_remove_takesNoAction_ifNotPresent]' passed (0.003 seconds).
Test Suite 'SearchRecentStoreTests' passed at 2019-09-08 20:35:56.815.
Executed 4 tests, with 0 failures (0 unexpected) in 0.012 (0.015) seconds
Test Suite 'SearchRecentViewModelTests' started at 2019-09-08 20:35:56.816
Test Case '-[FreetimeTests.SearchRecentViewModelTests test_displayText_recentlyViewed]' started.
Test Case '-[FreetimeTests.SearchRecentViewModelTests test_displayText_recentlyViewed]' passed (0.001 seconds).
Test Case '-[FreetimeTests.SearchRecentViewModelTests test_displayText_recentlyViewed_styling]' started.
Test Case '-[FreetimeTests.SearchRecentViewModelTests test_displayText_recentlyViewed_styling]' passed (0.001 seconds).
Test Case '-[FreetimeTests.SearchRecentViewModelTests test_displayText_searchQuery]' started.
Test Case '-[FreetimeTests.SearchRecentViewModelTests test_displayText_searchQuery]' passed (0.001 seconds).
Test Case '-[FreetimeTests.SearchRecentViewModelTests test_displayText_searchQuery_styling]' started.
Test Case '-[FreetimeTests.SearchRecentViewModelTests test_displayText_searchQuery_styling]' passed (0.001 seconds).
Test Case '-[FreetimeTests.SearchRecentViewModelTests test_icon_recentlyViewed]' started.
Test Case '-[FreetimeTests.SearchRecentViewModelTests test_icon_recentlyViewed]' passed (0.001 seconds).
Test Case '-[FreetimeTests.SearchRecentViewModelTests test_icon_search]' started.
Test Case '-[FreetimeTests.SearchRecentViewModelTests test_icon_search]' passed (0.001 seconds).
Test Suite 'SearchRecentViewModelTests' passed at 2019-09-08 20:35:56.823.
Executed 6 tests, with 0 failures (0 unexpected) in 0.005 (0.008) seconds
Test Suite 'SecretsTests' started at 2019-09-08 20:35:56.824
Test Case '-[FreetimeTests.SecretsTests testSecrets]' started.
‼️ Missing Environment Variable: 'IMGUR_CLIENT_ID'
/Users/LuanAdemi/Desktop/Schreibtisch/Programieren/GitHawk/FreetimeTests/SecretsTests.swift:27: error: -[FreetimeTests.SecretsTests testSecrets] : XCTAssertNotEqual failed: ("{IMGURID}") is equal to ("{IMGURID}")
Test Case '-[FreetimeTests.SecretsTests testSecrets]' failed (0.004 seconds).
Test Suite 'SecretsTests' failed at 2019-09-08 20:35:56.829.
Executed 1 test, with 1 failure (0 unexpected) in 0.004 (0.005) seconds
Test Suite 'SequenceTests' started at 2019-09-08 20:35:56.830
Test Case '-[FreetimeTests.SequenceTests test_containsAll]' started.
Test Case '-[FreetimeTests.SequenceTests test_containsAll]' passed (0.001 seconds).
Test Case '-[FreetimeTests.SequenceTests test_containsNone]' started.
Test Case '-[FreetimeTests.SequenceTests test_containsNone]' passed (0.001 seconds).
Test Case '-[FreetimeTests.SequenceTests test_emptySequence]' started.
Test Case '-[FreetimeTests.SequenceTests test_emptySequence]' passed (0.001 seconds).
Test Suite 'SequenceTests' passed at 2019-09-08 20:35:56.834.
Executed 3 tests, with 0 failures (0 unexpected) in 0.002 (0.004) seconds
Test Suite 'SignatureTests' started at 2019-09-08 20:35:56.834
Test Case '-[FreetimeTests.SignatureTests test_enabled_customSetter]' started.
Test Case '-[FreetimeTests.SignatureTests test_enabled_customSetter]' passed (0.001 seconds).
Test Case '-[FreetimeTests.SignatureTests test_signed_disabledSignature]' started.
Test Case '-[FreetimeTests.SignatureTests test_signed_disabledSignature]' passed (0.001 seconds).
Test Case '-[FreetimeTests.SignatureTests test_signed_enabledSignature]' started.
Test Case '-[FreetimeTests.SignatureTests test_signed_enabledSignature]' passed (0.001 seconds).
Test Suite 'SignatureTests' passed at 2019-09-08 20:35:56.841.
Executed 3 tests, with 0 failures (0 unexpected) in 0.003 (0.006) seconds
Test Suite 'SplitViewTests' started at 2019-09-08 20:35:56.841
Test Case '-[FreetimeTests.SplitViewTests test_whenCollapsing_withPlaceholderStackedOnDetail_thatVCsStackedWithoutPlaceholder]' started.
Test Case '-[FreetimeTests.SplitViewTests test_whenCollapsing_withPlaceholderStackedOnDetail_thatVCsStackedWithoutPlaceholder]' passed (0.015 seconds).
Test Case '-[FreetimeTests.SplitViewTests test_whenCollapsing_withVCsStackedOnMasterAndDetail_thatVCsStackedOnSelectedNav]' started.
Test Case '-[FreetimeTests.SplitViewTests test_whenCollapsing_withVCsStackedOnMasterAndDetail_thatVCsStackedOnSelectedNav]' passed (0.043 seconds).
Test Case '-[FreetimeTests.SplitViewTests test_whenSeparating_withPrimaryAndOtherVCs_thatSplitVCIsSeparated_andResultHasNonPrimary]' started.
Test Case '-[FreetimeTests.SplitViewTests test_whenSeparating_withPrimaryAndOtherVCs_thatSplitVCIsSeparated_andResultHasNonPrimary]' passed (0.011 seconds).
Test Case '-[FreetimeTests.SplitViewTests test_whenSeparating_withSinglePrimary_thatSplitVCIsSeparated_andResultHasPlaceholder]' started.
Test Case '-[FreetimeTests.SplitViewTests test_whenSeparating_withSinglePrimary_thatSplitVCIsSeparated_andResultHasPlaceholder]' passed (0.009 seconds).
Test Suite 'SplitViewTests' passed at 2019-09-08 20:35:57.090.
Executed 4 tests, with 0 failures (0 unexpected) in 0.079 (0.249) seconds
Test Suite 'SwitchBranches' started at 2019-09-08 20:35:57.091
Test Case '-[FreetimeTests.SwitchBranches test_branchesOrderAfterFetch]' started.
Test Case '-[FreetimeTests.SwitchBranches test_branchesOrderAfterFetch]' passed (0.001 seconds).
Test Suite 'SwitchBranches' passed at 2019-09-08 20:35:57.093.
Executed 1 test, with 0 failures (0 unexpected) in 0.001 (0.002) seconds
Test Suite 'URLBuilderTests' started at 2019-09-08 20:35:57.093
Test Case '-[FreetimeTests.URLBuilderTests test_basicURL]' started.
Test Case '-[FreetimeTests.URLBuilderTests test_basicURL]' passed (0.001 seconds).
Test Case '-[FreetimeTests.URLBuilderTests test_basicURL_withHTTP]' started.
Test Case '-[FreetimeTests.URLBuilderTests test_basicURL_withHTTP]' passed (0.001 seconds).
Test Case '-[FreetimeTests.URLBuilderTests test_withAnchorSymbol]' started.
Test Case '-[FreetimeTests.URLBuilderTests test_withAnchorSymbol]' passed (0.001 seconds).
Test Case '-[FreetimeTests.URLBuilderTests test_withItems]' started.
Test Case '-[FreetimeTests.URLBuilderTests test_withItems]' passed (0.001 seconds).
Test Case '-[FreetimeTests.URLBuilderTests test_withNonStrings]' started.
Test Case '-[FreetimeTests.URLBuilderTests test_withNonStrings]' passed (0.001 seconds).
Test Case '-[FreetimeTests.URLBuilderTests test_withOnePath]' started.
Test Case '-[FreetimeTests.URLBuilderTests test_withOnePath]' passed (0.001 seconds).
Test Case '-[FreetimeTests.URLBuilderTests test_withSpaceInPath]' started.
Test Case '-[FreetimeTests.URLBuilderTests test_withSpaceInPath]' passed (0.003 seconds).
Test Case '-[FreetimeTests.URLBuilderTests test_withTwoPaths]' started.
Test Case '-[FreetimeTests.URLBuilderTests test_withTwoPaths]' passed (0.019 seconds).
Test Suite 'URLBuilderTests' passed at 2019-09-08 20:35:57.156.
Executed 8 tests, with 0 failures (0 unexpected) in 0.027 (0.063) seconds
Test Suite 'FreetimeTests.xctest' failed at 2019-09-08 20:35:57.157.
Executed 98 tests, with 1 failure (0 unexpected) in 3.469 (3.809) seconds
Test Suite 'FBSnapshotTestCase.framework' started at 2019-09-08 20:35:57.158
Test Suite 'FBSnapshotTestCase.framework' passed at 2019-09-08 20:35:57.158.
Executed 0 tests, with 0 failures (0 unexpected) in 0.000 (0.000) seconds
Test Suite 'All tests' failed at 2019-09-08 20:35:57.159.
Executed 98 tests, with 1 failure (0 unexpected) in 3.469 (3.828) seconds

@LuanAdemi LuanAdemi closed this Sep 13, 2019
@LuanAdemi LuanAdemi reopened this Sep 13, 2019
@ghost
Copy link

ghost commented Oct 29, 2019

Sent with GitHawk

@ROO7-SERVER
Copy link

#__

Sent with GitHawk

@ROO7-SERVER
Copy link

@

Sent with GitHawk

@ROO7-SERVER
Copy link

Sent with GitHawk

@ROO7-SERVER
Copy link


Sent with GitHawk

@sonnoiiza00
Copy link


Sent with GitHawk

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants