lp:~stewertg/+junk/rsm-tests-ct

Created by stewert gallington and last modified
Get this branch:
bzr branch lp:~stewertg/+junk/rsm-tests-ct
Only stewert gallington can upload to this branch. If you are stewert gallington please log in for upload directions.

Related bugs

Related blueprints

Branch information

Owner:
stewert gallington
Status:
Development

Recent revisions

209. By stewert gallington

P: Tests.Misc
A: Refactored due to the renaming of the appication package.
R: The application package was changed so that both the CT and GWR version could co-existi on GPlay store

A: Updated the SetupThreadTestFixture.
R: Updated so that it no longer uses the deprecated TelephonyManager

A: Updated the SetupWizardTestFixture
R: So that it now sets the IMEI field, since the upgrade to version 29 of the API we can no longer get the IMEI programatically.

A: Updated the StartUpdateTestFixture.
R: So that it no longer uses the Environment.getExternalStorageDirectory().

208. By stewert gallington

P: Misc
A: Refactored the usag of Environment.GetExternalStorageDir to context.getExternalFilesDir
R: So that it correctly tests that the location of storage doesn't cause any issues.

A: Updated the DataBaseSetupFixture
R: So that they split the address verifiactions into ADD and IND types using the MetaData.

P: Tests
A: Updated the MGElevenContractTestFixture and MGElevenSigStripTestFixture
R: So that they test that the TimeCautioned is output as a mergefield.

P:UI.Tests
A: Updated the CreatePenaltyFareNoticeTestFixture and CreateMGElevenTestFixtureNoActivityStart testIssueMGENoSurame/testIssueMGENoFirstname
R: It needs to confirm that we are saving with an unverified address before the name warnings show.

207. By stewert gallington

P: Tests
A: Updated the MGElevenContractTestFixture
R: To include an assertion for the TimeCautioned merge field value.

206. By stewert gallington

P: SetupTests
A: Updated the SetupWizardTestFixture.testSetupCompletes_RequestSync_RemAcc_ReSetup
R: Removed redundant sync triggers as this is not required in order to asser that the account has been removed.

P: Tests.UI
A: Added new AddressVerificationDialogTestFixture
R: To test that the selection of the first AddVerificationCode element doesn't stop the address being validated.

205. By stewert gallington

P: Tests
A: Updated the PerformedDutySyncAdapterTestFixture
R: So that it can correctly test to make sure that case items assoc. to the duty are syncd up when the duty is saved.

A: Changed the WebServiceUpdateTestFixture so that it uses the GenericWebServiceTestFixture
R: Its a web service and as a result of this is now subject to some of the standard GenWeb service tests.

204. By stewert gallington

P: SetupTests
A: Added a ResetImei method to the TestUtils
R: This triggers the ResetImei process in the server that allows the Consumed flag of a devices IMEI to be reset if the server is in a debug build.

A: Updated the SetupWizardTestFixture and SetupThreadTestFixture
R: So that they use the new ResetImei method so that they can run multiple times using the same IMEI without causing an error.

A: Updated the SetupWizardTestFixture
R: To make sure that it is testing for the new errors that come back based on device blocked/consumed statues.

A: Added a test to the SetupWizardTestFixture
R: To make sure that you cant register a device twice for the same IMEI.

203. By stewert gallington

P: UI.Tests
A: basefarenotice testfixtures
R: Adjusted the processes used to interact with the UI in order to make them more reliable when running the tests, this has not actually changed the test case or the assertions made.

A: Updated the BaseFareNoticePage.PopulateWithDefaults method signature (also affected the override in MGElevenPage)
R: This now takes a new paramater called nullable bool called setPlat that if set will be used to set the Issued on train/plat options by default.

A: Added x,y coords const values for the yes/no dialog buttons
R: These will make clicking the yes/no buttons in the dialog more reliable however this value will need to be changed if testing on a different device.

A: Updated the RecoverableItemPage and RobotiumPage ClickYes/NoButton and the ClickRecoveryNo/Yes buttons
R: So that they use the explicit x,y co-ords defined in the UiTestConstants (see above)

A: Updated the LoginTestFixture.StartTestActivity
R: Made sure that the auth prefs are cleared and the default app settings are reset before each test.

A: Updated the MainMenuTestFixture.testJsonOverrideApplies and testJsonNoOverrideApplies
R: Made sure that the appropriate app settings are set before acting or asserting.
R: Also updated various tests to make sure that the database is setup clean.

A: Updated the DataBaseSetupFixture.OpenDuty
R: Changed the method sig so that can override the badgenumber used when opening a duty.

A: Updated the UiTestUtils.postcodeSearch
R: So that if its not expected to select any items it will scroll to the top of the list by default.

202. By stewert gallington

P: Mobile.Tests/UI.Tests
A: Updated the DataBaseSetupFixture.CreateInspector
R: This now takes a jsonData parameter that if not null will set the Inspectors jsonData property with.

P: UI.Tests
A: Updated the LoginTestFixture.
R: Added test cases to assert that the auth prefs are clearded on start.
R: Added 2 new tests to assert that if the user has app settings override data in the jsonData property then that is merged/not-merged (appropriate to the users jsonData property) with the app settings post successful login

A: Updated the MainMenuTestFixture
R: Added 2 tests to make sure that if the logged in user has app settings override data that it applies correctly to the application (in this instance it overrides the users ability to issue MG11s)

201. By stewert gallington

P: Core.Tests
A: Added the ApplicationSettingFixture
R: To test the MergeExtraSettings method.

A: Updtated the ApplicationConstantsTestFixture
R: To test that the settings get updated when there is a user logged in.

200. By stewert gallington

P: Mobile.Tests
A: Updated the InspectorContractTestFixture
R: So that it can assert that the JsonData values being sent from the server will be parsed and stored in the repo correctly.

Branch metadata

Branch format:
Branch format 7
Repository format:
Bazaar repository format 2a (needs bzr 1.16 or later)
This branch contains Public information 
Everyone can see this information.