1
0
Fork 0
mirror of https://github.com/fog/fog.git synced 2022-11-09 13:51:43 -05:00

implicitly add not_implemented mocks

This commit is contained in:
geemus 2011-02-09 16:22:32 -08:00
parent bc236b94c3
commit c673c28b16
247 changed files with 19 additions and 1962 deletions

View file

@ -45,15 +45,6 @@ module Fog
end
end
class Mock
def create_load_balancer(availability_zones, lb_name, listeners)
Fog::Mock.not_implemented
end
end
end
end
end

View file

@ -28,15 +28,6 @@ module Fog
end
end
class Mock
def delete_load_balancer(lb_name)
Fog::Mock.not_implemented
end
end
end
end
end

View file

@ -32,15 +32,6 @@ module Fog
end
end
class Mock
def describe_instance_health(lb_name, instance_ids = [])
Fog::Mock.not_implemented
end
end
end
end
end

View file

@ -46,14 +46,6 @@ module Fog
end
end
class Mock
def describe_load_balancers(lb_name = [])
Fog::Mock.not_implemented
end
end
end
end
end

View file

@ -29,14 +29,6 @@ module Fog
end
end
class Mock
def add_user_to_group(group_name, user_name)
Fog::Mock.not_implemented
end
end
end
end
end

View file

@ -32,14 +32,6 @@ module Fog
end
end
class Mock
def create_access_key(user_name = nil)
Fog::Mock.not_implemented
end
end
end
end
end

View file

@ -34,14 +34,6 @@ module Fog
end
end
class Mock
def create_group(group_name, path = '/')
Fog::Mock.not_implemented
end
end
end
end
end

View file

@ -34,14 +34,6 @@ module Fog
end
end
class Mock
def create_user(user_name, path = '/')
Fog::Mock.not_implemented
end
end
end
end
end

View file

@ -29,14 +29,6 @@ module Fog
end
end
class Mock
def delete_access_key(access_key_id, user_name = nil)
Fog::Mock.not_implemented
end
end
end
end
end

View file

@ -27,14 +27,6 @@ module Fog
end
end
class Mock
def delete_group(group_name)
Fog::Mock.not_implemented
end
end
end
end
end

View file

@ -29,14 +29,6 @@ module Fog
end
end
class Mock
def delete_group_policy(group_name, policy_name)
Fog::Mock.not_implemented
end
end
end
end
end

View file

@ -28,14 +28,6 @@ module Fog
end
end
class Mock
def delete_signing_certificate(user_name = nil)
Fog::Mock.not_implemented
end
end
end
end
end

View file

@ -27,14 +27,6 @@ module Fog
end
end
class Mock
def delete_user(user_name)
Fog::Mock.not_implemented
end
end
end
end
end

View file

@ -29,14 +29,6 @@ module Fog
end
end
class Mock
def delete_user_policy(user_name, policy_name)
Fog::Mock.not_implemented
end
end
end
end
end

View file

@ -31,14 +31,6 @@ module Fog
end
end
class Mock
def get_user(options = {})
Fog::Mock.not_implemented
end
end
end
end
end

View file

@ -35,14 +35,6 @@ module Fog
end
end
class Mock
def list_access_keys(options = {})
Fog::Mock.not_implemented
end
end
end
end
end

View file

@ -34,14 +34,6 @@ module Fog
end
end
class Mock
def list_group_policies(group_name, options = {})
Fog::Mock.not_implemented
end
end
end
end
end

View file

@ -37,14 +37,6 @@ module Fog
end
end
class Mock
def list_groups(options = {})
Fog::Mock.not_implemented
end
end
end
end
end

View file

@ -38,14 +38,6 @@ module Fog
end
end
class Mock
def list_groups_for_user(user_name = nil)
Fog::Mock.not_implemented
end
end
end
end
end

View file

@ -33,14 +33,6 @@ module Fog
end
end
class Mock
def list_signing_certificates(user_name = nil)
Fog::Mock.not_implemented
end
end
end
end
end

View file

@ -34,14 +34,6 @@ module Fog
end
end
class Mock
def list_user_policies(user_name, options = {})
Fog::Mock.not_implemented
end
end
end
end
end

View file

@ -37,14 +37,6 @@ module Fog
end
end
class Mock
def list_users(options = {})
Fog::Mock.not_implemented
end
end
end
end
end

View file

@ -31,14 +31,6 @@ module Fog
end
end
class Mock
def put_group_policy(group_name, policy_name, policy_document)
Fog::Mock.not_implemented
end
end
end
end
end

View file

