deltacloud-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mfoj...@apache.org
Subject [4/54] [partial] git commit: Core: Removed deprecated tests from server/tests directory
Date Mon, 20 Aug 2012 08:53:44 GMT
Core: Removed deprecated tests from server/tests directory

* All tests should be now replaced using minitest


Project: http://git-wip-us.apache.org/repos/asf/deltacloud/repo
Commit: http://git-wip-us.apache.org/repos/asf/deltacloud/commit/73b5c596
Tree: http://git-wip-us.apache.org/repos/asf/deltacloud/tree/73b5c596
Diff: http://git-wip-us.apache.org/repos/asf/deltacloud/diff/73b5c596

Branch: refs/heads/master
Commit: 73b5c596c5fbe606c548d2c0a889b24652985845
Parents: 6fdc72d
Author: Michal Fojtik <mfojtik@redhat.com>
Authored: Fri Aug 17 12:01:08 2012 +0200
Committer: Michal fojtik <mfojtik@redhat.com>
Committed: Fri Aug 17 12:01:08 2012 +0200

----------------------------------------------------------------------
 server/tests/deprecated/api/common.rb              |    1 -
 server/tests/deprecated/api/driver_test.rb         |   79 -
 server/tests/deprecated/api/library_test.rb        |    6 -
 .../cimi/features/machine_images.feature           |   20 -
 .../deprecated/cimi/features/machines.feature      |   46 -
 .../cimi/features/step_definitions/common_steps.rb |   59 -
 .../features/step_definitions/machines_steps.rb    |  100 -
 .../features/step_definitions/volumes_steps.rb     |  115 -
 .../tests/deprecated/cimi/features/support/env.rb  |   75 -
 .../tests/deprecated/cimi/features/volumes.feature |   46 -
 server/tests/deprecated/common.rb                  |  279 -
 server/tests/deprecated/core_ext/string.rb         |   31 -
 .../common_fixtures/deltacloud_blob_test.png       |  Bin 24436 -> 0 bytes
 server/tests/deprecated/drivers/ec2/api_test.rb    |   19 -
 server/tests/deprecated/drivers/ec2/common.rb      |   23 -
 .../tests/deprecated/drivers/ec2/drivers_test.rb   |  120 -
 ...g_the_images_collection_with_authentication.yml | 7056 --------------
 ...he_instances_collection_with_authentication.yml |  307 -
 ...ing_the_keys_collection_with_authentication.yml |   44 -
 ...g_the_realms_collection_with_authentication.yml |   66 -
 ...est_0004_should_support_the_json_media_type.yml | 7576 ---------------
 ..._0005_must_include_the_etag_in_http_headers.yml | 7464 --------------
 ...6_must_have_the_images_element_on_top_level.yml | 7056 --------------
 ...ust_have_the_instances_element_on_top_level.yml |  463 -
 ...006_must_have_the_keys_element_on_top_level.yml |   44 -
 ...6_must_have_the_realms_element_on_top_level.yml |   66 -
 ...ust_have_some_image_elements_inside_images_.yml | 7056 --------------
 ...ve_some_instance_elements_inside_instances_.yml |  363 -
 ...07_must_have_some_key_elements_inside_keys_.yml |   44 -
 ...ust_have_some_realm_elements_inside_realms_.yml |   66 -
 ...e_id_attribute_for_each_image_in_collection.yml | 7056 --------------
 ...d_attribute_for_each_instance_in_collection.yml |  463 -
 ...e_id_attribute_for_each_realm_in_collection.yml |   66 -
 ..._tell_the_kind_of_key_elements_inside_keys_.yml |   44 -
 ...ribute_for_each_image_element_in_collection.yml | 7056 --------------
 ...ute_for_each_instance_element_in_collection.yml |  419 -
 ...ribute_for_each_realm_element_in_collection.yml |   66 -
 ...the_id_attribute_for_each_key_in_collection.yml |   44 -
 ...ttribute_for_each_key_element_in_collection.yml |   44 -
 ...use_the_absolute_url_in_each_href_attribute.yml | 7423 --------------
 ...ave_the_url_ending_with_the_id_of_the_image.yml | 7056 --------------
 ..._the_url_ending_with_the_id_of_the_instance.yml |  307 -
 ...ave_the_url_ending_with_the_id_of_the_realm.yml |   66 -
 ...use_the_absolute_url_in_each_href_attribute.yml |   44 -
 ..._have_the_url_ending_with_the_id_of_the_key.yml |   44 -
 ...lement_defined_for_each_image_in_collection.yml | 7056 --------------
 ...ent_defined_for_each_instance_in_collection.yml |  363 -
 ...lement_defined_for_each_realm_in_collection.yml |   66 -
 ..._element_defined_for_each_key_in_collection.yml |   44 -
 ...lement_defined_for_each_image_in_collection.yml | 7056 --------------
 ...ent_defined_for_each_instance_in_collection.yml |  463 -
 ...lement_defined_for_each_realm_in_collection.yml |   66 -
 ...er_when_following_the_url_in_driver_element.yml |   64 -
 ..._it_should_match_with_the_one_in_collection.yml |   64 -
 ...ials_when_using_force_auth_parameter_in_url.yml |   66 -
 ...age_when_following_the_url_in_image_element.yml | 7056 --------------
 ...the_url_in_image_element_image_ami-16a3577f.yml |   62 -
 ...the_url_in_image_element_image_ami-2245994b.yml |   62 -
 ...the_url_in_image_element_image_ami-3d599754.yml |   62 -
 ...the_url_in_image_element_image_ami-6e649707.yml |   61 -
 ...the_url_in_image_element_image_ami-a04498c9.yml |   62 -
 ...the_url_in_image_element_image_ami-ab844dc2.yml |   62 -
 ...the_url_in_image_element_image_ami-c02df0a9.yml |   61 -
 ...the_url_in_image_element_image_ami-e0a35789.yml |   62 -
 ...the_url_in_image_element_image_ami-e4a3578d.yml |   62 -
 ...the_url_in_image_element_image_ami-e4a7558d.yml |   61 -
 ...the_url_in_image_element_image_ami-eea35787.yml |   62 -
 ..._when_following_the_url_in_instance_element.yml |  419 -
 ...url_in_instance_element_instance_i-0d372f6b.yml |   80 -
 ...url_in_instance_element_instance_i-1b352d7d.yml |   80 -
 ...url_in_instance_element_instance_i-37213951.yml |   92 -
 ...url_in_instance_element_instance_i-3f7c6459.yml |   79 -
 ...url_in_instance_element_instance_i-79223a1f.yml |   92 -
 ...url_in_instance_element_instance_i-7f362e19.yml |   80 -
 ...url_in_instance_element_instance_i-df352db9.yml |   89 -
 ...url_in_instance_element_instance_i-ff7a6299.yml |   79 -
 ...l_key_when_following_the_url_in_key_element.yml |  118 -
 ...alm_when_following_the_url_in_realm_element.yml |   66 -
 ...following_the_url_in_realm_element_realm_id.yml |  198 -
 ..._it_should_match_with_the_one_in_collection.yml | 7056 --------------
 ...th_the_one_in_collection_image_ami-16a3577f.yml |   62 -
 ...th_the_one_in_collection_image_ami-2245994b.yml |   62 -
 ...th_the_one_in_collection_image_ami-3d599754.yml |   62 -
 ...th_the_one_in_collection_image_ami-6e649707.yml |   61 -
 ...th_the_one_in_collection_image_ami-a04498c9.yml |   62 -
 ...th_the_one_in_collection_image_ami-ab844dc2.yml |   62 -
 ...th_the_one_in_collection_image_ami-c02df0a9.yml |   61 -
 ...th_the_one_in_collection_image_ami-e0a35789.yml |   62 -
 ...th_the_one_in_collection_image_ami-e4a3578d.yml |   62 -
 ...th_the_one_in_collection_image_ami-e4a7558d.yml |   61 -
 ...th_the_one_in_collection_image_ami-eea35787.yml |   62 -
 ..._it_should_match_with_the_one_in_collection.yml |  363 -
 ...h_the_one_in_collection_instance_i-0d372f6b.yml |   80 -
 ...h_the_one_in_collection_instance_i-1b352d7d.yml |   80 -
 ...h_the_one_in_collection_instance_i-37213951.yml |   92 -
 ...h_the_one_in_collection_instance_i-3f7c6459.yml |   79 -
 ...h_the_one_in_collection_instance_i-7f362e19.yml |   80 -
 ...h_the_one_in_collection_instance_i-df352db9.yml |   89 -
 ...h_the_one_in_collection_instance_i-ff7a6299.yml |   79 -
 ..._it_should_match_with_the_one_in_collection.yml |   44 -
 ..._match_with_the_one_in_collection_key_test1.yml |   40 -
 ..._match_with_the_one_in_collection_key_test2.yml |   40 -
 ..._it_should_match_with_the_one_in_collection.yml |   66 -
 ...with_the_one_in_collection_realm_us-east-1a.yml |   42 -
 ...with_the_one_in_collection_realm_us-east-1b.yml |   42 -
 ...with_the_one_in_collection_realm_us-east-1c.yml |   42 -
 ...with_the_one_in_collection_realm_us-east-1d.yml |   42 -
 ...with_the_one_in_collection_realm_us-east-1e.yml |   42 -
 ..._it_should_match_with_the_one_in_collection.yml | 7056 --------------
 ...th_the_one_in_collection_image_ami-16a3577f.yml |   62 -
 ...th_the_one_in_collection_image_ami-2245994b.yml |   62 -
 ...th_the_one_in_collection_image_ami-3d599754.yml |   62 -
 ...th_the_one_in_collection_image_ami-6e649707.yml |   61 -
 ...th_the_one_in_collection_image_ami-a04498c9.yml |   62 -
 ...th_the_one_in_collection_image_ami-ab844dc2.yml |   62 -
 ...th_the_one_in_collection_image_ami-c02df0a9.yml |   61 -
 ...th_the_one_in_collection_image_ami-e0a35789.yml |   62 -
 ...th_the_one_in_collection_image_ami-e4a3578d.yml |   62 -
 ...th_the_one_in_collection_image_ami-e4a7558d.yml |   61 -
 ...th_the_one_in_collection_image_ami-eea35787.yml |   62 -
 ..._it_should_match_with_the_one_in_collection.yml |  307 -
 ...h_the_one_in_collection_instance_i-0d372f6b.yml |   80 -
 ...h_the_one_in_collection_instance_i-1b352d7d.yml |   80 -
 ...h_the_one_in_collection_instance_i-3f7c6459.yml |   79 -
 ...h_the_one_in_collection_instance_i-7f362e19.yml |   80 -
 ...h_the_one_in_collection_instance_i-df352db9.yml |   89 -
 ...h_the_one_in_collection_instance_i-ff7a6299.yml |   79 -
 ..._it_should_match_with_the_one_in_collection.yml |   44 -
 ..._match_with_the_one_in_collection_key_test1.yml |   40 -
 ..._match_with_the_one_in_collection_key_test2.yml |   40 -
 ..._it_should_match_with_the_one_in_collection.yml |   66 -
 ...atch_with_the_one_in_collection_realm_r_id_.yml |  198 -
 ..._it_should_match_with_the_one_in_collection.yml |  307 -
 ...h_the_one_in_collection_instance_i-0d372f6b.yml |   80 -
 ...h_the_one_in_collection_instance_i-1b352d7d.yml |   80 -
 ...h_the_one_in_collection_instance_i-3f7c6459.yml |   79 -
 ...h_the_one_in_collection_instance_i-7f362e19.yml |   80 -
 ...h_the_one_in_collection_instance_i-df352db9.yml |   89 -
 ...h_the_one_in_collection_instance_i-ff7a6299.yml |   79 -
 ...f_actions_that_can_be_executed_for_each_key.yml |   44 -
 ...that_can_be_executed_for_each_key_key_test1.yml |   40 -
 ...that_can_be_executed_for_each_key_key_test2.yml |   40 -
 ...ld_have_the_owner_id_element_for_each_image.yml | 7056 --------------
 ...d_element_for_each_image_image_ami-16a3577f.yml |   62 -
 ...d_element_for_each_image_image_ami-2245994b.yml |   62 -
 ...d_element_for_each_image_image_ami-3d599754.yml |   62 -
 ...d_element_for_each_image_image_ami-6e649707.yml |   61 -
 ...d_element_for_each_image_image_ami-a04498c9.yml |   62 -
 ...d_element_for_each_image_image_ami-ab844dc2.yml |   62 -
 ...d_element_for_each_image_image_ami-c02df0a9.yml |   61 -
 ...d_element_for_each_image_image_ami-e0a35789.yml |   62 -
 ...d_element_for_each_image_image_ami-e4a3578d.yml |   62 -
 ...d_element_for_each_image_image_ami-e4a7558d.yml |   61 -
 ...d_element_for_each_image_image_ami-eea35787.yml |   62 -
 ...m_that_was_used_to_during_instance_creation.yml |  463 -
 ...uring_instance_creation_instance_i-0d372f6b.yml |   80 -
 ...uring_instance_creation_instance_i-1b352d7d.yml |   80 -
 ...uring_instance_creation_instance_i-37213951.yml |   92 -
 ...uring_instance_creation_instance_i-3f7c6459.yml |   79 -
 ...uring_instance_creation_instance_i-6f243c09.yml |   92 -
 ...uring_instance_creation_instance_i-79223a1f.yml |   80 -
 ...uring_instance_creation_instance_i-7f362e19.yml |   80 -
 ...uring_instance_creation_instance_i-df352db9.yml |   89 -
 ...uring_instance_creation_instance_i-ff7a6299.yml |   79 -
 ...llow_to_create_a_new_key_and_then_remove_it.yml |   59 -
 ...ey_and_then_remove_it_delete_key_1338461880.yml |   72 -
 ...a_new_key_and_then_remove_it_key_1338461880.yml |   40 -
 ...have_the_description_element_for_each_image.yml | 7056 --------------
 ...n_element_for_each_image_image_ami-16a3577f.yml |   62 -
 ...n_element_for_each_image_image_ami-2245994b.yml |   62 -
 ...n_element_for_each_image_image_ami-3d599754.yml |   62 -
 ...n_element_for_each_image_image_ami-6e649707.yml |   61 -
 ...n_element_for_each_image_image_ami-a04498c9.yml |   62 -
 ...n_element_for_each_image_image_ami-ab844dc2.yml |   62 -
 ...n_element_for_each_image_image_ami-c02df0a9.yml |   61 -
 ...n_element_for_each_image_image_ami-e0a35789.yml |   62 -
 ...n_element_for_each_image_image_ami-e4a3578d.yml |   62 -
 ...n_element_for_each_image_image_ami-e4a7558d.yml |   61 -
 ...n_element_for_each_image_image_ami-eea35787.yml |   62 -
 ...e_that_was_used_to_during_instance_creation.yml |  363 -
 ...uring_instance_creation_instance_i-0d372f6b.yml |   80 -
 ...uring_instance_creation_instance_i-1b352d7d.yml |   80 -
 ...uring_instance_creation_instance_i-37213951.yml |   92 -
 ...uring_instance_creation_instance_i-3f7c6459.yml |   79 -
 ...uring_instance_creation_instance_i-7f362e19.yml |   80 -
 ...uring_instance_creation_instance_i-df352db9.yml |   89 -
 ...uring_instance_creation_instance_i-ff7a6299.yml |   79 -
 ...ave_the_architecture_element_for_each_image.yml | 7056 --------------
 ...e_element_for_each_image_image_ami-16a3577f.yml |   62 -
 ...e_element_for_each_image_image_ami-2245994b.yml |   62 -
 ...e_element_for_each_image_image_ami-3d599754.yml |   62 -
 ...e_element_for_each_image_image_ami-6e649707.yml |   61 -
 ...e_element_for_each_image_image_ami-a04498c9.yml |   62 -
 ...e_element_for_each_image_image_ami-ab844dc2.yml |   62 -
 ...e_element_for_each_image_image_ami-c02df0a9.yml |   61 -
 ...e_element_for_each_image_image_ami-e0a35789.yml |   62 -
 ...e_element_for_each_image_image_ami-e4a3578d.yml |   62 -
 ...e_element_for_each_image_image_ami-e4a7558d.yml |   61 -
 ...e_element_for_each_image_image_ami-eea35787.yml |   62 -
 ...e_that_was_used_to_during_instance_creation.yml |  463 -
 ...uring_instance_creation_instance_i-0d372f6b.yml |   80 -
 ...uring_instance_creation_instance_i-1b352d7d.yml |   80 -
 ...uring_instance_creation_instance_i-37213951.yml |   92 -
 ...uring_instance_creation_instance_i-3f7c6459.yml |   79 -
 ...uring_instance_creation_instance_i-6f243c09.yml |   92 -
 ...uring_instance_creation_instance_i-79223a1f.yml |   80 -
 ...uring_instance_creation_instance_i-7f362e19.yml |   80 -
 ...uring_instance_creation_instance_i-df352db9.yml |   89 -
 ...uring_instance_creation_instance_i-ff7a6299.yml |   79 -
 ...compatible_hardware_profiles_for_each_image.yml | 7056 --------------
 ..._profiles_for_each_image_image_ami-16a3577f.yml |   62 -
 ..._profiles_for_each_image_image_ami-2245994b.yml |   62 -
 ..._profiles_for_each_image_image_ami-3d599754.yml |   62 -
 ..._profiles_for_each_image_image_ami-6e649707.yml |   61 -
 ..._profiles_for_each_image_image_ami-a04498c9.yml |   62 -
 ..._profiles_for_each_image_image_ami-ab844dc2.yml |   62 -
 ..._profiles_for_each_image_image_ami-c02df0a9.yml |   61 -
 ..._profiles_for_each_image_image_ami-e0a35789.yml |   62 -
 ..._profiles_for_each_image_image_ami-e4a3578d.yml |   62 -
 ..._profiles_for_each_image_image_ami-e4a7558d.yml |   61 -
 ..._profiles_for_each_image_image_ami-eea35787.yml |   62 -
 ...actions_that_can_be_executed_for_each_image.yml | 7056 --------------
 ..._executed_for_each_image_image_ami-16a3577f.yml |   62 -
 ..._executed_for_each_image_image_ami-2245994b.yml |   62 -
 ..._executed_for_each_image_image_ami-3d599754.yml |   62 -
 ..._executed_for_each_image_image_ami-6e649707.yml |   61 -
 ..._executed_for_each_image_image_ami-a04498c9.yml |   62 -
 ..._executed_for_each_image_image_ami-ab844dc2.yml |   62 -
 ..._executed_for_each_image_image_ami-c02df0a9.yml |   61 -
 ..._executed_for_each_image_image_ami-e0a35789.yml |   62 -
 ..._executed_for_each_image_image_ami-e4a3578d.yml |   62 -
 ..._executed_for_each_image_image_ami-e4a7558d.yml |   61 -
 ..._executed_for_each_image_image_ami-eea35787.yml |   62 -
 ...ublic_and_private_addresses_of_the_instance.yml |  463 -
 ...se_the_storage_volumes_used_by_the_instance.yml |  307 -
 ...es_used_by_the_instance_instance_i-0d372f6b.yml |   80 -
 ...es_used_by_the_instance_instance_i-1b352d7d.yml |   80 -
 ...es_used_by_the_instance_instance_i-3f7c6459.yml |   79 -
 ...es_used_by_the_instance_instance_i-7f362e19.yml |   80 -
 ...es_used_by_the_instance_instance_i-df352db9.yml |   89 -
 ...es_used_by_the_instance_instance_i-ff7a6299.yml |   79 -
 ...ions_that_can_be_executed_for_each_instance.yml |  419 -
 ...cuted_for_each_instance_instance_i-0d372f6b.yml |   80 -
 ...cuted_for_each_instance_instance_i-1b352d7d.yml |   80 -
 ...cuted_for_each_instance_instance_i-37213951.yml |   92 -
 ...cuted_for_each_instance_instance_i-3f7c6459.yml |   79 -
 ...cuted_for_each_instance_instance_i-79223a1f.yml |   92 -
 ...cuted_for_each_instance_instance_i-7f362e19.yml |   80 -
 ...cuted_for_each_instance_instance_i-df352db9.yml |   89 -
 ...cuted_for_each_instance_instance_i-ff7a6299.yml |   79 -
 ...ing_the_image_without_realm_create_instance.yml |   76 -
 ...ing_the_image_without_realm_delete_instance.yml |  221 -
 ..._using_the_image_without_realm_get_instance.yml |   76 -
 ...ing_the_image_without_realm_pool_0_instance.yml |   76 -
 ...ing_the_image_without_realm_pool_1_instance.yml |   76 -
 ...ing_the_image_without_realm_pool_2_instance.yml |   88 -
 ...sing_the_image_within_realm_create_instance.yml |   76 -
 ...sing_the_image_within_realm_delete_instance.yml |  221 -
 ...e_using_the_image_within_realm_get_instance.yml |   76 -
 ...sing_the_image_within_realm_pool_0_instance.yml |   76 -
 ...sing_the_image_within_realm_pool_1_instance.yml |   76 -
 ...sing_the_image_within_realm_pool_2_instance.yml |   88 -
 ..._and_first_hardware_profile_create_instance.yml |   76 -
 ..._and_first_hardware_profile_delete_instance.yml |  221 -
 ...age_and_first_hardware_profile_get_instance.yml |   76 -
 ..._and_first_hardware_profile_pool_0_instance.yml |   76 -
 ..._and_first_hardware_profile_pool_1_instance.yml |   76 -
 ..._and_first_hardware_profile_pool_2_instance.yml |   76 -
 ..._and_first_hardware_profile_pool_3_instance.yml |   88 -
 .../drivers/ec2/hardware_profiles_test.rb          |  224 -
 server/tests/deprecated/drivers/ec2/images_test.rb |  230 -
 .../tests/deprecated/drivers/ec2/instances_test.rb |  356 -
 server/tests/deprecated/drivers/ec2/keys_test.rb   |  181 -
 server/tests/deprecated/drivers/ec2/realms_test.rb |  146 -
 server/tests/deprecated/drivers/fgcp/api_test.rb   |   47 -
 .../drivers/fgcp/hardware_profiles_test.rb         |   54 -
 .../tests/deprecated/drivers/fgcp/realms_test.rb   |   42 -
 server/tests/deprecated/drivers/fgcp/setup.rb      |   13 -
 server/tests/deprecated/drivers/google/api_test.rb |   19 -
 .../deprecated/drivers/google/buckets_test.rb      |  100 -
 server/tests/deprecated/drivers/google/common.rb   |   54 -
 .../fixtures/test_0001_can_create_a_new_bucket.yml |   36 -
 ...t_0002_can_create_a_new_blob_with_HTTP_POST.yml |  593 --
 ...test_0003_can_retrieve_named_bucket_details.yml |   34 -
 ...t_0004_can_retrieve_details_of_a_named_blob.yml |   46 -
 .../test_0005_can_retrieve_named_blob_metadata.yml |   46 -
 .../test_0006_can_update_blob_metadata.yml         |   46 -
 .../google/fixtures/test_0007_can_delete_blob.yml  |   32 -
 .../fixtures/test_0008_can_delete_bucket.yml       |   32 -
 ...ials_when_using_force_auth_parameter_in_URL.yml |   34 -
 server/tests/deprecated/drivers/mock/api_test.rb   |   10 -
 .../tests/deprecated/drivers/mock/buckets_test.rb  |  195 -
 server/tests/deprecated/drivers/mock/common.rb     |    7 -
 .../tests/deprecated/drivers/mock/drivers_test.rb  |  123 -
 .../drivers/mock/hardware_profiles_test.rb         |  224 -
 .../tests/deprecated/drivers/mock/images_test.rb   |  197 -
 .../deprecated/drivers/mock/instances_test.rb      |  343 -
 server/tests/deprecated/drivers/mock/keys_test.rb  |  161 -
 .../tests/deprecated/drivers/mock/realms_test.rb   |  132 -
 .../drivers/mock/storage_snapshots_test.rb         |  114 -
 .../drivers/mock/storage_volumes_test.rb           |  122 -
 .../tests/deprecated/drivers/openstack/api_test.rb |   46 -
 .../tests/deprecated/drivers/openstack/common.rb   |   21 -
 ...et-03188c338fe30b163c22600f148827d5cf593041.yml |  176 -
 ...et-0675e161550489f2bd14f86597deab140e8c990e.yml |  174 -
 ...et-12fe2cc26e2a51ba3fd943e6481e86c1278d76f7.yml |  174 -
 ...et-16296a365c236d0d433c3bc8debad1482dee8c41.yml |  349 -
 ...et-2154c99183066a5ada7ec35a6dad561b4dc38e32.yml |  176 -
 ...et-2734c640f0de060d4e963daf45bdf1fb1cbcce86.yml |  176 -
 ...et-2d68a5d46607fc45da7292a36649990e23baf870.yml |  176 -
 ...et-477dc2b0cec2062d97f22d4d053a880c3c16cb24.yml |  176 -
 ...et-4cfdd2f15d59279db86947384cbe8640b7d51c79.yml |  176 -
 ...et-58e09edce17ca002ad15ac70676fbe73012bf118.yml |  149 -
 ...et-5e94f66aee0a458b843a6992beed741128a0ea52.yml |  176 -
 ...et-6c76fc9c314d5bf21bd0d9434a4372d2295e3e5b.yml |  174 -
 ...et-7952b1a23c5d4fc4fd2ae56fe614afae30dc649c.yml |  347 -
 ...et-79f2287f187af011997e5b60b0a3f331371eba5b.yml |  176 -
 ...et-7fd642915c3d5c70aba42fe5118fb5d5bfae244f.yml |  176 -
 ...et-8660c4b9fbf19983cdd4d6b4eb849b45665e9b73.yml |  176 -
 ...et-8918cacaff6f52b31c7e9364ec06ecb6ec6a8c03.yml |  174 -
 ...et-8a1c42acee24a6c9640586f558c47e2cd8cba2aa.yml |  174 -
 ...et-ad599a1c1f8f61a6484b9a522a9cd6359191c94c.yml |  174 -
 ...et-bbdb548135029971a33efaa2d57d72c3d94ede5b.yml |  178 -
 ...et-cee6099e633ad711f35a7394721cb494a0a7c24d.yml |  176 -
 ...et-da7fafb861502692bf2987918f0cc29c951305c5.yml |  178 -
 ...et-eeca79b7238c7d47ba344febd26b7d7a3d245fda.yml |  176 -
 ...st-40e22624a6e6e4ebce4838a8a07ef79a9f4f12da.yml |  203 -
 ...st-4dd0a1218e6e56068bf06166824cdccfc92ff94f.yml |  376 -
 ...st-5f3a837fc10786f0348dd186885b6fafab3505e3.yml |  378 -
 ...st-ad0fae929173373dbda247f2d3580e61d08d86cf.yml |  376 -
 ...st-ad1c9a6a30ebabd8e54c99d70c5ae55e0bce07a0.yml |  378 -
 ...st-e76eb822e9d5ef959a99ab9c276973f63c2158ae.yml |  376 -
 .../drivers/openstack/hardware_profiles_test.rb    |   64 -
 .../deprecated/drivers/openstack/images_test.rb    |   46 -
 .../deprecated/drivers/openstack/instances_test.rb |  208 -
 .../deprecated/drivers/openstack/realms_test.rb    |   40 -
 .../tests/deprecated/drivers/rackspace/api_test.rb |   46 -
 .../deprecated/drivers/rackspace/buckets_test.rb   |  150 -
 .../tests/deprecated/drivers/rackspace/common.rb   |   16 -
 ...te-a2f541951d627f751539b755b04a4bd2348364be.yml |  125 -
 ...te-da7709ee88bb0c93d96c2747073d5dfb496eea35.yml |   69 -
 .../rackspace/fixtures/deltacloud_blob_test.png    |  Bin 24436 -> 0 bytes
 ...et-0fa9aa4738e80d24718822ce86bd44026d1a8cec.yml |   83 -
 ...et-1322481c1cecf7c40d63570fdefafde7a15d9835.yml |  211 -
 ...et-2fcfc33bdaf35e34ea8cd309f35c48ba675afa8b.yml |   83 -
 ...et-3373c2442bbe321ee2175d40f14146247438be6b.yml |   79 -
 ...et-733e8ec18a1bd16ed292e9185e04835a7c1621db.yml |   83 -
 ...et-75bd20c2a4dc796b44469145e8de36d3ffab9743.yml |  133 -
 ...et-8fa5ace7e3bf48c86e82dcf78ec71baee0da8f5a.yml |   83 -
 ...et-9754f6d40e3523b4e76658e02172c3d2f38590b8.yml |   81 -
 ...et-9862d8ff8c40b8da7c3002f5618f0354429b2d03.yml |   83 -
 ...et-98a83fb318eab186be55e9542ad42bcf5a36cc83.yml |   81 -
 ...et-9ce8c09907082114e9e5986915d806eeadcbf7cd.yml |   83 -
 ...et-aae33d9fa399be93dfd9098381ecfb2211781789.yml |   79 -
 ...et-b84d468c592033e08492238bd5c80639cbc63bd3.yml |   40 -
 ...et-b90a10d857f8faf0aa40f2d00d4b163a4c443764.yml |   81 -
 ...et-c373438f7f9723d1ae169f540a9f8f54e1015598.yml |   81 -
 ...et-cf6ad2b5a515c4a2254b65709e4da4d7bcad32ec.yml |   83 -
 ...et-d36a7f3c4cd5c044de54dc50cd865e8e0611bff2.yml |   83 -
 ...et-d69cab1f8c346dc2f51a2865feeeb744da88cdfd.yml |   83 -
 ...et-d6e43a79c4429459bf2618c5a6a6d80757a67ef9.yml |   83 -
 ...st-165f1ed29df23e6c585ba08d4bd1748b81bef0c2.yml |  122 -
 ...st-7953c818aab9250236b6c2ff1d732b2ea2a5e276.yml |  158 -
 ...st-9b578b9f31a13b4f665d38627f98684069c4339a.yml |  694 --
 ...st-a2f541951d627f751539b755b04a4bd2348364be.yml |  180 -
 ...st-ac6a1a9a7e71a0533130f4de16dc449384111691.yml |  206 -
 ...st-b69c107b6935fbca533ef9473121b8b0b5009a83.yml |  204 -
 ...st-c29de27eb57dd3b1d715623c78d86ae1e4ca70d3.yml |  122 -
 ...st-f9bda1a06ef7ce276f396c05c517f2eb3991e1c0.yml |  204 -
 .../drivers/rackspace/hardware_profiles_test.rb    |   58 -
 .../deprecated/drivers/rackspace/images_test.rb    |   45 -
 .../deprecated/drivers/rackspace/instances_test.rb |  166 -
 .../deprecated/drivers/rackspace/realms_test.rb    |   41 -
 server/tests/deprecated/drivers/rhevm/api_test.rb  |   45 -
 server/tests/deprecated/drivers/rhevm/common.rb    |   21 -
 ...te-2f35e40b314d841a0297ee9837a252c8cd351ca7.yml |  458 -
 ...te-739ae9bc804b6b6c8afe8ed9a0371f6a8f3a6eed.yml |  458 -
 ...et-0053b52481b20089c8f9141d2166553f2650a136.yml |  218 -
 ...et-05c6d940375f09716aa01ee4835b8e322f4c52f7.yml |   26 -
 ...et-079e79065b2fb66fe12060789ca8f4bfb4a05e20.yml |  218 -
 ...et-0a9f52bc53e2f5c68137e2bd38d52a933185a83d.yml |  218 -
 ...et-0f50173e8cba941468c17039c11d63e940e351f7.yml |  170 -
 ...et-0fe614c5efab522d295a24de3eddcb39db0e1b7f.yml |  215 -
 ...et-12d18dede9cedfbe0347fd70fc4409955aa056d8.yml |   26 -
 ...et-163a76f09d41670494c54dcd2eab373a5588683d.yml |  170 -
 ...et-1827342e1086a2769a773b409e266839577786c7.yml |  218 -
 ...et-1861b28b69f0b356ce25cae22f9a93c2eda5e87c.yml |  218 -
 ...et-1865a57f69d9db21145421cd023876ab1ccb243c.yml |  218 -
 ...et-240967e47265318b42f29e2f07ce93fbd1de5cc1.yml |   26 -
 ...et-341e9680d8afbee60d06d16020aa201cb3f11658.yml |   26 -
 ...et-36035fa8ea847f1af5f946fecc1183d74e699b9f.yml |   26 -
 ...et-39a0035e37bae9bc3c9759f39a47761717419f09.yml |  213 -
 ...et-3a1b7c2abd391e311c5cb15458030f446b499c87.yml |   26 -
 ...et-3e70a356c96842b7ec197a8017496a4f0d61e158.yml |  213 -
 ...et-47dcfb3283d7776d3d1ee9a3002904dfc498bfb0.yml |  215 -
 ...et-4afdab99752894112aeac79976c5d71a4212a4fc.yml |   26 -
 ...et-4f1d260cc74932d79a07418147e561e90782144b.yml |   26 -
 ...et-620965396fa389179e1f43d6a4e553d9a8ad9523.yml |   26 -
 ...et-6469d7def4b87648ee9b5452ade91b045acf6d28.yml |   26 -
 ...et-6a7b86d0c3d62a17f63faab57efcddee3bf3beee.yml |  218 -
 ...et-6f915fe338d543acd738bbf50925bdf8406133dd.yml |   26 -
 ...et-7016a40f99698f5bac151497db6d96dc08be2e90.yml |   77 -
 ...et-7ccbc3fc3355a6eb2241ecc23df2b12974a1149f.yml |  213 -
 ...et-81721c3229c025cae98264c97dc02d55eae56de4.yml |  218 -
 ...et-82a98fda70661fd34f8e29f83f5451c6fd805f8b.yml |  218 -
 ...et-8c6c63dce86c4bcca8ccdd74a4268f9bb174d0e7.yml |  218 -
 ...et-8c8342c64d026d12713b2d6443f7d6388f49a2c3.yml |  213 -
 ...et-941e554cdd9147fd95e351a8ed762e7f410c1384.yml |  218 -
 ...et-96b9622f4435837316886c075d5e99f227963cf6.yml |   26 -
 ...et-9f2f4d4d762b40c9e6c8f9a50c63fdd930d8a84a.yml |   26 -
 ...et-a825a19a9365d227cc5e60721b58d078c6987eb7.yml |   26 -
 ...et-a9051666a6219f2f448b46d8c8485ce1ff170f4a.yml |   26 -
 ...et-b05eb97723d98a33c8cdf893e93b1edd8e077419.yml |   26 -
 ...et-b0c646e6c9a0fe84c8cfe246d2954e832d1152f3.yml |   26 -
 ...et-b341a940a1f98caa87f7517a8bd1a3cef54c4833.yml |  170 -
 ...et-b42d2969d1aa46e67d31135d2e3f226d481b641f.yml |  218 -
 ...et-b699940f348478d0883bba14243f83cc86d31d6f.yml |   26 -
 ...et-b7b8c05d2e2a96a072a93e87a93699e5d4a6a4e2.yml |   26 -
 ...et-c74a3b8c61def1bd846ccd5793152e2cce2d301f.yml |   26 -
 ...et-ce6d34577e28615f3d93bb2b22e566ce32d5fe66.yml |   26 -
 ...et-cea6a2c198be14b75b0b6ada06a7a3385c0db02f.yml |  218 -
 ...et-d77056963d3f86e7d017ce1e78a3fffd3c83ca96.yml |   26 -
 ...et-dd7d02910e76e86ce94d113c1175f2ddb2ec711d.yml |  170 -
 ...et-e24351509e244326802eac05f5523911babd5697.yml |   26 -
 ...et-e740b85e35fc33c180e9388d98b61214b831e3f8.yml |   26 -
 ...et-e7956d4255eb59f5079fde7066332da8df3170f4.yml |   26 -
 ...et-ee2529c864396512101b9595ed21f05f1815d3eb.yml |   26 -
 ...et-f1d6fe5300bb627fd7d85a415b2e1a6ffe3194af.yml |  525 -
 ...et-fc3d1677e10cb8933d18292e6d7536fcbeb98d05.yml |   26 -
 ...et-ffdb056ce0a719c58f853b13a7e7a166987c8553.yml |  218 -
 ...st-13130c2bcc09d0eaf32b8e6451581e030bcb623e.yml |  461 -
 ...st-38065b4c69edc93ae14f345fc47814bbe5c5af5a.yml |  702 --
 ...st-977eeb202a4d20f22790ad2098e768f226312e13.yml |  471 -
 ...st-9948341c5eac31c115a7aaeb46f584e5dac2cefd.yml |  471 -
 ...st-e0a254540842f932e9bcfc416d8b7b53012d9d2d.yml |  702 --
 ...st-f217a3802bfa3385d17074906079f3f5280b0ed1.yml |  461 -
 .../drivers/rhevm/hardware_profiles_test.rb        |   58 -
 .../tests/deprecated/drivers/rhevm/images_test.rb  |   48 -
 .../deprecated/drivers/rhevm/instances_test.rb     |  182 -
 .../tests/deprecated/drivers/rhevm/realms_test.rb  |   40 -
 server/tests/deprecated/minitest_common.rb         |   58 -
 .../tests/deprecated/minitest_common_api_test.rb   |  115 -
 server/tests/deprecated/rabbit_test.rb             |   52 -
 443 files changed, 0 insertions(+), 185078 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/deltacloud/blob/73b5c596/server/tests/deprecated/api/common.rb
