summaryrefslogtreecommitdiff
path: root/test/ios
Commit message (Collapse)AuthorAgeFilesLines
* [build] Use found code sign identitieszmiao2020-03-191-6/+9
|
* [build][ios] Refactor iOS test runner CI job configsJuha Alanen2020-02-271-2/+2
|
* [test-runner] Share common code between test runnersJuha Alanen2020-02-182-82/+3
| | | | Also remove some unnecessary files.
* [test-runner] Share common code between iOS test runnersJuha Alanen2020-02-1412-192/+2
|
* [test] Add iOS unit test runnerJuha Alanen2020-02-1427-0/+675
|
* [ios, osx] Consolidate remaining files in platform/{ios,osx}John Firebaugh2016-02-12312-26490/+0
|
* [ios] Converted iOS SDK into dynamic frameworkMinh Nguyễn2016-01-225-72/+46
| | | | | | | | | | make iproj now produces a target that pulls together static libraries like core and platform-ios into a real dynamic framework. iosapp is pretty much just a regular iOS application that links Mapbox.framework (except for the inclusion of default_styles.hpp). iosapp runs fine in the Simulator and on a device, and the same is true for any application linking against Mapbox.framework. The ipackage target produces both a Bitcode-disabled static framework and a Bitcode-enabled dynamic framework, eliminating the need for a separate framework.sh. It disables code signing, since that happens on copy when the framework is embedded inside the application bundle. It also merges the device and simulator builds into a single fat framework. Also bumped itest minimum deployment target to iOS 8.0, the first version that supports linking frameworks. Fixes #828.
* [ios] Removed testDelegateRegionDidChangeMinh Nguyễn2016-01-211-54/+0
| | | | | Also failing randomly on Bitrise. /ref #3555
* [ios] remove `testCompassTap` testJason Wray2016-01-141-26/+0
| | | | | Fails on CI because KIF is unstable. Refs 61615a44fd49336905e7b18c8ac665ce1eb7d4a4, #2769, #2734
* [ios] Removed -testCenterSetMinh Nguyễn2016-01-131-24/+0
| | | | This test is causing frequent failures on Bitrise; the failure doesn’t appear to reflect a real-world problem.
* Happy new year!Minh Nguyễn2016-01-051-1/+1
|
* [iOS] Wait for didChange notifications instead of timerMinh Nguyễn2015-11-251-15/+28
|
* [core] Fix LatLngBounds default coordinatesBruno de Oliveira Abinader2015-11-181-2/+4
| | | | | | | | | LatLngBounds southwest and northeast coordinate points were inverted, so they could be extended via LatLngBounds::extend(). However, this looks confusing and error-prone. A static LatLngBounds::getExtendable() is added to address cases when we want to extend LatLngBounds.
* [iOS] Wait for style loading, then rotation, then compass fadingMinh Nguyễn2015-11-041-6/+14
| | | | Fixes #2920.
* [core] mason geojsonvt-2.1.6.3Mike Morris2015-11-021-1/+8
| | | | | | | | | | | | | - [osx] set -fvisibility-inlines-hidden in gyp/common.gypi to silence mismatched visibility linker warnings - [linux] set cxx_host in GYP_FLAGS to set -fabi-version=0 on gcc builds to use clang-built mason binaries - [ios] update symbol visibility for iOS tests - [ios] link libgeojsonvt.a in iOS tests xcodeproj - add libgeojsonvt.a to General -> Linked Frameworks and Libraries - add mason_packages (recursive) to Build Settings -> Library Search Path - [ios] add libuv and geojsonvt first in iOS libtool smush to ensure symbols are found by later compilation units where they are undefined
* remove metrics testsJustin R. Miller2015-10-272-276/+0
|
* remove heading tests as unreliableJustin R. Miller2015-10-279-350/+5
|
* adjust enabled testsJustin R. Miller2015-10-271-22/+5
|
* test in DebugJustin R. Miller2015-10-271-1/+1
|
* tighten up non-location testsJustin R. Miller2015-10-271-12/+9
|
* Test metrics on staging endpointMinh Nguyễn2015-10-201-0/+2
|
* fixes #2419: adapt iOS tests for Bitrise CIJustin R. Miller2015-10-201-5/+16
|
* [ios] remove CoreTelephony dependencyJason Wray2015-10-191-2/+0
| | | | | | Cellular carrier name and connectivity level will now only be sent if the developer independently chooses to link the CoreTelephony framework in their app.
* [iOS] Dismiss authorization prompt before testing Location Services delegate ↵Minh Nguyễn2015-10-161-0/+2
| | | | methods
* [iOS] Revert 'Use modular headers everywhere'Minh Nguyễn2015-10-165-12/+14
| | | | This commit rolls back AliSoftware/OHHTTPStubs@806ba99fb71d0b8bebe505b3a939c0a755606bd8 so that we can keep using OHHTTPStubs in the same project without creating a separate framework target.
* [iOS] Upgraded to AliSoftware/OHHTTPStubs@4.3.0Minh Nguyễn2015-10-16118-1221/+4592
|
* fixes #2611: iOS test app long press drops debug markerJustin R. Miller2015-10-151-0/+40
|
* [ios][tests] disable non-null warningJason Wray2015-10-061-0/+1
|
* [iOS] disable perfectly good tests so they stop flapping on TravisJason Wray2015-09-212-1/+16
| | | | | | | | | | | | | | | | Travis is inconsistently failing the following tests, so let's temporarily disable them. - `testDirectionSet` - `testCompassTap` - `testDirectionReset` - `testCenterSet` - `testDelegateRegionDidChange` It bears repeating that these tests _only_ fail on Travis, running them locally has always passed. Fixes #2347
* Fixes the test for setting center canceling animations. A good submit to ↵Adam Hunter2015-09-151-0/+7
| | | | look at for writing asynchronous tests.
* Add test that setting the center coordinate cancels animationsAdam Hunter2015-09-151-0/+20
|
* Increased timeout for rotation animationMinh Nguyễn2015-09-151-2/+2
|
* Upgraded to iOS Simulator 9.0, KIF 3.3.0Minh Nguyễn2015-09-155-47/+27
| | | | Upgraded the test project. Rolled back part of 69cf6ed3d273fc10e8cea2caef223f4a281388f0 to work around facebook/xctool#528.
* Disabled iOS metrics testsMinh Nguyễn2015-08-311-4/+10
| | | | ref #1887
* Bump metrics tests timeouts EVERYWHEREJason Wray2015-08-251-5/+5
|
* Fix testUserTrackingModeFollow test to accept location permissions askJason Wray2015-08-251-2/+2
| | | | I thought that the tests were bypassing the permissions dialog, but it turns out that was only half correct: we were not actually asking for `always` location permission in MBGL.
* GL is the library, SDK is the productJustin R. Miller2015-08-216-13/+13
|
* Increased timeouts for failing metrics testsMinh Nguyễn2015-08-211-5/+5
| | | | ref #1887
* Fit to coordinatesMinh Nguyễn2015-06-261-0/+21
| | | | Whoever determined the boundaries of the District of Columbia did not have fit-to-bounds implementations in mind. With this change, shapes that are not unrotated rectangles fit much, much better.
* Test fit to bounds; added MGLCoordinateBounds functionsMinh Nguyễn2015-06-251-0/+35
| | | | Added a bunch of functions to work with MGLCoordinateBounds in a separate header analogous to MKGeometry.h. Added resolution-independent tests for common fit to bounds scenarios.
* Reversed direction to be clockwiseMinh Nguyễn2015-06-251-1/+1
| | | | | | For consistency with MapKit, the Google Maps SDK, and these methods’ own documentation. Fixes #1780.
* Transform needs only a single TransformStateJohn Firebaugh2015-06-241-6/+4
|
* Add location tests for iOSJason Wray2015-06-1511-3/+390
| | | | | | | | - Adds testDelegatesStartStopLocatingUser: Tests mapViewWillStartLocatingUser and mapViewDidStopLocatingUser delegate methods - Adds testUserTrackingModeFollow - Adds testUserTrackingModeFollowWithHeading (disabled because of library bug) Fakes user location via swizzled CLLocationManager and hard-coded mock coordinates and heading.
* Adapt metrics tests to constant flush timerJason Wray2015-05-282-15/+15
| | | | | | | | Disables three tests: - testTimerFiresFlush: passes but takes 60 seconds (full MGLFlushInterval) - testFlushPostsEvents: fails - testPostEventsNetworkRequest: fails
* Change LaunchScreen text to © because unicode is awesomeJason Wray2015-05-211-1/+1
|
* Add iOS test project launch images for older devices, tooJason Wray2015-05-215-0/+219
|
* Add iOS tests support for iPhone 6/6+ screen sizesJason Wray2015-05-213-4/+55
|
* Update tests for access token changesJason Wray2015-05-214-10/+5
|
* Privatized MGLMapboxEventsMinh Nguyễn2015-05-182-1/+2
| | | | `-pauseMetricsCollection` and `-resumeMetricsCollection` were originally introduced to mitigate concerns around battery usage, but `MGLMapboxEvents` has since evolved to tread much lighter on the battery. There’s no longer any need for the client to call these methods directly. The iOS test project now includes MGLMapboxEvents.h explicitly to avoid having to package a header that will go unused.
* patch up test projectJustin R. Miller2015-05-122-0/+14
|