Ryan Wilson
260557691f
Add counter for errors and warnings logged. ( #1168 )
...
* Moved writes outside of dispatch_async block.
2018-04-25 06:45:36 -07:00
Benoit St-Pierre
9eea8d4fc4
Add unit tests for FirebaseCore ( #751 )
...
* Add unit tests for FIRMutableDictionary
Basic unit tests to increase overall code coverage.
* Add unit tests for FIRReachabilityChecker
Basic unit tests to increase overall test coverage.
* Add unit tests for FIRNetwork
Basic unit tests to increase overall test coverage.
This also includes a mock HTTP server to serve mock network responses
through the network stack.
* Remove +internal from imports
This was unnecessary.
* Move Example/Tests/Core/Utils files to Example/Tests/Core
This simplifies build files to include the correct dependencies
I had also missed some tvOS test fixes.
* PR Feedback
Fixed some style issues and updated GTMHTTPServer comments.
* Moved GTMHTTPServer.h into third_party directory
* Revert Firebase Xcode project for merging.
* Add tests to project file.
2018-04-19 15:56:11 -04:00
Ryan Wilson
7f0b04afa2
Fix version number reporting for minor versions. ( #1124 )
...
* Fix version number reporting for minor versions.
* run clang-format
* Updated the comment in systemVersion.
2018-04-17 11:08:30 -04:00
Ryan Wilson
ad321bb279
Match previous systemVersion functionality ( #1120 )
...
* Match previous systemVersion functionality
* style.sh
* Add new test file to test targets
2018-04-16 19:29:53 -04:00
Ryan Wilson
23742e8159
Merge pull request #1050 from firebase/core-breaking-changes
...
Core Breaking API Changes
2018-04-10 13:34:13 -04:00
Paul Beusterien
10105d83c9
Enable Core Unit Tests to run in a Release config ( #1064 )
2018-04-10 09:00:38 -07:00
Ryan Wilson
7f8a5ef1e5
Actually fixed the tests this time. ( #796 )
2018-04-09 12:16:57 -04:00
Ryan Wilson
5bf3a6abdb
Fixed Core test's missing constant. ( #795 )
2018-04-09 12:16:57 -04:00
Ryan Wilson
b8fdf48833
Remove old FIROptions constructor. ( #615 )
2018-04-09 12:16:57 -04:00
Benoit St-Pierre
e281a2135b
Deflake tests
2018-02-26 14:40:00 -05:00
Benoit St-Pierre
6f5eebb77f
PR feedback
2018-02-26 13:58:28 -05:00
Benoit St-Pierre
34dd1dbfd9
Add tests for useragent
...
Tests a variety of simple use cases.
2018-02-26 13:25:26 -05:00
Benoit St-Pierre
ac33d9b3f1
Revert "Move -messageWasLogged to FIRTestCase"
...
This reverts commit dfda142503 .
2018-02-26 13:21:08 -05:00
Benoit St-Pierre
dfda142503
Move -messageWasLogged to FIRTestCase
...
This makes it accessible to other test classes.
2018-02-26 11:22:38 -05:00
Ryan Wilson
e4be2548b5
Fixed capitalization of init in test function. ( #797 )
2018-02-14 12:46:50 -05:00
Paul Beusterien
6a6e14822f
Fix build warnings by making void parameter explicit ( #681 )
2018-01-19 07:45:31 -08:00
Ryan Wilson
2c0cacd3ee
Inject infoDictionary to fix flakey tests. ( #664 )
...
* Inject infoDictionary to fix flakey tests.
* Remove outdated comment, update format.
2018-01-15 08:46:22 -05:00
davidair
a84704f65b
Removing an obsolete setting from plist files ( #617 )
...
* Removing an obsolete setting from plist files
* Fixing Unit Tests
* Fixing nullability
2018-01-08 10:41:25 -05:00
Paul Beusterien
f08b5044d6
Add Community Supported tvOS ( #590 )
...
Add Community Supported tvOS for Core, Auth, Database and Storage.
Add tvOS unit tests
Add tvOS sample app
Update README.md
Add tvOS to travis testing
2018-01-03 12:12:22 -08:00
Sebastian Schmidt
03ab86499f
Running scripts/style.sh
2017-12-10 22:58:23 -08:00
Paul Beusterien
3418244cd5
Disable FirebaseCore Test deprecation warnings ( #545 )
2017-12-08 07:31:31 -08:00
Paul Beusterien
73869c741f
Fix warnings in FirebaseCore Unit Tests ( #544 )
2017-12-07 14:30:46 -08:00
Paul Beusterien
da9308408d
Use brackets for module imports ( #487 )
2017-11-22 09:19:10 -08:00
Paul Beusterien
3e592526ec
Buildable and interoperable source pods ( #444 )
2017-11-21 17:02:22 -08:00
Marek Gilbert
360f7bed25
Result of clang-format with AllowShortFunctionsOnASingleLine: None
2017-08-02 11:07:57 -07:00
Marek Gilbert
e4af03818c
Formatting updates based on the latest clang-format
...
clang-format version 5.0.0 (tags/google/stable/2017-06-22)
2017-08-02 09:52:48 -07:00
Paul Beusterien
0abd344434
Add clang-format options and script; apply to FirebaseCore ( #151 )
2017-07-27 11:02:39 -07:00
davidair
f7fc2bb573
Moving sMessageCodeRegex initialization into #ifdef DEBUG to remove the init cost, adding [FIRApp configure] to the Core example ( #150 )
2017-07-25 11:28:17 -04:00
Ryan Wilson
11d004105e
Add method to check if defaultApp is configured. ( #139 )
...
This lets other SDKs check if the default `FIRApp` is set up without
accessing it, which causes unnecessary log messages to appear.
2017-07-17 14:31:01 -04:00
Paul Beusterien
053b2f11ea
Use modulemap to fix exposure of FirebaseCore's internal headers ( #121 )
2017-07-10 14:57:03 -07:00
davidair
bf5ef4be6d
Removing a backspace character ( #132 )
2017-07-10 15:09:09 -04:00
Paul Beusterien
9792bec7e3
Disable failing FIRLogger test until Issue 128 is fixed ( #129 )
2017-07-10 08:51:26 -07: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
Paul Beusterien
98ba64449a
Initial
2017-05-15 12:27:07 -07:00