-
Notifications
You must be signed in to change notification settings - Fork 2
Test Plan for FireExtinguisherHandlerComponent
- Framework: JUnit 5
- Objects Used:
- FireExtinguisherHandlerComponent
- InventoryComponent
- Entity (mocked)
- EventHandler (mocked)
- Test Case: Should give extinguisher
Purpose: To verify that the FireExtinguisherHandlerComponent can add a fire extinguisher to the entity's inventory. Expected Results:
Initially, the entity's inventory should not contain a fire extinguisher. After calling givePutExtinguisher() on the handler, the inventory should contain one fire extinguisher item.
- Test Case: Should return extinguisher
Purpose: To verify that the FireExtinguisherHandlerComponent can remove a fire extinguisher from the entity's inventory if it is already present. Expected Results:
After ensuring that the inventory contains a fire extinguisher by calling shouldGiveExtinguisher(), calling givePutExtinguisher() again should remove the fire extinguisher from the inventory. The inventory should not contain a fire extinguisher after the second call to givePutExtinguisher().
Inventory System
Scoring System
Food Recipes
Level System
Player Actions
Ordering System
Stations
Items
Map Design
Customers
Pause Menu
Upgrades
End of Day Display
Day Night Cycle
Moral System
Debug Terminal
Game Interactions Tutorial
Backstory Cutscenes
Entities and Components
Input Handling
Game Screens and Areas
Fire Extinguisher Handler Component
MainGameActions Create Docket Triggers
Main Game Order Button Display
BackstoryCutsceneDisplay Test Plan
Test Plan for MainGameOrderTicketDisplay
Test Plan for MainGameOrderBtnDisplay
Test Plan for DocketLineDisplay
Test plan for RandomComboService
Test plan for SpeedBoostUpgrade
Test plan for DancePartyUpgrade