Jason Wray
dfd6ff00a2
Update tests for access token changes
2015-05-21 03:13:55 -07:00
John Firebaugh
bd4fca2ec3
Update test suite
2015-05-19 11:28:00 -07:00
Konstantin Käfer
d7bd429619
bump test suite
2015-05-19 17:56:20 +02:00
Minh Nguyễn
2c7d0567fa
Privatized MGLMapboxEvents
...
`-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.
2015-05-18 11:55:54 -07:00
John Firebaugh
83a5aae6c5
Render translucent background layers ( fixes #1514 )
2015-05-15 12:17:32 -07:00
Thiago Marcos P. Santos
d0b2db3826
Removed unneeded unique_ptr
2015-05-15 16:49:02 +03:00
Thiago Marcos P. Santos
b162fb7c6f
Make the MapContext object run on its own thread on the tests
...
The MapContext can only run on its own thread because it is
registering a EnvironmentScope and it is making many assertions
on Debug mode if its methods are being called on the Map thread.
2015-05-15 13:06:23 +03:00
Thiago Marcos P. Santos
4b061a0588
Add output of RepeatedRender test to .gitignore
...
Also delete files that are test output but were checked in.
2015-05-15 12:34:57 +03:00
John Firebaugh
c1d004b8fb
Restore sprite load check
...
This is necessary to ensure that background and fill images are ready
to render.
Fixes #1563
2015-05-14 18:15:54 -07:00
John Firebaugh
5aa5976a71
Speculative fix for PNG alpha/gamma handling
...
The libpng documentation is hopelessly impenetrable and I have no idea
what I'm doing, but this seems to fix the headless rendering failures.
2015-05-14 18:02:15 -07:00
John Firebaugh
d1107fb4ed
Fix misleading headless test output ( fixes #1557 )
2015-05-14 13:03:12 -07:00
John Firebaugh
9cd749b55a
Update test suite
2015-05-13 18:51:25 -07:00
Konstantin Käfer
37a34d4287
update test suite and fail Travis when comparisons fail
2015-05-13 17:19:53 -07:00
John Firebaugh
386be7c0fa
Remove unused
...
There are no longer any requests made that don't have a run loop to
dispatch back to.
2015-05-13 13:54:16 -07:00
Konstantin Käfer
40b604448f
add BinPack test
2015-05-12 20:46:56 -07:00
Justin R. Miller
1c8d3c5e42
patch up test project
2015-05-12 17:14:29 -07:00
Justin R. Miller
44835707a2
update test app to use fake in-app settings
2015-05-12 13:53:54 -07:00
Justin R. Miller
1ad640f5b7
iOS metrics tests
2015-05-12 13:49:03 -07:00
Brad Leege
d4fcb5bb98
Merge pull request #1469 from mapbox/1435-android-gl-crash
...
Android GL Crash
2015-05-11 11:42:21 -05:00
Leith Bade
703e0bc2ee
Ignore deactivate when no valid EGL display. Fixes #1435
...
Initialise NativeMapView's EGL variables before Map
Fix hang
Add check for double pause
Add test for double pause
2015-05-09 12:02:39 +10:00
Konstantin Käfer
24ea920810
ignore Transform changes with NaN parameters
2015-05-08 20:25:47 +02:00
John Firebaugh
1cf5af9c31
Merge remote-tracking branch 'origin/1369-alternate-fix'
2015-05-08 11:20:10 -07:00
Konstantin Käfer
8ee40a544e
make WorkRequests cancelable
2015-05-08 16:43:18 +02:00
Konstantin Käfer
e20faf7a8d
add worker cancellation test (failing)
2015-05-08 16:43:18 +02:00
Konstantin Käfer
fb984a22d1
don't trigger a HTTP request twice
2015-05-08 11:30:26 +02:00
Minh Nguyễn
53586f89b3
Added tests for 6292e95f80
2015-05-07 11:05:05 -07:00
John Firebaugh
5b4015ccba
Reference safety for Worker after callbacks
...
Joining a WorkRequest now ensures that either the after callback has
already been executed, or will never be executed.
Fixes #1438
2015-05-06 14:30:02 -07:00
Justin R. Miller
1e8a480e1b
clear location services prompt if needed
2015-05-05 16:33:12 -07:00
John Firebaugh
af0e52a5fa
Revert test/suite submodule to intended hash
2015-05-05 14:49:43 -07:00
John Firebaugh
84fffb42f5
Revert "Disable headless tests temporarily"
...
This reverts commit 2b6e680e4a .
2015-05-05 14:13:46 -07:00
John Firebaugh
a7df0781f8
Don't crash if ResourceLoader::_sprite is null
2015-05-05 13:34:46 -07:00
John Firebaugh
5475f3138b
Fix potential crash
...
The promise could be deallocated before promise.set_value() had returned,
which apparently caused an invalid read on some implementations.
By moving the promise declaration up the stack, we ensure that the map is
deallocated first, and therefore the map thread is joined, before the
promise is deallocated.
2015-05-01 18:25:41 -04:00
John Firebaugh
36f695b411
Write SQLite tests in terms of Impl
2015-05-01 14:31:39 -04:00
Brad Leege
6811e7c39d
#1381 - Setting desiredAccuracy to 3KM
2015-04-30 11:58:31 -04:00
John Firebaugh
2b6e680e4a
Disable headless tests temporarily
2015-04-30 09:58:31 -04:00
John Firebaugh
230027e514
Resize view from map thread
2015-04-28 14:32:24 -04:00
John Firebaugh
a625ba8a09
Remove Map::start/stop
...
Both Android and iOS now use pause/resume. The map thread is
always running, and be able to receive messages. When paused,
it will just refuse to render.
2015-04-28 14:32:24 -04:00
John Firebaugh
c84e886222
Log each test subcase during headless tests
2015-04-28 14:32:24 -04:00
John Firebaugh
2ed207ca5e
Update mapbox-gl-test-suite
2015-04-28 14:32:23 -04:00
John Firebaugh
6c7a01a503
Following kkaefer's view changes
2015-04-28 14:32:22 -04:00
John Firebaugh
7bd735220d
Fix build
2015-04-28 14:32:21 -04:00
John Firebaugh
c0b75f1af7
Remove Environment::terminate and associated code
...
Fixes #1336
2015-04-28 09:16:26 -04:00
Konstantin Käfer
2b633cc51c
build on Travis' sudo: false infrastructure
2015-04-28 10:43:13 +02:00
Minh Nguyễn
5ffa52cab5
Automatically find view controller for layout guides
...
Find the managing view controller by traversing the responder chain.
2015-04-27 15:52:30 -07:00
Minh Nguyễn
f9c544a9ea
Reset map view frame on every test
...
To counteract the call to `-insetMapView` in `-testInsetMapView`.
2015-04-24 14:27:25 -07:00
Minh Nguyễn
1dc2cbc280
Test inset MGLMapView
...
Verify that the ornaments hug the `MGLMapView` when it’s smaller than the view controller’s root view.
2015-04-24 13:30:50 -07:00
Konstantin Käfer
0d5568f724
merge build targets so we only have one build file per platform
...
previously, we used multiple different projects for various targets (app, test, render) that overwrote each other, so it was impossible to have one project to build them all, one project to compile them, one project to run them all and in the darkness bind them
2015-04-24 11:50:50 +02:00
Justin R. Miller
b528d7cc03
fixes #830 , #880 : bring back iOS functional tests
2015-04-23 17:54:08 -07:00
John Firebaugh
55118e5bd7
Revert "build on trusty"
...
This reverts commit decc493ec8 .
Conflicts:
.mason
2015-04-22 14:07:05 -07:00
John Firebaugh
75af3db17d
Use a promise rather than async dance
2015-04-20 17:01:27 -07:00