dellcloudedge/barclamp-crowbar — pull request #247 by galthaus (2012-10-22 13:56:18+00:00)
Title: Unit tests for more components [1/17]

This adds initial proposal_queue and service_object unit tests.
Also mysql gets some unit tests.

Change the create_proposal signature to include the name.

crowbar_framework/Gemfile | 6 +-
crowbar_framework/app/models/crowbar_exception.rb | 17 ++
crowbar_framework/app/models/proposal.rb | 5 +-
crowbar_framework/app/models/proposal_queue.rb | 27 +-
crowbar_framework/app/models/service_object.rb | 29 ++-
.../app/models/==BC-MODEL==_service.rb | 4 +-
crowbar_framework/config/locales/crowbar/en.yml | 2 +
.../default/crowbar/devguide/makingbarclamps.md | 2 +-
crowbar_framework/schema/bc-template-bios.schema | 50 ----
.../schema/bc-template-crowbar.schema | 109 --------
.../schema/bc-template-deployer.schema | 92 -------
crowbar_framework/schema/bc-template-dns.schema | 92 -------
.../schema/bc-template-ganglia.schema | 79 ------
crowbar_framework/schema/bc-template-glance.schema | 79 ------
crowbar_framework/schema/bc-template-hadoop.schema | 79 ------
crowbar_framework/schema/bc-template-ipmi.schema | 51 ----
.../schema/bc-template-logging.schema | 83 -------
crowbar_framework/schema/bc-template-nagios.schema | 80 ------
.../schema/bc-template-network.schema | 119 ---------
crowbar_framework/schema/bc-template-nova.schema | 142 -----------
crowbar_framework/schema/bc-template-ntp.schema | 84 -------
.../schema/bc-template-provisioner.schema | 100 --------
crowbar_framework/schema/bc-template-raid.schema | 49 ----
crowbar_framework/schema/bc-template-swift.schema | 92 -------
crowbar_framework/schema/bc-template-test.schema | 79 ------
crowbar_framework/schema/schema.tgz | Bin 2691 -> 0 bytes
.../spec/models/proposal_queue_spec.rb | 261 +++++++++++++++++++-
.../spec/models/service_object_spec.rb | 69 +++++-
crowbar_framework/spec/spec_helper.rb | 21 +-
29 files changed, 401 insertions(+), 1501 deletions(-)

Crowbar-Pull-ID: e6102275bad5d9580a39bc697d78ada8c287fc79

Crowbar-Release: development