----------------------------------------------------------------------
diff --git a/server/tests/deprecated/api/common.rb b/server/tests/deprecated/api/common.rb
deleted file mode 100644
index 3554a81..0000000
--- a/server/tests/deprecated/api/common.rb
+++ /dev/null
@@ -1 +0,0 @@
-require 'minitest/autorun'

http://git-wip-us.apache.org/repos/asf/deltacloud/blob/73b5c596/server/tests/deprecated/api/driver_test.rb
----------------------------------------------------------------------
diff --git a/server/tests/deprecated/api/driver_test.rb b/server/tests/deprecated/api/driver_test.rb
deleted file mode 100644
index c9facbf..0000000
--- a/server/tests/deprecated/api/driver_test.rb
+++ /dev/null
@@ -1,79 +0,0 @@
-require_relative './common'
-require_relative '../../lib/deltacloud/api'
-
-begin
-  require 'arguments'
-rescue LoadError
-  puts "You don't have 'rdp-arguments' gems installed. (gem install rdp-arguments)"
-  exit(1)
-end
-require 'pp'
-
-describe 'Deltacloud drivers API' do
-
-  before do
-    @stderr = $stderr.clone
-    $stderr = StringIO.new
-  end
-
-  after do
-    $stderr = @stderr
-  end
-
-  it 'should pass the known method to Deltacloud driver' do
-    Deltacloud.new(:mock).hardware_profiles.must_be_kind_of Array
-    Deltacloud.new(:mock).hardware_profiles.wont_be_empty
-  end
-
-  it 'should raise NoMethodError when driver does not respond to method' do
-    lambda { Deltacloud.new(:mock).non_existing_method }.must_raise NoMethodError
-  end
-
-  it 'should apply the credentials to methods that require them' do
-    Deltacloud.new(:mock).realms.must_be_kind_of Array
-    Deltacloud.new(:mock).realms.wont_be_empty
-  end
-
-  it 'should allow to use different drivers' do
-    Deltacloud.new(:ec2).backend.must_be_instance_of Deltacloud::Drivers::Ec2::Ec2Driver
-    Deltacloud.new(:mock).backend.must_be_instance_of Deltacloud::Drivers::Mock::MockDriver
-  end
-
-  it 'should support loading all supported drivers' do
-    Deltacloud.drivers.keys.each do |key|
-      Deltacloud.new(key).current_driver.must_equal key.to_s
-    end
-  end
-
-  METHODS = {
-    :firewalls => [[:credentials], [:opts, "{  }"]],
-    :firewall  => [[:credentials], [:opts, "{  }"]],
-    :keys    => [[:credentials], [:opts, "{  }"]],
-    :key     => [[:credentials], [:opts]],
-    :storage_snapshots => [[:credentials], [:opts, "{  }"]],
-    :storage_snapshot  => [[:credentials], [:opts]],
-    :storage_volumes => [[:credentials], [:opts, "{  }"]],
-    :storage_volume  => [[:credentials], [:opts]],
-    :realms    => [[:credentials], [:opts, "{  }"]],
-    :realm     => [[:credentials], [:opts]],
-    :images    => [[:credentials], [:opts, "{  }"]],
-    :image     => [[:credentials], [:opts]],
-    :instances => [[:credentials], [:opts, "{  }"]],
-    :instance  => [[:credentials], [:opts]],
-    :create_instance => [[:credentials], [:image_id], [:opts, "{  }"]],
-    :destroy_instance => [[:credentials], [:id]],
-    :stop_instance => [[:credentials], [:id]],
-    :start_instance => [[:credentials], [:id]],
-    :reboot_instance => [[:credentials], [:id]],
-  }
-
-  Deltacloud.drivers.keys.each do |key|
-    METHODS.each do |m, definition|
-      it "should have the correct parameters for the :#{m} method in #{key} driver" do
-        next unless Deltacloud.new(key).backend.respond_to? m
-        Arguments.names(Deltacloud.new(key).backend.class, m).must_equal definition
-      end
-    end
-  end
-
-end

