Commit Graph

496 Commits

Author SHA1 Message Date
Jason Wray
2762f53cdf [iOS] disable perfectly good tests so they stop flapping on Travis
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
2015-09-21 13:16:30 -07:00
John Firebaugh
d86d11fb3e Fully delete test/suite submodule 2015-09-17 09:16:11 -07:00
Lucas Wojciechowski
311bf93abe Revert "[node] Enable npm to build mapbox-gl-native package from source"
This reverts commit 4e1ead344b.
2015-09-16 16:27:53 -07:00
Antonio Zugaldia
fee31b05b9 back to right submodules versions 2015-09-16 16:45:18 -04:00
Antonio Zugaldia
99053f47f7 merge with master 2015-09-16 09:29:53 -04:00
Antonio Zugaldia
7e30025abb Merge remote-tracking branch 'mapbox/master' into 2317-espresso
Conflicts:
	src/mbgl/util/geojsonvt
2015-09-15 17:58:36 -04:00
Antonio Zugaldia
f3e4d3238b merge from master 2015-09-15 14:20:46 -04:00
Antonio Zugaldia
21041d35b0 Merge remote-tracking branch 'mapbox/master' into 2317-espresso 2015-09-15 14:19:55 -04:00
Minh Nguyễn
c1d2292809 Increased timeout for rotation animation 2015-09-15 11:05:46 -07:00
Minh Nguyễn
6ec8b2805d Upgraded to iOS Simulator 9.0, KIF 3.3.0
Upgraded the test project. Rolled back part of 69cf6ed3d2 to work around facebook/xctool#528.
2015-09-15 11:05:46 -07:00
Antonio Zugaldia
7756f7727c Merge remote-tracking branch 'mapbox/master' into 2317-espresso
Conflicts:
	android/java/MapboxGLAndroidSDKTestApp/build.gradle
