Exemplo n.º 1
0
        public async void GetAvailableRuleOutputsAsyncTest()
        {
            var ret = await _actionMappingLogic.GetAvailableRuleOutputsAsync();

            Assert.NotNull(ret);
            Assert.Equal(2, ret.Count);
            Assert.Equal("AlarmTemp", ret[0]);
            Assert.Equal("AlarmWaterLevel", ret[1]);
        }
Exemplo n.º 2
0
        public async void GetAvailableRuleOutputsAsyncTest()
        {
            var ret = await _actionMappingLogic.GetAvailableRuleOutputsAsync();

            Assert.NotNull(ret);
            Assert.Equal(2, ret.Count);
            Assert.Equal("AlarmTEMP", ret[0]);
            Assert.Equal("AlarmREAL_TPM", ret[1]);
            Assert.Equal("AlarmFRONT_TPM", ret[2]);
        }