http://git-wip-us.apache.org/repos/asf/deltacloud/blob/73b5c596/server/tests/deprecated/api/library_test.rb
----------------------------------------------------------------------
diff --git a/server/tests/deprecated/api/library_test.rb b/server/tests/deprecated/api/library_test.rb
deleted file mode 100644
index 8d68e20..0000000
--- a/server/tests/deprecated/api/library_test.rb
+++ /dev/null
@@ -1,6 +0,0 @@
-require_relative './common'
-require_relative '../../lib/deltacloud/api'
-
-require 'pp'
-
-

http://git-wip-us.apache.org/repos/asf/deltacloud/blob/73b5c596/server/tests/deprecated/cimi/features/machine_images.feature
----------------------------------------------------------------------
diff --git a/server/tests/deprecated/cimi/features/machine_images.feature b/server/tests/deprecated/cimi/features/machine_images.feature
deleted file mode 100644
index 8d1afcd..0000000
--- a/server/tests/deprecated/cimi/features/machine_images.feature
+++ /dev/null
@@ -1,20 +0,0 @@
-Feature: Managing Machines Images
-  In order to interact with the provider
-  We must first be provided a URL to the main entry point (CEP).
-
-Scenario: Listing Machine Images collection
-    Given Cloud Entry Point URL is provided
-    And client retrieve the Cloud Entry Point
-    When client lists Machine Images collection
-    Then client should get list of all Machine Images
-
-Scenario: Querying Machine Image
-    Given Cloud Entry Point URL is provided
-    And client retrieve the Cloud Entry Point
-    When client query for 'img1' Machine Image entity
-    Then client should verify that this Machine Image exists
-    And client should verify that this Machine Image has set
-      | *image_location | mock://img1 |
-      | description     | Fedora 10   |
-      | name            | img1        |
-      | id              | http://example.org/cimi/machine_images/img1 |