@ -31,14 +31,6 @@ module Fog
end
end
class Mock
def put_user_policy(user_name, policy_name, policy_document)
Fog::Mock.not_implemented
end
end
end
end
end

View file

@ -29,14 +29,6 @@ module Fog
end
end
class Mock
def remove_user_from_group(group_name, user_name)
Fog::Mock.not_implemented
end
end
end
end
end

View file

@ -31,14 +31,6 @@ module Fog
end
end
class Mock
def update_access_key(access_key_id, status, user_name = nil)
Fog::Mock.not_implemented
end
end
end
end
end

View file

@ -33,14 +33,6 @@ module Fog
end
end
class Mock
def upload_signing_certificate(user_name = nil)
Fog::Mock.not_implemented
end
end
end
end
end

View file

@ -23,15 +23,6 @@ module Fog
end
end
class Mock
def delete_verified_email_address(email_address)
Fog::Mock.not_implemented
end
end
end
end
end

View file

@ -26,15 +26,6 @@ module Fog
end
end
class Mock
def get_send_quota
Fog::Mock.not_implemented
end
end
end
end
end

View file

@ -29,15 +29,6 @@ module Fog
end
end
class Mock
def get_send_statistics
Fog::Mock.not_implemented
end
end
end
end
end

View file

@ -23,15 +23,6 @@ module Fog
end
end
class Mock
def list_verified_email_addresses
Fog::Mock.not_implemented
end
end
end
end
end

View file

@ -68,15 +68,6 @@ module Fog
end
end
class Mock
def send_email(source, destination, message, options = {})
Fog::Mock.not_implemented
end
end
end
end
end

View file

@ -36,15 +36,6 @@ module Fog
end
end
class Mock
def send_raw_email(source, destinations, raw_message)
Fog::Mock.not_implemented
end
end
end
end
end

View file

@ -23,15 +23,6 @@ module Fog
end
end
class Mock
def verify_email_address(email_address)
Fog::Mock.not_implemented
end
end
end
end
end

View file

@ -30,14 +30,6 @@ module Fog
end
end
class Mock
def select(select_expression, next_token = nil)
Fog::Mock.not_implemented
end
end
end
end
end

View file

@ -23,14 +23,6 @@ module Fog
end
end
class Mock # :nodoc:all
def delete_distribution(distribution_id, etag)
Fog::Mock.not_implemented
end
end
end
end
end

View file

@ -52,14 +52,6 @@ module Fog
end
end
class Mock # :nodoc:all
def get_distribution(distribution_id)
Fog::Mock.not_implemented
end
end
end
end
end

View file

@ -54,14 +54,6 @@ module Fog
end
end
class Mock # :nodoc:all
def get_distribution_list(options = {})
Fog::Mock.not_implemented
end
end
end
end
end

View file

@ -86,14 +86,6 @@ module Fog
end
end
class Mock # :nodoc:all
def post_distribution(options = {})
Fog::Mock.not_implemented
end
end
end
end
end

View file

@ -46,14 +46,6 @@ module Fog
end
end
class Mock # :nodoc:all
def post_invalidation(distribution_id, paths, caller_reference = Time.now.to_i.to_s)
Fog::Mock.not_implemented
end
end
end
end
end

View file

@ -89,14 +89,6 @@ module Fog
end
end
class Mock # :nodoc:all
def put_distribution_config(distribution_id, etag, options = {})
Fog::Mock.not_implemented
end
end
end
end
end

View file

@ -26,14 +26,6 @@ module Fog
end
end
class Mock
def get_containers(options = {})
Fog::Mock.not_implemented
end
end
end
end
end

View file

@ -28,14 +28,6 @@ module Fog
end
end
class Mock
def head_container(container)
Fog::Mock.not_implemented
end
end
end
end
end

View file

@ -25,14 +25,6 @@ module Fog
end
end
class Mock
def put_container(name, options = {})
Fog::Mock.not_implemented
end
end
end
end
end

View file

@ -32,14 +32,6 @@ module Fog
end
end
class Mock
def delete_tags(resources, tags)
Fog::Mock.not_implemented
end
end
end
end
end

View file

@ -39,14 +39,6 @@ module Fog
end
end
class Mock
def describe_reserved_instances(filters = {})
Fog::Mock.not_implemented
end
end
end
end
end

View file

@ -32,14 +32,6 @@ module Fog
end
end
class Mock
def describe_reserved_instances_offerings(filters = {})
Fog::Mock.not_implemented
end
end
end
end
end

View file

@ -29,14 +29,6 @@ module Fog
end
end
class Mock
def describe_tags(filters = {})
Fog::Mock.not_implemented
end
end
end
end
end

View file

