forked from MTSR/mapserver
fix mapblockaccessor test case
This commit is contained in:
parent
fba3f118d8
commit
e0f748d46e
@ -44,7 +44,7 @@ func TestSimpleRender(t *testing.T) {
|
|||||||
panic(err)
|
panic(err)
|
||||||
}
|
}
|
||||||
|
|
||||||
cache := mapblockaccessor.NewMapBlockAccessor(a, 500*time.Millisecond, 1000*time.Millisecond)
|
cache := mapblockaccessor.NewMapBlockAccessor(a, 500*time.Millisecond, 1000*time.Millisecond, 1000)
|
||||||
c := colormapping.NewColorMapping()
|
c := colormapping.NewColorMapping()
|
||||||
_, err = c.LoadVFSColors(false, "/colors.txt")
|
_, err = c.LoadVFSColors(false, "/colors.txt")
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
@ -38,7 +38,7 @@ func TestTileRender(t *testing.T) {
|
|||||||
panic(err)
|
panic(err)
|
||||||
}
|
}
|
||||||
|
|
||||||
cache := mapblockaccessor.NewMapBlockAccessor(a, 500*time.Millisecond, 1000*time.Millisecond)
|
cache := mapblockaccessor.NewMapBlockAccessor(a, 500*time.Millisecond, 1000*time.Millisecond, 1000)
|
||||||
c := colormapping.NewColorMapping()
|
c := colormapping.NewColorMapping()
|
||||||
_, err = c.LoadVFSColors(false, "/colors.txt")
|
_, err = c.LoadVFSColors(false, "/colors.txt")
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
Loading…
Reference in New Issue
Block a user