http://git-wip-us.apache.org/repos/asf/deltacloud/blob/73b5c596/server/tests/deprecated/cimi/features/machines.feature
----------------------------------------------------------------------
diff --git a/server/tests/deprecated/cimi/features/machines.feature b/server/tests/deprecated/cimi/features/machines.feature
deleted file mode 100644
index 08934ad..0000000
--- a/server/tests/deprecated/cimi/features/machines.feature
+++ /dev/null
@@ -1,46 +0,0 @@
-Feature: Managing Machines
-  In order to interact with the provider
-  We must first be provided a URL to the main entry point (CEP).
-
-  Scenario: Create a New Machine entity
-    Given Cloud Entry Point URL is provided
-    And client retrieve the Cloud Entry Point
-    When client specifies a Machine Image
-      | machineImage | http://example.com/cimi/machine_images/img1 |
-    And client specifies a Machine Configuration
-      |   machineConfig | http://example.com/cimi/machine_configurations/m1-small |
-    And client specifies a new Machine using
-      | name | sampleMachine1 |
-      | description | sampleMachine1Description |
-    Then client should be able to create this Machine
-
-  Scenario: Querying created Machine entity
-    Given Cloud Entry Point URL is provided
-    And client retrieve the Cloud Entry Point
-    When client query for created Machine entity
-    Then client should verify that this Machine exists
-    And client should verify that this Machine has been created properly
-      | cpu         | 1                         |
-      | memory      | 1740.8                    |
-      | state       | STARTED                   |
-
-  Scenario: Stopping created Machine entity
-    Given Cloud Entry Point URL is provided
-    And client retrieve the Cloud Entry Point
-    When client executes stop operation on created Machine
-    Then client query for created Machine entity
-    And client should verify that this machine is stopped
-
-  Scenario: Starting created Machine entity
-    Given Cloud Entry Point URL is provided
-    And client retrieve the Cloud Entry Point
-    When client executes start operation on created Machine
-    Then client query for created Machine entity
-    And client should verify that this machine is started
-
-  Scenario: Deleting created Machine entity
-    Given Cloud Entry Point URL is provided
-    And client retrieve the Cloud Entry Point
-    When client executes delete operation on created Machine
-    Then client query for created Machine entity
-    And client should verify that this machine is deleted

