public bool ClearCache(string mapName, Rectangle2D bounds) { return _mapProvider.ClearCache(mapName, bounds); } }
public void ClearCache_NoBounds() { Map map = new Map("http://" + ip + ":8090/iserver/services/map-world/rest"); try { bool succeed = map.ClearCache("世界地图", null); } catch (ArgumentNullException e) { Assert.IsTrue(string.Equals("bounds", e.ParamName)); } }