From 6687a4303d648f52fb6803c6897466459eef5f16 Mon Sep 17 00:00:00 2001 From: PriestJ Date: Mon, 17 Mar 2008 14:12:18 +0000 Subject: [PATCH] renamed references to DOWNSTREAM_BOOSTER_COMPRESS git-svn-id: http://locode01.ad.dom/svn/WEBMIP/trunk@4023 248e525c-4dfb-0310-94bc-949c084e9493 --- tests/enquirytests.rb | 32 ++++++++++++++++---------------- 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/tests/enquirytests.rb b/tests/enquirytests.rb index d59781f..8f0f937 100644 --- a/tests/enquirytests.rb +++ b/tests/enquirytests.rb @@ -86,7 +86,7 @@ class Test_02_enquiry < Test::Unit::TestCase assert(@@ie.select_list(:id,'P32_REQUIRED_SVCP_CODE').exists?,'Could not find P32_REQUIRED_SVCP_CODE select list') assert(@@ie.text_field(:id,'P32_ANNUAL_QUANTITY').exists?,'Could not find P32_ANNUAL_QUANTITY field') assert(@@ie.text_field(:id,'P32_REQUIRED_METERING_PRESSURE').exists?,'Could not find P32_REQUIRED_METERING_PRESSURE field') - assert(@@ie.select_list(:id,'P32_DOWNSTREAM_BOOSTER_OR_COMPRESS').exists?,'Could not find P32_DOWNSTREAM_BOOSTER_OR_COMPRESS select list') + assert(@@ie.select_list(:id,'P32_DS_BOOSTER_OR_COMPRESS').exists?,'Could not find P32_DS_BOOSTER_OR_COMPRESS select list') assert(@@ie.text_field(:id,'P32_INDICATIVE_DATE').exists?,'Could not find P32_INDICATIVE_DATE field') assert(@@ie.text_field(:id,'P32_OTHER_PROJECT_REFERENCE').exists?,'Could not find P32_OTHER_PROJECT_REFERENCE field') assert(@@ie.select_list(:id,'P32_HOUSING_REQUIRED').exists?,'Could not find P32_HOUSING_REQUIRED select list') @@ -208,7 +208,7 @@ class Test_02_enquiry < Test::Unit::TestCase assert(@@ie.select_list(:id,'P32_REQUIRED_SVCP_CODE').exists?,'Could not find P32_REQUIRED_SVCP_CODE select list') assert(@@ie.text_field(:id,'P32_ANNUAL_QUANTITY').exists?,'Could not find P32_ANNUAL_QUANTITY field') assert(@@ie.text_field(:id,'P32_REQUIRED_METERING_PRESSURE').exists?,'Could not find P32_REQUIRED_METERING_PRESSURE field') - assert(@@ie.select_list(:id,'P32_DOWNSTREAM_BOOSTER_OR_COMPRESS').exists?,'Could not find P32_DOWNSTREAM_BOOSTER_OR_COMPRESS select list') + assert(@@ie.select_list(:id,'P32_DS_BOOSTER_OR_COMPRESS').exists?,'Could not find P32_DS_BOOSTER_OR_COMPRESS select list') assert(@@ie.text_field(:id,'P32_INDICATIVE_DATE').exists?,'Could not find P32_INDICATIVE_DATE field') assert(@@ie.text_field(:id,'P32_OTHER_PROJECT_REFERENCE').exists?,'Could not find P32_OTHER_PROJECT_REFERENCE field') assert(@@ie.select_list(:id,'P32_HOUSING_REQUIRED').exists?,'Could not find P32_HOUSING_REQUIRED select list') @@ -248,7 +248,7 @@ class Test_02_enquiry < Test::Unit::TestCase assert(@@ie.select_list(:id,'P32_REQUIRED_SVCP_CODE').exists?,'Could not find P32_REQUIRED_SVCP_CODE select list') assert(@@ie.text_field(:id,'P32_ANNUAL_QUANTITY').exists?,'Could not find P32_ANNUAL_QUANTITY field') assert(@@ie.text_field(:id,'P32_REQUIRED_METERING_PRESSURE').exists?,'Could not find P32_REQUIRED_METERING_PRESSURE field') - assert(@@ie.select_list(:id,'P32_DOWNSTREAM_BOOSTER_OR_COMPRESS').exists?,'Could not find P32_DOWNSTREAM_BOOSTER_OR_COMPRESS select list') + assert(@@ie.select_list(:id,'P32_DS_BOOSTER_OR_COMPRESS').exists?,'Could not find P32_DS_BOOSTER_OR_COMPRESS select list') assert(@@ie.text_field(:id,'P32_INDICATIVE_DATE').exists?,'Could not find P32_INDICATIVE_DATE field') assert(@@ie.text_field(:id,'P32_OTHER_PROJECT_REFERENCE').exists?,'Could not find P32_OTHER_PROJECT_REFERENCE field') assert(@@ie.select_list(:id,'P32_HOUSING_REQUIRED').exists?,'Could not find P32_HOUSING_REQUIRED select list') @@ -284,7 +284,7 @@ class Test_02_enquiry < Test::Unit::TestCase assert(@@ie.select_list(:id,'P32_REQUIRED_SVCP_CODE').exists?,'Could not find P32_REQUIRED_SVCP_CODE select list') assert(@@ie.text_field(:id,'P32_ANNUAL_QUANTITY').exists?,'Could not find P32_ANNUAL_QUANTITY field') assert(@@ie.text_field(:id,'P32_REQUIRED_METERING_PRESSURE').exists?,'Could not find P32_REQUIRED_METERING_PRESSURE field') - assert(@@ie.select_list(:id,'P32_DOWNSTREAM_BOOSTER_OR_COMPRESS').exists?,'Could not find P32_DOWNSTREAM_BOOSTER_OR_COMPRESS select list') + assert(@@ie.select_list(:id,'P32_DS_BOOSTER_OR_COMPRESS').exists?,'Could not find P32_DS_BOOSTER_OR_COMPRESS select list') assert(@@ie.text_field(:id,'P32_INDICATIVE_DATE').exists?,'Could not find P32_INDICATIVE_DATE field') assert(@@ie.text_field(:id,'P32_OTHER_PROJECT_REFERENCE').exists?,'Could not find P32_OTHER_PROJECT_REFERENCE field') assert_equal(false,@@ie.select_list(:id,'P32_HOUSING_REQUIRED').exists?,'Found P32_HOUSING_REQUIRED select list') @@ -320,7 +320,7 @@ class Test_02_enquiry < Test::Unit::TestCase assert(@@ie.select_list(:id,'P32_REQUIRED_SVCP_CODE').exists?,'Could not find P32_REQUIRED_SVCP_CODE select list') assert(@@ie.text_field(:id,'P32_ANNUAL_QUANTITY').exists?,'Could not find P32_ANNUAL_QUANTITY field') assert(@@ie.text_field(:id,'P32_REQUIRED_METERING_PRESSURE').exists?,'Could not find P32_REQUIRED_METERING_PRESSURE field') - assert(@@ie.select_list(:id,'P32_DOWNSTREAM_BOOSTER_OR_COMPRESS').exists?,'Could not find P32_DOWNSTREAM_BOOSTER_OR_COMPRESS select list') + assert(@@ie.select_list(:id,'P32_DS_BOOSTER_OR_COMPRESS').exists?,'Could not find P32_DS_BOOSTER_OR_COMPRESS select list') assert(@@ie.text_field(:id,'P32_INDICATIVE_DATE').exists?,'Could not find P32_INDICATIVE_DATE field') assert(@@ie.text_field(:id,'P32_OTHER_PROJECT_REFERENCE').exists?,'Could not find P32_OTHER_PROJECT_REFERENCE field') assert(@@ie.select_list(:id,'P32_HOUSING_REQUIRED').exists?,'Could not find P32_HOUSING_REQUIRED select list') @@ -356,7 +356,7 @@ class Test_02_enquiry < Test::Unit::TestCase assert(@@ie.select_list(:id,'P32_REQUIRED_SVCP_CODE').exists?,'Could not find P32_REQUIRED_SVCP_CODE select list') assert(@@ie.text_field(:id,'P32_ANNUAL_QUANTITY').exists?,'Could not find P32_ANNUAL_QUANTITY field') assert(@@ie.text_field(:id,'P32_REQUIRED_METERING_PRESSURE').exists?,'Could not find P32_REQUIRED_METERING_PRESSURE field') - assert(@@ie.select_list(:id,'P32_DOWNSTREAM_BOOSTER_OR_COMPRESS').exists?,'Could not find P32_DOWNSTREAM_BOOSTER_OR_COMPRESS select list') + assert(@@ie.select_list(:id,'P32_DS_BOOSTER_OR_COMPRESS').exists?,'Could not find P32_DS_BOOSTER_OR_COMPRESS select list') assert(@@ie.text_field(:id,'P32_INDICATIVE_DATE').exists?,'Could not find P32_INDICATIVE_DATE field') assert(@@ie.text_field(:id,'P32_OTHER_PROJECT_REFERENCE').exists?,'Could not find P32_OTHER_PROJECT_REFERENCE field') assert(@@ie.select_list(:id,'P32_HOUSING_REQUIRED').exists?,'Could not find P32_HOUSING_REQUIRED select list') @@ -392,7 +392,7 @@ class Test_02_enquiry < Test::Unit::TestCase assert(@@ie.select_list(:id,'P32_REQUIRED_SVCP_CODE').exists?,'Could not find P32_REQUIRED_SVCP_CODE select list') assert_equal(false,@@ie.text_field(:id,'P32_ANNUAL_QUANTITY').exists?,'Found P32_ANNUAL_QUANTITY field') assert(@@ie.text_field(:id,'P32_REQUIRED_METERING_PRESSURE').exists?,'Could not find P32_REQUIRED_METERING_PRESSURE field') - assert_equal(false,@@ie.select_list(:id,'P32_DOWNSTREAM_BOOSTER_OR_COMPRESS').exists?,'Found P32_DOWNSTREAM_BOOSTER_OR_COMPRESS select list') + assert_equal(false,@@ie.select_list(:id,'P32_DS_BOOSTER_OR_COMPRESS').exists?,'Found P32_DS_BOOSTER_OR_COMPRESS select list') assert(@@ie.text_field(:id,'P32_INDICATIVE_DATE').exists?,'Could not find P32_INDICATIVE_DATE field') assert(@@ie.text_field(:id,'P32_OTHER_PROJECT_REFERENCE').exists?,'Could not find P32_OTHER_PROJECT_REFERENCE field') assert_equal(false,@@ie.select_list(:id,'P32_HOUSING_REQUIRED').exists?,'Found P32_HOUSING_REQUIRED select list') @@ -428,7 +428,7 @@ class Test_02_enquiry < Test::Unit::TestCase assert(@@ie.select_list(:id,'P32_REQUIRED_SVCP_CODE').exists?,'Could not find P32_REQUIRED_SVCP_CODE select list') assert_equal(false,@@ie.text_field(:id,'P32_ANNUAL_QUANTITY').exists?,'Found P32_ANNUAL_QUANTITY field') assert(@@ie.text_field(:id,'P32_REQUIRED_METERING_PRESSURE').exists?,'Could not find P32_REQUIRED_METERING_PRESSURE field') - assert_equal(false,@@ie.select_list(:id,'P32_DOWNSTREAM_BOOSTER_OR_COMPRESS').exists?,'Found P32_DOWNSTREAM_BOOSTER_OR_COMPRESS select list') + assert_equal(false,@@ie.select_list(:id,'P32_DS_BOOSTER_OR_COMPRESS').exists?,'Found P32_DS_BOOSTER_OR_COMPRESS select list') assert(@@ie.text_field(:id,'P32_INDICATIVE_DATE').exists?,'Could not find P32_INDICATIVE_DATE field') assert(@@ie.text_field(:id,'P32_OTHER_PROJECT_REFERENCE').exists?,'Could not find P32_OTHER_PROJECT_REFERENCE field') assert_equal(false,@@ie.select_list(:id,'P32_HOUSING_REQUIRED').exists?,'Found P32_HOUSING_REQUIRED select list') @@ -464,7 +464,7 @@ class Test_02_enquiry < Test::Unit::TestCase assert(@@ie.select_list(:id,'P32_REQUIRED_SVCP_CODE').exists?,'Could not find P32_REQUIRED_SVCP_CODE select list') assert_equal(false,@@ie.text_field(:id,'P32_ANNUAL_QUANTITY').exists?,'Found P32_ANNUAL_QUANTITY field') assert(@@ie.text_field(:id,'P32_REQUIRED_METERING_PRESSURE').exists?,'Could not find P32_REQUIRED_METERING_PRESSURE field') - assert_equal(false,@@ie.select_list(:id,'P32_DOWNSTREAM_BOOSTER_OR_COMPRESS').exists?,'Found P32_DOWNSTREAM_BOOSTER_OR_COMPRESS select list') + assert_equal(false,@@ie.select_list(:id,'P32_DS_BOOSTER_OR_COMPRESS').exists?,'Found P32_DS_BOOSTER_OR_COMPRESS select list') assert(@@ie.text_field(:id,'P32_INDICATIVE_DATE').exists?,'Could not find P32_INDICATIVE_DATE field') assert(@@ie.text_field(:id,'P32_OTHER_PROJECT_REFERENCE').exists?,'Could not find P32_OTHER_PROJECT_REFERENCE field') assert_equal(false,@@ie.select_list(:id,'P32_HOUSING_REQUIRED').exists?,'Found P32_HOUSING_REQUIRED select list') @@ -500,7 +500,7 @@ class Test_02_enquiry < Test::Unit::TestCase assert(@@ie.select_list(:id,'P32_REQUIRED_SVCP_CODE').exists?,'Could not find P32_REQUIRED_SVCP_CODE select list') assert(@@ie.text_field(:id,'P32_ANNUAL_QUANTITY').exists?,'Could not find P32_ANNUAL_QUANTITY field') assert(@@ie.text_field(:id,'P32_REQUIRED_METERING_PRESSURE').exists?,'Could not find P32_REQUIRED_METERING_PRESSURE field') - assert(@@ie.select_list(:id,'P32_DOWNSTREAM_BOOSTER_OR_COMPRESS').exists?,'Could not find P32_DOWNSTREAM_BOOSTER_OR_COMPRESS select list') + assert(@@ie.select_list(:id,'P32_DS_BOOSTER_OR_COMPRESS').exists?,'Could not find P32_DS_BOOSTER_OR_COMPRESS select list') assert(@@ie.text_field(:id,'P32_INDICATIVE_DATE').exists?,'Could not find P32_INDICATIVE_DATE field') assert(@@ie.text_field(:id,'P32_OTHER_PROJECT_REFERENCE').exists?,'Could not find P32_OTHER_PROJECT_REFERENCE field') assert(@@ie.select_list(:id,'P32_HOUSING_REQUIRED').exists?,'Could not find P32_HOUSING_REQUIRED select list') @@ -536,7 +536,7 @@ class Test_02_enquiry < Test::Unit::TestCase assert(@@ie.select_list(:id,'P32_REQUIRED_SVCP_CODE').exists?,'Could not find P32_REQUIRED_SVCP_CODE select list') assert(@@ie.text_field(:id,'P32_ANNUAL_QUANTITY').exists?,'Could not find P32_ANNUAL_QUANTITY field') assert(@@ie.text_field(:id,'P32_REQUIRED_METERING_PRESSURE').exists?,'Could not find P32_REQUIRED_METERING_PRESSURE field') - assert(@@ie.select_list(:id,'P32_DOWNSTREAM_BOOSTER_OR_COMPRESS').exists?,'Could not find P32_DOWNSTREAM_BOOSTER_OR_COMPRESS select list') + assert(@@ie.select_list(:id,'P32_DS_BOOSTER_OR_COMPRESS').exists?,'Could not find P32_DS_BOOSTER_OR_COMPRESS select list') assert(@@ie.text_field(:id,'P32_INDICATIVE_DATE').exists?,'Could not find P32_INDICATIVE_DATE field') assert(@@ie.text_field(:id,'P32_OTHER_PROJECT_REFERENCE').exists?,'Could not find P32_OTHER_PROJECT_REFERENCE field') assert(@@ie.select_list(:id,'P32_HOUSING_REQUIRED').exists?,'Could not find P32_HOUSING_REQUIRED select list') @@ -572,7 +572,7 @@ class Test_02_enquiry < Test::Unit::TestCase assert(@@ie.select_list(:id,'P32_REQUIRED_SVCP_CODE').exists?,'Could not find P32_REQUIRED_SVCP_CODE select list') assert(@@ie.text_field(:id,'P32_ANNUAL_QUANTITY').exists?,'Could not find P32_ANNUAL_QUANTITY field') assert(@@ie.text_field(:id,'P32_REQUIRED_METERING_PRESSURE').exists?,'Could not find P32_REQUIRED_METERING_PRESSURE field') - assert(@@ie.select_list(:id,'P32_DOWNSTREAM_BOOSTER_OR_COMPRESS').exists?,'Could not find P32_DOWNSTREAM_BOOSTER_OR_COMPRESS select list') + assert(@@ie.select_list(:id,'P32_DS_BOOSTER_OR_COMPRESS').exists?,'Could not find P32_DS_BOOSTER_OR_COMPRESS select list') assert(@@ie.text_field(:id,'P32_INDICATIVE_DATE').exists?,'Could not find P32_INDICATIVE_DATE field') assert(@@ie.text_field(:id,'P32_OTHER_PROJECT_REFERENCE').exists?,'Could not find P32_OTHER_PROJECT_REFERENCE field') assert_equal(false,@@ie.select_list(:id,'P32_HOUSING_REQUIRED').exists?,'Found P32_HOUSING_REQUIRED select list') @@ -608,7 +608,7 @@ class Test_02_enquiry < Test::Unit::TestCase assert(@@ie.select_list(:id,'P32_REQUIRED_SVCP_CODE').exists?,'Could not find P32_REQUIRED_SVCP_CODE select list') assert(@@ie.text_field(:id,'P32_ANNUAL_QUANTITY').exists?,'Could not find P32_ANNUAL_QUANTITY field') assert(@@ie.text_field(:id,'P32_REQUIRED_METERING_PRESSURE').exists?,'Could not find P32_REQUIRED_METERING_PRESSURE field') - assert(@@ie.select_list(:id,'P32_DOWNSTREAM_BOOSTER_OR_COMPRESS').exists?,'Could not find P32_DOWNSTREAM_BOOSTER_OR_COMPRESS select list') + assert(@@ie.select_list(:id,'P32_DS_BOOSTER_OR_COMPRESS').exists?,'Could not find P32_DS_BOOSTER_OR_COMPRESS select list') assert(@@ie.text_field(:id,'P32_INDICATIVE_DATE').exists?,'Could not find P32_INDICATIVE_DATE field') assert(@@ie.text_field(:id,'P32_OTHER_PROJECT_REFERENCE').exists?,'Could not find P32_OTHER_PROJECT_REFERENCE field') assert(@@ie.select_list(:id,'P32_HOUSING_REQUIRED').exists?,'Could not find P32_HOUSING_REQUIRED select list') @@ -693,7 +693,7 @@ class Test_02_enquiry < Test::Unit::TestCase assert(@@ie.select_list(:id,'P32_REQUIRED_SVCP_CODE').exists?,'Could not find P32_REQUIRED_SVCP_CODE select list') assert(@@ie.text_field(:id,'P32_ANNUAL_QUANTITY').exists?,'Could not find P32_ANNUAL_QUANTITY field') assert(@@ie.text_field(:id,'P32_REQUIRED_METERING_PRESSURE').exists?,'Could not find P32_REQUIRED_METERING_PRESSURE field') - assert(@@ie.select_list(:id,'P32_DOWNSTREAM_BOOSTER_OR_COMPRESS').exists?,'Could not find P32_DOWNSTREAM_BOOSTER_OR_COMPRESS select list') + assert(@@ie.select_list(:id,'P32_DS_BOOSTER_OR_COMPRESS').exists?,'Could not find P32_DS_BOOSTER_OR_COMPRESS select list') assert(@@ie.text_field(:id,'P32_INDICATIVE_DATE').exists?,'Could not find P32_INDICATIVE_DATE field') assert(@@ie.text_field(:id,'P32_OTHER_PROJECT_REFERENCE').exists?,'Could not find P32_OTHER_PROJECT_REFERENCE field') assert(@@ie.select_list(:id,'P32_HOUSING_REQUIRED').exists?,'Could not find P32_HOUSING_REQUIRED select list') @@ -820,7 +820,7 @@ class Test_02_enquiry < Test::Unit::TestCase @@ie.wait @@ie.text_field(:id,'P32_ANNUAL_QUANTITY').set '1000' @@ie.text_field(:id,'P32_REQUIRED_METERING_PRESSURE').set '15' - @@ie.select_list(:id,'P32_DOWNSTREAM_BOOSTER_OR_COMPRESS').set 'No' + @@ie.select_list(:id,'P32_DS_BOOSTER_OR_COMPRESS').set 'No' @@ie.text_field(:id,'P32_INDICATIVE_DATE').set '17/07/2008' @@ie.text_field(:id,'P32_OTHER_PROJECT_REFERENCE').set 'Test 23' @@ie.select_list(:id,'P32_HOUSING_REQUIRED').set 'No' @@ -1036,7 +1036,7 @@ class Test_02_enquiry < Test::Unit::TestCase @@ie.wait @@ie.text_field(:id,'P32_ANNUAL_QUANTITY').set '1000' @@ie.text_field(:id,'P32_REQUIRED_METERING_PRESSURE').set '65' - @@ie.select_list(:id,'P32_DOWNSTREAM_BOOSTER_OR_COMPRESS').set 'Yes' + @@ie.select_list(:id,'P32_DS_BOOSTER_OR_COMPRESS').set 'Yes' @@ie.text_field(:id,'P32_INDICATIVE_DATE').set '17/07/2008' @@ie.text_field(:id,'P32_OTHER_PROJECT_REFERENCE').set 'Test 23' @@ie.select_list(:id,'P32_HOUSING_REQUIRED').set 'No'