Skip to content

Conversation

@cbuescher
Copy link
Member

Based on #25549, this adds a unit test that checks the PhraseSuggestionContext contents that are the output of PhraseSuggestionBuilder#build vs. the values the original builder contains.

@cbuescher cbuescher added review >test Issues or PRs that are addressing/adding tests v6.0.0 labels Jul 6, 2017
Copy link
Member Author

@cbuescher cbuescher Jul 6, 2017

Choose a reason for hiding this comment

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

Copy link
Member Author

Choose a reason for hiding this comment

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

Use the original Script code for MockTemplateScript, this will be checked in https://github.com/elastic/elasticsearch/pull/25571/files#diff-7925b951f7645dcb8a552ff8440accd3R208

@cbuescher cbuescher force-pushed the addTests-PhraseSuggestionBuilder branch 3 times, most recently from 4090842 to 5ba8fa4 Compare July 7, 2017 07:52
@cbuescher cbuescher force-pushed the addTests-PhraseSuggestionBuilder branch from 5ba8fa4 to 5c1a910 Compare July 7, 2017 09:12
@cbuescher cbuescher merged commit 870d63d into elastic:master Jul 7, 2017
jasontedor added a commit to jasontedor/elasticsearch that referenced this pull request Jul 7, 2017
* master: (42 commits)
  Harden global checkpoint tracker
  Remove deprecated created and found from index, delete and bulk (elastic#25516)
  fix testEnsureVersionCompatibility for 5.5.0 release
  fix Version.v6_0_0 min compatibility version to 5.5.0
  Add bwc indices for 5.5.0
  Add v5_5_1 constant
  [DOCS] revise high level client Search Scroll API docs (elastic#25599)
  Improve REST error handling when endpoint does not support HTTP verb, add OPTIONS support (elastic#24437)
  Avoid SecurityException in repository-S3 on DefaultS3OutputStream.flush() (elastic#25254)
  [Tests] Add tests for CompletionSuggestionBuilder#build() (elastic#25575)
  Enable cross-setting validation
  [Docs] Fix typo in bootstrap-checks.asciidoc (elastic#25597)
  Index ids in binary form. (elastic#25352)
  bwc checkout should fetch from all remotes
  IndexingIT should check for global checkpoints regardless of master version
  [Tests] Add tests for PhraseSuggestionBuilder#build() (elastic#25571)
  Remove unused class MinimalMap (elastic#25590)
  [Docs] Document Scroll API for Java High Level REST Client (elastic#25554)
  Disable date field mapping changing (elastic#25285)
  Allow BWC Testing against a specific branch (elastic#25510)
  ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

>test Issues or PRs that are addressing/adding tests v6.0.0-beta1

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants