cloudstack/ui/tests/mockData/Status.mock.json
Hoang Nguyen 338de72665 Explore Test Automation (#320)
* config jest and add setup for unittest

* config jest coverage

* example of unit testing a Status widget/component

* add license for test file

* add test/run command in the .travis.yml

* add mock store and i18n for vue jest

* add mock file missing

* add mock router

* add lincence to mock file & decodeHtml to setup file

* add mock axios instance & fix eslint on tests folder

* add test components > views > ActionButton component

* fix for test coverage success

* refactor test file

* add test Views > Autogenview.vue (Navigation Guard, Watchers, Computed)

* history mode mockRouter, refactor test code, test Autogenview > fetchData (routeName)

* test Views > AutogenView.vue (processing 31%)

* add mock router exception & test Views > AutogenView.vue (processing 43%)

* test Views > AutogenView (processing 65%), add test onSearch, closeAction, execAction, listUuidOpts

* refactor and add comment test files

* test Views > AutogenView (processing 91%)

* add comment file AutogenView.spec.js

* test Views > AutogenView.vue (handleSubmit method)

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2021-01-20 07:06:24 +05:30

38 lines
1.1 KiB
JSON

{
"messages": {
"en": {
"state.running": "Running",
"state.migrating": "Migrating",
"state.stopped": "Stopped",
"state.starting": "Starting",
"state.stopping": "Stopping",
"state.suspended": "Suspended",
"state.pending": "Pending",
"state.expunging": "Expunging",
"state.error": "Error",
"message.publicip.state.allocated": "Allocated",
"message.publicip.state.created": "Created",
"message.vmsnapshot.state.active": "Active",
"message.vm.state.active": "Active",
"message.volume.state.active": "Active",
"message.guestnetwork.state.active": "Active",
"message.publicip.state.active": "Active",
"Created": "Created",
"Active": "Active",
"Allocated": "Allocated",
"Error": "Error",
"Expunging": "Expunging",
"Suspended": "Suspended",
"Pending": "Pending",
"Running": "Running",
"Starting": "Starting",
"Another": "Another",
"Ready": "Ready",
"Disabled": "Disabled",
"Migrating": "Migrating",
"Stopping": "Stopping",
"Alert": "Alert",
"Stopped": "Stopped"
}
}
}