2015-09-14 17:24:59 -04:00
Justin R. Miller
0d899df9dd fixes #1675: abstract annotation tile refresh check/render; trigger post-sprite/sprite store load 2015-09-08 18:03:10 -07:00
John Firebaugh
15a66b8989 Consolidate test-suite rendering harnesses (#2236) 2015-09-04 10:52:14 -07:00
Ansis Brammanis
cccae7d153 fix circles at very high zoom levels
5c8be4b848
2015-09-02 18:00:54 -04:00
Bruno de Oliveira Abinader
227776dee0 Style no longer requires mainloop access 2015-09-02 23:18:29 +03:00
John Firebaugh
abc1c84fb8 Merge branch 'master' into node 2015-08-31 16:45:21 -07:00
Minh Nguyễn
831df11ec4 Disabled iOS metrics tests
ref #1887
2015-08-31 15:45:14 -07:00
John Firebaugh
fc55a34831 Update test-suite 2015-08-31 15:18:02 -07:00
Brad Leege
1189dea852 #2063 - Fixing test/suite stomping from merge 2015-08-31 16:55:25 -05:00
Brad Leege
9784d7dd19 #2063 - Merging 2015-08-31 16:41:52 -05:00
Ansis Brammanis
f3cd47eded update test suite to disable failing test 2015-08-28 10:26:59 -04:00
Ansis Brammanis
d703e58c79 add Point <--> LatLng conversion tests 2015-08-27 14:00:43 -04:00
Jason Wray
d8ed33c7d4 Merge remote-tracking branch 'upstream/master' into perspective-without-y-flip 2015-08-26 11:03:34 -07:00
Jason Wray
3643053cb4 Bump metrics tests timeouts EVERYWHERE 2015-08-25 16:00:44 -07:00
Jason Wray
4977858f4d Fix testUserTrackingModeFollow test to accept location permissions ask
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.
2015-08-25 14:59:17 -07:00
Mike Morris
4540c3c0e8 View::swap -> View::beforeRender View::afterRender
To be able to resize the framebuffer on the map thread
in HeadlessView.
2015-08-25 14:39:49 -04:00
Ansis Brammanis
19c256e349 make fill-image tests less sensitive 2015-08-24 18:41:51 -04:00
Lucas Wojciechowski
648b587959 Fixed missing labels and icons 2015-08-24 14:22:02 -07:00
John Firebaugh
0451aca37e Merge branch 'v8' 2015-08-24 10:47:30 -07:00
Lucas Wojciechowski
e97662972f Support v8 sprite, glyph, and style mapbox:// urls 2015-08-21 14:39:26 -07:00
Justin R. Miller
3f99f5e712 GL is the library, SDK is the product 2015-08-21 11:01:07 -07:00
Minh Nguyễn
6d1c10dc18 Increased timeouts for failing metrics tests
ref #1887
2015-08-21 09:36:23 -04:00
John Firebaugh
b7a4000a3c Update test suite 2015-08-20 11:59:08 -07:00
John Firebaugh
d1a0d7a273 Update styles and test-suite 2015-08-20 11:59:07 -07:00
Lucas Wojciechowski
a85fd681fc Support new glyph URL syntax 2015-08-20 11:59:07 -07:00
Bruno de Oliveira Abinader
98534631e0 Add circle render type
As specified in:
https://github.com/mapbox/mapbox-gl-style-spec/blob/v8-circle/reference/v8.json

Part of #1740.
2015-08-20 11:59:07 -07:00
Tom MacWright
6df50dba45 Font stacks as arrays 2015-08-20 11:58:57 -07:00
John Firebaugh
e42cfa239f Update test-suite and test fixtures for v8 2015-08-20 11:58:57 -07:00
Konstantin Käfer
e6053aa547 Make build system architecture agnostic to remove Android special case 2015-08-04 14:08:58 +02:00
jakepruitt
14ba3cfd6a Adding special case for non-fontstack "glyph" resource URLs
- does not prepend /v4/ to api endpoints like /fonts/v1/
- only prepends it to things starting with /fontstack
- solves the problem in #1918
- refs mapbox/mapbox-gl-style-spec#309
2015-07-27 10:16:14 -04:00
Thiago Marcos P. Santos
234a653931 Use the observer pattern for GlyphPBF loading
This will make the code a lot more clear and it will
also move how parsing is initiated to the GlyphPBF
class, to be initiated after the request, like we do
for other resources.
2015-07-17 21:00:34 +03:00
Thiago Marcos P. Santos
dd818874cc Remove hacks because of Glyph requests could not be canceled 2015-07-16 19:38:39 +03:00
Thiago Marcos P. Santos
cd2c1200c8 Add GlyphStore unit tests 2015-07-16 19:38:39 +03:00
Thiago Marcos P. Santos
7d4349e308 Added unit tests for the WorkQueue 2015-07-16 19:38:38 +03:00
Bruno de Oliveira Abinader
0ea8a37cb0 Unify default transition values in MapData
Relevant changes:
 - Added 'defaultFadeDuration' and 'defaultTransitionDelay' to MapData;
 - Painter & StyleParser now receives a reference to MapData;
 - As previously seen on the code: 300ms is the default fade duration
   and 0ms is the default transition duration;
 - We no longer pass the current time point to Style, since it now uses
   MapData.animationTime, which gets updated in MapContext::update().
 - Updated StyleParser check to use a mock MapData;
2015-07-14 16:58:32 +03:00
Thiago Marcos P. Santos
06e27f905e Mark overrides
Detected by clang++-3.6
2015-07-11 12:42:45 +03:00
Thiago Marcos P. Santos
30416c5a98 Add unit tests for addPointAnnotations()
This test would have caught #1874
2015-07-10 21:03:47 +03:00
Thiago Marcos P. Santos
0d44402628 Move MockFileSource to fixtures
It is going to be used by another test that needs to emulate
asynchronous requests.
2015-07-10 21:03:23 +03:00
Nicki Dlugash
d63f706c5f Merge pull request #1840 from mapbox/repeat-distance
Updates to labels along lines
2015-07-10 10:59:37 -04:00
Thiago Marcos P. Santos
a666c08274 Add unit tests for the Sprite class 2015-07-10 15:35:26 +03:00