E Vehicle Android General - 5 Flashcards
What build variants should be used for all unit testing and instrumented testing?
Name for using a tablet and and emulator.
With a tablet:
ConditionArmMockServices and FinalCheckInArmMockServices
With an emulator:
ConditionX86MockServices and FinalCheckInX86MockServices
Explain what the different packages are as far as the parenthesis after the name. ie..
com. ehi.mcondition
com. ehi.mcondition (androidTest)
com. ehi.mcondition (mockservices)
com. ehi.mcondition (test)
com. ehi.mcondition - Our normal code.
com. ehi.mcondition (androidTest) - Instrumented tests
com. ehi.mcondition (mockservices) - Sets up mock services use for testing
com. ehi.mcondition (test) - Unit tests
INT and dev are _____ .
One in the same
INT has the latest ____ .
BFF Build
If you are not able to test your view model with a regular Unit test, it is in indicator that ….
It is an indicator that you are doing something wrong in your viewModel because it should not be reliant on the Android Framework.
Activities, fragments, and adapters will need to be tested with what kind of test?
Instrumented Tests
You should/shouldn’t be using things like contexts in your viewmodels.
Shouldn’t
Repositories in Android code deal with ____ and should be tested with ________ .
Service calls
Regular JUnit tests
Usually in adapters you are doing things like …..
Setting button texts and layouts
What is the good practice to do with if statements that are only one line?
Even though you don’t need curly braces, you should use them for readability and also if someone is going to add more to it later.
Generally, if you want to disable the device back button or change where it takes you, what can you do?
Override onBackPressed() and just don’t put anything in the body or put whatever you want to do inside the body.
What does TAC stand for?
Terms and Conditions
What does LDR stand for?
Loss Damage Reports
After the Reorg in Fall of 2019, what department am I in?
Full name, short name, and number.
Rental Operations Solutions
ROPS
9833
The code freeze is usually about how long before the release.
That time is for what?
One month
UAT testing and regression testing
What does MDM stand for?
Mobile device management.
Our master branch should mirror what is in ____ .
MDM’s hands and Prod
Can you get to condition from Final Check In?
No, it’s its own app.