@pietrolubini/homebridge-ecoflow 1.2.1 → 1.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.gitattributes +7 -0
- package/.prettierrc.json +1 -0
- package/README.md +153 -24
- package/config.schema.json +65 -2
- package/dist/accessories/batteries/batteryAccessoryBase.d.ts +26 -0
- package/dist/accessories/batteries/batteryAccessoryBase.js +126 -0
- package/dist/accessories/batteries/batteryAccessoryBase.js.map +1 -0
- package/dist/accessories/batteries/batteryAccessoryBase.spec.d.ts +1 -0
- package/dist/accessories/batteries/delta2Accessory.d.ts +2 -2
- package/dist/accessories/batteries/delta2Accessory.js +6 -2
- package/dist/accessories/batteries/delta2Accessory.js.map +1 -1
- package/dist/accessories/batteries/delta2maxAccessory.d.ts +2 -2
- package/dist/accessories/batteries/delta2maxAccessory.js +6 -2
- package/dist/accessories/batteries/delta2maxAccessory.js.map +1 -1
- package/dist/accessories/batteries/interfaces/httpApiBatteryContracts.d.ts +33 -0
- package/dist/accessories/batteries/interfaces/httpApiBatteryContracts.js +3 -0
- package/dist/accessories/batteries/interfaces/httpApiBatteryContracts.js.map +1 -0
- package/dist/accessories/batteries/interfaces/mqttApiBatteryContracts.d.ts +36 -0
- package/dist/accessories/batteries/interfaces/mqttApiBatteryContracts.js +18 -0
- package/dist/accessories/batteries/interfaces/mqttApiBatteryContracts.js.map +1 -0
- package/dist/accessories/batteries/services/outletAcService.d.ts +8 -0
- package/dist/accessories/batteries/services/outletAcService.js +24 -0
- package/dist/accessories/batteries/services/outletAcService.js.map +1 -0
- package/dist/accessories/batteries/services/outletAcService.spec.d.ts +1 -0
- package/dist/accessories/batteries/services/outletBatteryServiceBase.d.ts +5 -0
- package/dist/accessories/batteries/services/outletBatteryServiceBase.js +18 -0
- package/dist/accessories/batteries/services/outletBatteryServiceBase.js.map +1 -0
- package/dist/accessories/batteries/services/outletCarService.d.ts +6 -0
- package/dist/accessories/batteries/services/outletCarService.js +17 -0
- package/dist/accessories/batteries/services/outletCarService.js.map +1 -0
- package/dist/accessories/batteries/services/outletCarService.spec.d.ts +1 -0
- package/dist/accessories/batteries/services/outletUsbService.d.ts +6 -0
- package/dist/accessories/batteries/services/outletUsbService.js +15 -0
- package/dist/accessories/batteries/services/outletUsbService.js.map +1 -0
- package/dist/accessories/batteries/services/outletUsbService.spec.d.ts +1 -0
- package/dist/accessories/batteries/simulations/batterySimulator.d.ts +6 -0
- package/dist/accessories/batteries/simulations/batterySimulator.js +60 -0
- package/dist/accessories/batteries/simulations/batterySimulator.js.map +1 -0
- package/dist/accessories/ecoFlowAccessoryBase.d.ts +41 -0
- package/dist/accessories/ecoFlowAccessoryBase.js +114 -0
- package/dist/accessories/ecoFlowAccessoryBase.js.map +1 -0
- package/dist/accessories/ecoFlowAccessoryBase.spec.d.ts +1 -0
- package/dist/accessories/ecoFlowAccessoryWithQuotaBase.d.ts +15 -0
- package/dist/accessories/ecoFlowAccessoryWithQuotaBase.js +34 -0
- package/dist/accessories/ecoFlowAccessoryWithQuotaBase.js.map +1 -0
- package/dist/accessories/ecoFlowAccessoryWithQuotaBase.spec.d.ts +1 -0
- package/dist/accessories/powerstream/interfaces/httpApiPowerStreamContracts.d.ts +16 -0
- package/dist/accessories/powerstream/interfaces/httpApiPowerStreamContracts.js +3 -0
- package/dist/accessories/powerstream/interfaces/httpApiPowerStreamContracts.js.map +1 -0
- package/dist/accessories/powerstream/interfaces/mqttApiPowerStreamContracts.d.ts +41 -0
- package/dist/accessories/powerstream/interfaces/mqttApiPowerStreamContracts.js +21 -0
- package/dist/accessories/powerstream/interfaces/mqttApiPowerStreamContracts.js.map +1 -0
- package/dist/accessories/powerstream/powerStreamAccessory.d.ts +26 -0
- package/dist/accessories/powerstream/powerStreamAccessory.js +113 -0
- package/dist/accessories/powerstream/powerStreamAccessory.js.map +1 -0
- package/dist/accessories/powerstream/powerStreamAccessory.spec.d.ts +1 -0
- package/dist/accessories/powerstream/services/brightnessService.d.ts +7 -0
- package/dist/accessories/powerstream/services/brightnessService.js +27 -0
- package/dist/accessories/powerstream/services/brightnessService.js.map +1 -0
- package/dist/accessories/powerstream/services/brightnessService.spec.d.ts +1 -0
- package/dist/accessories/powerstream/services/outletInvService.d.ts +7 -0
- package/dist/accessories/powerstream/services/outletInvService.js +14 -0
- package/dist/accessories/powerstream/services/outletInvService.js.map +1 -0
- package/dist/accessories/powerstream/services/outletInvService.spec.d.ts +1 -0
- package/dist/accessories/powerstream/services/outletService.d.ts +8 -0
- package/dist/accessories/powerstream/services/outletService.js +14 -0
- package/dist/accessories/powerstream/services/outletService.js.map +1 -0
- package/dist/accessories/powerstream/services/outletService.spec.d.ts +1 -0
- package/dist/accessories/powerstream/services/powerDemandService.d.ts +7 -0
- package/dist/accessories/powerstream/services/powerDemandService.js +27 -0
- package/dist/accessories/powerstream/services/powerDemandService.js.map +1 -0
- package/dist/accessories/powerstream/services/powerDemandService.spec.d.ts +1 -0
- package/dist/accessories/powerstream/simulations/powerStreamSimulator.d.ts +6 -0
- package/dist/accessories/powerstream/simulations/powerStreamSimulator.js +39 -0
- package/dist/accessories/powerstream/simulations/powerStreamSimulator.js.map +1 -0
- package/dist/apis/containers/deviceInfo.d.ts +13 -0
- package/dist/apis/containers/deviceInfo.js +23 -0
- package/dist/apis/containers/deviceInfo.js.map +1 -0
- package/dist/apis/containers/deviceInfo.spec.d.ts +1 -0
- package/dist/apis/containers/mqttClientContainer.d.ts +17 -0
- package/dist/apis/containers/mqttClientContainer.js +45 -0
- package/dist/apis/containers/mqttClientContainer.js.map +1 -0
- package/dist/apis/containers/mqttClientContainer.spec.d.ts +1 -0
- package/dist/apis/containers/mqttDevice.d.ts +15 -0
- package/dist/apis/containers/mqttDevice.js +43 -0
- package/dist/apis/containers/mqttDevice.js.map +1 -0
- package/dist/apis/containers/mqttDevice.spec.d.ts +1 -0
- package/dist/apis/ecoFlowHttpApiManager.d.ts +13 -0
- package/dist/apis/{ecoFlowHttpApi.js → ecoFlowHttpApiManager.js} +55 -45
- package/dist/apis/ecoFlowHttpApiManager.js.map +1 -0
- package/dist/apis/ecoFlowHttpApiManager.spec.d.ts +1 -0
- package/dist/apis/ecoFlowMqttApiManager.d.ts +25 -0
- package/dist/apis/ecoFlowMqttApiManager.js +152 -0
- package/dist/apis/ecoFlowMqttApiManager.js.map +1 -0
- package/dist/apis/ecoFlowMqttApiManager.spec.d.ts +1 -0
- package/dist/apis/interfaces/httpApiContracts.d.ts +30 -0
- package/dist/apis/interfaces/httpApiContracts.js +9 -0
- package/dist/apis/interfaces/httpApiContracts.js.map +1 -0
- package/dist/apis/interfaces/mqttApiContracts.d.ts +26 -0
- package/dist/apis/interfaces/mqttApiContracts.js +9 -0
- package/dist/apis/interfaces/mqttApiContracts.js.map +1 -0
- package/dist/apis/simulations/mockMqttClient.d.ts +15 -0
- package/dist/apis/simulations/mockMqttClient.js +59 -0
- package/dist/apis/simulations/mockMqttClient.js.map +1 -0
- package/dist/apis/simulations/mockMqttClient.spec.d.ts +1 -0
- package/dist/apis/simulations/simulator.d.ts +13 -0
- package/dist/apis/simulations/simulator.js +26 -0
- package/dist/apis/simulations/simulator.js.map +1 -0
- package/dist/characteristics/{CustomCharacteristic.js → customCharacteristic.js} +18 -11
- package/dist/characteristics/customCharacteristic.js.map +1 -0
- package/dist/characteristics/customCharacteristic.spec.d.ts +1 -0
- package/dist/config.d.ts +28 -4
- package/dist/config.js +15 -6
- package/dist/config.js.map +1 -1
- package/dist/helpers/logger.js +5 -1
- package/dist/helpers/logger.js.map +1 -1
- package/dist/helpers/logger.spec.d.ts +1 -0
- package/dist/helpers/machineIdProvider.d.ts +4 -0
- package/dist/helpers/machineIdProvider.js +19 -0
- package/dist/helpers/machineIdProvider.js.map +1 -0
- package/dist/helpers/machineIdProvider.spec.d.ts +1 -0
- package/dist/helpers/tests/accessoryTestHelper.d.ts +5 -0
- package/dist/helpers/tests/serviceTestHelper.d.ts +6 -0
- package/dist/helpers/tests/sleep.d.ts +1 -0
- package/dist/homebridge-ui/public/index.d.ts +2 -0
- package/dist/homebridge-ui/public/index.html +6 -0
- package/dist/homebridge-ui/public/index.js +1 -0
- package/dist/homebridge-ui/public/index.spec.d.ts +1 -0
- package/dist/homebridge-ui/public/interfaces/contracts.d.ts +13 -0
- package/dist/homebridge-ui/public/interfaces/homebridge.d.ts +52 -0
- package/dist/homebridge-ui/public/renderers/componentRenderer.d.ts +6 -0
- package/dist/homebridge-ui/public/renderers/componentRenderer.spec.d.ts +1 -0
- package/dist/homebridge-ui/public/renderers/pluginConfigDevicesRenderer.d.ts +20 -0
- package/dist/homebridge-ui/public/renderers/pluginConfigDevicesRenderer.spec.d.ts +1 -0
- package/dist/homebridge-ui/public/renderers/pluginConfigNameRenderer.d.ts +5 -0
- package/dist/homebridge-ui/public/renderers/pluginConfigNameRenderer.spec.d.ts +1 -0
- package/dist/homebridge-ui/public/renderers/pluginConfigRenderer.d.ts +6 -0
- package/dist/homebridge-ui/public/renderers/pluginConfigRenderer.spec.d.ts +1 -0
- package/dist/homebridge-ui/public/renderers/pluginConfigRendererBase.d.ts +9 -0
- package/dist/index.js +7 -4
- package/dist/index.js.map +1 -1
- package/dist/index.spec.d.ts +1 -0
- package/dist/platform.d.ts +11 -8
- package/dist/platform.js +88 -32
- package/dist/platform.js.map +1 -1
- package/dist/platform.spec.d.ts +1 -0
- package/dist/services/accessoryInformationService.d.ts +5 -3
- package/dist/services/accessoryInformationService.js +15 -12
- package/dist/services/accessoryInformationService.js.map +1 -1
- package/dist/services/accessoryInformationService.spec.d.ts +1 -0
- package/dist/services/batteryStatusService.d.ts +6 -4
- package/dist/services/batteryStatusService.js +19 -17
- package/dist/services/batteryStatusService.js.map +1 -1
- package/dist/services/batteryStatusService.spec.d.ts +1 -0
- package/dist/services/fanServiceBase.d.ts +16 -0
- package/dist/services/fanServiceBase.js +42 -0
- package/dist/services/fanServiceBase.js.map +1 -0
- package/dist/services/fanServiceBase.spec.d.ts +1 -0
- package/dist/services/lightBulbServiceBase.d.ts +16 -0
- package/dist/services/lightBulbServiceBase.js +42 -0
- package/dist/services/lightBulbServiceBase.js.map +1 -0
- package/dist/services/lightBulbServiceBase.spec.d.ts +1 -0
- package/dist/services/outletServiceBase.d.ts +7 -15
- package/dist/services/outletServiceBase.js +20 -28
- package/dist/services/outletServiceBase.js.map +1 -1
- package/dist/services/outletServiceBase.spec.d.ts +1 -0
- package/dist/services/serviceBase.d.ts +10 -5
- package/dist/services/serviceBase.js +31 -8
- package/dist/services/serviceBase.js.map +1 -1
- package/dist/settings.js +5 -2
- package/dist/settings.js.map +1 -1
- package/docs/images/plugin_icon.png +0 -0
- package/jest.config.ts +46 -0
- package/junit.xml +843 -0
- package/package.json +42 -12
- package/tsconfig.build.json +5 -0
- package/tsconfig.spec.json +8 -0
- package/dist/accessories/batteries/batteryAccessory.d.ts +0 -59
- package/dist/accessories/batteries/batteryAccessory.js +0 -120
- package/dist/accessories/batteries/batteryAccessory.js.map +0 -1
- package/dist/accessories/ecoFlowAccessory.d.ts +0 -42
- package/dist/accessories/ecoFlowAccessory.js +0 -122
- package/dist/accessories/ecoFlowAccessory.js.map +0 -1
- package/dist/apis/ecoFlowHttpApi.d.ts +0 -47
- package/dist/apis/ecoFlowHttpApi.js.map +0 -1
- package/dist/apis/ecoFlowMqttApi.d.ts +0 -53
- package/dist/apis/ecoFlowMqttApi.js +0 -100
- package/dist/apis/ecoFlowMqttApi.js.map +0 -1
- package/dist/characteristics/CustomCharacteristic.js.map +0 -1
- package/dist/helpers/machineId.d.ts +0 -2
- package/dist/helpers/machineId.js +0 -15
- package/dist/helpers/machineId.js.map +0 -1
- package/dist/helpers/machineIdHelper.cjs +0 -5
- package/dist/services/outletAcService.d.ts +0 -8
- package/dist/services/outletAcService.js +0 -17
- package/dist/services/outletAcService.js.map +0 -1
- package/dist/services/outletCarService.d.ts +0 -6
- package/dist/services/outletCarService.js +0 -12
- package/dist/services/outletCarService.js.map +0 -1
- package/dist/services/outletUsbService.d.ts +0 -6
- package/dist/services/outletUsbService.js +0 -10
- package/dist/services/outletUsbService.js.map +0 -1
- /package/dist/characteristics/{CustomCharacteristic.d.ts → customCharacteristic.d.ts} +0 -0
package/junit.xml
ADDED
|
@@ -0,0 +1,843 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<testsuites name="jest tests" tests="371" failures="0" errors="0" time="21.246">
|
|
3
|
+
<testsuite name="BatteryAccessory" errors="0" failures="0" skipped="0" timestamp="2024-09-24T13:37:22" time="5.88" tests="34">
|
|
4
|
+
<testcase classname="BatteryAccessory initialize should add required services when initializing accessory" name="BatteryAccessory initialize should add required services when initializing accessory" time="0.02">
|
|
5
|
+
</testcase>
|
|
6
|
+
<testcase classname="BatteryAccessory processQuotaMessage EmsStatus should update bms status in quota when EmsStatus message is received" name="BatteryAccessory processQuotaMessage EmsStatus should update bms status in quota when EmsStatus message is received" time="0.008">
|
|
7
|
+
</testcase>
|
|
8
|
+
<testcase classname="BatteryAccessory processQuotaMessage EmsStatus should update battery level when EmsStatus message is received with f32LcdShowSoc" name="BatteryAccessory processQuotaMessage EmsStatus should update battery level when EmsStatus message is received with f32LcdShowSoc" time="0.008">
|
|
9
|
+
</testcase>
|
|
10
|
+
<testcase classname="BatteryAccessory processQuotaMessage EmsStatus should not update any characteristic when EmsStatus message is received with undefined status" name="BatteryAccessory processQuotaMessage EmsStatus should not update any characteristic when EmsStatus message is received with undefined status" time="0.004">
|
|
11
|
+
</testcase>
|
|
12
|
+
<testcase classname="BatteryAccessory processQuotaMessage InvStatus should update inv status in quota when InvStatus message is received" name="BatteryAccessory processQuotaMessage InvStatus should update inv status in quota when InvStatus message is received" time="0.005">
|
|
13
|
+
</testcase>
|
|
14
|
+
<testcase classname="BatteryAccessory processQuotaMessage InvStatus should update AC, USB, CAR input consumptions when InvStatus message is received with inputWatts" name="BatteryAccessory processQuotaMessage InvStatus should update AC, USB, CAR input consumptions when InvStatus message is received with inputWatts" time="0.005">
|
|
15
|
+
</testcase>
|
|
16
|
+
<testcase classname="BatteryAccessory processQuotaMessage InvStatus should update AC state when InvStatus message is received with cfgAcEnabled" name="BatteryAccessory processQuotaMessage InvStatus should update AC state when InvStatus message is received with cfgAcEnabled" time="0.004">
|
|
17
|
+
</testcase>
|
|
18
|
+
<testcase classname="BatteryAccessory processQuotaMessage InvStatus should update AC output watts consumption when InvStatus message is received with outputWatts" name="BatteryAccessory processQuotaMessage InvStatus should update AC output watts consumption when InvStatus message is received with outputWatts" time="0.004">
|
|
19
|
+
</testcase>
|
|
20
|
+
<testcase classname="BatteryAccessory processQuotaMessage InvStatus should not update any characteristic when InvStatus message is received with undefined status" name="BatteryAccessory processQuotaMessage InvStatus should not update any characteristic when InvStatus message is received with undefined status" time="0.005">
|
|
21
|
+
</testcase>
|
|
22
|
+
<testcase classname="BatteryAccessory processQuotaMessage PdStatus should update pd status in quota when PdStatus message is received" name="BatteryAccessory processQuotaMessage PdStatus should update pd status in quota when PdStatus message is received" time="0.013">
|
|
23
|
+
</testcase>
|
|
24
|
+
<testcase classname="BatteryAccessory processQuotaMessage PdStatus should update CAR state when PdStatus message is received with carState" name="BatteryAccessory processQuotaMessage PdStatus should update CAR state when PdStatus message is received with carState" time="0.003">
|
|
25
|
+
</testcase>
|
|
26
|
+
<testcase classname="BatteryAccessory processQuotaMessage PdStatus should update CAR output consumption when PdStatus message is received with carWatts" name="BatteryAccessory processQuotaMessage PdStatus should update CAR output consumption when PdStatus message is received with carWatts" time="0.003">
|
|
27
|
+
</testcase>
|
|
28
|
+
<testcase classname="BatteryAccessory processQuotaMessage PdStatus should update USB state when PdStatus message is received with dcOutState" name="BatteryAccessory processQuotaMessage PdStatus should update USB state when PdStatus message is received with dcOutState" time="0.003">
|
|
29
|
+
</testcase>
|
|
30
|
+
<testcase classname="BatteryAccessory processQuotaMessage PdStatus should update USB output consumption with 0 when PdStatus message received with 0 usb1Watts" name="BatteryAccessory processQuotaMessage PdStatus should update USB output consumption with 0 when PdStatus message received with 0 usb1Watts" time="0.003">
|
|
31
|
+
</testcase>
|
|
32
|
+
<testcase classname="BatteryAccessory processQuotaMessage PdStatus should update USB output consumption when PdStatus message is received with usb1Watts" name="BatteryAccessory processQuotaMessage PdStatus should update USB output consumption when PdStatus message is received with usb1Watts" time="0.003">
|
|
33
|
+
</testcase>
|
|
34
|
+
<testcase classname="BatteryAccessory processQuotaMessage PdStatus should update USB output consumption when PdStatus message is received with usb2Watts" name="BatteryAccessory processQuotaMessage PdStatus should update USB output consumption when PdStatus message is received with usb2Watts" time="0.004">
|
|
35
|
+
</testcase>
|
|
36
|
+
<testcase classname="BatteryAccessory processQuotaMessage PdStatus should update USB output consumption with 0 when PdStatus message received with 0 usb2Watts" name="BatteryAccessory processQuotaMessage PdStatus should update USB output consumption with 0 when PdStatus message received with 0 usb2Watts" time="0.002">
|
|
37
|
+
</testcase>
|
|
38
|
+
<testcase classname="BatteryAccessory processQuotaMessage PdStatus should update USB output consumption when PdStatus message is received with qcUsb1Watts" name="BatteryAccessory processQuotaMessage PdStatus should update USB output consumption when PdStatus message is received with qcUsb1Watts" time="0.016">
|
|
39
|
+
</testcase>
|
|
40
|
+
<testcase classname="BatteryAccessory processQuotaMessage PdStatus should update USB output consumption with 0 when PdStatus message received with 0 qcUsb1Watts" name="BatteryAccessory processQuotaMessage PdStatus should update USB output consumption with 0 when PdStatus message received with 0 qcUsb1Watts" time="0.003">
|
|
41
|
+
</testcase>
|
|
42
|
+
<testcase classname="BatteryAccessory processQuotaMessage PdStatus should update USB output consumption when PdStatus message is received with qcUsb2Watts" name="BatteryAccessory processQuotaMessage PdStatus should update USB output consumption when PdStatus message is received with qcUsb2Watts" time="0.004">
|
|
43
|
+
</testcase>
|
|
44
|
+
<testcase classname="BatteryAccessory processQuotaMessage PdStatus should update USB output consumption with 0 when PdStatus message received with 0 qcUsb2Watts" name="BatteryAccessory processQuotaMessage PdStatus should update USB output consumption with 0 when PdStatus message received with 0 qcUsb2Watts" time="0.003">
|
|
45
|
+
</testcase>
|
|
46
|
+
<testcase classname="BatteryAccessory processQuotaMessage PdStatus should update USB output consumption when PdStatus message is received with typec1Watts" name="BatteryAccessory processQuotaMessage PdStatus should update USB output consumption when PdStatus message is received with typec1Watts" time="0.002">
|
|
47
|
+
</testcase>
|
|
48
|
+
<testcase classname="BatteryAccessory processQuotaMessage PdStatus should update USB output consumption with 0 when PdStatus message received with 0 typec1Watts" name="BatteryAccessory processQuotaMessage PdStatus should update USB output consumption with 0 when PdStatus message received with 0 typec1Watts" time="0.005">
|
|
49
|
+
</testcase>
|
|
50
|
+
<testcase classname="BatteryAccessory processQuotaMessage PdStatus should update USB output consumption when PdStatus message is received with typec2Watts" name="BatteryAccessory processQuotaMessage PdStatus should update USB output consumption when PdStatus message is received with typec2Watts" time="0.002">
|
|
51
|
+
</testcase>
|
|
52
|
+
<testcase classname="BatteryAccessory processQuotaMessage PdStatus should update USB output consumption with 0 when PdStatus message received with 0 typec2Watts" name="BatteryAccessory processQuotaMessage PdStatus should update USB output consumption with 0 when PdStatus message received with 0 typec2Watts" time="0.004">
|
|
53
|
+
</testcase>
|
|
54
|
+
<testcase classname="BatteryAccessory processQuotaMessage PdStatus should update USB output consumption when PdStatus message is received with all usb-related parameters" name="BatteryAccessory processQuotaMessage PdStatus should update USB output consumption when PdStatus message is received with all usb-related parameters" time="0.022">
|
|
55
|
+
</testcase>
|
|
56
|
+
<testcase classname="BatteryAccessory processQuotaMessage PdStatus should not update any characteristic when PdStatus message is received with undefined status" name="BatteryAccessory processQuotaMessage PdStatus should not update any characteristic when PdStatus message is received with undefined status" time="0.005">
|
|
57
|
+
</testcase>
|
|
58
|
+
<testcase classname="BatteryAccessory initializeDefaultValues should initialize quota when is called before initializeDefaultValues" name="BatteryAccessory initializeDefaultValues should initialize quota when is called before initializeDefaultValues" time="0.002">
|
|
59
|
+
</testcase>
|
|
60
|
+
<testcase classname="BatteryAccessory initializeDefaultValues BmsStatus should update BmsStatus-related characteristics when is requested" name="BatteryAccessory initializeDefaultValues BmsStatus should update BmsStatus-related characteristics when is requested" time="0.003">
|
|
61
|
+
</testcase>
|
|
62
|
+
<testcase classname="BatteryAccessory initializeDefaultValues BmsStatus should update BmsStatus-related characteristics when is requested and quotas were not initialized properly for it" name="BatteryAccessory initializeDefaultValues BmsStatus should update BmsStatus-related characteristics when is requested and quotas were not initialized properly for it" time="0.002">
|
|
63
|
+
</testcase>
|
|
64
|
+
<testcase classname="BatteryAccessory initializeDefaultValues InvStatus should update InvStatus-related characteristics when is requested" name="BatteryAccessory initializeDefaultValues InvStatus should update InvStatus-related characteristics when is requested" time="0.002">
|
|
65
|
+
</testcase>
|
|
66
|
+
<testcase classname="BatteryAccessory initializeDefaultValues InvStatus should update InvStatus-related characteristics when is requested and quotas were not initialized properly for it" name="BatteryAccessory initializeDefaultValues InvStatus should update InvStatus-related characteristics when is requested and quotas were not initialized properly for it" time="0.003">
|
|
67
|
+
</testcase>
|
|
68
|
+
<testcase classname="BatteryAccessory initializeDefaultValues PdStatus should update PdStatus-related characteristics when is requested" name="BatteryAccessory initializeDefaultValues PdStatus should update PdStatus-related characteristics when is requested" time="0.018">
|
|
69
|
+
</testcase>
|
|
70
|
+
<testcase classname="BatteryAccessory initializeDefaultValues PdStatus should update PdStatus-related characteristics when is requested and quotas were not initialized properly for it" name="BatteryAccessory initializeDefaultValues PdStatus should update PdStatus-related characteristics when is requested and quotas were not initialized properly for it" time="0.003">
|
|
71
|
+
</testcase>
|
|
72
|
+
</testsuite>
|
|
73
|
+
<testsuite name="PowerStreamAccessory" errors="0" failures="0" skipped="0" timestamp="2024-09-24T13:37:22" time="6.246" tests="49">
|
|
74
|
+
<testcase classname="PowerStreamAccessory initialize should add required services when initializing accessory" name="PowerStreamAccessory initialize should add required services when initializing accessory" time="0.031">
|
|
75
|
+
</testcase>
|
|
76
|
+
<testcase classname="PowerStreamAccessory initialize outletServices additionalCharacteristics PV should initialize PV outlet service with additional characteristics when they are defined in config" name="PowerStreamAccessory initialize outletServices additionalCharacteristics PV should initialize PV outlet service with additional characteristics when they are defined in config" time="0.006">
|
|
77
|
+
</testcase>
|
|
78
|
+
<testcase classname="PowerStreamAccessory initialize outletServices additionalCharacteristics PV should initialize PV outlet service with additional characteristics when pv settings are not defined in config" name="PowerStreamAccessory initialize outletServices additionalCharacteristics PV should initialize PV outlet service with additional characteristics when pv settings are not defined in config" time="0.007">
|
|
79
|
+
</testcase>
|
|
80
|
+
<testcase classname="PowerStreamAccessory initialize outletServices additionalCharacteristics PV should initialize PV outlet service with additional characteristics
|
|
81
|
+
when powerStream settings are not defined in config" name="PowerStreamAccessory initialize outletServices additionalCharacteristics PV should initialize PV outlet service with additional characteristics
|
|
82
|
+
when powerStream settings are not defined in config" time="0.007">
|
|
83
|
+
</testcase>
|
|
84
|
+
<testcase classname="PowerStreamAccessory initialize outletServices additionalCharacteristics BAT should initialize BAT outlet service with additional characteristics when they are defined in config" name="PowerStreamAccessory initialize outletServices additionalCharacteristics BAT should initialize BAT outlet service with additional characteristics when they are defined in config" time="0.007">
|
|
85
|
+
</testcase>
|
|
86
|
+
<testcase classname="PowerStreamAccessory initialize outletServices additionalCharacteristics BAT should initialize BAT outlet service with additional characteristics when battery settings are not defined in config" name="PowerStreamAccessory initialize outletServices additionalCharacteristics BAT should initialize BAT outlet service with additional characteristics when battery settings are not defined in config" time="0.006">
|
|
87
|
+
</testcase>
|
|
88
|
+
<testcase classname="PowerStreamAccessory initialize outletServices additionalCharacteristics BAT should initialize BAT outlet service with additional characteristics
|
|
89
|
+
when powerStream settings are not defined in config" name="PowerStreamAccessory initialize outletServices additionalCharacteristics BAT should initialize BAT outlet service with additional characteristics
|
|
90
|
+
when powerStream settings are not defined in config" time="0.015">
|
|
91
|
+
</testcase>
|
|
92
|
+
<testcase classname="PowerStreamAccessory initialize outletServices additionalCharacteristics INV should initialize INV outlet service with additional characteristics when they are defined in config" name="PowerStreamAccessory initialize outletServices additionalCharacteristics INV should initialize INV outlet service with additional characteristics when they are defined in config" time="0.004">
|
|
93
|
+
</testcase>
|
|
94
|
+
<testcase classname="PowerStreamAccessory initialize outletServices additionalCharacteristics INV should initialize INV outlet service with additional characteristics when inverter settings are not defined in config" name="PowerStreamAccessory initialize outletServices additionalCharacteristics INV should initialize INV outlet service with additional characteristics when inverter settings are not defined in config" time="0.004">
|
|
95
|
+
</testcase>
|
|
96
|
+
<testcase classname="PowerStreamAccessory initialize outletServices additionalCharacteristics INV should initialize INV outlet service with additional characteristics
|
|
97
|
+
when powerStream settings are not defined in config" name="PowerStreamAccessory initialize outletServices additionalCharacteristics INV should initialize INV outlet service with additional characteristics
|
|
98
|
+
when powerStream settings are not defined in config" time="0.007">
|
|
99
|
+
</testcase>
|
|
100
|
+
<testcase classname="PowerStreamAccessory initialize indicatorService maxBrightness should initialize indicator service with permanent max brightness when it is created" name="PowerStreamAccessory initialize indicatorService maxBrightness should initialize indicator service with permanent max brightness when it is created" time="0.007">
|
|
101
|
+
</testcase>
|
|
102
|
+
<testcase classname="PowerStreamAccessory initialize powerDemandService maxPowerDemand should initialize indicator service with default max power demand when powerStream settings are not defined in config" name="PowerStreamAccessory initialize powerDemandService maxPowerDemand should initialize indicator service with default max power demand when powerStream settings are not defined in config" time="0.026">
|
|
103
|
+
</testcase>
|
|
104
|
+
<testcase classname="PowerStreamAccessory initialize powerDemandService maxPowerDemand should initialize indicator service with default max power demand
|
|
105
|
+
when powerStream.type settings are not defined in config" name="PowerStreamAccessory initialize powerDemandService maxPowerDemand should initialize indicator service with default max power demand
|
|
106
|
+
when powerStream.type settings are not defined in config" time="0.005">
|
|
107
|
+
</testcase>
|
|
108
|
+
<testcase classname="PowerStreamAccessory initialize powerDemandService maxPowerDemand should initialize indicator service with 6000 max power demand
|
|
109
|
+
when powerStream.type is 600W" name="PowerStreamAccessory initialize powerDemandService maxPowerDemand should initialize indicator service with 6000 max power demand
|
|
110
|
+
when powerStream.type is 600W" time="0.005">
|
|
111
|
+
</testcase>
|
|
112
|
+
<testcase classname="PowerStreamAccessory initialize powerDemandService maxPowerDemand should initialize indicator service with 8000 max power demand
|
|
113
|
+
when powerStream.type is 800W" name="PowerStreamAccessory initialize powerDemandService maxPowerDemand should initialize indicator service with 8000 max power demand
|
|
114
|
+
when powerStream.type is 800W" time="0.005">
|
|
115
|
+
</testcase>
|
|
116
|
+
<testcase classname="PowerStreamAccessory processQuotaMessage Hearbeat should update heartbeat in quota when Hearbeat message is received" name="PowerStreamAccessory processQuotaMessage Hearbeat should update heartbeat in quota when Hearbeat message is received" time="0.005">
|
|
117
|
+
</testcase>
|
|
118
|
+
<testcase classname="PowerStreamAccessory processQuotaMessage Hearbeat updateBatteryLevel should not update battery level when Hearbeat message is received with undefined status" name="PowerStreamAccessory processQuotaMessage Hearbeat updateBatteryLevel should not update battery level when Hearbeat message is received with undefined status" time="0.004">
|
|
119
|
+
</testcase>
|
|
120
|
+
<testcase classname="PowerStreamAccessory processQuotaMessage Hearbeat updateBatteryLevel should update battery level when Hearbeat message is received with batSoc" name="PowerStreamAccessory processQuotaMessage Hearbeat updateBatteryLevel should update battery level when Hearbeat message is received with batSoc" time="0.019">
|
|
121
|
+
</testcase>
|
|
122
|
+
<testcase classname="PowerStreamAccessory processQuotaMessage Hearbeat updateConsumption PV should not update PV Input and Output Consumption when Hearbeat message is received with undefined status" name="PowerStreamAccessory processQuotaMessage Hearbeat updateConsumption PV should not update PV Input and Output Consumption when Hearbeat message is received with undefined status" time="0.004">
|
|
123
|
+
</testcase>
|
|
124
|
+
<testcase classname="PowerStreamAccessory processQuotaMessage Hearbeat updateConsumption PV should update PV Output Consumption when Hearbeat message is received with 0 pv1InputWatts" name="PowerStreamAccessory processQuotaMessage Hearbeat updateConsumption PV should update PV Output Consumption when Hearbeat message is received with 0 pv1InputWatts" time="0.004">
|
|
125
|
+
</testcase>
|
|
126
|
+
<testcase classname="PowerStreamAccessory processQuotaMessage Hearbeat updateConsumption PV should update PV Output Consumption when Hearbeat message is received with pv1InputWatts" name="PowerStreamAccessory processQuotaMessage Hearbeat updateConsumption PV should update PV Output Consumption when Hearbeat message is received with pv1InputWatts" time="0.004">
|
|
127
|
+
</testcase>
|
|
128
|
+
<testcase classname="PowerStreamAccessory processQuotaMessage Hearbeat updateConsumption PV should update PV Output Consumption when Hearbeat message is received with 0 pv2InputWatts" name="PowerStreamAccessory processQuotaMessage Hearbeat updateConsumption PV should update PV Output Consumption when Hearbeat message is received with 0 pv2InputWatts" time="0.003">
|
|
129
|
+
</testcase>
|
|
130
|
+
<testcase classname="PowerStreamAccessory processQuotaMessage Hearbeat updateConsumption PV should update PV Output Consumption when Hearbeat message is received with pv2InputWatts" name="PowerStreamAccessory processQuotaMessage Hearbeat updateConsumption PV should update PV Output Consumption when Hearbeat message is received with pv2InputWatts" time="0.004">
|
|
131
|
+
</testcase>
|
|
132
|
+
<testcase classname="PowerStreamAccessory processQuotaMessage Hearbeat updateConsumption PV should update PV Output Consumption when Hearbeat message is received with all pv-related parameters" name="PowerStreamAccessory processQuotaMessage Hearbeat updateConsumption PV should update PV Output Consumption when Hearbeat message is received with all pv-related parameters" time="0.023">
|
|
133
|
+
</testcase>
|
|
134
|
+
<testcase classname="PowerStreamAccessory processQuotaMessage Hearbeat updateConsumption BAT should not update BAT Input and Output Consumption when Hearbeat message is received with undefined status" name="PowerStreamAccessory processQuotaMessage Hearbeat updateConsumption BAT should not update BAT Input and Output Consumption when Hearbeat message is received with undefined status" time="0.004">
|
|
135
|
+
</testcase>
|
|
136
|
+
<testcase classname="PowerStreamAccessory processQuotaMessage Hearbeat updateConsumption BAT should update BAT Output Consumption when Hearbeat message is received with positive batInputWatts" name="PowerStreamAccessory processQuotaMessage Hearbeat updateConsumption BAT should update BAT Output Consumption when Hearbeat message is received with positive batInputWatts" time="0.004">
|
|
137
|
+
</testcase>
|
|
138
|
+
<testcase classname="PowerStreamAccessory processQuotaMessage Hearbeat updateConsumption BAT should update BAT Input and Output Consumption when Hearbeat message is received with zero batInputWatts" name="PowerStreamAccessory processQuotaMessage Hearbeat updateConsumption BAT should update BAT Input and Output Consumption when Hearbeat message is received with zero batInputWatts" time="0.004">
|
|
139
|
+
</testcase>
|
|
140
|
+
<testcase classname="PowerStreamAccessory processQuotaMessage Hearbeat updateConsumption BAT should update BAT Input Consumption when Hearbeat message is received with negative batInputWatts" name="PowerStreamAccessory processQuotaMessage Hearbeat updateConsumption BAT should update BAT Input Consumption when Hearbeat message is received with negative batInputWatts" time="0.004">
|
|
141
|
+
</testcase>
|
|
142
|
+
<testcase classname="PowerStreamAccessory processQuotaMessage Hearbeat updateConsumption INV should not update INV Input and Output Consumption when Hearbeat message is received with undefined status" name="PowerStreamAccessory processQuotaMessage Hearbeat updateConsumption INV should not update INV Input and Output Consumption when Hearbeat message is received with undefined status" time="0.004">
|
|
143
|
+
</testcase>
|
|
144
|
+
<testcase classname="PowerStreamAccessory processQuotaMessage Hearbeat updateConsumption INV should update INV Output Consumption when Hearbeat message is received with positive invOutputWatts" name="PowerStreamAccessory processQuotaMessage Hearbeat updateConsumption INV should update INV Output Consumption when Hearbeat message is received with positive invOutputWatts" time="0.018">
|
|
145
|
+
</testcase>
|
|
146
|
+
<testcase classname="PowerStreamAccessory processQuotaMessage Hearbeat updateConsumption INV should update INV Input and Output Consumption when Hearbeat message is received with zero invOutputWatts" name="PowerStreamAccessory processQuotaMessage Hearbeat updateConsumption INV should update INV Input and Output Consumption when Hearbeat message is received with zero invOutputWatts" time="0.004">
|
|
147
|
+
</testcase>
|
|
148
|
+
<testcase classname="PowerStreamAccessory processQuotaMessage Hearbeat updateConsumption INV should update INV Input Consumption when Hearbeat message is received with negative invOutputWatts" name="PowerStreamAccessory processQuotaMessage Hearbeat updateConsumption INV should update INV Input Consumption when Hearbeat message is received with negative invOutputWatts" time="0.003">
|
|
149
|
+
</testcase>
|
|
150
|
+
<testcase classname="PowerStreamAccessory processQuotaMessage Hearbeat updateConsumption INV should update INV State when Hearbeat message is received with invOnOff set to true" name="PowerStreamAccessory processQuotaMessage Hearbeat updateConsumption INV should update INV State when Hearbeat message is received with invOnOff set to true" time="0.003">
|
|
151
|
+
</testcase>
|
|
152
|
+
<testcase classname="PowerStreamAccessory processQuotaMessage Hearbeat updateConsumption INV should update INV brightness when Hearbeat message is received with invBrightness" name="PowerStreamAccessory processQuotaMessage Hearbeat updateConsumption INV should update INV brightness when Hearbeat message is received with invBrightness" time="0.003">
|
|
153
|
+
</testcase>
|
|
154
|
+
<testcase classname="PowerStreamAccessory processQuotaMessage Hearbeat updateConsumption INV should update INV power demand when Hearbeat message is received with permanentWatts" name="PowerStreamAccessory processQuotaMessage Hearbeat updateConsumption INV should update INV power demand when Hearbeat message is received with permanentWatts" time="0.003">
|
|
155
|
+
</testcase>
|
|
156
|
+
<testcase classname="PowerStreamAccessory processQuotaMessage Hearbeat updateConsumption INV should update INV power demand when Hearbeat message is received with permanentWatts equal to 0" name="PowerStreamAccessory processQuotaMessage Hearbeat updateConsumption INV should update INV power demand when Hearbeat message is received with permanentWatts equal to 0" time="0.015">
|
|
157
|
+
</testcase>
|
|
158
|
+
<testcase classname="PowerStreamAccessory initializeDefaultValues should initialize quota when is called before initializeDefaultValues" name="PowerStreamAccessory initializeDefaultValues should initialize quota when is called before initializeDefaultValues" time="0.003">
|
|
159
|
+
</testcase>
|
|
160
|
+
<testcase classname="PowerStreamAccessory initializeDefaultValues updateBatteryLevel should update battery level-related characteristics when initializing default values" name="PowerStreamAccessory initializeDefaultValues updateBatteryLevel should update battery level-related characteristics when initializing default values" time="0.004">
|
|
161
|
+
</testcase>
|
|
162
|
+
<testcase classname="PowerStreamAccessory initializeDefaultValues updateBatteryLevel should update battery level-related characteristics
|
|
163
|
+
when initializing default values with quotas were not initialized properly for it" name="PowerStreamAccessory initializeDefaultValues updateBatteryLevel should update battery level-related characteristics
|
|
164
|
+
when initializing default values with quotas were not initialized properly for it" time="0.007">
|
|
165
|
+
</testcase>
|
|
166
|
+
<testcase classname="PowerStreamAccessory initializeDefaultValues updateConsumption PV should update PV consumption-related characteristics when initializing default values" name="PowerStreamAccessory initializeDefaultValues updateConsumption PV should update PV consumption-related characteristics when initializing default values" time="0.003">
|
|
167
|
+
</testcase>
|
|
168
|
+
<testcase classname="PowerStreamAccessory initializeDefaultValues updateConsumption PV should update PV consumption-related characteristics
|
|
169
|
+
when initializing default values with quotas were not initialized properly for it" name="PowerStreamAccessory initializeDefaultValues updateConsumption PV should update PV consumption-related characteristics
|
|
170
|
+
when initializing default values with quotas were not initialized properly for it" time="0.003">
|
|
171
|
+
</testcase>
|
|
172
|
+
<testcase classname="PowerStreamAccessory initializeDefaultValues updateConsumption BAT should update BAT consumption-related characteristics when initializing default values" name="PowerStreamAccessory initializeDefaultValues updateConsumption BAT should update BAT consumption-related characteristics when initializing default values" time="0.002">
|
|
173
|
+
</testcase>
|
|
174
|
+
<testcase classname="PowerStreamAccessory initializeDefaultValues updateConsumption BAT should update BAT consumption-related characteristics
|
|
175
|
+
when initializing default values with quotas were not initialized properly for it" name="PowerStreamAccessory initializeDefaultValues updateConsumption BAT should update BAT consumption-related characteristics
|
|
176
|
+
when initializing default values with quotas were not initialized properly for it" time="0.013">
|
|
177
|
+
</testcase>
|
|
178
|
+
<testcase classname="PowerStreamAccessory initializeDefaultValues updateConsumption INV should update INV consumption-related characteristics when initializing default values" name="PowerStreamAccessory initializeDefaultValues updateConsumption INV should update INV consumption-related characteristics when initializing default values" time="0.003">
|
|
179
|
+
</testcase>
|
|
180
|
+
<testcase classname="PowerStreamAccessory initializeDefaultValues updateConsumption INV should update INV consumption-related characteristics
|
|
181
|
+
when initializing default values with quotas were not initialized properly for it" name="PowerStreamAccessory initializeDefaultValues updateConsumption INV should update INV consumption-related characteristics
|
|
182
|
+
when initializing default values with quotas were not initialized properly for it" time="0.002">
|
|
183
|
+
</testcase>
|
|
184
|
+
<testcase classname="PowerStreamAccessory initializeDefaultValues updateBrightness INV should update INV brightness-related characteristics when initializing default values" name="PowerStreamAccessory initializeDefaultValues updateBrightness INV should update INV brightness-related characteristics when initializing default values" time="0.001">
|
|
185
|
+
</testcase>
|
|
186
|
+
<testcase classname="PowerStreamAccessory initializeDefaultValues updateBrightness INV should update INV brightness-related characteristics
|
|
187
|
+
when initializing default values with quotas were not initialized properly for it" name="PowerStreamAccessory initializeDefaultValues updateBrightness INV should update INV brightness-related characteristics
|
|
188
|
+
when initializing default values with quotas were not initialized properly for it" time="0.002">
|
|
189
|
+
</testcase>
|
|
190
|
+
<testcase classname="PowerStreamAccessory initializeDefaultValues updatePowerDemand INV should update INV brightness-related characteristics when initializing default values" name="PowerStreamAccessory initializeDefaultValues updatePowerDemand INV should update INV brightness-related characteristics when initializing default values" time="0.003">
|
|
191
|
+
</testcase>
|
|
192
|
+
<testcase classname="PowerStreamAccessory initializeDefaultValues updatePowerDemand INV should update INV power demand-related characteristics
|
|
193
|
+
when initializing default values with quotas were not initialized properly for it" name="PowerStreamAccessory initializeDefaultValues updatePowerDemand INV should update INV power demand-related characteristics
|
|
194
|
+
when initializing default values with quotas were not initialized properly for it" time="0.003">
|
|
195
|
+
</testcase>
|
|
196
|
+
</testsuite>
|
|
197
|
+
<testsuite name="EcoFlowMqttApiManager" errors="0" failures="0" skipped="0" timestamp="2024-09-24T13:37:22" time="9.851" tests="26">
|
|
198
|
+
<testcase classname="EcoFlowMqttApiManager connect should not send Set command when it is impossible to acquire certificate" name="EcoFlowMqttApiManager connect should not send Set command when it is impossible to acquire certificate" time="0.018">
|
|
199
|
+
</testcase>
|
|
200
|
+
<testcase classname="EcoFlowMqttApiManager connect should connect to mqtt server when a connection is not established yet" name="EcoFlowMqttApiManager connect should connect to mqtt server when a connection is not established yet" time="0.016">
|
|
201
|
+
</testcase>
|
|
202
|
+
<testcase classname="EcoFlowMqttApiManager connect should use existing connection to mqtt server when a connection is already established" name="EcoFlowMqttApiManager connect should use existing connection to mqtt server when a connection is already established" time="0.015">
|
|
203
|
+
</testcase>
|
|
204
|
+
<testcase classname="EcoFlowMqttApiManager connect should log when connection is established" name="EcoFlowMqttApiManager connect should log when connection is established" time="0.012">
|
|
205
|
+
</testcase>
|
|
206
|
+
<testcase classname="EcoFlowMqttApiManager connect should subscribe on mqtt messages when connection is established" name="EcoFlowMqttApiManager connect should subscribe on mqtt messages when connection is established" time="0.004">
|
|
207
|
+
</testcase>
|
|
208
|
+
<testcase classname="EcoFlowMqttApiManager connect simulate should connect to mock mqtt server when simulation is activated in config" name="EcoFlowMqttApiManager connect simulate should connect to mock mqtt server when simulation is activated in config" time="0.021">
|
|
209
|
+
</testcase>
|
|
210
|
+
<testcase classname="EcoFlowMqttApiManager connect simulate should acquire fake ceritifcate when simulation is activated in config" name="EcoFlowMqttApiManager connect simulate should acquire fake ceritifcate when simulation is activated in config" time="0.015">
|
|
211
|
+
</testcase>
|
|
212
|
+
<testcase classname="EcoFlowMqttApiManager processReceivedMessage should process quota message in all devices that shares single mqtt client" name="EcoFlowMqttApiManager processReceivedMessage should process quota message in all devices that shares single mqtt client" time="0.02">
|
|
213
|
+
</testcase>
|
|
214
|
+
<testcase classname="EcoFlowMqttApiManager processReceivedMessage should process set_reply message in all devices that shares single mqtt client" name="EcoFlowMqttApiManager processReceivedMessage should process set_reply message in all devices that shares single mqtt client" time="0.008">
|
|
215
|
+
</testcase>
|
|
216
|
+
<testcase classname="EcoFlowMqttApiManager sendSetCommand should publish to set topic when it is requested to send set command" name="EcoFlowMqttApiManager sendSetCommand should publish to set topic when it is requested to send set command" time="0.004">
|
|
217
|
+
</testcase>
|
|
218
|
+
<testcase classname="EcoFlowMqttApiManager sendSetCommand should not fail a process when sending set command is failed" name="EcoFlowMqttApiManager sendSetCommand should not fail a process when sending set command is failed" time="0.015">
|
|
219
|
+
</testcase>
|
|
220
|
+
<testcase classname="EcoFlowMqttApiManager subscribeOnTopic subscribeOnQuotaTopic should not subscribe to quota topic when it is impossible to establish connection to mqtt server" name="EcoFlowMqttApiManager subscribeOnTopic subscribeOnQuotaTopic should not subscribe to quota topic when it is impossible to establish connection to mqtt server" time="0.005">
|
|
221
|
+
</testcase>
|
|
222
|
+
<testcase classname="EcoFlowMqttApiManager subscribeOnTopic subscribeOnQuotaTopic should handle error when subscribing is failed" name="EcoFlowMqttApiManager subscribeOnTopic subscribeOnQuotaTopic should handle error when subscribing is failed" time="0.005">
|
|
223
|
+
</testcase>
|
|
224
|
+
<testcase classname="EcoFlowMqttApiManager subscribeOnTopic subscribeOnQuotaTopic should subscribe to quota topic when it is requested" name="EcoFlowMqttApiManager subscribeOnTopic subscribeOnQuotaTopic should subscribe to quota topic when it is requested" time="0.006">
|
|
225
|
+
</testcase>
|
|
226
|
+
<testcase classname="EcoFlowMqttApiManager subscribeOnTopic subscribeOnSetReplyTopic should not subscribe to set_reply topic when it is impossible to establish connection to mqtt server" name="EcoFlowMqttApiManager subscribeOnTopic subscribeOnSetReplyTopic should not subscribe to set_reply topic when it is impossible to establish connection to mqtt server" time="0.012">
|
|
227
|
+
</testcase>
|
|
228
|
+
<testcase classname="EcoFlowMqttApiManager subscribeOnTopic subscribeOnSetReplyTopic should handle error when subscribing is failed" name="EcoFlowMqttApiManager subscribeOnTopic subscribeOnSetReplyTopic should handle error when subscribing is failed" time="0.008">
|
|
229
|
+
</testcase>
|
|
230
|
+
<testcase classname="EcoFlowMqttApiManager subscribeOnTopic subscribeOnSetReplyTopic should subscribe to set_reply topic when it is requested" name="EcoFlowMqttApiManager subscribeOnTopic subscribeOnSetReplyTopic should subscribe to set_reply topic when it is requested" time="0.009">
|
|
231
|
+
</testcase>
|
|
232
|
+
<testcase classname="EcoFlowMqttApiManager subscribeOnMessage subscribeOnQuotaMessage should not subscribe to quota message when connection to mqtt server is not established" name="EcoFlowMqttApiManager subscribeOnMessage subscribeOnQuotaMessage should not subscribe to quota message when connection to mqtt server is not established" time="0.019">
|
|
233
|
+
</testcase>
|
|
234
|
+
<testcase classname="EcoFlowMqttApiManager subscribeOnMessage subscribeOnQuotaMessage should not subscribe to quota message when device is not registered for client connection" name="EcoFlowMqttApiManager subscribeOnMessage subscribeOnQuotaMessage should not subscribe to quota message when device is not registered for client connection" time="0.006">
|
|
235
|
+
</testcase>
|
|
236
|
+
<testcase classname="EcoFlowMqttApiManager subscribeOnMessage subscribeOnQuotaMessage should subscribe to quota message when it is requested" name="EcoFlowMqttApiManager subscribeOnMessage subscribeOnQuotaMessage should subscribe to quota message when it is requested" time="0.015">
|
|
237
|
+
</testcase>
|
|
238
|
+
<testcase classname="EcoFlowMqttApiManager subscribeOnMessage subscribeOnSetReplyMessage should not subscribe to set_reply message when connection to mqtt server is not established" name="EcoFlowMqttApiManager subscribeOnMessage subscribeOnSetReplyMessage should not subscribe to set_reply message when connection to mqtt server is not established" time="0.004">
|
|
239
|
+
</testcase>
|
|
240
|
+
<testcase classname="EcoFlowMqttApiManager subscribeOnMessage subscribeOnSetReplyMessage should not subscribe to set_reply message when device is not registered for client connection" name="EcoFlowMqttApiManager subscribeOnMessage subscribeOnSetReplyMessage should not subscribe to set_reply message when device is not registered for client connection" time="0.005">
|
|
241
|
+
</testcase>
|
|
242
|
+
<testcase classname="EcoFlowMqttApiManager subscribeOnMessage subscribeOnSetReplyMessage should subscribe to set_reply message when it is requested" name="EcoFlowMqttApiManager subscribeOnMessage subscribeOnSetReplyMessage should subscribe to set_reply message when it is requested" time="0.005">
|
|
243
|
+
</testcase>
|
|
244
|
+
<testcase classname="EcoFlowMqttApiManager destroy should not unsubscribe from all topics when connection to mqtt server is not established yet" name="EcoFlowMqttApiManager destroy should not unsubscribe from all topics when connection to mqtt server is not established yet" time="0.019">
|
|
245
|
+
</testcase>
|
|
246
|
+
<testcase classname="EcoFlowMqttApiManager destroy should unsubscribe from all topics for all devices that shares single mqtt client
|
|
247
|
+
when destroying an EcoFlow MQTT API object" name="EcoFlowMqttApiManager destroy should unsubscribe from all topics for all devices that shares single mqtt client
|
|
248
|
+
when destroying an EcoFlow MQTT API object" time="0.007">
|
|
249
|
+
</testcase>
|
|
250
|
+
<testcase classname="EcoFlowMqttApiManager destroy should unsubscribe from all topics for devices that has own mqtt client
|
|
251
|
+
when destroying an EcoFlow MQTT API object" name="EcoFlowMqttApiManager destroy should unsubscribe from all topics for devices that has own mqtt client
|
|
252
|
+
when destroying an EcoFlow MQTT API object" time="0.006">
|
|
253
|
+
</testcase>
|
|
254
|
+
</testsuite>
|
|
255
|
+
<testsuite name="OutletServiceBase" errors="0" failures="0" skipped="0" timestamp="2024-09-24T13:37:32" time="2.484" tests="18">
|
|
256
|
+
<testcase classname="OutletServiceBase initialize should add Outlet service when it is not added to accessory yet" name="OutletServiceBase initialize should add Outlet service when it is not added to accessory yet" time="0.007">
|
|
257
|
+
</testcase>
|
|
258
|
+
<testcase classname="OutletServiceBase initialize should use existing Outlet service when it is already added to accessory" name="OutletServiceBase initialize should use existing Outlet service when it is already added to accessory" time="0.002">
|
|
259
|
+
</testcase>
|
|
260
|
+
<testcase classname="OutletServiceBase initialize should not add custom characteristics when initializing accessory without turned on custom characteristics" name="OutletServiceBase initialize should not add custom characteristics when initializing accessory without turned on custom characteristics" time="0.001">
|
|
261
|
+
</testcase>
|
|
262
|
+
<testcase classname="OutletServiceBase initialize should add InputConsumptionWatts characteristic when it is enabled in configuration" name="OutletServiceBase initialize should add InputConsumptionWatts characteristic when it is enabled in configuration" time="0.001">
|
|
263
|
+
</testcase>
|
|
264
|
+
<testcase classname="OutletServiceBase initialize should add OutputConsumptionInWatts characteristic when it is enabled in configuration" name="OutletServiceBase initialize should add OutputConsumptionInWatts characteristic when it is enabled in configuration" time="0.001">
|
|
265
|
+
</testcase>
|
|
266
|
+
<testcase classname="OutletServiceBase initialize should add BatteryLevel characteristic when it is enabled in configuration" name="OutletServiceBase initialize should add BatteryLevel characteristic when it is enabled in configuration" time="0.001">
|
|
267
|
+
</testcase>
|
|
268
|
+
<testcase classname="OutletServiceBase cleanupCharacteristics should remove non registered characteristics when cleanup characteristics is called" name="OutletServiceBase cleanupCharacteristics should remove non registered characteristics when cleanup characteristics is called" time="0.002">
|
|
269
|
+
</testcase>
|
|
270
|
+
<testcase classname="OutletServiceBase updateState should set On state to true when it is requested" name="OutletServiceBase updateState should set On state to true when it is requested" time="0.001">
|
|
271
|
+
</testcase>
|
|
272
|
+
<testcase classname="OutletServiceBase updateState should set On state to false when it is requested" name="OutletServiceBase updateState should set On state to false when it is requested" time="0.001">
|
|
273
|
+
</testcase>
|
|
274
|
+
<testcase classname="OutletServiceBase updateOutputConsumption should set OutputConsumption when it is enabled in configuration" name="OutletServiceBase updateOutputConsumption should set OutputConsumption when it is enabled in configuration" time="0.002">
|
|
275
|
+
</testcase>
|
|
276
|
+
<testcase classname="OutletServiceBase updateOutputConsumption should not set OutputConsumption when it is disabled in configuration" name="OutletServiceBase updateOutputConsumption should not set OutputConsumption when it is disabled in configuration" time="0.001">
|
|
277
|
+
</testcase>
|
|
278
|
+
<testcase classname="OutletServiceBase updateOutputConsumption should set OutletInUse to true when OutputConsumption more than 0" name="OutletServiceBase updateOutputConsumption should set OutletInUse to true when OutputConsumption more than 0" time="0.001">
|
|
279
|
+
</testcase>
|
|
280
|
+
<testcase classname="OutletServiceBase updateOutputConsumption should set OutletInUse to false when OutputConsumption is 0" name="OutletServiceBase updateOutputConsumption should set OutletInUse to false when OutputConsumption is 0" time="0.001">
|
|
281
|
+
</testcase>
|
|
282
|
+
<testcase classname="OutletServiceBase updateInputConsumption should set InputConsumption when it is enabled in configuration" name="OutletServiceBase updateInputConsumption should set InputConsumption when it is enabled in configuration" time="0.001">
|
|
283
|
+
</testcase>
|
|
284
|
+
<testcase classname="OutletServiceBase updateInputConsumption should not set InputConsumption when it is disabled in configuration" name="OutletServiceBase updateInputConsumption should not set InputConsumption when it is disabled in configuration" time="0">
|
|
285
|
+
</testcase>
|
|
286
|
+
<testcase classname="OutletServiceBase updateBatteryLevel should set BatteryLevel when it is enabled in configuration" name="OutletServiceBase updateBatteryLevel should set BatteryLevel when it is enabled in configuration" time="0.001">
|
|
287
|
+
</testcase>
|
|
288
|
+
<testcase classname="OutletServiceBase updateBatteryLevel should not set BatteryLevel when it is disabled in configuration" name="OutletServiceBase updateBatteryLevel should not set BatteryLevel when it is disabled in configuration" time="0">
|
|
289
|
+
</testcase>
|
|
290
|
+
<testcase classname="OutletServiceBase onOnSet should revert changing of On state when it is failed" name="OutletServiceBase onOnSet should revert changing of On state when it is failed" time="0">
|
|
291
|
+
</testcase>
|
|
292
|
+
</testsuite>
|
|
293
|
+
<testsuite name="EcoFlowHomebridgePlatform" errors="0" failures="0" skipped="0" timestamp="2024-09-24T13:37:28" time="6.711" tests="28">
|
|
294
|
+
<testcase classname="EcoFlowHomebridgePlatform constructor should initialize EcoFlow config when creating new platform" name="EcoFlowHomebridgePlatform constructor should initialize EcoFlow config when creating new platform" time="0.004">
|
|
295
|
+
</testcase>
|
|
296
|
+
<testcase classname="EcoFlowHomebridgePlatform constructor should initialize Service property when creating new platform" name="EcoFlowHomebridgePlatform constructor should initialize Service property when creating new platform" time="0.002">
|
|
297
|
+
</testcase>
|
|
298
|
+
<testcase classname="EcoFlowHomebridgePlatform constructor should initialize Characteristic property when creating new platform" name="EcoFlowHomebridgePlatform constructor should initialize Characteristic property when creating new platform" time="0.004">
|
|
299
|
+
</testcase>
|
|
300
|
+
<testcase classname="EcoFlowHomebridgePlatform constructor should initialize InputConsumptionWatt characteristic when creating new platform" name="EcoFlowHomebridgePlatform constructor should initialize InputConsumptionWatt characteristic when creating new platform" time="0.002">
|
|
301
|
+
</testcase>
|
|
302
|
+
<testcase classname="EcoFlowHomebridgePlatform constructor should initialize OutputConsumptionWatts characteristic when creating new platform" name="EcoFlowHomebridgePlatform constructor should initialize OutputConsumptionWatts characteristic when creating new platform" time="0.002">
|
|
303
|
+
</testcase>
|
|
304
|
+
<testcase classname="EcoFlowHomebridgePlatform constructor should initialize success method of log when creating new platform and success method is not defined" name="EcoFlowHomebridgePlatform constructor should initialize success method of log when creating new platform and success method is not defined" time="0.001">
|
|
305
|
+
</testcase>
|
|
306
|
+
<testcase classname="EcoFlowHomebridgePlatform constructor should subscribe on didFinishLaunching when creating new platform" name="EcoFlowHomebridgePlatform constructor should subscribe on didFinishLaunching when creating new platform" time="0.001">
|
|
307
|
+
</testcase>
|
|
308
|
+
<testcase classname="EcoFlowHomebridgePlatform registerDevices validation should not register devices when devices are not configured" name="EcoFlowHomebridgePlatform registerDevices validation should not register devices when devices are not configured" time="0.005">
|
|
309
|
+
</testcase>
|
|
310
|
+
<testcase classname="EcoFlowHomebridgePlatform registerDevices validation should not register device when it is disabled" name="EcoFlowHomebridgePlatform registerDevices validation should not register device when it is disabled" time="0.004">
|
|
311
|
+
</testcase>
|
|
312
|
+
<testcase classname="EcoFlowHomebridgePlatform registerDevices validation should not register device when name is not defined" name="EcoFlowHomebridgePlatform registerDevices validation should not register device when name is not defined" time="0.011">
|
|
313
|
+
</testcase>
|
|
314
|
+
<testcase classname="EcoFlowHomebridgePlatform registerDevices validation should not register device when serialNumber is not defined" name="EcoFlowHomebridgePlatform registerDevices validation should not register device when serialNumber is not defined" time="0.005">
|
|
315
|
+
</testcase>
|
|
316
|
+
<testcase classname="EcoFlowHomebridgePlatform registerDevices validation should not register device when secretKey is not defined" name="EcoFlowHomebridgePlatform registerDevices validation should not register device when secretKey is not defined" time="0.003">
|
|
317
|
+
</testcase>
|
|
318
|
+
<testcase classname="EcoFlowHomebridgePlatform registerDevices validation should not register device when accessKey is not defined" name="EcoFlowHomebridgePlatform registerDevices validation should not register device when accessKey is not defined" time="0.003">
|
|
319
|
+
</testcase>
|
|
320
|
+
<testcase classname="EcoFlowHomebridgePlatform registerDevices validation should not register device when serial number is duplicated" name="EcoFlowHomebridgePlatform registerDevices validation should not register device when serial number is duplicated" time="0.004">
|
|
321
|
+
</testcase>
|
|
322
|
+
<testcase classname="EcoFlowHomebridgePlatform registerDevices validation should not register device when model is unknown" name="EcoFlowHomebridgePlatform registerDevices validation should not register device when model is unknown" time="0.004">
|
|
323
|
+
</testcase>
|
|
324
|
+
<testcase classname="EcoFlowHomebridgePlatform registerDevices newDevice should register device when accessory is not in cache yet" name="EcoFlowHomebridgePlatform registerDevices newDevice should register device when accessory is not in cache yet" time="0.004">
|
|
325
|
+
</testcase>
|
|
326
|
+
<testcase classname="EcoFlowHomebridgePlatform registerDevices newDevice should register platform accessory when new device is created" name="EcoFlowHomebridgePlatform registerDevices newDevice should register platform accessory when new device is created" time="0.004">
|
|
327
|
+
</testcase>
|
|
328
|
+
<testcase classname="EcoFlowHomebridgePlatform registerDevices newDevice should initialize device when registering non cached devices" name="EcoFlowHomebridgePlatform registerDevices newDevice should initialize device when registering non cached devices" time="0.056">
|
|
329
|
+
</testcase>
|
|
330
|
+
<testcase classname="EcoFlowHomebridgePlatform registerDevices newDevice should ignore initialization of default values when registering simulation of device" name="EcoFlowHomebridgePlatform registerDevices newDevice should ignore initialization of default values when registering simulation of device" time="0.053">
|
|
331
|
+
</testcase>
|
|
332
|
+
<testcase classname="EcoFlowHomebridgePlatform registerDevices createAccessory should register Delta2 accessory when model is Delta2 in config" name="EcoFlowHomebridgePlatform registerDevices createAccessory should register Delta2 accessory when model is Delta2 in config" time="0.003">
|
|
333
|
+
</testcase>
|
|
334
|
+
<testcase classname="EcoFlowHomebridgePlatform registerDevices createAccessory should register Delta2Max accessory when model is Delta2Max in config" name="EcoFlowHomebridgePlatform registerDevices createAccessory should register Delta2Max accessory when model is Delta2Max in config" time="0.003">
|
|
335
|
+
</testcase>
|
|
336
|
+
<testcase classname="EcoFlowHomebridgePlatform registerDevices createAccessory should register PowerStream accessory when model is PowerStream in config" name="EcoFlowHomebridgePlatform registerDevices createAccessory should register PowerStream accessory when model is PowerStream in config" time="0.003">
|
|
337
|
+
</testcase>
|
|
338
|
+
<testcase classname="EcoFlowHomebridgePlatform registerDevices cachedDevice should register device when accessory is already cached" name="EcoFlowHomebridgePlatform registerDevices cachedDevice should register device when accessory is already cached" time="0.002">
|
|
339
|
+
</testcase>
|
|
340
|
+
<testcase classname="EcoFlowHomebridgePlatform registerDevices cachedDevice should not register platform accessory when cached device is created" name="EcoFlowHomebridgePlatform registerDevices cachedDevice should not register platform accessory when cached device is created" time="0.003">
|
|
341
|
+
</testcase>
|
|
342
|
+
<testcase classname="EcoFlowHomebridgePlatform registerDevices cachedDevice should initialize device when registering cached device" name="EcoFlowHomebridgePlatform registerDevices cachedDevice should initialize device when registering cached device" time="0.053">
|
|
343
|
+
</testcase>
|
|
344
|
+
<testcase classname="EcoFlowHomebridgePlatform registerDevices cachedDevice should cleanupServices of initialized device when registering cached device" name="EcoFlowHomebridgePlatform registerDevices cachedDevice should cleanupServices of initialized device when registering cached device" time="0.053">
|
|
345
|
+
</testcase>
|
|
346
|
+
<testcase classname="EcoFlowHomebridgePlatform registerDevices cleanupDevices should remove obsolete device when it is not specified in config" name="EcoFlowHomebridgePlatform registerDevices cleanupDevices should remove obsolete device when it is not specified in config" time="0.002">
|
|
347
|
+
</testcase>
|
|
348
|
+
<testcase classname="EcoFlowHomebridgePlatform configureAccessory should add accessory to list of accessories when it is restored from cache" name="EcoFlowHomebridgePlatform configureAccessory should add accessory to list of accessories when it is restored from cache" time="0.001">
|
|
349
|
+
</testcase>
|
|
350
|
+
</testsuite>
|
|
351
|
+
<testsuite name="OutletAcService" errors="0" failures="0" skipped="0" timestamp="2024-09-24T13:37:35" time="0.468" tests="12">
|
|
352
|
+
<testcase classname="OutletAcService updateOutputConsumption should set OutputConsumption when it is enabled in configuration" name="OutletAcService updateOutputConsumption should set OutputConsumption when it is enabled in configuration" time="0.004">
|
|
353
|
+
</testcase>
|
|
354
|
+
<testcase classname="OutletAcService updateOutputConsumption should not set OutputConsumption when it is disabled in configuration" name="OutletAcService updateOutputConsumption should not set OutputConsumption when it is disabled in configuration" time="0.001">
|
|
355
|
+
</testcase>
|
|
356
|
+
<testcase classname="OutletAcService updateInputConsumption should set InputConsumption when it is enabled in configuration" name="OutletAcService updateInputConsumption should set InputConsumption when it is enabled in configuration" time="0.001">
|
|
357
|
+
</testcase>
|
|
358
|
+
<testcase classname="OutletAcService updateInputConsumption should not set InputConsumption when it is disabled in configuration" name="OutletAcService updateInputConsumption should not set InputConsumption when it is disabled in configuration" time="0.001">
|
|
359
|
+
</testcase>
|
|
360
|
+
<testcase classname="OutletAcService updateBatteryLevel should set BatteryLevel when it is enabled in configuration" name="OutletAcService updateBatteryLevel should set BatteryLevel when it is enabled in configuration" time="0.001">
|
|
361
|
+
</testcase>
|
|
362
|
+
<testcase classname="OutletAcService updateBatteryLevel should not set BatteryLevel when it is disabled in configuration" name="OutletAcService updateBatteryLevel should not set BatteryLevel when it is disabled in configuration" time="0.001">
|
|
363
|
+
</testcase>
|
|
364
|
+
<testcase classname="OutletAcService onOnSet should send Set command to device when On value was changed to true" name="OutletAcService onOnSet should send Set command to device when On value was changed to true" time="0.001">
|
|
365
|
+
</testcase>
|
|
366
|
+
<testcase classname="OutletAcService onOnSet should send Set command to device when On value was changed to false" name="OutletAcService onOnSet should send Set command to device when On value was changed to false" time="0">
|
|
367
|
+
</testcase>
|
|
368
|
+
<testcase classname="OutletAcService onOnSet should send Set command to device with cfgAcOutVol set to 220000 when On value was changed and
|
|
369
|
+
there is no cfgAcOutVol value in quota" name="OutletAcService onOnSet should send Set command to device with cfgAcOutVol set to 220000 when On value was changed and
|
|
370
|
+
there is no cfgAcOutVol value in quota" time="0.001">
|
|
371
|
+
</testcase>
|
|
372
|
+
<testcase classname="OutletAcService onOnSet should send Set command to device with cfgAcOutFreq set to 1 when On value was changed and
|
|
373
|
+
there is no cfgAcOutFreq value in quota" name="OutletAcService onOnSet should send Set command to device with cfgAcOutFreq set to 1 when On value was changed and
|
|
374
|
+
there is no cfgAcOutFreq value in quota" time="0">
|
|
375
|
+
</testcase>
|
|
376
|
+
<testcase classname="OutletAcService onOnSet should send Set command to device with XBoost set to true when On value was changed and there is no XBoost value in quota" name="OutletAcService onOnSet should send Set command to device with XBoost set to true when On value was changed and there is no XBoost value in quota" time="0">
|
|
377
|
+
</testcase>
|
|
378
|
+
<testcase classname="OutletAcService onOnSet should revert changing of On state when sending Set command to device is failed" name="OutletAcService onOnSet should revert changing of On state when sending Set command to device is failed" time="0.001">
|
|
379
|
+
</testcase>
|
|
380
|
+
</testsuite>
|
|
381
|
+
<testsuite name="EcoFlowAccessoryBase" errors="0" failures="0" skipped="0" timestamp="2024-09-24T13:37:28" time="6.975" tests="17">
|
|
382
|
+
<testcase classname="EcoFlowAccessoryBase initialize should add required services when initializing accessory" name="EcoFlowAccessoryBase initialize should add required services when initializing accessory" time="0.003">
|
|
383
|
+
</testcase>
|
|
384
|
+
<testcase classname="EcoFlowAccessoryBase connectMqtt should connect to mqtt server during initialization when subscription to quota and set_reply topic is successful" name="EcoFlowAccessoryBase connectMqtt should connect to mqtt server during initialization when subscription to quota and set_reply topic is successful" time="0.152">
|
|
385
|
+
</testcase>
|
|
386
|
+
<testcase classname="EcoFlowAccessoryBase connectMqtt should re-connect to mqtt server when subscription to quota was failed during initialization" name="EcoFlowAccessoryBase connectMqtt should re-connect to mqtt server when subscription to quota was failed during initialization" time="0.153">
|
|
387
|
+
</testcase>
|
|
388
|
+
<testcase classname="EcoFlowAccessoryBase connectMqtt should re-connect to mqtt server when subscription to set_reply was failed during initialization" name="EcoFlowAccessoryBase connectMqtt should re-connect to mqtt server when subscription to set_reply was failed during initialization" time="0.152">
|
|
389
|
+
</testcase>
|
|
390
|
+
<testcase classname="EcoFlowAccessoryBase subscribeOnParameterUpdates should not subscribe on parameters updates for quota and set_reply messages when mqtt is failed to connect" name="EcoFlowAccessoryBase subscribeOnParameterUpdates should not subscribe on parameters updates for quota and set_reply messages when mqtt is failed to connect" time="0.002">
|
|
391
|
+
</testcase>
|
|
392
|
+
<testcase classname="EcoFlowAccessoryBase subscribeOnParameterUpdates should subscribe on parameters updates for quota and set_reply messages when mqtt is connected successfully" name="EcoFlowAccessoryBase subscribeOnParameterUpdates should subscribe on parameters updates for quota and set_reply messages when mqtt is connected successfully" time="0.002">
|
|
393
|
+
</testcase>
|
|
394
|
+
<testcase classname="EcoFlowAccessoryBase subscribeOnParameterUpdates should filter failed subscription on parameters updates when mqtt is connected successfully" name="EcoFlowAccessoryBase subscribeOnParameterUpdates should filter failed subscription on parameters updates when mqtt is connected successfully" time="0.002">
|
|
395
|
+
</testcase>
|
|
396
|
+
<testcase classname="EcoFlowAccessoryBase processQuotaMessage should call processQuotaMessage when new quota message is received" name="EcoFlowAccessoryBase processQuotaMessage should call processQuotaMessage when new quota message is received" time="0.001">
|
|
397
|
+
</testcase>
|
|
398
|
+
<testcase classname="EcoFlowAccessoryBase processSetReplyMessage should ignore 'set_reply' message when no 'set' command was sent yet" name="EcoFlowAccessoryBase processSetReplyMessage should ignore 'set_reply' message when no 'set' command was sent yet" time="0.002">
|
|
399
|
+
</testcase>
|
|
400
|
+
<testcase classname="EcoFlowAccessoryBase processSetReplyMessage should ignore 'set_reply' message when it was not initialized by 'set' command from current instance" name="EcoFlowAccessoryBase processSetReplyMessage should ignore 'set_reply' message when it was not initialized by 'set' command from current instance" time="0.001">
|
|
401
|
+
</testcase>
|
|
402
|
+
<testcase classname="EcoFlowAccessoryBase processSetReplyMessage should do nothing when 'set_reply' message contains successful acknowledgement" name="EcoFlowAccessoryBase processSetReplyMessage should do nothing when 'set_reply' message contains successful acknowledgement" time="0.002">
|
|
403
|
+
</testcase>
|
|
404
|
+
<testcase classname="EcoFlowAccessoryBase processSetReplyMessage should call revert function when 'set_reply' message contains failed acknowledgement" name="EcoFlowAccessoryBase processSetReplyMessage should call revert function when 'set_reply' message contains failed acknowledgement" time="0.002">
|
|
405
|
+
</testcase>
|
|
406
|
+
<testcase classname="EcoFlowAccessoryBase destroy should stop mqtt reconnection when destroying accessory" name="EcoFlowAccessoryBase destroy should stop mqtt reconnection when destroying accessory" time="0.403">
|
|
407
|
+
</testcase>
|
|
408
|
+
<testcase classname="EcoFlowAccessoryBase destroy should unsubscribe from parameters updates when destroying accessory" name="EcoFlowAccessoryBase destroy should unsubscribe from parameters updates when destroying accessory" time="0.008">
|
|
409
|
+
</testcase>
|
|
410
|
+
<testcase classname="EcoFlowAccessoryBase cleanupServices should remove non registered services when cleanup is called" name="EcoFlowAccessoryBase cleanupServices should remove non registered services when cleanup is called" time="0.009">
|
|
411
|
+
</testcase>
|
|
412
|
+
<testcase classname="EcoFlowAccessoryBase cleanupServices should cleanup characteristics for registered services only when cleanup is called" name="EcoFlowAccessoryBase cleanupServices should cleanup characteristics for registered services only when cleanup is called" time="0.002">
|
|
413
|
+
</testcase>
|
|
414
|
+
<testcase classname="EcoFlowAccessoryBase sendSetCommand should stop mqtt reconnection when destroying accessory" name="EcoFlowAccessoryBase sendSetCommand should stop mqtt reconnection when destroying accessory" time="0.002">
|
|
415
|
+
</testcase>
|
|
416
|
+
</testsuite>
|
|
417
|
+
<testsuite name="LightBulbServiceBase" errors="0" failures="0" skipped="0" timestamp="2024-09-24T13:37:35" time="0.689" tests="11">
|
|
418
|
+
<testcase classname="LightBulbServiceBase initialize should add Fan service when it is not added to accessory yet" name="LightBulbServiceBase initialize should add Fan service when it is not added to accessory yet" time="0.002">
|
|
419
|
+
</testcase>
|
|
420
|
+
<testcase classname="LightBulbServiceBase initialize should use existing Fan service when it is already added to accessory" name="LightBulbServiceBase initialize should use existing Fan service when it is already added to accessory" time="0.001">
|
|
421
|
+
</testcase>
|
|
422
|
+
<testcase classname="LightBulbServiceBase initialize should add Fan characteristics when initializing accessory" name="LightBulbServiceBase initialize should add Fan characteristics when initializing accessory" time="0.007">
|
|
423
|
+
</testcase>
|
|
424
|
+
<testcase classname="LightBulbServiceBase setOn should not allow to set value when it is updated from UI" name="LightBulbServiceBase setOn should not allow to set value when it is updated from UI" time="0.001">
|
|
425
|
+
</testcase>
|
|
426
|
+
<testcase classname="LightBulbServiceBase updateState should set On state to true when it is requested" name="LightBulbServiceBase updateState should set On state to true when it is requested" time="0.001">
|
|
427
|
+
</testcase>
|
|
428
|
+
<testcase classname="LightBulbServiceBase updateRotationSpeed should set 100% rotation speed when maximum value is set" name="LightBulbServiceBase updateRotationSpeed should set 100% rotation speed when maximum value is set" time="0.001">
|
|
429
|
+
</testcase>
|
|
430
|
+
<testcase classname="LightBulbServiceBase updateRotationSpeed should set 0% rotation speed when minimum value is set" name="LightBulbServiceBase updateRotationSpeed should set 0% rotation speed when minimum value is set" time="0.001">
|
|
431
|
+
</testcase>
|
|
432
|
+
<testcase classname="LightBulbServiceBase updateRotationSpeed should set rotation speed when it is requested" name="LightBulbServiceBase updateRotationSpeed should set rotation speed when it is requested" time="0.001">
|
|
433
|
+
</testcase>
|
|
434
|
+
<testcase classname="LightBulbServiceBase updateRotationSpeed should revert changing of rotation speed to value set from UI when sending Set command to device is failed" name="LightBulbServiceBase updateRotationSpeed should revert changing of rotation speed to value set from UI when sending Set command to device is failed" time="0.001">
|
|
435
|
+
</testcase>
|
|
436
|
+
<testcase classname="LightBulbServiceBase onOnSet should revert changing of On state when it is failed" name="LightBulbServiceBase onOnSet should revert changing of On state when it is failed" time="0.001">
|
|
437
|
+
</testcase>
|
|
438
|
+
<testcase classname="LightBulbServiceBase onRotationSpeedSet should revert changing of rotation speed when sending Set command to device is failed" name="LightBulbServiceBase onRotationSpeedSet should revert changing of rotation speed when sending Set command to device is failed" time="0.001">
|
|
439
|
+
</testcase>
|
|
440
|
+
</testsuite>
|
|
441
|
+
<testsuite name="LightBulbServiceBase" errors="0" failures="0" skipped="0" timestamp="2024-09-24T13:37:35" time="1.172" tests="11">
|
|
442
|
+
<testcase classname="LightBulbServiceBase initialize should add Lightbulb service when it is not added to accessory yet" name="LightBulbServiceBase initialize should add Lightbulb service when it is not added to accessory yet" time="0.002">
|
|
443
|
+
</testcase>
|
|
444
|
+
<testcase classname="LightBulbServiceBase initialize should use existing Lightbulb service when it is already added to accessory" name="LightBulbServiceBase initialize should use existing Lightbulb service when it is already added to accessory" time="0.001">
|
|
445
|
+
</testcase>
|
|
446
|
+
<testcase classname="LightBulbServiceBase initialize should add Lightbulb characteristics when initializing accessory" name="LightBulbServiceBase initialize should add Lightbulb characteristics when initializing accessory" time="0.001">
|
|
447
|
+
</testcase>
|
|
448
|
+
<testcase classname="LightBulbServiceBase setOn should not allow to set value when it is updated from UI" name="LightBulbServiceBase setOn should not allow to set value when it is updated from UI" time="0.002">
|
|
449
|
+
</testcase>
|
|
450
|
+
<testcase classname="LightBulbServiceBase updateState should set On state to true when it is requested" name="LightBulbServiceBase updateState should set On state to true when it is requested" time="0.001">
|
|
451
|
+
</testcase>
|
|
452
|
+
<testcase classname="LightBulbServiceBase updateBrightness should set 100% brightness when maximum value is set" name="LightBulbServiceBase updateBrightness should set 100% brightness when maximum value is set" time="0.001">
|
|
453
|
+
</testcase>
|
|
454
|
+
<testcase classname="LightBulbServiceBase updateBrightness should set 0% brightness when minimum value is set" name="LightBulbServiceBase updateBrightness should set 0% brightness when minimum value is set" time="0.001">
|
|
455
|
+
</testcase>
|
|
456
|
+
<testcase classname="LightBulbServiceBase updateBrightness should set brightness when it is requested" name="LightBulbServiceBase updateBrightness should set brightness when it is requested" time="0.001">
|
|
457
|
+
</testcase>
|
|
458
|
+
<testcase classname="LightBulbServiceBase updateBrightness should revert changing of brightness to value set from UI when sending Set command to device is failed" name="LightBulbServiceBase updateBrightness should revert changing of brightness to value set from UI when sending Set command to device is failed" time="0.001">
|
|
459
|
+
</testcase>
|
|
460
|
+
<testcase classname="LightBulbServiceBase onOnSet should revert changing of On state when it is failed" name="LightBulbServiceBase onOnSet should revert changing of On state when it is failed" time="0.001">
|
|
461
|
+
</testcase>
|
|
462
|
+
<testcase classname="LightBulbServiceBase onBrightnessSet should revert changing of brightness when sending Set command to device is failed" name="LightBulbServiceBase onBrightnessSet should revert changing of brightness when sending Set command to device is failed" time="0.001">
|
|
463
|
+
</testcase>
|
|
464
|
+
</testsuite>
|
|
465
|
+
<testsuite name="PowerDemandService" errors="0" failures="0" skipped="0" timestamp="2024-09-24T13:37:36" time="0.564" tests="11">
|
|
466
|
+
<testcase classname="PowerDemandService setOn should not allow to set value when it is updated from UI" name="PowerDemandService setOn should not allow to set value when it is updated from UI" time="0.003">
|
|
467
|
+
</testcase>
|
|
468
|
+
<testcase classname="PowerDemandService updateState should set On state to true when it is requested" name="PowerDemandService updateState should set On state to true when it is requested" time="0.001">
|
|
469
|
+
</testcase>
|
|
470
|
+
<testcase classname="PowerDemandService updatePowerDemand should set 100% power demand when maximum value is set" name="PowerDemandService updatePowerDemand should set 100% power demand when maximum value is set" time="0.001">
|
|
471
|
+
</testcase>
|
|
472
|
+
<testcase classname="PowerDemandService updatePowerDemand should set 0% power demand when minimum value is set" name="PowerDemandService updatePowerDemand should set 0% power demand when minimum value is set" time="0">
|
|
473
|
+
</testcase>
|
|
474
|
+
<testcase classname="PowerDemandService updatePowerDemand should set power demand when it is requested" name="PowerDemandService updatePowerDemand should set power demand when it is requested" time="0.001">
|
|
475
|
+
</testcase>
|
|
476
|
+
<testcase classname="PowerDemandService updatePowerDemand should revert changing of power demand to value set from UI when sending Set command to device is failed" name="PowerDemandService updatePowerDemand should revert changing of power demand to value set from UI when sending Set command to device is failed" time="0.001">
|
|
477
|
+
</testcase>
|
|
478
|
+
<testcase classname="PowerDemandService onOnSet should send Set command with max demand value to device when On value was changed to true" name="PowerDemandService onOnSet should send Set command with max demand value to device when On value was changed to true" time="0.001">
|
|
479
|
+
</testcase>
|
|
480
|
+
<testcase classname="PowerDemandService onOnSet should send Set command with min demand value to device when On value was changed to false" name="PowerDemandService onOnSet should send Set command with min demand value to device when On value was changed to false" time="0.001">
|
|
481
|
+
</testcase>
|
|
482
|
+
<testcase classname="PowerDemandService onOnSet should revert changing of On state when sending Set command to device is failed" name="PowerDemandService onOnSet should revert changing of On state when sending Set command to device is failed" time="0.002">
|
|
483
|
+
</testcase>
|
|
484
|
+
<testcase classname="PowerDemandService onPowerDemandSet should send Set command to device when Power Demand value was changed" name="PowerDemandService onPowerDemandSet should send Set command to device when Power Demand value was changed" time="0.001">
|
|
485
|
+
</testcase>
|
|
486
|
+
<testcase classname="PowerDemandService onPowerDemandSet should revert changing of Power Demand when sending Set command to device is failed" name="PowerDemandService onPowerDemandSet should revert changing of Power Demand when sending Set command to device is failed" time="0.001">
|
|
487
|
+
</testcase>
|
|
488
|
+
</testsuite>
|
|
489
|
+
<testsuite name="EcoFlowHttpApiManager" errors="0" failures="0" skipped="0" timestamp="2024-09-24T13:37:37" time="0.384" tests="8">
|
|
490
|
+
<testcase classname="EcoFlowHttpApiManager acquireCertificate should return null when it is failed to send http request" name="EcoFlowHttpApiManager acquireCertificate should return null when it is failed to send http request" time="0.027">
|
|
491
|
+
</testcase>
|
|
492
|
+
<testcase classname="EcoFlowHttpApiManager acquireCertificate should return null when response contains non '0' code in response" name="EcoFlowHttpApiManager acquireCertificate should return null when response contains non '0' code in response" time="0.005">
|
|
493
|
+
</testcase>
|
|
494
|
+
<testcase classname="EcoFlowHttpApiManager acquireCertificate should use US host name when it is specified in configuration" name="EcoFlowHttpApiManager acquireCertificate should use US host name when it is specified in configuration" time="0.001">
|
|
495
|
+
</testcase>
|
|
496
|
+
<testcase classname="EcoFlowHttpApiManager acquireCertificate should return certificate data when request is successful" name="EcoFlowHttpApiManager acquireCertificate should return certificate data when request is successful" time="0.001">
|
|
497
|
+
</testcase>
|
|
498
|
+
<testcase classname="EcoFlowHttpApiManager getAllQuotas should return null when it is failed to send http request" name="EcoFlowHttpApiManager getAllQuotas should return null when it is failed to send http request" time="0.001">
|
|
499
|
+
</testcase>
|
|
500
|
+
<testcase classname="EcoFlowHttpApiManager getAllQuotas should return all quota data converted to typed object when request is successful" name="EcoFlowHttpApiManager getAllQuotas should return all quota data converted to typed object when request is successful" time="0.001">
|
|
501
|
+
</testcase>
|
|
502
|
+
<testcase classname="EcoFlowHttpApiManager getQuotas should return null when it is failed to send http request" name="EcoFlowHttpApiManager getQuotas should return null when it is failed to send http request" time="0.002">
|
|
503
|
+
</testcase>
|
|
504
|
+
<testcase classname="EcoFlowHttpApiManager getQuotas should return requested quota data converted to typed object when request is successful" name="EcoFlowHttpApiManager getQuotas should return requested quota data converted to typed object when request is successful" time="0.001">
|
|
505
|
+
</testcase>
|
|
506
|
+
</testsuite>
|
|
507
|
+
<testsuite name="BrightnessService" errors="0" failures="0" skipped="0" timestamp="2024-09-24T13:37:37" time="0.566" tests="11">
|
|
508
|
+
<testcase classname="BrightnessService setOn should not allow to set value when it is updated from UI" name="BrightnessService setOn should not allow to set value when it is updated from UI" time="0.003">
|
|
509
|
+
</testcase>
|
|
510
|
+
<testcase classname="BrightnessService updateState should set On state to true when it is requested" name="BrightnessService updateState should set On state to true when it is requested" time="0.001">
|
|
511
|
+
</testcase>
|
|
512
|
+
<testcase classname="BrightnessService updateBrightness should set 100% brightness when maximum value is set" name="BrightnessService updateBrightness should set 100% brightness when maximum value is set" time="0.001">
|
|
513
|
+
</testcase>
|
|
514
|
+
<testcase classname="BrightnessService updateBrightness should set 0% brightness when minimum value is set" name="BrightnessService updateBrightness should set 0% brightness when minimum value is set" time="0">
|
|
515
|
+
</testcase>
|
|
516
|
+
<testcase classname="BrightnessService updateBrightness should set brightness when it is requested" name="BrightnessService updateBrightness should set brightness when it is requested" time="0">
|
|
517
|
+
</testcase>
|
|
518
|
+
<testcase classname="BrightnessService updateBrightness should revert changing of Brightness to value set from UI when sending Set command to device is failed" name="BrightnessService updateBrightness should revert changing of Brightness to value set from UI when sending Set command to device is failed" time="0.001">
|
|
519
|
+
</testcase>
|
|
520
|
+
<testcase classname="BrightnessService onOnSet should send Set command with max brightness value to device when On value was changed to true" name="BrightnessService onOnSet should send Set command with max brightness value to device when On value was changed to true" time="0.001">
|
|
521
|
+
</testcase>
|
|
522
|
+
<testcase classname="BrightnessService onOnSet should send Set command with min brightness value to device when On value was changed to false" name="BrightnessService onOnSet should send Set command with min brightness value to device when On value was changed to false" time="0.001">
|
|
523
|
+
</testcase>
|
|
524
|
+
<testcase classname="BrightnessService onOnSet should revert changing of On state when sending Set command to device is failed" name="BrightnessService onOnSet should revert changing of On state when sending Set command to device is failed" time="0.004">
|
|
525
|
+
</testcase>
|
|
526
|
+
<testcase classname="BrightnessService onBrightnessSet should send Set command to device when Brightness value was changed" name="BrightnessService onBrightnessSet should send Set command to device when Brightness value was changed" time="0.001">
|
|
527
|
+
</testcase>
|
|
528
|
+
<testcase classname="BrightnessService onBrightnessSet should revert changing of Brightness when sending Set command to device is failed" name="BrightnessService onBrightnessSet should revert changing of Brightness when sending Set command to device is failed" time="0.001">
|
|
529
|
+
</testcase>
|
|
530
|
+
</testsuite>
|
|
531
|
+
<testsuite name="OutletUsbService" errors="0" failures="0" skipped="0" timestamp="2024-09-24T13:37:37" time="0.55" tests="9">
|
|
532
|
+
<testcase classname="OutletUsbService updateOutputConsumption should set OutputConsumption when it is enabled in configuration" name="OutletUsbService updateOutputConsumption should set OutputConsumption when it is enabled in configuration" time="0.004">
|
|
533
|
+
</testcase>
|
|
534
|
+
<testcase classname="OutletUsbService updateOutputConsumption should not set OutputConsumption when it is disabled in configuration" name="OutletUsbService updateOutputConsumption should not set OutputConsumption when it is disabled in configuration" time="0.001">
|
|
535
|
+
</testcase>
|
|
536
|
+
<testcase classname="OutletUsbService updateInputConsumption should set InputConsumption when it is enabled in configuration" name="OutletUsbService updateInputConsumption should set InputConsumption when it is enabled in configuration" time="0.002">
|
|
537
|
+
</testcase>
|
|
538
|
+
<testcase classname="OutletUsbService updateInputConsumption should not set InputConsumption when it is disabled in configuration" name="OutletUsbService updateInputConsumption should not set InputConsumption when it is disabled in configuration" time="0.001">
|
|
539
|
+
</testcase>
|
|
540
|
+
<testcase classname="OutletUsbService updateBatteryLevel should set BatteryLevel when it is enabled in configuration" name="OutletUsbService updateBatteryLevel should set BatteryLevel when it is enabled in configuration" time="0.001">
|
|
541
|
+
</testcase>
|
|
542
|
+
<testcase classname="OutletUsbService updateBatteryLevel should not set BatteryLevel when it is disabled in configuration" name="OutletUsbService updateBatteryLevel should not set BatteryLevel when it is disabled in configuration" time="0.018">
|
|
543
|
+
</testcase>
|
|
544
|
+
<testcase classname="OutletUsbService onOnSet should send Set command to device when On value was changed to true" name="OutletUsbService onOnSet should send Set command to device when On value was changed to true" time="0.005">
|
|
545
|
+
</testcase>
|
|
546
|
+
<testcase classname="OutletUsbService onOnSet should send Set command to device when On value was changed to false" name="OutletUsbService onOnSet should send Set command to device when On value was changed to false" time="0.001">
|
|
547
|
+
</testcase>
|
|
548
|
+
<testcase classname="OutletUsbService onOnSet should revert changing of On state when sending Set command to device is failed" name="OutletUsbService onOnSet should revert changing of On state when sending Set command to device is failed" time="0.001">
|
|
549
|
+
</testcase>
|
|
550
|
+
</testsuite>
|
|
551
|
+
<testsuite name="OutletCarService" errors="0" failures="0" skipped="0" timestamp="2024-09-24T13:37:37" time="0.585" tests="9">
|
|
552
|
+
<testcase classname="OutletCarService updateOutputConsumption should set OutputConsumption when it is enabled in configuration" name="OutletCarService updateOutputConsumption should set OutputConsumption when it is enabled in configuration" time="0.003">
|
|
553
|
+
</testcase>
|
|
554
|
+
<testcase classname="OutletCarService updateOutputConsumption should not set OutputConsumption when it is disabled in configuration" name="OutletCarService updateOutputConsumption should not set OutputConsumption when it is disabled in configuration" time="0.001">
|
|
555
|
+
</testcase>
|
|
556
|
+
<testcase classname="OutletCarService updateInputConsumption should set InputConsumption when it is enabled in configuration" name="OutletCarService updateInputConsumption should set InputConsumption when it is enabled in configuration" time="0.004">
|
|
557
|
+
</testcase>
|
|
558
|
+
<testcase classname="OutletCarService updateInputConsumption should not set InputConsumption when it is disabled in configuration" name="OutletCarService updateInputConsumption should not set InputConsumption when it is disabled in configuration" time="0.001">
|
|
559
|
+
</testcase>
|
|
560
|
+
<testcase classname="OutletCarService updateBatteryLevel should set BatteryLevel when it is enabled in configuration" name="OutletCarService updateBatteryLevel should set BatteryLevel when it is enabled in configuration" time="0.002">
|
|
561
|
+
</testcase>
|
|
562
|
+
<testcase classname="OutletCarService updateBatteryLevel should not set BatteryLevel when it is disabled in configuration" name="OutletCarService updateBatteryLevel should not set BatteryLevel when it is disabled in configuration" time="0.011">
|
|
563
|
+
</testcase>
|
|
564
|
+
<testcase classname="OutletCarService onOnSet should send Set command to device when On value was changed to true" name="OutletCarService onOnSet should send Set command to device when On value was changed to true" time="0.002">
|
|
565
|
+
</testcase>
|
|
566
|
+
<testcase classname="OutletCarService onOnSet should send Set command to device when On value was changed to false" name="OutletCarService onOnSet should send Set command to device when On value was changed to false" time="0.001">
|
|
567
|
+
</testcase>
|
|
568
|
+
<testcase classname="OutletCarService onOnSet should revert changing of On state when sending Set command to device is failed" name="OutletCarService onOnSet should revert changing of On state when sending Set command to device is failed" time="0.001">
|
|
569
|
+
</testcase>
|
|
570
|
+
</testsuite>
|
|
571
|
+
<testsuite name="BatteryStatusService" errors="0" failures="0" skipped="0" timestamp="2024-09-24T13:37:38" time="0.504" tests="11">
|
|
572
|
+
<testcase classname="BatteryStatusService initialize should add Battery service when it is not added to accessory yet" name="BatteryStatusService initialize should add Battery service when it is not added to accessory yet" time="0.002">
|
|
573
|
+
</testcase>
|
|
574
|
+
<testcase classname="BatteryStatusService initialize should use existing Battery service when it is already added to accessory" name="BatteryStatusService initialize should use existing Battery service when it is already added to accessory" time="0.001">
|
|
575
|
+
</testcase>
|
|
576
|
+
<testcase classname="BatteryStatusService initialize should use existing display name of service when there is no name in configuration" name="BatteryStatusService initialize should use existing display name of service when there is no name in configuration" time="0.004">
|
|
577
|
+
</testcase>
|
|
578
|
+
<testcase classname="BatteryStatusService initialize should use name from configuration as a display name of service when there is name in configuration" name="BatteryStatusService initialize should use name from configuration as a display name of service when there is name in configuration" time="0.001">
|
|
579
|
+
</testcase>
|
|
580
|
+
<testcase classname="BatteryStatusService initialize should add Battery characteristics when initializing accessory" name="BatteryStatusService initialize should add Battery characteristics when initializing accessory" time="0.001">
|
|
581
|
+
</testcase>
|
|
582
|
+
<testcase classname="BatteryStatusService cleanupCharacteristics should remove non registered characteristics when cleanup characteristics is called" name="BatteryStatusService cleanupCharacteristics should remove non registered characteristics when cleanup characteristics is called" time="0.001">
|
|
583
|
+
</testcase>
|
|
584
|
+
<testcase classname="BatteryStatusService updateStatusLowBattery should set low battery level when it is less than 20" name="BatteryStatusService updateStatusLowBattery should set low battery level when it is less than 20" time="0.001">
|
|
585
|
+
</testcase>
|
|
586
|
+
<testcase classname="BatteryStatusService updateStatusLowBattery should set normal battery level when it is more than or equal to 20" name="BatteryStatusService updateStatusLowBattery should set normal battery level when it is more than or equal to 20" time="0.001">
|
|
587
|
+
</testcase>
|
|
588
|
+
<testcase classname="BatteryStatusService updateBatteryLevel should set battery level when it is called to be set" name="BatteryStatusService updateBatteryLevel should set battery level when it is called to be set" time="0.001">
|
|
589
|
+
</testcase>
|
|
590
|
+
<testcase classname="BatteryStatusService updateChargingState should set charging state to false when input power consumption is 0 Watt" name="BatteryStatusService updateChargingState should set charging state to false when input power consumption is 0 Watt" time="0.001">
|
|
591
|
+
</testcase>
|
|
592
|
+
<testcase classname="BatteryStatusService updateChargingState should set charging state to true when input power consumption is more than 0 Watt" name="BatteryStatusService updateChargingState should set charging state to true when input power consumption is more than 0 Watt" time="0.001">
|
|
593
|
+
</testcase>
|
|
594
|
+
</testsuite>
|
|
595
|
+
<testsuite name="OutletService" errors="0" failures="0" skipped="0" timestamp="2024-09-24T13:37:38" time="0.595" tests="7">
|
|
596
|
+
<testcase classname="OutletService updateOutputConsumption should set OutputConsumption when it is enabled in configuration" name="OutletService updateOutputConsumption should set OutputConsumption when it is enabled in configuration" time="0.018">
|
|
597
|
+
</testcase>
|
|
598
|
+
<testcase classname="OutletService updateOutputConsumption should not set OutputConsumption when it is disabled in configuration" name="OutletService updateOutputConsumption should not set OutputConsumption when it is disabled in configuration" time="0.001">
|
|
599
|
+
</testcase>
|
|
600
|
+
<testcase classname="OutletService updateInputConsumption should set InputConsumption when it is enabled in configuration" name="OutletService updateInputConsumption should set InputConsumption when it is enabled in configuration" time="0.001">
|
|
601
|
+
</testcase>
|
|
602
|
+
<testcase classname="OutletService updateInputConsumption should not set InputConsumption when it is disabled in configuration" name="OutletService updateInputConsumption should not set InputConsumption when it is disabled in configuration" time="0.001">
|
|
603
|
+
</testcase>
|
|
604
|
+
<testcase classname="OutletService updateBatteryLevel should set BatteryLevel when it is enabled in configuration" name="OutletService updateBatteryLevel should set BatteryLevel when it is enabled in configuration" time="0.001">
|
|
605
|
+
</testcase>
|
|
606
|
+
<testcase classname="OutletService updateBatteryLevel should not set BatteryLevel when it is disabled in configuration" name="OutletService updateBatteryLevel should not set BatteryLevel when it is disabled in configuration" time="0.001">
|
|
607
|
+
</testcase>
|
|
608
|
+
<testcase classname="OutletService onOnSet should not allow to set ON value" name="OutletService onOnSet should not allow to set ON value" time="0.001">
|
|
609
|
+
</testcase>
|
|
610
|
+
</testsuite>
|
|
611
|
+
<testsuite name="OutletInvService" errors="0" failures="0" skipped="0" timestamp="2024-09-24T13:37:38" time="0.471" tests="7">
|
|
612
|
+
<testcase classname="OutletInvService updateOutputConsumption should set OutputConsumption when it is enabled in configuration" name="OutletInvService updateOutputConsumption should set OutputConsumption when it is enabled in configuration" time="0.002">
|
|
613
|
+
</testcase>
|
|
614
|
+
<testcase classname="OutletInvService updateOutputConsumption should not set OutputConsumption when it is disabled in configuration" name="OutletInvService updateOutputConsumption should not set OutputConsumption when it is disabled in configuration" time="0">
|
|
615
|
+
</testcase>
|
|
616
|
+
<testcase classname="OutletInvService updateInputConsumption should set InputConsumption when it is enabled in configuration" name="OutletInvService updateInputConsumption should set InputConsumption when it is enabled in configuration" time="0">
|
|
617
|
+
</testcase>
|
|
618
|
+
<testcase classname="OutletInvService updateInputConsumption should not set InputConsumption when it is disabled in configuration" name="OutletInvService updateInputConsumption should not set InputConsumption when it is disabled in configuration" time="0">
|
|
619
|
+
</testcase>
|
|
620
|
+
<testcase classname="OutletInvService updateBatteryLevel should set BatteryLevel when it is enabled in configuration" name="OutletInvService updateBatteryLevel should set BatteryLevel when it is enabled in configuration" time="0.001">
|
|
621
|
+
</testcase>
|
|
622
|
+
<testcase classname="OutletInvService updateBatteryLevel should not set BatteryLevel when it is disabled in configuration" name="OutletInvService updateBatteryLevel should not set BatteryLevel when it is disabled in configuration" time="0.001">
|
|
623
|
+
</testcase>
|
|
624
|
+
<testcase classname="OutletInvService onOnSet should not allow to set ON value" name="OutletInvService onOnSet should not allow to set ON value" time="0.001">
|
|
625
|
+
</testcase>
|
|
626
|
+
</testsuite>
|
|
627
|
+
<testsuite name="EcoFlowAccessoryWithQuotaBase" errors="0" failures="0" skipped="0" timestamp="2024-09-24T13:37:39" time="0.218" tests="6">
|
|
628
|
+
<testcase classname="EcoFlowAccessoryWithQuotaBase initializeDefaultValues should initialize quota when is called before initializeDefaultValues" name="EcoFlowAccessoryWithQuotaBase initializeDefaultValues should initialize quota when is called before initializeDefaultValues" time="0.001">
|
|
629
|
+
</testcase>
|
|
630
|
+
<testcase classname="EcoFlowAccessoryWithQuotaBase initializeDefaultValues should get all quota when initialization of default values is requested" name="EcoFlowAccessoryWithQuotaBase initializeDefaultValues should get all quota when initialization of default values is requested" time="0">
|
|
631
|
+
</testcase>
|
|
632
|
+
<testcase classname="EcoFlowAccessoryWithQuotaBase initializeDefaultValues should not update initial values when quota is not received" name="EcoFlowAccessoryWithQuotaBase initializeDefaultValues should not update initial values when quota is not received" time="0">
|
|
633
|
+
</testcase>
|
|
634
|
+
<testcase classname="EcoFlowAccessoryWithQuotaBase initializeDefaultValues should initialize quotas with default values when they were not received" name="EcoFlowAccessoryWithQuotaBase initializeDefaultValues should initialize quotas with default values when they were not received" time="0">
|
|
635
|
+
</testcase>
|
|
636
|
+
<testcase classname="EcoFlowAccessoryWithQuotaBase initializeDefaultValues should initialize quotas with default values when they were not received and
|
|
637
|
+
updating of initial values is not requested" name="EcoFlowAccessoryWithQuotaBase initializeDefaultValues should initialize quotas with default values when they were not received and
|
|
638
|
+
updating of initial values is not requested" time="0.001">
|
|
639
|
+
</testcase>
|
|
640
|
+
<testcase classname="EcoFlowAccessoryWithQuotaBase initializeDefaultValues should not update initial values when it is not requested" name="EcoFlowAccessoryWithQuotaBase initializeDefaultValues should not update initial values when it is not requested" time="0">
|
|
641
|
+
</testcase>
|
|
642
|
+
</testsuite>
|
|
643
|
+
<testsuite name="MqttClient" errors="0" failures="0" skipped="0" timestamp="2024-09-24T13:37:39" time="0.227" tests="12">
|
|
644
|
+
<testcase classname="MqttClient client should get null as client when is not set yet" name="MqttClient client should get null as client when is not set yet" time="0">
|
|
645
|
+
</testcase>
|
|
646
|
+
<testcase classname="MqttClient client should set client property when is not set yet" name="MqttClient client should set client property when is not set yet" time="0">
|
|
647
|
+
</testcase>
|
|
648
|
+
<testcase classname="MqttClient client should not set client property when it is already set" name="MqttClient client should not set client property when it is already set" time="0">
|
|
649
|
+
</testcase>
|
|
650
|
+
<testcase classname="MqttClient isConnected should return false when mqtt is not connected" name="MqttClient isConnected should return false when mqtt is not connected" time="0">
|
|
651
|
+
</testcase>
|
|
652
|
+
<testcase classname="MqttClient isConnected should return true when mqtt is connected" name="MqttClient isConnected should return true when mqtt is connected" time="0">
|
|
653
|
+
</testcase>
|
|
654
|
+
<testcase classname="MqttClient devices addDevice should add device to cache when there is no devices for serial number yet" name="MqttClient devices addDevice should add device to cache when there is no devices for serial number yet" time="0.001">
|
|
655
|
+
</testcase>
|
|
656
|
+
<testcase classname="MqttClient devices addDevice should add device to cache when there is already device for serial number" name="MqttClient devices addDevice should add device to cache when there is already device for serial number" time="0.001">
|
|
657
|
+
</testcase>
|
|
658
|
+
<testcase classname="MqttClient devices getDevices should return list of devices for serial number when there is any in cache" name="MqttClient devices getDevices should return list of devices for serial number when there is any in cache" time="0.001">
|
|
659
|
+
</testcase>
|
|
660
|
+
<testcase classname="MqttClient devices getDevices should return empty array when there is no device for serial number in cache" name="MqttClient devices getDevices should return empty array when there is no device for serial number in cache" time="0.001">
|
|
661
|
+
</testcase>
|
|
662
|
+
<testcase classname="MqttClient devices getDevices should return empty array when serial number is not defined" name="MqttClient devices getDevices should return empty array when serial number is not defined" time="0">
|
|
663
|
+
</testcase>
|
|
664
|
+
<testcase classname="MqttClient devices getAllDevices should return list of devices when there is any in cache" name="MqttClient devices getAllDevices should return list of devices when there is any in cache" time="0">
|
|
665
|
+
</testcase>
|
|
666
|
+
<testcase classname="MqttClient devices getAllDevices should return empty array when serial number is not defined" name="MqttClient devices getAllDevices should return empty array when serial number is not defined" time="0">
|
|
667
|
+
</testcase>
|
|
668
|
+
</testsuite>
|
|
669
|
+
<testsuite name="PluginConfigDevicesRenderer" errors="0" failures="0" skipped="0" timestamp="2024-09-24T13:37:35" time="4.327" tests="13">
|
|
670
|
+
<testcase classname="PluginConfigDevicesRenderer render tabsRendering should render tabs when there are 2 devices in configuration" name="PluginConfigDevicesRenderer render tabsRendering should render tabs when there are 2 devices in configuration" time="0.035">
|
|
671
|
+
</testcase>
|
|
672
|
+
<testcase classname="PluginConfigDevicesRenderer render tabsRendering should render tabs when there are no devices in configuration" name="PluginConfigDevicesRenderer render tabsRendering should render tabs when there are no devices in configuration" time="0.004">
|
|
673
|
+
</testcase>
|
|
674
|
+
<testcase classname="PluginConfigDevicesRenderer render tabsNavigation should render form for first device in configuration by default" name="PluginConfigDevicesRenderer render tabsNavigation should render form for first device in configuration by default" time="0.018">
|
|
675
|
+
</testcase>
|
|
676
|
+
<testcase classname="PluginConfigDevicesRenderer render tabsNavigation should render form for second device when second tab is clicked" name="PluginConfigDevicesRenderer render tabsNavigation should render form for second device when second tab is clicked" time="0.022">
|
|
677
|
+
</testcase>
|
|
678
|
+
<testcase classname="PluginConfigDevicesRenderer render tabPanelsRendering should render tab panels and activate first one when there are 2 devices in configuration" name="PluginConfigDevicesRenderer render tabPanelsRendering should render tab panels and activate first one when there are 2 devices in configuration" time="0.017">
|
|
679
|
+
</testcase>
|
|
680
|
+
<testcase classname="PluginConfigDevicesRenderer render tabPanelsRendering should render tab panels when there are no devices in configuration" name="PluginConfigDevicesRenderer render tabPanelsRendering should render tab panels when there are no devices in configuration" time="0.002">
|
|
681
|
+
</testcase>
|
|
682
|
+
<testcase classname="PluginConfigDevicesRenderer render addNewDevice should render form for new device when addDeviceTab is clicked" name="PluginConfigDevicesRenderer render addNewDevice should render form for new device when addDeviceTab is clicked" time="0.023">
|
|
683
|
+
</testcase>
|
|
684
|
+
<testcase classname="PluginConfigDevicesRenderer render addNewDevice should render tab with default values when addDeviceTab is clicked" name="PluginConfigDevicesRenderer render addNewDevice should render tab with default values when addDeviceTab is clicked" time="0.03">
|
|
685
|
+
</testcase>
|
|
686
|
+
<testcase classname="PluginConfigDevicesRenderer render removeDevice should remove active tab when remove button is clicked" name="PluginConfigDevicesRenderer render removeDevice should remove active tab when remove button is clicked" time="0.023">
|
|
687
|
+
</testcase>
|
|
688
|
+
<testcase classname="PluginConfigDevicesRenderer render removeDevice should leave addNewDevice tab only when remove button is clicked for last device" name="PluginConfigDevicesRenderer render removeDevice should leave addNewDevice tab only when remove button is clicked for last device" time="0.015">
|
|
689
|
+
</testcase>
|
|
690
|
+
<testcase classname="PluginConfigDevicesRenderer render applyChanges should update changes when there are any made on form" name="PluginConfigDevicesRenderer render applyChanges should update changes when there are any made on form" time="0.008">
|
|
691
|
+
</testcase>
|
|
692
|
+
<testcase classname="PluginConfigDevicesRenderer render applyChanges should update tab name when name was changed on form" name="PluginConfigDevicesRenderer render applyChanges should update tab name when name was changed on form" time="0.01">
|
|
693
|
+
</testcase>
|
|
694
|
+
<testcase classname="PluginConfigDevicesRenderer render modelChanged should update tab name when name was changed on form" name="PluginConfigDevicesRenderer render modelChanged should update tab name when name was changed on form" time="0.01">
|
|
695
|
+
</testcase>
|
|
696
|
+
</testsuite>
|
|
697
|
+
<testsuite name="MqttDevice" errors="0" failures="0" skipped="0" timestamp="2024-09-24T13:37:39" time="0.204" tests="8">
|
|
698
|
+
<testcase classname="MqttDevice processReceivedMessage should ignore mqtt message when its topic is not supported" name="MqttDevice processReceivedMessage should ignore mqtt message when its topic is not supported" time="0.002">
|
|
699
|
+
</testcase>
|
|
700
|
+
<testcase classname="MqttDevice processReceivedMessage should notify quota subscribers when quota mqtt message is received" name="MqttDevice processReceivedMessage should notify quota subscribers when quota mqtt message is received" time="0.001">
|
|
701
|
+
</testcase>
|
|
702
|
+
<testcase classname="MqttDevice processReceivedMessage should notify set_reply subscribers when set_reply mqtt message is received" name="MqttDevice processReceivedMessage should notify set_reply subscribers when set_reply mqtt message is received" time="0.001">
|
|
703
|
+
</testcase>
|
|
704
|
+
<testcase classname="MqttDevice processReceivedMessage should log message when it is received" name="MqttDevice processReceivedMessage should log message when it is received" time="0.001">
|
|
705
|
+
</testcase>
|
|
706
|
+
<testcase classname="MqttDevice subscribeOnMessage should ignore subscription to topic when it is not supported" name="MqttDevice subscribeOnMessage should ignore subscription to topic when it is not supported" time="0.001">
|
|
707
|
+
</testcase>
|
|
708
|
+
<testcase classname="MqttDevice subscribeOnMessage should subscribe on quota$ observable when subscribing on quota topic" name="MqttDevice subscribeOnMessage should subscribe on quota$ observable when subscribing on quota topic" time="0">
|
|
709
|
+
</testcase>
|
|
710
|
+
<testcase classname="MqttDevice subscribeOnMessage should subscribe on quota$ observable when subscribing on quota topic" name="MqttDevice subscribeOnMessage should subscribe on quota$ observable when subscribing on quota topic" time="0">
|
|
711
|
+
</testcase>
|
|
712
|
+
<testcase classname="MqttDevice subscribeOnMessage should subscribe on setReply$ observable when subscribing on set_reply topic" name="MqttDevice subscribeOnMessage should subscribe on setReply$ observable when subscribing on set_reply topic" time="0.001">
|
|
713
|
+
</testcase>
|
|
714
|
+
</testsuite>
|
|
715
|
+
<testsuite name="AccessoryInformationService" errors="0" failures="0" skipped="0" timestamp="2024-09-24T13:37:39" time="0.315" tests="5">
|
|
716
|
+
<testcase classname="AccessoryInformationService initialize should throw error when trying to access non initialized service" name="AccessoryInformationService initialize should throw error when trying to access non initialized service" time="0.003">
|
|
717
|
+
</testcase>
|
|
718
|
+
<testcase classname="AccessoryInformationService initialize should add AccessoryInformation service when it is not added to accessory yet" name="AccessoryInformationService initialize should add AccessoryInformation service when it is not added to accessory yet" time="0.002">
|
|
719
|
+
</testcase>
|
|
720
|
+
<testcase classname="AccessoryInformationService initialize should use existing AccessoryInformation service when it is already added to accessory" name="AccessoryInformationService initialize should use existing AccessoryInformation service when it is already added to accessory" time="0">
|
|
721
|
+
</testcase>
|
|
722
|
+
<testcase classname="AccessoryInformationService initialize should add information characteristics when initializing accessory" name="AccessoryInformationService initialize should add information characteristics when initializing accessory" time="0.001">
|
|
723
|
+
</testcase>
|
|
724
|
+
<testcase classname="AccessoryInformationService cleanupCharacteristics should remove non registered characteristics when cleanup characteristics is called" name="AccessoryInformationService cleanupCharacteristics should remove non registered characteristics when cleanup characteristics is called" time="0.001">
|
|
725
|
+
</testcase>
|
|
726
|
+
</testsuite>
|
|
727
|
+
<testsuite name="MockMqttClient" errors="0" failures="0" skipped="0" timestamp="2024-09-24T13:37:39" time="1.5" tests="11">
|
|
728
|
+
<testcase classname="MockMqttClient initialize should mock connection when create new instance of mock mqtt client" name="MockMqttClient initialize should mock connection when create new instance of mock mqtt client" time="0.003">
|
|
729
|
+
</testcase>
|
|
730
|
+
<testcase classname="MockMqttClient endAsync should do nothing when ending connection and there were no subscribeAsync calls" name="MockMqttClient endAsync should do nothing when ending connection and there were no subscribeAsync calls" time="0.151">
|
|
731
|
+
</testcase>
|
|
732
|
+
<testcase classname="MockMqttClient endAsync should stop emitting quota when ending connection and there was subscription to quota topic" name="MockMqttClient endAsync should stop emitting quota when ending connection and there was subscription to quota topic" time="0.402">
|
|
733
|
+
</testcase>
|
|
734
|
+
<testcase classname="MockMqttClient subscribeAsync should return empty array of subscriptions when subscribeAsync is called" name="MockMqttClient subscribeAsync should return empty array of subscriptions when subscribeAsync is called" time="0">
|
|
735
|
+
</testcase>
|
|
736
|
+
<testcase classname="MockMqttClient subscribeAsync should emit quota when there was subscription to quota topic" name="MockMqttClient subscribeAsync should emit quota when there was subscription to quota topic" time="0.251">
|
|
737
|
+
</testcase>
|
|
738
|
+
<testcase classname="MockMqttClient subscribeAsync should emit quota from simulator when there was subscription to quota topic" name="MockMqttClient subscribeAsync should emit quota from simulator when there was subscription to quota topic" time="0.153">
|
|
739
|
+
</testcase>
|
|
740
|
+
<testcase classname="MockMqttClient subscribeAsync should not emit quota when there was no subscription to quota topic" name="MockMqttClient subscribeAsync should not emit quota when there was no subscription to quota topic" time="0.252">
|
|
741
|
+
</testcase>
|
|
742
|
+
<testcase classname="MockMqttClient publishAsync should not emit set_reply message when simulator is not defined" name="MockMqttClient publishAsync should not emit set_reply message when simulator is not defined" time="0.001">
|
|
743
|
+
</testcase>
|
|
744
|
+
<testcase classname="MockMqttClient publishAsync should not emit set_reply message when publishing to unknown topic" name="MockMqttClient publishAsync should not emit set_reply message when publishing to unknown topic" time="0.001">
|
|
745
|
+
</testcase>
|
|
746
|
+
<testcase classname="MockMqttClient publishAsync should not emit set_reply message when there is no subscription for set_reply topic" name="MockMqttClient publishAsync should not emit set_reply message when there is no subscription for set_reply topic" time="0.001">
|
|
747
|
+
</testcase>
|
|
748
|
+
<testcase classname="MockMqttClient publishAsync should emit set_reply message when there is subscription for set_reply topic" name="MockMqttClient publishAsync should emit set_reply message when there is subscription for set_reply topic" time="0.004">
|
|
749
|
+
</testcase>
|
|
750
|
+
</testsuite>
|
|
751
|
+
<testsuite name="index" errors="0" failures="0" skipped="0" timestamp="2024-09-24T13:37:40" time="0.585" tests="3">
|
|
752
|
+
<testcase classname="index should set function to window object when reference to file is loaded" name="index should set function to window object when reference to file is loaded" time="0.001">
|
|
753
|
+
</testcase>
|
|
754
|
+
<testcase classname="index renderEcoFlowPluginConfig should create renderer with name and devices sub-renderers when is called" name="index renderEcoFlowPluginConfig should create renderer with name and devices sub-renderers when is called" time="0.023">
|
|
755
|
+
</testcase>
|
|
756
|
+
<testcase classname="index renderEcoFlowPluginConfig should call settings manager render when is called" name="index renderEcoFlowPluginConfig should call settings manager render when is called" time="0.002">
|
|
757
|
+
</testcase>
|
|
758
|
+
</testsuite>
|
|
759
|
+
<testsuite name="customCharacteristic" errors="0" failures="0" skipped="0" timestamp="2024-09-24T13:37:40" time="0.335" tests="6">
|
|
760
|
+
<testcase classname="customCharacteristic InputConsumptionWattFactory should initialize UUID of characteristic" name="customCharacteristic InputConsumptionWattFactory should initialize UUID of characteristic" time="0.002">
|
|
761
|
+
</testcase>
|
|
762
|
+
<testcase classname="customCharacteristic InputConsumptionWattFactory should use proper default value during initialization of characteristic" name="customCharacteristic InputConsumptionWattFactory should use proper default value during initialization of characteristic" time="0">
|
|
763
|
+
</testcase>
|
|
764
|
+
<testcase classname="customCharacteristic InputConsumptionWattFactory should create characteristic with correct properties" name="customCharacteristic InputConsumptionWattFactory should create characteristic with correct properties" time="0">
|
|
765
|
+
</testcase>
|
|
766
|
+
<testcase classname="customCharacteristic OutputConsumptionWattFactory should initialize UUID of characteristic" name="customCharacteristic OutputConsumptionWattFactory should initialize UUID of characteristic" time="0">
|
|
767
|
+
</testcase>
|
|
768
|
+
<testcase classname="customCharacteristic OutputConsumptionWattFactory should use proper default value during initialization of characteristic" name="customCharacteristic OutputConsumptionWattFactory should use proper default value during initialization of characteristic" time="0">
|
|
769
|
+
</testcase>
|
|
770
|
+
<testcase classname="customCharacteristic OutputConsumptionWattFactory should create characteristic with correct properties" name="customCharacteristic OutputConsumptionWattFactory should create characteristic with correct properties" time="0">
|
|
771
|
+
</testcase>
|
|
772
|
+
</testsuite>
|
|
773
|
+
<testsuite name="Logger" errors="0" failures="0" skipped="0" timestamp="2024-09-24T13:37:40" time="0.17" tests="7">
|
|
774
|
+
<testcase classname="Logger prefix should return origin prefix when is requested" name="Logger prefix should return origin prefix when is requested" time="0.001">
|
|
775
|
+
</testcase>
|
|
776
|
+
<testcase classname="Logger info should add device name as prefix and call origin method when is called" name="Logger info should add device name as prefix and call origin method when is called" time="0.003">
|
|
777
|
+
</testcase>
|
|
778
|
+
<testcase classname="Logger success should add device name as prefix and call origin method when is called" name="Logger success should add device name as prefix and call origin method when is called" time="0">
|
|
779
|
+
</testcase>
|
|
780
|
+
<testcase classname="Logger warn should add device name as prefix and call origin method when is called" name="Logger warn should add device name as prefix and call origin method when is called" time="0">
|
|
781
|
+
</testcase>
|
|
782
|
+
<testcase classname="Logger error should add device name as prefix and call origin method when is called" name="Logger error should add device name as prefix and call origin method when is called" time="0">
|
|
783
|
+
</testcase>
|
|
784
|
+
<testcase classname="Logger debug should add device name as prefix and call origin method when is called" name="Logger debug should add device name as prefix and call origin method when is called" time="0">
|
|
785
|
+
</testcase>
|
|
786
|
+
<testcase classname="Logger log should add device name as prefix and call origin method when is called" name="Logger log should add device name as prefix and call origin method when is called" time="0">
|
|
787
|
+
</testcase>
|
|
788
|
+
</testsuite>
|
|
789
|
+
<testsuite name="MachineIdProvider" errors="0" failures="0" skipped="0" timestamp="2024-09-24T13:37:41" time="0.146" tests="3">
|
|
790
|
+
<testcase classname="MachineIdProvider getMachineId should return valid machineId when there are no issues" name="MachineIdProvider getMachineId should return valid machineId when there are no issues" time="0.001">
|
|
791
|
+
</testcase>
|
|
792
|
+
<testcase classname="MachineIdProvider getMachineId should return UUID when it is not possible to get machineId" name="MachineIdProvider getMachineId should return UUID when it is not possible to get machineId" time="0">
|
|
793
|
+
</testcase>
|
|
794
|
+
<testcase classname="MachineIdProvider getMachineId should log error when it is not possible to get machineId" name="MachineIdProvider getMachineId should log error when it is not possible to get machineId" time="0">
|
|
795
|
+
</testcase>
|
|
796
|
+
</testsuite>
|
|
797
|
+
<testsuite name="PluginConfigRenderer" errors="0" failures="0" skipped="0" timestamp="2024-09-24T13:37:41" time="0.153" tests="2">
|
|
798
|
+
<testcase classname="PluginConfigRenderer render should call sub-renderers one render is called" name="PluginConfigRenderer render should call sub-renderers one render is called" time="0.006">
|
|
799
|
+
</testcase>
|
|
800
|
+
<testcase classname="PluginConfigRenderer render should initialize configuration inside context wgen it is not defined" name="PluginConfigRenderer render should initialize configuration inside context wgen it is not defined" time="0">
|
|
801
|
+
</testcase>
|
|
802
|
+
</testsuite>
|
|
803
|
+
<testsuite name="DeviceInfo" errors="0" failures="0" skipped="0" timestamp="2024-09-24T13:37:41" time="0.134" tests="2">
|
|
804
|
+
<testcase classname="DeviceInfo connectionKey should initialize connectionKey when creating device info" name="DeviceInfo connectionKey should initialize connectionKey when creating device info" time="0.001">
|
|
805
|
+
</testcase>
|
|
806
|
+
<testcase classname="DeviceInfo accessKey should initialize accessKey when creating device info" name="DeviceInfo accessKey should initialize accessKey when creating device info" time="0">
|
|
807
|
+
</testcase>
|
|
808
|
+
</testsuite>
|
|
809
|
+
<testsuite name="index" errors="0" failures="0" skipped="0" timestamp="2024-09-24T13:37:41" time="0.343" tests="1">
|
|
810
|
+
<testcase classname="index should return origin prefix when is requested" name="index should return origin prefix when is requested" time="0.001">
|
|
811
|
+
</testcase>
|
|
812
|
+
</testsuite>
|
|
813
|
+
<testsuite name="ComponentRenderer" errors="0" failures="0" skipped="0" timestamp="2024-09-24T13:37:40" time="2.308" tests="11">
|
|
814
|
+
<testcase classname="ComponentRenderer renderTextBox should render a textbox with required attribute when schema contains required attribute set to true" name="ComponentRenderer renderTextBox should render a textbox with required attribute when schema contains required attribute set to true" time="0.02">
|
|
815
|
+
</testcase>
|
|
816
|
+
<testcase classname="ComponentRenderer renderTextBox should render a textbox without required attribute when schema does not contain required attribute" name="ComponentRenderer renderTextBox should render a textbox without required attribute when schema does not contain required attribute" time="0.005">
|
|
817
|
+
</testcase>
|
|
818
|
+
<testcase classname="ComponentRenderer renderTextBox should render a textbox with placeholder attribute when schema does not contain description attribute" name="ComponentRenderer renderTextBox should render a textbox with placeholder attribute when schema does not contain description attribute" time="0.004">
|
|
819
|
+
</testcase>
|
|
820
|
+
<testcase classname="ComponentRenderer renderTextBox should set value of textbox when rendering" name="ComponentRenderer renderTextBox should set value of textbox when rendering" time="0.002">
|
|
821
|
+
</testcase>
|
|
822
|
+
<testcase classname="ComponentRenderer renderTextBox should call onChangeCallback with the new value when the textbox value changes" name="ComponentRenderer renderTextBox should call onChangeCallback with the new value when the textbox value changes" time="0.004">
|
|
823
|
+
</testcase>
|
|
824
|
+
<testcase classname="ComponentRenderer renderTextBox should call onChangeCallback with the new undefined value when the textbox value changes to undefined" name="ComponentRenderer renderTextBox should call onChangeCallback with the new undefined value when the textbox value changes to undefined" time="0.002">
|
|
825
|
+
</testcase>
|
|
826
|
+
<testcase classname="ComponentRenderer renderDropDown should render a dropdown with required attribute when schema contains required attribute set to true" name="ComponentRenderer renderDropDown should render a dropdown with required attribute when schema contains required attribute set to true" time="0.005">
|
|
827
|
+
</testcase>
|
|
828
|
+
<testcase classname="ComponentRenderer renderDropDown should render a dropdown without required attribute when schema does not contain required attribute" name="ComponentRenderer renderDropDown should render a dropdown without required attribute when schema does not contain required attribute" time="0.003">
|
|
829
|
+
</testcase>
|
|
830
|
+
<testcase classname="ComponentRenderer renderDropDown should set value of dropdown when rendering" name="ComponentRenderer renderDropDown should set value of dropdown when rendering" time="0.004">
|
|
831
|
+
</testcase>
|
|
832
|
+
<testcase classname="ComponentRenderer renderDropDown should call onChangeCallback with the new value when the dropdown value changes" name="ComponentRenderer renderDropDown should call onChangeCallback with the new value when the dropdown value changes" time="0.003">
|
|
833
|
+
</testcase>
|
|
834
|
+
<testcase classname="ComponentRenderer renderDropDown should call onChangeCallback with the new undefined value when the dropdown value changes to undefined" name="ComponentRenderer renderDropDown should call onChangeCallback with the new undefined value when the dropdown value changes to undefined" time="0.004">
|
|
835
|
+
</testcase>
|
|
836
|
+
</testsuite>
|
|
837
|
+
<testsuite name="PluginConfigNameRenderer" errors="0" failures="0" skipped="0" timestamp="2024-09-24T13:37:41" time="1.632" tests="2">
|
|
838
|
+
<testcase classname="PluginConfigNameRenderer render should render a textbox for name property when is called" name="PluginConfigNameRenderer render should render a textbox for name property when is called" time="0.009">
|
|
839
|
+
</testcase>
|
|
840
|
+
<testcase classname="PluginConfigNameRenderer render should updatePluginConfig when value of textbox is changed" name="PluginConfigNameRenderer render should updatePluginConfig when value of textbox is changed" time="0.01">
|
|
841
|
+
</testcase>
|
|
842
|
+
</testsuite>
|
|
843
|
+
</testsuites>
|