http://git-wip-us.apache.org/repos/asf/deltacloud/blob/73b5c596/server/tests/deprecated/cimi/features/step_definitions/common_steps.rb
----------------------------------------------------------------------
diff --git a/server/tests/deprecated/cimi/features/step_definitions/common_steps.rb b/server/tests/deprecated/cimi/features/step_definitions/common_steps.rb
deleted file mode 100644
index 8fb3ff8..0000000
--- a/server/tests/deprecated/cimi/features/step_definitions/common_steps.rb
+++ /dev/null
@@ -1,59 +0,0 @@
-World(Rack::Test::Methods)
-
-Given /^Cloud Entry Point URL is provided$/ do
-  get '/cimi'
-  last_response.status.should == 301
-  last_response.location.should == "http://example.org/cimi/cloudEntryPoint"
-end
-
-Given /^client retrieve the Cloud Entry Point$/ do
-  get "/cimi/cloudEntryPoint"
-  header 'Accept', 'application/xml'
-  last_response.status.should == 200
-end
-
-When /^client lists ([\w ]+) collection$/ do |col_name|
-  authorize 'mockuser', 'mockpassword'
-  header 'Accept', 'application/xml'
-  get "/cimi/%s" % col_name.to_collection_uri
-  last_response.status.should == 200
-end
-
-Then /^client should get list of all ([\w ]+)$/ do |col_name|
-  root_name = "#{col_name.to_collection_name}Collection"
-  last_xml_response.root.name.should == root_name
-  (last_xml_response/"#{root_name}/name").size.should == 1
-  (last_xml_response/"#{root_name}/name").first.text.should == 'default'
-  (last_xml_response/"#{root_name}/id").size.should == 1
-  (last_xml_response/"#{root_name}/id").first.text.should == last_request.url
-  (last_xml_response/"#{root_name}/#{col_name.to_entity_name}").size.should == 3
-  (last_xml_response/"#{root_name}/#{col_name.to_entity_name}").each do |machine_img|
-    machine_img[:href].should_not be_nil
-    machine_img[:href].should =~ /http:\/\/example\.org\/cimi\/#{col_name.to_collection_uri}\/img(\d)/
-  end
-end
-
-When /^client( should be able to)? query for '(\w+)' ([\w ]+) entity$/ do |s, entity_id, entity_name|
-  authorize 'mockuser', 'mockpassword'
-  header 'Accept', 'application/xml'
-  get "/cimi/%s/%s" % [entity_name.to_entity_uri, entity_id]
-  last_response.status.should == 200
-  @entity_id = entity_id
-end
-
-Then /^client should verify that this ([\w ]+) exists$/ do |entity_name|
-  root_name = entity_name.to_class_name
-  last_xml_response.root.name.should == root_name
-  @entity = last_xml_response
-end
-
-Then /^client should verify that this ([\w ]+) has set$/ do |entity, attrs|
-  model = CIMI::Model.const_get(entity.to_class_name).from_xml(last_response.body)
-  attrs.rows_hash.each do |key, value|
-    if key =~ /^\*/
-      model.send(key.gsub(/^\*/, '').intern).href.should == value
-    else
-      model.send(key.intern).to_s.should == value
-    end
-  end
-end

http://git-wip-us.apache.org/repos/asf/deltacloud/blob/73b5c596/server/tests/deprecated/cimi/features/step_definitions/machine_images_steps.rb
----------------------------------------------------------------------
diff --git a/server/tests/deprecated/cimi/features/step_definitions/machine_images_steps.rb b/server/tests/deprecated/cimi/features/step_definitions/machine_images_steps.rb
deleted file mode 100644
index e69de29..0000000

http://git-wip-us.apache.org/repos/asf/deltacloud/blob/73b5c596/server/tests/deprecated/cimi/features/step_definitions/machines_steps.rb
----------------------------------------------------------------------
diff --git a/server/tests/deprecated/cimi/features/step_definitions/machines_steps.rb b/server/tests/deprecated/cimi/features/step_definitions/machines_steps.rb
deleted file mode 100644
index c11d535..0000000
--- a/server/tests/deprecated/cimi/features/step_definitions/machines_steps.rb
+++ /dev/null
@@ -1,100 +0,0 @@
-When /^client specifies a Machine Image$/ do |machine_image|
-  header 'Accept', 'application/xml'
-  authorize 'mockuser', 'mockpassword'
-  get machine_image.raw[0][1]
-  last_response.status.should == 200
-  @machine_image = CIMI::Model::MachineImage.from_xml(last_response.body)
-  @machine_image.should_not be_nil
-  @machine_image.id.should == machine_image.raw[0][1]
-end
-
-When /^client specifies a Machine Configuration$/ do |machine_conf|
-  header 'Accept', 'application/xml'
-  authorize 'mockuser', 'mockpassword'
-  get machine_conf.raw[0][1]
-  last_response.status.should == 200
-  @machine_configuration = CIMI::Model::MachineImage.from_xml(last_response.body)
-  @machine_configuration.should_not be_nil
-  @machine_configuration.id.should == machine_conf.raw[0][1]
-end
-
-When /^client specifies a new Machine using$/ do |machine|
-  @machine_image.should_not be_nil
-  @machine_configuration.should_not be_nil
-  @new_machine_name = machine.raw[0][1]
-  @builder = Nokogiri::XML::Builder.new do |xml|
-    xml.MachineCreate(:xmlns => CMWG_NAMESPACE) {
-      xml.name @new_machine_name
-      xml.description machine.raw[1][1]
-      xml.machineTemplate {
-        xml.machineConfig( :href => @machine_configuration.id )
-        xml.machineImage( :href => @machine_image.id )
-      }
-    }
-  end
-end
-
-Then /^client should be able to create this Machine$/ do
-  authorize 'mockuser', 'mockpassword'
-  header 'Content-Type', 'application/xml'
-  post '/cimi/machines', @builder.to_xml
-  if [500, 501, 502].include? last_response.status
-    puts last_response.body
-  end
-  last_response.status.should == 201
-  set_new_machine(CIMI::Model::Machine.from_xml(last_response.body))
-end
-
-Then /^client query for created Machine entity$/ do
-  authorize 'mockuser', 'mockpassword'
-  header 'Content-Type', 'application/xml'
-  get "/cimi/machines/%s" % new_machine.name
-  if [500, 501, 502].include? last_response.status
-    puts last_response.body
-  end
-  if @delete_operation
-    last_response.status.should == 404
-  else
-    last_response.status.should == 200
-    @machine = CIMI::Model::Machine.from_xml(last_response.body)
-    @machine.name.should == new_machine.name
-  end
-
-end
-
-Then /^client should verify that this Machine has been created properly$/ do |attrs|
-  attrs.rows_hash.each do |key, value|
-    if key == 'memory'
-      @machine.memory['quantity'].to_s.should == value
-    else
-      @machine.send(key.intern).to_s.should == value
-    end
-  end
-end
-
-When /^client executes (\w+) operation on created Machine$/ do |operation|
-  builder = Nokogiri::XML::Builder.new do |xml|
-    xml.Action(:xmlns => CMWG_NAMESPACE) {
-      xml.action "http://www.dmtf.org/cimi/action/#{operation}"
-    }
-  end
-  authorize 'mockuser', 'mockpassword'
-  header 'Content-Type', 'application/xml'
-  if operation == 'delete'
-    delete "/cimi/machines/%s" % new_machine.name
-    puts last_response.body
-    last_response.status.should == 200
-    last_response.body.should be_empty
-    @delete_operation = true
-  else
-    post "/cimi/machines/%s/%s" % [new_machine.name, operation], builder.to_xml
-    last_response.status.should == 202
-    last_response.body.should be_empty
-  end
-end
-
-Then /^client should verify that this machine is (\w+)$/ do |status|
-  unless @delete_operation
-    @machine.state.should == status.upcase
-  end
-end

