yy20111011659 / route-me

Automatically exported from code.google.com/p/route-me
0 stars 0 forks source link

CloudMade tile source does not validate access key #102

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Passing a bogus key to RMCloudMadeMapSource's -initWithAccessKey:styleNumber: 
silently returns 
a tile source without signaling an error. Test added to testObjectCreation:

    STAssertThrows((myTilesource = [[RMCloudMadeMapSource alloc] 
initWithAccessKey:@"0199bdee456e59ce950b0156029d693" styleNumber:999]),
                @"bogus CloudMade key does not trigger error");

Original issue reported on code.google.com by halmuel...@gmail.com on 7 Apr 2009 at 1:52