@ -26,14 +26,6 @@ module Fog
end
end
class Mock
def modify_image_attributes(image_id, attribute, operation_type, options = {})
Fog::Mock.not_implemented
end
end
end
end
end

View file

@ -25,14 +25,6 @@ module Fog
end
end
class Mock
def modify_snapshot_attribute(snapshot_id, attribute, operation_type, options = {})
Fog::Mock.not_implemented
end
end
end
end
end

View file

@ -25,14 +25,6 @@ module Fog
end
end
class Mock
def start_instances(instance_id)
Fog::Mock.not_implemented
end
end
end
end
end

View file

@ -25,14 +25,6 @@ module Fog
end
end
class Mock
def stop_instances(instance_id)
Fog::Mock.not_implemented
end
end
end
end
end

View file

@ -28,14 +28,6 @@ module Fog
end
end
class Mock
def create_block(product_id, template_id, options = {})
Fog::Mock.not_implemented
end
end
end
end
end

View file

@ -21,14 +21,6 @@ module Fog
end
end
class Mock
def destroy_block(block_id)
Fog::Mock.not_implemented
end
end
end
end
end

View file

@ -21,14 +21,6 @@ module Fog
end
end
class Mock
def get_block(block_id)
Fog::Mock.not_implemented
end
end
end
end
end

View file

@ -23,14 +23,6 @@ module Fog
end
end
class Mock
def get_blocks
Fog::Mock.not_implemented
end
end
end
end
end

View file

@ -21,14 +21,6 @@ module Fog
end
end
class Mock
def get_product(product_id)
Fog::Mock.not_implemented
end
end
end
end
end

View file

@ -20,14 +20,6 @@ module Fog
end
end
class Mock
def get_products
Fog::Mock.not_implemented
end
end
end
end
end

View file

@ -21,14 +21,6 @@ module Fog
end
end
class Mock
def get_template(template_id)
Fog::Mock.not_implemented
end
end
end
end
end

View file

@ -21,14 +21,6 @@ module Fog
end
end
class Mock
def get_templates
Fog::Mock.not_implemented
end
end
end
end
end

View file

@ -22,14 +22,6 @@ module Fog
end
end
class Mock
def reboot_block(block_id, type = 'SOFT')
Fog::Mock.not_implemented
end
end
end
end
end

View file

@ -15,14 +15,6 @@ module Fog
end
end
class Mock
def add_nodes_load_balancer(identifier, options = {})
Fog::Mock.not_implemented
end
end
end
end
end

View file

@ -14,14 +14,6 @@ module Fog
end
end
class Mock
def create_api_client(options = {})
Fog::Mock.not_implemented
end
end
end
end
end

View file

@ -14,14 +14,6 @@ module Fog
end
end
class Mock
def create_cloud_ip(options = {})
Fog::Mock.not_implemented
end
end
end
end
end

View file

@ -14,14 +14,6 @@ module Fog
end
end
class Mock
def create_image(options = {})
Fog::Mock.not_implemented
end
end
end
end
end

View file

@ -14,14 +14,6 @@ module Fog
end
end
class Mock
def create_load_balancer(options = {})
Fog::Mock.not_implemented
end
end
end
end
end

View file

@ -14,14 +14,6 @@ module Fog
end
end
class Mock
def create_server(options = {})
Fog::Mock.not_implemented
end
end
end
end
end

View file

@ -15,14 +15,6 @@ module Fog
end
end
class Mock
def destroy_api_client(identifier, options = {})
Fog::Mock.not_implemented
end
end
end
end
end

View file

@ -15,14 +15,6 @@ module Fog
end
end
class Mock
def destroy_cloud_ip(identifier, options = {})
Fog::Mock.not_implemented
end
end
end
end
end

View file

@ -15,14 +15,6 @@ module Fog
end
end
class Mock
def destroy_image(identifier, options = {})
Fog::Mock.not_implemented
end
end
end
end
end

View file

@ -15,14 +15,6 @@ module Fog
end
end
class Mock
def destroy_load_balancer(identifier, options = {})
Fog::Mock.not_implemented
end
end
end
end
end

View file

@ -15,14 +15,6 @@ module Fog
end
end
class Mock
def destroy_server(identifier, options = {})
Fog::Mock.not_implemented
end
end
end
end
end

View file

@ -14,14 +14,6 @@ module Fog
end
end
class Mock
def get_account(options = {})
Fog::Mock.not_implemented
end
end
end
end
end

View file

@ -15,14 +15,6 @@ module Fog
end
end
class Mock
def get_api_client(identifier, options = {})
Fog::Mock.not_implemented
end
end
end
end
end

View file

