Skip to content

[speech-to-text] Fix inactivity_timeout bug and add integration test to avoid future problems. - #592

Merged
jeffpk62 merged 5 commits into
masterfrom
fix-stt
Feb 21, 2017
Merged

[speech-to-text] Fix inactivity_timeout bug and add integration test to avoid future problems.#592
jeffpk62 merged 5 commits into
masterfrom
fix-stt

Conversation

@germanattanasio

@germanattanasio germanattanasio commented Feb 21, 2017

Copy link
Copy Markdown
Contributor
  • Fixes a bug in the RecognizeOptions class.
  • Update Travis to run the tests
  • Adds an integration test for inactivity_timeout

@codecov-io

codecov-io commented Feb 21, 2017

Copy link
Copy Markdown

Codecov Report

❗ No coverage uploaded for pull request base (master@2c2c6ec). Click here to learn what that means.
The diff coverage is n/a.

@@            Coverage Diff            @@
##             master     #592   +/-   ##
=========================================
  Coverage          ?   55.99%           
  Complexity        ?     1301           
=========================================
  Files             ?      320           
  Lines             ?     6356           
  Branches          ?      417           
=========================================
  Hits              ?     3559           
  Misses            ?     2477           
  Partials          ?      320
Impacted Files Coverage Δ Complexity Δ
...eveloper_cloud/speech_to_text/v1/SpeechToText.java 80.82% <ø> (ø) 55 <ø> (?)
...loud/speech_to_text/v1/model/RecognizeOptions.java 69.23% <ø> (ø) 17 <ø> (?)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 2c2c6ec...059aa2c. Read the comment docs.

@jeffpk62 jeffpk62 left a comment

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.

Looks good with one pedantic comment: Would the code maybe be clearer if the inactivityTimeout Boolean were renamed to something like inactivityTimeoutOccurred or something like that to avoid confusion with the option?

@jeffpk62
jeffpk62 merged commit 78eb063 into master Feb 21, 2017
@germanattanasio
germanattanasio deleted the fix-stt branch February 21, 2017 20:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants