Commit Graph
8 Commits
Author SHA1 Message Date
Maksym Malyhin cd8938d3c7 Enable code coverage for AllUnitTests_iOS target (#2450)
* Enable code coverage for `AllUnitTests_iOS`

* FIRAuthAppDelegateProxyTests: fix for test of a delegate with no implemented methods.

Issue:
After deallocating of the proxy [delegate application:_mockApplication openURL:_url options:@{}] starts returning either YES or NO.
The issue is reproducible only when Code Coverage is enabled for AllUnitTests_iOS target.
Possible reason:
-[FIRAuthAppDelegateProxy dealloc] replaces implementation of the methods that were not implemented in the original delegate by `noop` function that doesn't have a return value.
Fix:
Ignore return value in the tests. The case is unlikely to happen in a real application.

* Code formatting
2019-02-27 14:30:12 -05:00
Paul Beusterien 42c5ae17fc Open source InstanceID (#2414) 2019-02-21 10:51:38 -08:00
Paul Beusterien c27db6d477 Fix analyze errors (#2047) 2018-11-05 13:07:22 -08:00
Paul Beusterien c724f9d1e8 Open Source FirebaseDynamicLinks (#1842) 2018-09-19 12:08:51 -07:00
Paul Beusterien 66c1142f61 Disable sanitizers (#1456) 2018-06-26 09:35:50 -07:00
Paul Beusterien d897c43472 Always run sanitizers with AllUnitTests_iOS (#1447)
* Always run sanitizers with AllUnitTests_iOS
* increase timeout value
2018-06-25 17:19:02 -07:00
Paul Beusterien 03b45533db Add Analytics test target and build tests for deprecated headers (#520) 2017-12-01 15:08:29 -08:00
Mathew Huusko V 5c59342e6e macOS (#38)
* Example/Core: create macOS app/tests target

* Example/Core: Core_Example/Tests -> Core_Example/Tests_iOS

* Example/Core: macOS building/tests passing

* Example/Database: separate iOS/macOS targets

* BuildFrameworks: macOS

* .travis.yml, test.sh: AllUnitTests -> AllUnitTests_iOS

* test.sh: add AllUnitTests_macOS

* Example/Storage: Example/Tests->_iOS

* Example/Storage: macOS

* test.sh: try to prevent double error 65

* test.sh: build before test

* Example/Auth|Messaging: -> _iOS

* Example/Auth: macOS build

* Example/Auth: macOS passing

* Example/Firebase: pod de/re-integrate; fix static DerivedData references; copy phase for OCMock

* Example/Firebase: manually copied OCMock, Products Dir vs. Frameworks

* Example/Firebase: copied OCMock, prevent header removal

* Example/Storage: integration tests sdk fix

* Example/Auth: macOS exclude FIRAuthAppCredentialManager; cleanup

* Firebase/Core: remove nullability annotation

* Firebase/Core|Database: correct TARGET_X usage for correctness and anticipation of OS_WATCH|TV branches

* build.swift: style fix

* Firebase/Core: FIRLogger: fix macOS intermittent va_list error
2017-06-02 10:42:17 -07:00