@ -15,14 +15,6 @@ module Fog
end
end
class Mock
def get_cloud_ip(identifier, options = {})
Fog::Mock.not_implemented
end
end
end
end
end

View file

@ -15,14 +15,6 @@ module Fog
end
end
class Mock
def get_image(identifier, options = {})
Fog::Mock.not_implemented
end
end
end
end
end

View file

@ -15,14 +15,6 @@ module Fog
end
end
class Mock
def get_interface(identifier, options = {})
Fog::Mock.not_implemented
end
end
end
end
end

View file

@ -15,14 +15,6 @@ module Fog
end
end
class Mock
def get_load_balancer(identifier, options = {})
Fog::Mock.not_implemented
end
end
end
end
end

View file

@ -15,14 +15,6 @@ module Fog
end
end
class Mock
def get_server(identifier, options = {})
Fog::Mock.not_implemented
end
end
end
end
end

View file

@ -15,14 +15,6 @@ module Fog
end
end
class Mock
def get_server_type(identifier, options = {})
Fog::Mock.not_implemented
end
end
end
end
end

View file

@ -15,14 +15,6 @@ module Fog
end
end
class Mock
def get_user(identifier, options = {})
Fog::Mock.not_implemented
end
end
end
end
end

View file

@ -15,14 +15,6 @@ module Fog
end
end
class Mock
def get_zone(identifier, options = {})
Fog::Mock.not_implemented
end
end
end
end
end

View file

@ -14,14 +14,6 @@ module Fog
end
end
class Mock
def list_api_clients(options = {})
Fog::Mock.not_implemented
end
end
end
end
end

View file

@ -14,14 +14,6 @@ module Fog
end
end
class Mock
def list_cloud_ips(options = {})
Fog::Mock.not_implemented
end
end
end
end
end

View file

@ -14,14 +14,6 @@ module Fog
end
end
class Mock
def list_images(options = {})
Fog::Mock.not_implemented
end
end
end
end
end

View file

@ -14,14 +14,6 @@ module Fog
end
end
class Mock
def list_load_balancers(options = {})
Fog::Mock.not_implemented
end
end
end
end
end

View file

@ -14,14 +14,6 @@ module Fog
end
end
class Mock
def list_server_types(options = {})
Fog::Mock.not_implemented
end
end
end
end
end

View file

@ -14,14 +14,6 @@ module Fog
end
end
class Mock
def list_servers(options = {})
Fog::Mock.not_implemented
end
end
end
end
end

View file

@ -14,14 +14,6 @@ module Fog
end
end
class Mock
def list_users(options = {})
Fog::Mock.not_implemented
end
end
end
end
end

View file

@ -14,14 +14,6 @@ module Fog
end
end
class Mock
def list_zones(options = {})
Fog::Mock.not_implemented
end
end
end
end
end

View file

@ -15,14 +15,6 @@ module Fog
end
end
class Mock
def map_cloud_ip(identifier, options = {})
Fog::Mock.not_implemented
end
end
end
end
end

View file

@ -15,14 +15,6 @@ module Fog
end
end
class Mock
def remove_nodes_load_balancer(identifier, options = {})
Fog::Mock.not_implemented
end
end
end
end
end

View file

@ -14,14 +14,6 @@ module Fog
end
end
class Mock
def reset_ftp_password_account(options = {})
Fog::Mock.not_implemented
end
end
end
end
end

View file

@ -14,14 +14,6 @@ module Fog
end
end
class Mock
def resize_server(identifier, options = {})
Fog::Mock.not_implemented
end
end
end
end
end

View file

@ -15,14 +15,6 @@ module Fog
end
end
class Mock
def shutdown_server(identifier, options = {})
Fog::Mock.not_implemented
end
end
end
end
end

View file

@ -15,14 +15,6 @@ module Fog
end
end
class Mock
def snapshot_server(identifier, options = {})
Fog::Mock.not_implemented
end
end
end
end
end

View file

@ -15,14 +15,6 @@ module Fog
end
end
class Mock
def start_server(identifier, options = {})
Fog::Mock.not_implemented
end
end
end
end
end

View file

@ -15,14 +15,6 @@ module Fog
end
end
class Mock
def stop_server(identifier, options = {})
Fog::Mock.not_implemented
end
end
end
end
end

View file

@ -15,14 +15,6 @@ module Fog
end
end
class Mock
def unmap_cloud_ip(identifier, options = {})
Fog::Mock.not_implemented
end
end
end
end
end

View file

@ -15,14 +15,6 @@ module Fog
end
end
class Mock
def update_account(options = {})
Fog::Mock.not_implemented
end
end
end
end
end

Some files were not shown because too many files have changed in this diff Show more