http://git-wip-us.apache.org/repos/asf/deltacloud/blob/73b5c596/server/tests/deprecated/cimi/features/step_definitions/volumes_steps.rb
----------------------------------------------------------------------
diff --git a/server/tests/deprecated/cimi/features/step_definitions/volumes_steps.rb b/server/tests/deprecated/cimi/features/step_definitions/volumes_steps.rb
deleted file mode 100644
index fc93be0..0000000
--- a/server/tests/deprecated/cimi/features/step_definitions/volumes_steps.rb
+++ /dev/null
@@ -1,115 +0,0 @@
-When /^client specifies a Volume Configuration$/ do |volume_config|
-  header 'Accept', 'application/xml'
-  authorize 'mockuser', 'mockpassword'
-  get volume_config.raw[0][1]
-  last_response.status.should==200
-  @volume_config = CIMI::Model::VolumeConfiguration.from_xml(last_response.body)
-  @volume_config.class.should == CIMI::Model::VolumeConfiguration
-  @volume_config.attribute_values[:capacity].quantity.should == "2"
-  @volume_config.id.should == volume_config.raw[0][1]
-end
-
-When /^client specifies a new Volume using$/ do |volume|
-  @volume_config.should_not be_nil
-  volume_name = volume.raw[0][1]
-  volume_description = volume.raw[1][1]
-  @builder = Nokogiri::XML::Builder.new do |xml|
-    xml.Volume(:xmlns => CMWG_NAMESPACE) {
-      xml.name volume_name
-      xml.description volume_description
-      xml.volumeTemplate {
-        xml.volumeConfig( :href => @volume_config.id )
-      }
-    }
-  end
-end
-
-Then /^client should be able to create this Volume$/ do
-  authorize 'mockuser', 'mockpassword'
-  header 'Content-Type', 'application/xml'
-  post '/cimi/volumes', @builder.to_xml
-  last_response.status.should == 200
-  @@created_volume = CIMI::Model::Volume.from_xml(last_response.body)
-end
-
-When /^client GET the Volumes Collection$/ do
-  authorize 'mockuser', 'mockpassword'
-  header 'Content-Type', 'application/xml'
-  get "/cimi/volumes"
-  last_response.status.should == 200
-  @@volume_collection = CIMI::Model::VolumeCollection.from_xml(last_response.body)
-end
-
-Then /^client should get a list of volumes$/ do
-  @@volume_collection.id.end_with?("/cimi/volumes").should == true
-  @@volume_collection.attribute_values.has_key?(:volumes).should == true
-end
-
-Then /^list of volumes should contain newly created volume$/ do
-  volumes = @@volume_collection.attribute_values[:volumes].map{|v| v.href.split("/").last}
-  volumes.include?(@@created_volume.name).should == true
-end
-
-When /^client GET the newly created Volume in json format$/ do
-  authorize 'mockuser', 'mockpassword'
-  get "/cimi/volumes/#{@@created_volume.name}?format=json"
-  last_response.status.should == 200
-  @@retrieved_volume = CIMI::Model::Volume.from_json(last_response.body)
-end
-
-Then /^client should verify that this Volume was created correctly$/ do |capacity|
-  @@retrieved_volume.name.should == @@created_volume.name
-  @@retrieved_volume.id.should == @@created_volume.id
-  @@retrieved_volume.capacity[:quantity].should == capacity.raw[0][1]
-end
-
-When /^client specifies a running Machine using$/ do |machine|
-  @machine_id = machine.raw[0][1]
-  authorize 'mockuser', 'mockpassword'
-  header 'Content-Type', 'application/xml'
-  get "/cimi/machines/#{@machine_id}?format=xml"
-  last_response.status.should==200
-  @@machine = CIMI::Model::Machine.from_xml(last_response.body)
-  @@machine.name.should == @machine_id
-  @@machine.state.should == "STARTED"
-end
-
-When /^client specifies the new Volume with attachment point using$/ do |attach|
-  @builder = Nokogiri::XML::Builder.new do |xml|
-    xml.VolumeAttach {
-      xml.volume( :href => @@created_volume.id, :attachmentPoint=>attach.raw[0][1])
-    }
-  end
-end
-
-Then /^client should be able to attach the new volume to the Machine$/ do
-  authorize 'mockuser', 'mockpassword'
-  header 'Content-Type', 'application/CIMI-Machine+xml'
-  put "/cimi/machines/#{@@machine.name}/attach_volume?format=xml", @builder.to_xml
-  last_response.status.should == 200
-end
-
-When /^client should be able to detach the volume$/ do
-  authorize 'mockuser', 'mockpassword'
-  header 'Content-Type', 'application/CIMI-Machine+xml'
-  @builder = Nokogiri::XML::Builder.new do |xml|
-    xml.VolumeDetach {
-      xml.volume(:href => @@created_volume.id)
-    }
-  end
-  put "/cimi/machines/#{@@machine.name}/detach_volume", @builder.to_xml
-  last_response.status.should == 200
-end
-
-When /^client deletes the newly created Volume$/ do
-  authorize 'mockuser', 'mockpassword'
-  delete "/cimi/volumes/#{@@created_volume.name}"
-  last_response.status.should == 200
-end
-
-Then /^client should verify the volume was deleted$/ do
-  authorize 'mockuser', 'mockpassword'
-  get "/cimi/volumes/#{@@created_volume.name}"
-  last_response.status.should == 404
-end
-

http://git-wip-us.apache.org/repos/asf/deltacloud/blob/73b5c596/server/tests/deprecated/cimi/features/support/env.rb
----------------------------------------------------------------------
diff --git a/server/tests/deprecated/cimi/features/support/env.rb b/server/tests/deprecated/cimi/features/support/env.rb
deleted file mode 100644
index f8372bf..0000000
--- a/server/tests/deprecated/cimi/features/support/env.rb
+++ /dev/null
@@ -1,75 +0,0 @@
-require 'rubygems'
-require 'nokogiri'
-require 'rack/test'
-
-ENV['API_FRONTEND'] = 'cimi'
-
-load File.join(File.dirname(__FILE__), '..', '..', '..', '..', 'lib', 'deltacloud_rack.rb')
-
-Deltacloud::configure do |server|
-  server.root_url '/cimi'
-  server.version '1.0.0'
-  server.klass 'CIMI::API'
-end.require_frontend!
-
-def last_xml_response
-  Nokogiri::XML(last_response.body)
-end
-
-class IndexEntrypoint < Sinatra::Base
-  get "/" do
-    redirect Deltacloud[:root_url], 301
-  end
-end
-
-=begin
-def app
-  Rack::URLMap.new(
-    "/" => IndexEntrypoint.new,
-    Deltacloud[:root_url] => CIMI::API,
-    "/stylesheets" =>  Rack::Directory.new( "public/stylesheets" ),
-    "/javascripts" =>  Rack::Directory.new( "public/javascripts" )
-  )
-end
-=end
-
-def app
-  Rack::Builder.new {
-    map '/' do
-      use Rack::Static, :urls => ["/stylesheets", "/javascripts"], :root => "public"
-      run Rack::Cascade.new([CIMI::API])
-    end
-  }
-end
-
-def new_machine
-  @@new_machine
-end
-
-def set_new_machine(machine)
-  @@new_machine = machine
-end
-
-class String
-
-  def to_class_name
-    to_collection_name
-  end
-
-  def to_entity_name
-    to_collection_name.uncapitalize
-  end
-
-  def to_collection_name
-    self.tr(' ', '').singularize
-  end
-
-  def to_collection_uri
-    self.tr(' ', '_').downcase
-  end
-
-  def to_entity_uri
-    to_collection_uri.pluralize
-  end
-
-end

http://git-wip-us.apache.org/repos/asf/deltacloud/blob/73b5c596/server/tests/deprecated/cimi/features/volumes.feature
----------------------------------------------------------------------
diff --git a/server/tests/deprecated/cimi/features/volumes.feature b/server/tests/deprecated/cimi/features/volumes.feature
deleted file mode 100644
index 7835e2a..0000000
--- a/server/tests/deprecated/cimi/features/volumes.feature
+++ /dev/null
@@ -1,46 +0,0 @@
-Feature: CIMI Volumes Collection
-  The URI of the Volumes collection is given in the Cloud Entry Point.
-
-Scenario: Create a new Volume entity
-  Given Cloud Entry Point URL is provided
-  And client retrieve the Cloud Entry Point
-  When client specifies a Volume Configuration
-    | volumeConfig | http://example.com/cimi/volume_configurations/2 |
-  And client specifies a new Volume using
-    | name | cucumber_volume |
-    | description | created in a cucumber scenario |
-  Then client should be able to create this Volume
-
-Scenario: Query the Volume collection
-  Given Cloud Entry Point URL is provided
-  And client retrieve the Cloud Entry Point
-  When client GET the Volumes Collection
-  Then client should get a list of volumes
-  And list of volumes should contain newly created volume
-
-Scenario: Query the newly created Volume
-  Given Cloud Entry Point URL is provided
-  And client retrieve the Cloud Entry Point
-  When client GET the newly created Volume in json format
-  Then client should verify that this Volume was created correctly
-    | capacity | 2 |
-
-Scenario: Attach the newly created Volume to a Machine
-  Given Cloud Entry Point URL is provided
-  And client retrieve the Cloud Entry Point
-  When client specifies a running Machine using
-    | name | inst0 |
-  And client specifies the new Volume with attachment point using
-    | attachment_point | /dev/sdc |
-  Then client should be able to attach the new volume to the Machine
-
-Scenario: Detach the newly created Volume from the Machine
-  Given Cloud Entry Point URL is provided
-  And client retrieve the Cloud Entry Point
-  Then client should be able to detach the volume
-
-Scenario: Delete the newly created Volume
-  Given Cloud Entry Point URL is provided
-  And client retrieve the Cloud Entry Point
-  When client deletes the newly created Volume
-  Then client should verify the volume was deleted

http://git-wip-us.apache.org/repos/asf/deltacloud/blob/73b5c596/server/tests/deprecated/common.rb
----------------------------------------------------------------------
diff --git a/server/tests/deprecated/common.rb b/server/tests/deprecated/common.rb
deleted file mode 100644
index 4e77797..0000000
--- a/server/tests/deprecated/common.rb
+++ /dev/null
@@ -1,279 +0,0 @@
-# Licensed to the Apache Software Foundation (ASF) under one or more
-# contributor license agreements.  See the NOTICE file distributed with
-# this work for additional information regarding copyright ownership.  The
-# ASF licenses this file to you under the Apache License, Version 2.0 (the
-# "License"); you may not use this file except in compliance with the
-# License.  You may obtain a copy of the License at
-#
-#       http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
-# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the
-# License for the specific language governing permissions and limitations
-# under the License.
-#
-ENV.delete 'API_VERBOSE'
-
-$:.unshift File.join(File.dirname(__FILE__), '..', 'lib')
-$top_srcdir = File::dirname(File::dirname(__FILE__))
-
-require 'rubygems'
-require 'yaml'
-require 'rspec/core'
-require 'rspec/matchers'
-require 'test/unit'
-require 'nokogiri'
-require 'json'
-require 'digest/sha1'
-require 'base64'
-require 'rack/test'
-
-load File.join(File.dirname(__FILE__), '..', 'lib', 'deltacloud_rack.rb')
-
-Deltacloud::configure do |server|
-  server.root_url '/api'
-  server.version '1.0.0'
-  server.klass 'Deltacloud::API'
-end.require_frontend!
-
-# Set proper environment variables for running test
-
-ENV['RACK_ENV']     = 'test'
-ENV['API_HOST']     = 'localhost'
-ENV['API_PORT']     = '4040'
-
-RSpec.configure do |conf|
-  conf.include Rack::Test::Methods
-  conf.expect_with :rspec
-end
-
-module DeltacloudTestCommon
-
-  def recording?
-    @use_recording
-  end
-
-  def record!
-    @use_recording = true
-  end
-
-
-  # Authentication helper for Basic HTTP authentication
-  # To change default user credentials stored in ENV['API_USER|PASSWORD'] you
-  # need to set opts[:credentials] = { :user => '...', :password => '...'}
-  #
-  def authenticate(opts={})
-    credentials = opts[:credentials] || { :user => ENV['API_USER'], :password => ENV['API_PASSWORD']}
-    return {
-      'HTTP_AUTHORIZATION' => "Basic " + Base64.encode64("#{credentials[:user]}:#{credentials[:password]}")
-    }
-  end
-
-  # HTTP Accept header helper.
-  # Will set appropriate value for this header.
-  # Available options for format are: :json, :html or :xml
-  # By default :xml is used
-  #
-  def accept(format=:xml)
-    case format
-      when :json then 'application/json;q=0.9'
-      when :html then 'text/html;q=0.9'
-      when :xml then 'application/xml;q=0.9'
-      else 'application/xml;q=0.9'
-    end
-  end
-
-  # This helper will execute GET operation on given URI.
-  # You can set additional parameters using params Hash, which will be passed to
-  # request.
-  # You can change format used for communication using opts[:format] = :xml | :html :json
-  # You can turn on recording (you need to configure it first in setup.rb) using
-  # opts[:record] (true/false)
-  # You can force authentication using opts[:auth] parameter or use
-  # 'get_auth_url' which will do it for you ;-)
-  #
-  def get_url(uri, params={}, opts={})
-    header 'Accept', accept(opts[:format] || :xml)
-    if DeltacloudTestCommon::recording?
-      VCR.use_cassette("get-" + Digest::SHA1.hexdigest("#{uri}-#{params}}")) do
-        get(uri, params || {}, opts[:auth] ? authenticate(opts) : {})
-      end
-    else
-      get(uri, params || {}, opts[:auth] ? authenticate(opts) : {})
-      if last_response.status.to_s =~ /5(\d{2})/
-        puts "============= [ ERROR ] ================"
-        puts last_response.body
-        puts "============= [ RESPONSE ] ================"
-        puts last_response.errors
-        puts "========================================"
-      end
-    end
-    last_response.status.should_not == 401
-  end
-
-  def get_auth_url(uri, params={}, opts={})
-    opts.merge!(:auth => true)
-    get_url(uri, params, opts)
-    if last_response.status.to_s =~ /5(\d{2})/
-      puts "============= [ ERROR ] ================"
-      puts last_response.body
-      puts "============= [ RESPONSE ] ================"
-      puts last_response.errors
-      puts "========================================"
-    end
-  end
-
-  def post_url(uri, params={}, opts={})
-    header 'Accept', accept(opts[:format] || :xml)
-    if DeltacloudTestCommon::recording?
-      if opts['vcr_cassette']
-        VCR.use_cassette(opts['vcr_cassette']) do
-          post(uri, params || {}, authenticate(opts))
-        end
-      else
-        VCR.use_cassette("post-" + Digest::SHA1.hexdigest("#{uri}-#{params}")) do
-          post(uri, params || {}, authenticate(opts))
-        end
-      end
-    else
-      post(uri, params || {}, authenticate(opts))
-      if last_response.status.to_s =~ /5(\d{2})/
-        puts "============= [ ERROR ] ================"
-        puts last_response.body
-        puts "============= [ RESPONSE ] ================"
-        puts last_response.errors
-        puts "========================================"
-      end
-    end
-  end
-
-  def delete_url(uri, params={}, opts={})
-    header 'Accept', accept(opts[:format] || :xml)
-    if DeltacloudTestCommon::recording?
-      VCR.use_cassette("delete-"+Digest::SHA1.hexdigest("#{uri}-#{params}")) do
-        delete(uri, params || {}, authenticate(opts))
-      end
-    else
-      delete(uri, params || {}, authenticate(opts))
-      if last_response.status.to_s =~ /5(\d{2})/
-        puts "============= [ ERROR ] ================"
-        puts last_response.body
-        puts "============= [ RESPONSE ] ================"
-        puts last_response.errors
-      end
-    end
-  end
-
-  def head_url(uri, params={}, opts={})
-    header 'Accept', accept(opts[:format] || :xml)
-    if DeltacloudTestCommon::recording?
-      VCR.use_cassette("head-"+Digest::SHA1.hexdigest("#{uri}-#{params}")) do
-        head(uri, params || {}, authenticate(opts))
-      end
-    else
-       head(uri, params || {}, authenticate(opts))
-      if last_response.status.to_s =~ /5(\d{2})/
-        puts "============= [ ERROR ] ================"
-        puts last_response.inspect
-        puts "========================================"
-      end
-    end
-  end
-
-  def put_url(uri, params={}, opts={})
-    header 'Accept', accept(opts[:format] || :xml)
-    if DeltacloudTestCommon::recording?
-      VCR.use_cassette("put-"+Digest::SHA1.hexdigest("#{uri}-#{params}-#{authenticate(opts)}")) do
-        put(uri, params || {}, authenticate(opts))
-      end
-    else
-       put(uri, params || {}, authenticate(opts))
-      if last_response.status.to_s =~ /5(\d{2})/
-        puts "============= [ ERROR ] ================"
-        puts last_response.body
-        puts "============= [ RESPONSE ] ================"
-        puts last_response.errors
-      end
-    end
-  end
-
-  # This helper will automatically convert output from method above to Nokogiri
-  # XML object
-  def last_xml_response
-    Nokogiri::XML(last_response.body) #if last_response.status.to_s =~ /2(\d+)/
-  end
-
-  # Check if given URI require authentication
-  def require_authentication?(uri)
-    # We need to make sure we don't have both API_USER and API_PASSWORD
-    # set in the environment; otherwise LazyAuth will use those instead
-    # of asking for credentials
-    api_user = ENV.delete("API_USER")
-    get uri, {}
-    ENV["API_USER"] = api_user
-    last_response.status == 401
-  end
-
-  def with_provider(new_provider, &block)
-    old_provider = ENV["API_PROVIDER"]
-    begin
-      ENV["API_PROVIDER"] = new_provider
-      yield
-    ensure
-      ENV["API_PROVIDER"] = old_provider
-    end
-  end
-
-  def add_created_instance(id)
-    $created_instances ||= []
-    $created_instances << id
-  end
-
- #common variables used by the bucket/blob unit tests across clouds
-  @@created_bucket_name="testbucki2rpux3wdelme"
-  @@created_blob_name="testblobk1ds91kVdelme"
-  @@created_blob_local_file="#{File.dirname(__FILE__)}/drivers/common_fixtures/deltacloud_blob_test.png"
-
-  def check_bucket_basics(bucket, cloud)
-    (bucket/'bucket/name').first.text.should == "#{@@created_bucket_name}#{cloud}"
-    (bucket/'bucket').attribute("id").text.should == "#{@@created_bucket_name}#{cloud}"
-    (bucket/'bucket').length.should > 0
-    (bucket/'bucket/name').first.text.should_not == nil
-    (bucket/'bucket').attribute("href").text.should_not == nil
-  end
-
-  def check_blob_basics(blob, cloud)
-    (blob/'blob').length.should == 1
-    (blob/'blob').attribute("id").text.should_not == nil
-    (blob/'blob').attribute("href").text.should_not==nil
-    (blob/'blob/bucket').text.should_not == nil
-    (blob/'blob/content_length').text.should_not == nil
-    (blob/'blob/content_type').text.should_not == nil
-    (blob/'blob').attribute("id").text.should == "#{@@created_blob_name}#{cloud}"
-    (blob/'blob/bucket').text.should == "#{@@created_bucket_name}#{cloud}"
-    (blob/'blob/content_length').text.to_i.should == File.size(@@created_blob_local_file)
-  end
-
-  def check_blob_metadata(blob, metadata_hash)
-    meta_from_blob = {}
-    #extract metadata from nokogiri blob xml
-    (0.. (((blob/'blob/user_metadata').first).elements.size - 1) ).each do |i|
-      meta_from_blob[(((blob/'blob/user_metadata').first).elements[i].attribute("key").value)] =
-                                  (((blob/'blob/user_metadata').first).elements[i].children[1].text)
-    end
-    #remove any 'x-goog-meta-' prefixes (problem for google blobs and vcr...)
-    meta_from_blob.gsub_keys(/x-.*-meta-/i, "")
-    meta_from_blob.eql?(metadata_hash).should == true
-  end
-
-  #hash ordering is unpredictable - sort the params hash
-  #so we get same vcr cassette name each time
-  def stable_vcr_cassette_name(method, uri, params)
-    digest = Digest::SHA1.hexdigest("#{uri}-#{params.sort_by {|k,v| k.to_s}}")
-    return "#{method}-#{digest}"
-  end
-
-end
-
-include DeltacloudTestCommon

