client.go 786 B

123456789101112131415161718192021222324252627282930
  1. //Package machinelearning provides gucumber integration tests suppport.
  2. package machinelearning
  3. import (
  4. "github.com/aws/aws-sdk-go/internal/features/shared"
  5. "github.com/aws/aws-sdk-go/service/machinelearning"
  6. . "github.com/lsegal/gucumber"
  7. )
  8. var _ = shared.Imported
  9. func init() {
  10. Before("@machinelearning", func() {
  11. World["client"] = machinelearning.New(nil)
  12. })
  13. When(`^I attempt to call the "(.+?)" API without the "(.+?)" parameter$`, func(s1 string, s2 string) {
  14. // call(s1, nil, true)
  15. T.Skip() // pending
  16. })
  17. When(`^I attempt to call the "(.+?)" API with "(.+?)" parameter$`, func(s1 string, s2 string) {
  18. // call(s1, nil, true)
  19. T.Skip() // pending
  20. })
  21. Then(`^the hostname should equal the "(.+?)" parameter$`, func(s1 string) {
  22. T.Skip() // pending
  23. })
  24. }