[Hawkular-commits] [hawkular/hawkular-metrics] ac3ca3: REST test: output response body when an error is n...

Stefan Negrea snegrea at redhat.com
Tue Mar 24 14:34:10 EDT 2015


  Branch: refs/heads/master
  Home:   https://github.com/hawkular/hawkular-metrics
  Commit: ac3ca3b0fe39acd73be21d40ba56ab58e801627f
      https://github.com/hawkular/hawkular-metrics/commit/ac3ca3b0fe39acd73be21d40ba56ab58e801627f
  Author: Thomas Segismont <tsegismo at redhat.com>
  Date:   2015-03-24 (Tue, 24 Mar 2015)

  Changed paths:
    M rest-tests/src/test/groovy/org/hawkular/metrics/rest/RESTTest.groovy

  Log Message:
  -----------
  REST test: output response body when an error is not expected


  Commit: 20bcefb13d27d8b38d4155fe631e5abb56c868c5
      https://github.com/hawkular/hawkular-metrics/commit/20bcefb13d27d8b38d4155fe631e5abb56c868c5
  Author: Thomas Segismont <tsegismo at redhat.com>
  Date:   2015-03-24 (Tue, 24 Mar 2015)

  Changed paths:
    M rest-tests/src/test/groovy/org/hawkular/metrics/rest/RESTTest.groovy

  Log Message:
  -----------
  #badGet and #badPost refactoring: avoid duplication


  Commit: a50b5e0716536a8577ef1a2e05f8fbe449bd8748
      https://github.com/hawkular/hawkular-metrics/commit/a50b5e0716536a8577ef1a2e05f8fbe449bd8748
  Author: Thomas Segismont <tsegismo at redhat.com>
  Date:   2015-03-24 (Tue, 24 Mar 2015)

  Changed paths:
    M rest-tests/src/test/groovy/org/hawkular/metrics/rest/RESTTest.groovy

  Log Message:
  -----------
  Explicitly throw AssertionError

Otherwise it's confusing to see the "return object" statement, which is there just to pass compilation phase


  Commit: 36e21140c0f3870765f965e8490db7ea085de32e
      https://github.com/hawkular/hawkular-metrics/commit/36e21140c0f3870765f965e8490db7ea085de32e
  Author: Stefan Negrea <snegrea at redhat.com>
  Date:   2015-03-24 (Tue, 24 Mar 2015)

  Changed paths:
    M rest-tests/src/test/groovy/org/hawkular/metrics/rest/RESTTest.groovy

  Log Message:
  -----------
  Merge pull request #186 from tsegismont/more_info_on_resttest_failure

REST test: output response body when an error is not expected


Compare: https://github.com/hawkular/hawkular-metrics/compare/4cbf4cbf1570...36e21140c0f3


More information about the hawkular-commits mailing list