Skip to content

Multiple failed test fixes#89

Merged
markmcd merged 3 commits intogooglemaps:masterfrom
markmcd:fix-fares
Jun 22, 2015
Merged

Multiple failed test fixes#89
markmcd merged 3 commits intogooglemaps:masterfrom
markmcd:fix-fares

Conversation

@markmcd
Copy link
Copy Markdown
Contributor

@markmcd markmcd commented Jun 14, 2015

  • FareAdapter was failing when it hit unknown keys
  • A directions API test with transit details was failing due to unexpected test data

markmcd added 2 commits June 15, 2015 09:17
Change-Id: If9671f64b832cd5cfe52a0c81fe6136e9e082db5
Change-Id: I8f7318ca27f92e7fe03aa5fa6d97dff0e0ccd00b
@markmcd
Copy link
Copy Markdown
Contributor Author

markmcd commented Jun 22, 2015

PTAL @domesticmouse and/or @samthor

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just write this out: look for the transitIndex, or something.

int transitIndex = -1;
for (int i = 0; i < testLeg.steps.length; ++i) {
  if (...) {
    transitIndex = i;
    break;
  }
}
assertNotEqual(transitIndex, -1, ...);

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done

Change-Id: I22fa930cfa7e5bf9dbc6ce6ce7773918d87322a5
@samthor
Copy link
Copy Markdown
Contributor

samthor commented Jun 22, 2015

LGTM

👍

markmcd added a commit that referenced this pull request Jun 22, 2015
Multiple failed test fixes
@markmcd markmcd merged commit 6ef0255 into googlemaps:master Jun 22, 2015
@domesticmouse
Copy link
Copy Markdown
Contributor

Post-hummus LGTM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants