Vendor aws-sdk-go (dep ensure) (#178)
This commit is contained in:
16
vendor/github.com/aws/aws-sdk-go/awstesting/integration/smoke/swf/client.go
generated
vendored
Normal file
16
vendor/github.com/aws/aws-sdk-go/awstesting/integration/smoke/swf/client.go
generated
vendored
Normal file
@@ -0,0 +1,16 @@
|
||||
// +build integration
|
||||
|
||||
//Package swf provides gucumber integration tests support.
|
||||
package swf
|
||||
|
||||
import (
|
||||
"github.com/aws/aws-sdk-go/awstesting/integration/smoke"
|
||||
"github.com/aws/aws-sdk-go/service/swf"
|
||||
"github.com/gucumber/gucumber"
|
||||
)
|
||||
|
||||
func init() {
|
||||
gucumber.Before("@swf", func() {
|
||||
gucumber.World["client"] = swf.New(smoke.Session)
|
||||
})
|
||||
}
|
||||
17
vendor/github.com/aws/aws-sdk-go/awstesting/integration/smoke/swf/swf.feature
generated
vendored
Normal file
17
vendor/github.com/aws/aws-sdk-go/awstesting/integration/smoke/swf/swf.feature
generated
vendored
Normal file
@@ -0,0 +1,17 @@
|
||||
# language: en
|
||||
@swf @client
|
||||
Feature: Amazon Simple Workflow Service
|
||||
|
||||
Scenario: Making a request
|
||||
When I call the "ListDomains" API with:
|
||||
| registrationStatus | REGISTERED |
|
||||
Then the value at "domainInfos" should be a list
|
||||
|
||||
Scenario: Handling errors
|
||||
When I attempt to call the "DescribeDomain" API with:
|
||||
| name | fake_domain |
|
||||
Then I expect the response error code to be "UnknownResourceFault"
|
||||
And I expect the response error message to include:
|
||||
"""
|
||||
Unknown domain: fake_domain
|
||||
"""
|
||||
Reference in New Issue
Block a user