Commit Graph
9 Commits
Author SHA1 Message Date
Gil 0729c9dfe9 Add tvOS support to Firestore (#2662)
* Create tvOS host app

* Standard project edits

  * Remove code signing
  * Force C99/C++11
  * Adjust plist file for new location
  * header search paths
  * LDFLAGS

* Add Firestore_{Tests,IntegrationTests}_tvOS

* Add tvOS tests to the Podfile

* Add Firestore tvOS xcodebuild to build.sh

* Teach sync_project to keep tvOS up-to-date

* Add Firestore tvOS to Travis
2019-03-28 11:43:43 -07:00
Gil 13c1c80a48 Add support for running Firestore integration tests (#2660)
* Add Firestore_IntegrationTests_macOS to Xcode

* Change deployment target from 10.14 to 10.10

* Make standard target edits

  * Force C99/C++11
  * Use shared test info.plist
  * Remove CODE_SIGN_IDENTITY

* Add Firestore_IntegrationTests_macOS to the Podfile

* Have sync_project handle macOS integration tests

* Pod install and sync_project

* Add header search paths and ldflags

* Build integration tests on macos

* Remove integration tests from unit tests

* Make Firestore_IntegrationTests_macOS buildable from the command-line
2019-03-27 16:05:55 -07:00
Gil c2a10a9f86 Add support for Firestore unit tests on macOS (#2641)
* Rename Firestore/Example/App/macOS_example to macOS

* Update paths to macOS and names to Firestore_Example_macOS

* Add Firestore_Tests_macOS target

This uses a shared Tests Info.plist. This is important because it
configures NSPrincipalClass

* Teach sync_project about Firestore_Tests_macOS

* Add files to Firestore_Tests_macOS

* Add Firestore_Tests_macOS target to the Podfile

* Add HEADER_SEARCH_PATHS to match iOS

* Force C99/C++11 conformance

* pod install after adding Firestore_Tests_macOS

* Get macOS tests to link

* Add spec test json files to the macOS tests

* Remove development code signing

* Disable app sandboxing to allow GoogleTest death tests to succeed.
2019-03-26 14:51:57 -07:00
Gil 3ada7da29f Ignore dotfiles when running sync_project.rb (#1771)
* Fix typos

* Ignore dot files (like .DS_Store)

* Also avoid .orig files
2018-09-01 15:50:27 -07:00
Gil 2813ac30da Fix analyze issues in Firestore (#1763)
* Fix analyzer errors in Firestore

* Add testutil to IntegrationTests
2018-08-29 12:09:52 -07:00
Marek Gilbert 914542d7bf Remove exclusions for serializer_test.cc 2018-06-15 16:07:58 -07:00
Rich Gowman f92829fa75 Remove Protos/cpp/google/protobuf from sync_project.rb ...
... and run sync_project.rb
2018-06-13 10:48:37 -04:00
Rich Gowman 1597765af8 Add CoreTestsProtos to scripts/sync_project.rb (and run it) 2018-05-29 17:49:12 -04:00
Gil d3e9819275 Add a test synchronization script (#1303)
* Add a project sync script
* Give an error if the configuration references a group that doesn't exist
* Fix hard_assert_test reference
* Run sync_project to sort all project elements
2018-05-23 11:42:17 -07:00