<commit_before>/**
 * Mock objects for Google Maps to be used in tests.
 *
 * @author <a href="mailto:<EMAIL>"><NAME></a>
 */

window.google = {};
google.maps = {};

google.maps.event = {};
google.maps.event.addListener = function (obj, event, callback) {
};
google.maps.event.addListenerOnce = function (obj, event, callback) {
};

google.maps.Map = function (element, options) {
  this.getBounds = function () {
  };
  this.fitBounds = function (bounds) {
  };
  this.panTo = function (position) {
  };
  this.getZoom = function () {
  };
  this.setZoom = function (zoom) {
  };
};

google.maps.MapTypeId = function () {
  this.ROADMAP = "ROADMAP";
};

google.maps.MVCObject = function () {
};

google.maps.MarkerImage = function (image) {
};

google.maps.Marker = function (options) {
  this.setMap = function (map) {
  };
  this.setVisible = function (visibility) {
  };
  this.setPosition = function (position) {
  };
};

google.maps.Polyline = function (options) {
  this.setMap = function (map) {
  };
  this.setVisible = function (visibility) {
  };
  this.setPath = function (path) {
  };
};

google.maps.Polygon = function (options) {
  this.setMap = function (map) {
  };
  this.setVisible = function (visibility) {
  };
  this.setPath = function (path) {
  };
};

google.maps.LatLng = function (lat, lng) {
  this._lat = lat;
  this._lng = lng;

  this.lat = function () {
    return this._lat;
  };
  this.lng = function () {
    return this._lng;
  };
};

google.maps.LatLngBounds = function (pos1, pos2) {
};

google.maps.ControlPosition = function () {
  this.LEFT_TOP = 0;
};

google.maps.Size = function (x, y) {
};

google.maps.Point = function (x, y) {
};

google.maps.InfoWindow = function () {
  this.close = function () {
  };
};<commit_msg>MOB-188 - Mock DirectionsTravelMode<commit_after>/**
 * Mock objects for Google Maps to be used in tests.
 *
 * @author <a href="mailto:<EMAIL>"><NAME></a>
 */

window.google = {};
google.maps = {};

google.maps.event = {};
google.maps.event.addListener = function (obj, event, callback) {
};
google.maps.event.addListenerOnce = function (obj, event, callback) {
};

google.maps.Map = function (element, options) {
  this.getBounds = function () {
  };
  this.fitBounds = function (bounds) {
  };
  this.panTo = function (position) {
  };
  this.getZoom = function () {
  };
  this.setZoom = function (zoom) {
  };
};

google.maps.MapTypeId = function () {
  this.ROADMAP = "ROADMAP";
};

google.maps.MVCObject = function () {
};

google.maps.MarkerImage = function (image) {
};

google.maps.Marker = function (options) {
  this.setMap = function (map) {
  };
  this.setVisible = function (visibility) {
  };
  this.setPosition = function (position) {
  };
};

google.maps.Polyline = function (options) {
  this.setMap = function (map) {
  };
  this.setVisible = function (visibility) {
  };
  this.setPath = function (path) {
  };
};

google.maps.Polygon = function (options) {
  this.setMap = function (map) {
  };
  this.setVisible = function (visibility) {
  };
  this.setPath = function (path) {
  };
};

google.maps.LatLng = function (lat, lng) {
  this._lat = lat;
  this._lng = lng;

  this.lat = function () {
    return this._lat;
  };
  this.lng = function () {
    return this._lng;
  };
};

google.maps.LatLngBounds = function (pos1, pos2) {
};

google.maps.ControlPosition = function () {
  this.LEFT_TOP = 0;
};

google.maps.Size = function (x, y) {
};

google.maps.Point = function (x, y) {
};

google.maps.InfoWindow = function () {
  this.close = function () {
  };
};

google.maps.DirectionsTravelMode = {
  WALKING: 'W',
  BICYCLING: 'B',
  DRIVING: 'D',
  TRANSIT: 'T'
};
{'fraction_non_alphanumeric': 0.17587527352297594, 'fraction_numerical': 0.002461706783369803, 'mean_word_length': 3.3074204946996466, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 11, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3385223', 'n_tokens_mistral': 1329, 'n_tokens_neox': 1309, 'n_words': 261}