Sha256: 41555e7ed2fdbf8f8763be64ab3280658ae27d09e081f905aed2a8d371e7ce3e

Contents?: true

Size: 1.06 KB

Versions: 38

Compression:

Stored size: 1.06 KB

Contents

require 'test/unit'
require File.dirname(__FILE__) + '/../../lib/aws'
require 'pp'
require File.dirname(__FILE__) + '/../test_credentials.rb'

class TestElb < Test::Unit::TestCase

    # Some of RightEc2 instance methods concerning instance launching and image registration
    # are not tested here due to their potentially risk.

    def setup
        TestCredentials.get_credentials

        @ec2 = Aws::Ec2.new(TestCredentials.aws_access_key_id,
                            TestCredentials.aws_secret_access_key)

        @elb = Aws::Elb.new(TestCredentials.aws_access_key_id,
                            TestCredentials.aws_secret_access_key)
        @key = 'right_ec2_awesome_test_key'
        @group = 'right_ec2_awesome_test_security_group'
    end

    def test_01_create_elb

    end

    def test_02_register_instances

    end

    def test_03_deregister_instances

    end


    def test_04_describe_elb
        desc = @elb.describe_load_balancers
        puts desc.inspect
    end

    def test_06_describe_instance_health

    end


    def test_15_delete_elb

    end


end

Version data entries

38 entries across 38 versions & 4 rubygems

Version Path
aws-2.10.2 test/elb/test_elb.rb
aws-2.10.0 test/elb/test_elb.rb
aws-2.9.1 test/elb/test_elb.rb
aws-2.4.5 test/elb/test_elb.rb
aws-2.4.4 test/elb/test_elb.rb
aws-2.4.3 test/elb/test_elb.rb
aws-2.4.2 test/elb/test_elb.rb
aws-2.4.1 test/elb/test_elb.rb
aws-2.4.0 test/elb/test_elb.rb
aws-2.3.34 test/elb/test_elb.rb
aws-2.3.32 test/elb/test_elb.rb
aws-2.3.31 test/elb/test_elb.rb
aws-2.3.30 test/elb/test_elb.rb
aws-2.3.29 test/elb/test_elb.rb
hackerdude-aws-2.3.26 test/elb/test_elb.rb
aws-2.3.28 test/elb/test_elb.rb
aws-2.3.27 test/elb/test_elb.rb
steamcannon-aws-2.3.26.2 test/elb/test_elb.rb
steamcannon-aws-2.3.26.1 test/elb/test_elb.rb
hackerdude-aws-2.3.25 test/elb/test_elb.rb