Retagged tests with strings to be skipped by Shindo

This commit is contained in:
Paul Thornthwaite 2012-08-15 16:31:36 +01:00
parent 2b54ebda25
commit b8049a9805
34 changed files with 34 additions and 34 deletions

View File

@ -1,4 +1,4 @@
Shindo.tests("Storage[:aws] | directory", [:aws]) do
Shindo.tests("Storage[:aws] | directory", ["aws"]) do
directory_attributes = {
:key => 'fogdirectorytests'

View File

@ -1,4 +1,4 @@
Shindo.tests("Storage[:aws] | file", [:aws]) do
Shindo.tests("Storage[:aws] | file", ["aws"]) do
require 'tempfile'

View File

@ -1,4 +1,4 @@
Shindo.tests("Storage[:aws] | files", [:aws]) do
Shindo.tests("Storage[:aws] | files", ["aws"]) do
file_attributes = {
:key => 'fog_file_tests',

View File

@ -1,4 +1,4 @@
Shindo.tests("Storage[:aws] | version", [:aws]) do
Shindo.tests("Storage[:aws] | version", ["aws"]) do
file_attributes = {
:key => 'fog_file_tests',

View File

@ -1,4 +1,4 @@
Shindo.tests("Storage[:aws] | versions", [:aws]) do
Shindo.tests("Storage[:aws] | versions", ["aws"]) do
file_attributes = {
:key => 'fog_file_tests',

View File

@ -1,6 +1,6 @@
require 'fog/aws/requests/storage/acl_utils'
Shindo.tests('Fog::Storage::AWS | ACL utils', [:aws]) do
Shindo.tests('Fog::Storage::AWS | ACL utils', ["aws"]) do
tests(".hash_to_acl") do
tests(".hash_to_acl({}) at xpath //AccessControlPolicy").returns("", "has an empty AccessControlPolicy") do
xml = Fog::Storage::AWS.hash_to_acl({})

View File

@ -1,4 +1,4 @@
Shindo.tests('Fog::Storage[:aws] | bucket requests', [:aws]) do
Shindo.tests('Fog::Storage[:aws] | bucket requests', ["aws"]) do
@aws_bucket_name = 'fogbuckettests-' + Time.now.to_i.to_s(32)
tests('success') do

View File

@ -1,4 +1,4 @@
Shindo.tests('Fog::Storage[:aws] | multipart upload requests', [:aws]) do
Shindo.tests('Fog::Storage[:aws] | multipart upload requests', ["aws"]) do
@directory = Fog::Storage[:aws].directories.create(:key => 'fogmultipartuploadtests')

View File

@ -20,7 +20,7 @@ def delete_bucket
Fog::Storage[:aws].delete_bucket(@aws_bucket_name)
end
Shindo.tests('Fog::Storage[:aws] | versioning', [:aws]) do
Shindo.tests('Fog::Storage[:aws] | versioning', ["aws"]) do
tests('success') do
tests("#put_bucket_versioning") do
@aws_bucket_name = 'fogbuckettests-' + Fog::Mock.random_hex(16)

View File

@ -19,7 +19,7 @@ def volume_tests(connection, params, mocks_implemented = true)
end
end
Shindo.tests("Fog::Compute[:cloudstack] | volume", :cloudstack) do
Shindo.tests("Fog::Compute[:cloudstack] | volume", "cloudstack") do
config = compute_providers[:cloudstack]

View File

@ -1,4 +1,4 @@
Shindo.tests('Fog::Storage[:google] | bucket requests', [:google]) do
Shindo.tests('Fog::Storage[:google] | bucket requests', ["google"]) do
tests('success') do

View File

@ -1,4 +1,4 @@
Shindo.tests('Fog::Storage[:google] | object requests', [:google]) do
Shindo.tests('Fog::Storage[:google] | object requests', ["google"]) do
@directory = Fog::Storage[:google].directories.create(:key => 'fogobjecttests')

View File

@ -1,4 +1,4 @@
Shindo.tests("Fog::Compute[:hp] | address", [:hp]) do
Shindo.tests("Fog::Compute[:hp] | address", ["hp"]) do
@base_image_id = ENV["BASE_IMAGE_ID"] || 1242

View File

@ -1,4 +1,4 @@
Shindo.tests("Fog::Compute[:hp] | addresses", [:hp]) do
Shindo.tests("Fog::Compute[:hp] | addresses", ["hp"]) do
collection_tests(Fog::Compute[:hp].addresses, {}, true)

View File

@ -1,4 +1,4 @@
Shindo.tests("Fog::Compute[:hp] | key_pair", [:hp]) do
Shindo.tests("Fog::Compute[:hp] | key_pair", ["hp"]) do
model_tests(Fog::Compute[:hp].key_pairs, {:name => 'fogkeyname'}, true)

View File

@ -1,4 +1,4 @@
Shindo.tests("Fog::Compute[:hp] | key_pairs", [:hp]) do
Shindo.tests("Fog::Compute[:hp] | key_pairs", ["hp"]) do
collection_tests(Fog::Compute[:hp].key_pairs, {:name => 'fogkeyname'}, true)

View File

@ -1,4 +1,4 @@
Shindo.tests("Fog::Compute[:hp] | security_group", [:hp]) do
Shindo.tests("Fog::Compute[:hp] | security_group", ["hp"]) do
model_tests(Fog::Compute[:hp].security_groups, {:name => 'foggroupname', :description => 'foggroupdescription'}, true)

View File

@ -1,4 +1,4 @@
Shindo.tests("Fog::Compute[:hp] | security_groups", [:hp]) do
Shindo.tests("Fog::Compute[:hp] | security_groups", ["hp"]) do
collection_tests(Fog::Compute[:hp].security_groups, {:name => 'foggroupname', :description => 'foggroupdescription'}, true)

View File

@ -1,4 +1,4 @@
Shindo.tests('Fog::CDN[:hp] | container requests', [:hp]) do
Shindo.tests('Fog::CDN[:hp] | container requests', ["hp"]) do
@cdn_containers_format = [{
'x-cdn-ssl-uri' => String,

View File

@ -1,4 +1,4 @@
Shindo.tests('Fog::Compute[:hp] | address requests', [:hp]) do
Shindo.tests('Fog::Compute[:hp] | address requests', ["hp"]) do
@floating_ips_format = {
'instance_id' => Fog::Nullable::Integer,

View File

@ -1,4 +1,4 @@
Shindo.tests('Fog::Compute[:hp] | flavor requests', [:hp]) do
Shindo.tests('Fog::Compute[:hp] | flavor requests', ["hp"]) do
@flavor_format = {
'rxtx_quota' => Integer,

View File

@ -1,4 +1,4 @@
Shindo.tests('Fog::Compute[:hp] | image requests', [:hp]) do
Shindo.tests('Fog::Compute[:hp] | image requests', ["hp"]) do
@image_format = {
'id' => String,

View File

@ -1,4 +1,4 @@
Shindo.tests('Fog::Compute[:hp] | key pair requests', [:hp]) do
Shindo.tests('Fog::Compute[:hp] | key pair requests', ["hp"]) do
tests('success') do

View File

@ -1,4 +1,4 @@
Shindo.tests('Fog::Compute[:hp] | security group requests', [:hp]) do
Shindo.tests('Fog::Compute[:hp] | security group requests', ["hp"]) do
@security_group_rule_format = {
'from_port' => Integer,

View File

@ -1,4 +1,4 @@
Shindo.tests('Fog::Compute[:hp] | security group requests', [:hp]) do
Shindo.tests('Fog::Compute[:hp] | security group requests', ["hp"]) do
@security_groups_format = {
'security_groups' => [{

View File

@ -1,4 +1,4 @@
Shindo.tests('Fog::Compute[:hp] | address requests', [:hp]) do
Shindo.tests('Fog::Compute[:hp] | address requests', ["hp"]) do
@base_image_id = ENV["BASE_IMAGE_ID"] || 1242

View File

@ -1,4 +1,4 @@
Shindo.tests('Fog::Compute[:hp] | server requests', [:hp]) do
Shindo.tests('Fog::Compute[:hp] | server requests', ["hp"]) do
@server_format = {
'addresses' => Fog::Nullable::Hash,

View File

@ -1,4 +1,4 @@
Shindo.tests('Fog::Storage[:hp] | container requests', [:hp]) do
Shindo.tests('Fog::Storage[:hp] | container requests', ["hp"]) do
@container_format = [String]

View File

@ -1,4 +1,4 @@
Shindo.tests('Fog::Storage[:hp] | object requests', [:hp]) do
Shindo.tests('Fog::Storage[:hp] | object requests', ["hp"]) do
@directory = Fog::Storage[:hp].directories.create(:key => 'fogobjecttests')
@dir_name = @directory.identity

View File

@ -1,4 +1,4 @@
Shindo.tests('Storage[:local] | file', [:local]) do
Shindo.tests('Storage[:local] | file', ["local"]) do
pending if Fog.mocking?

View File

@ -1,4 +1,4 @@
Shindo.tests('Fog::Storage[:rackspace] | account requests', [:rackspace]) do
Shindo.tests('Fog::Storage[:rackspace] | account requests', ["rackspace"]) do
tests('success') do

View File

@ -1,4 +1,4 @@
Shindo.tests('Fog::Storage[:rackspace] | container requests', [:rackspace]) do
Shindo.tests('Fog::Storage[:rackspace] | container requests', ["rackspace"]) do
@container_format = [String]

View File

@ -1,4 +1,4 @@
Shindo.tests('Fog::Storage[:rackspace] | large object requests', [:rackspace]) do
Shindo.tests('Fog::Storage[:rackspace] | large object requests', ["rackspace"]) do
unless Fog.mocking?
@directory = Fog::Storage[:rackspace].directories.create(:key => 'foglargeobjecttests')

View File

@ -1,4 +1,4 @@
Shindo.tests('Fog::Storage[:rackspace] | object requests', [:rackspace]) do
Shindo.tests('Fog::Storage[:rackspace] | object requests', ["rackspace"]) do
unless Fog.mocking?
@directory = Fog::Storage[:rackspace].directories.create(:key => 'fogobjecttests')