http://git-wip-us.apache.org/repos/asf/deltacloud/blob/73b5c596/server/tests/deprecated/core_ext/string.rb
----------------------------------------------------------------------
diff --git a/server/tests/deprecated/core_ext/string.rb b/server/tests/deprecated/core_ext/string.rb
deleted file mode 100644
index dfa57dc..0000000
--- a/server/tests/deprecated/core_ext/string.rb
+++ /dev/null
@@ -1,31 +0,0 @@
-# Licensed to the Apache Software Foundation (ASF) under one or more
-# contributor license agreements.  See the NOTICE file distributed with
-# this work for additional information regarding copyright ownership.  The
-# ASF licenses this file to you under the Apache License, Version 2.0 (the
-# "License"); you may not use this file except in compliance with the
-# License.  You may obtain a copy of the License at
-#
-#       http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
-# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the
-# License for the specific language governing permissions and limitations
-# under the License.
-#
-
-$:.unshift File.join(File.dirname(__FILE__), '..', '..', '..', '..')
-require 'tests/common'
-
-require 'deltacloud/drivers'
-require 'deltacloud/drivers/mock/mock_driver'
-
-module DeltacloudUnitTest
-
-  class StringTest < Test::Unit::TestCase
-    def test_camelize
-      "hello_camel".camelize.should == "helloCamel"
-      "hello_camel_lots_of_humps".camelize.should == "helloCamelLotsOfHumps"
-    end
-  end
-end

http://git-wip-us.apache.org/repos/asf/deltacloud/blob/73b5c596/server/tests/deprecated/drivers/common_fixtures/deltacloud_blob_test.png
----------------------------------------------------------------------
diff --git a/server/tests/deprecated/drivers/common_fixtures/deltacloud_blob_test.png b/server/tests/deprecated/drivers/common_fixtures/deltacloud_blob_test.png
deleted file mode 100644
index bf1b766..0000000
Binary files a/server/tests/deprecated/drivers/common_fixtures/deltacloud_blob_test.png and /dev/null differ

http://git-wip-us.apache.org/repos/asf/deltacloud/blob/73b5c596/server/tests/deprecated/drivers/ec2/api_test.rb
----------------------------------------------------------------------
diff --git a/server/tests/deprecated/drivers/ec2/api_test.rb b/server/tests/deprecated/drivers/ec2/api_test.rb
deleted file mode 100644
index eefc40a..0000000
--- a/server/tests/deprecated/drivers/ec2/api_test.rb
+++ /dev/null
@@ -1,19 +0,0 @@
-$:.unshift File.join(File.dirname(__FILE__), '..', '..', '..')
-require 'tests/drivers/ec2/common'
-
-describe 'Deltacloud API' do
-
-  before do
-    Timecop.freeze(FREEZED_TIME)
-    VCR.insert_cassette __name__
-  end
-
-  after do
-    VCR.eject_cassette
-  end
-
-  include Deltacloud::Test
-
-  eval File.read('tests/minitest_common_api_test.rb')
-
-end

http://git-wip-us.apache.org/repos/asf/deltacloud/blob/73b5c596/server/tests/deprecated/drivers/ec2/common.rb
----------------------------------------------------------------------
diff --git a/server/tests/deprecated/drivers/ec2/common.rb b/server/tests/deprecated/drivers/ec2/common.rb
deleted file mode 100644
index 3e1486c..0000000
--- a/server/tests/deprecated/drivers/ec2/common.rb
+++ /dev/null
@@ -1,23 +0,0 @@
-ENV['API_DRIVER']   = 'ec2'
-ENV['TESTS_API_USERNAME'] = 'AKIAIZ63KHGXIWDMBY6Q'
-ENV['TESTS_API_PASSWORD'] = 'zUfBCbML2S6pXKS44eEEXw0Cf/G8z9hMSxP2hcLV'
-ENV['RACK_ENV']     = 'test'
-
-$:.unshift File.join(File.dirname(__FILE__), '..', '..', '..')
-require 'tests/minitest_common'
-
-require 'vcr'
-require 'timecop'
-
-VCR.configure do |c|
-  c.cassette_library_dir = File.join(File.dirname(__FILE__), 'fixtures')
-  c.hook_into :webmock
-  c.default_cassette_options = { :record => :new_episodes }
-  #c.default_cassette_options = { :record => :none }
-end
-
-# Let's set time that timecop will use to freeze
-# Time.now will then return this time instead of 'real' system time
-
-FREEZED_TIME = DateTime.parse("2012-05-31 12:58:00 +0200")
-Timecop.freeze(FREEZED_TIME)

http://git-wip-us.apache.org/repos/asf/deltacloud/blob/73b5c596/server/tests/deprecated/drivers/ec2/drivers_test.rb
----------------------------------------------------------------------
diff --git a/server/tests/deprecated/drivers/ec2/drivers_test.rb b/server/tests/deprecated/drivers/ec2/drivers_test.rb
deleted file mode 100644
index dc702c0..0000000
--- a/server/tests/deprecated/drivers/ec2/drivers_test.rb
+++ /dev/null
@@ -1,120 +0,0 @@
-$:.unshift File.join(File.dirname(__FILE__), '..', '..', '..')
-require 'tests/drivers/ec2/common'
-
-describe 'Deltacloud API drivers' do
-  include Deltacloud::Test
-  before do
-    Timecop.freeze(FREEZED_TIME)
-    VCR.insert_cassette __name__
-  end
-
-  after do
-    VCR.eject_cassette
-  end
-
-  it 'must advertise have the drivers collection in API entrypoint' do
-    get root_url
-    (xml_response/'api/link[@rel=drivers]').wont_be_empty
-  end
-
-  it 'must not require authentication to access the "driver" collection' do
-    get collection_url(:drivers)
-    last_response.status.must_equal 200
-  end
-
-  it 'should respond with HTTP_OK when accessing the :drivers collection with authentication' do
-    get collection_url(:drivers)
-    last_response.status.must_equal 200
-  end
-
-  it 'should support the JSON media type' do
-    header 'Accept', 'application/json'
-    get collection_url(:drivers)
-    last_response.status.must_equal 200
-    last_response.headers['Content-Type'].must_equal 'application/json'
-  end
-
-  it 'must include the ETag in HTTP headers' do
-    get collection_url(:drivers)
-    last_response.headers['ETag'].wont_be_nil
-  end
-
-  it 'must have the "drivers" element on top level' do
-    get collection_url(:drivers)
-    xml_response.root.name.must_equal 'drivers'
-  end
-
-  it 'must have some "driver" elements inside "drivers"' do
-    get collection_url(:drivers)
-    (xml_response/'drivers/driver').wont_be_empty
-  end
-
-  it 'must provide the :id attribute for each driver in collection' do
-    get collection_url(:drivers)
-    (xml_response/'drivers/driver').each do |r|
-      r[:id].wont_be_nil
-    end
-  end
-
-  it 'must include the :href attribute for each "driver" element in collection' do
-    get collection_url(:drivers)
-    (xml_response/'drivers/driver').each do |r|
-      r[:href].wont_be_nil
-    end
-  end
-
-  it 'must use the absolute URL in each :href attribute' do
-    get collection_url(:drivers)
-    (xml_response/'drivers/driver').each do |r|
-      r[:href].must_match /^http/
-    end
-  end
-
-  it 'must have the URL ending with the :id of the driver' do
-    get collection_url(:drivers)
-    (xml_response/'drivers/driver').each do |r|
-      r[:href].must_match /#{r[:id]}$/
-    end
-  end
-
-  it 'must return the list of valid parameters for the :index action' do
-    options collection_url(:drivers) + '/index'
-    last_response.headers['Allow'].wont_be_nil
-  end
-
-  it 'must have the "name" element defined for each driver in collection' do
-    get collection_url(:drivers)
-    (xml_response/'drivers/driver').each do |r|
-      (r/'name').wont_be_nil
-    end
-  end
-
-
-  it 'must return the full "driver" when following the URL in driver element' do
-    authenticate
-    get collection_url(:drivers)
-    (xml_response/'drivers/driver').each do |r|
-      get collection_url(:drivers) + '/' + r[:id]
-      last_response.status.must_equal 200
-    end
-  end
-
-  it 'must have the "name" element for the driver and it should match with the one in collection' do
-    authenticate
-    get collection_url(:drivers)
-    (xml_response/'drivers/driver').each do |r|
-      r[:id].wont_be_nil
-      get collection_url(:drivers) + '/' + r[:id]
-      (xml_response/'name').wont_be_empty
-      (xml_response/'name').first.text.must_equal((r/'name').first.text)
-    end
-  end
-
-  it 'should advertise available providers for some drivers' do
-    get collection_url(:drivers)
-    (xml_response/'drivers/driver/provider').each do |p|
-      p[:id].wont_be_nil
-    end
-  end
-
-end


Mime
View raw message