-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsmartroomtest.robot
55 lines (53 loc) · 2.8 KB
/
smartroomtest.robot
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
* Settings *
Library OperatingSystem
Library String
Variables smartroomtest.py
* Test Cases *
Configuration File
Should Exist smartroom.yaml Luna's config file is missing
${wake_word} Convert To Uppercase ${luna.configurations["DEFAULT_WAKE_WORD"]}
Should Be Equal LUNA ${wake_word} Luna's wake word is not configured properly
${microphone} Convert To Uppercase ${luna.configurations["MICROPHONE_MODEL_NAME"]}
Should Be Equal RESPEAKER 4 MIC ARRAY ${microphone} Luna's microphone is not configured properly
Should Be Equal '3' '${luna.configurations["COMMANDS"]["BAOS"]}' Luna's KNX command is not configured properly
# TestPerformNaiveBayes2
# ${luna.text} Set Variable please turn off the lights
# log to console ${luna.polarities}
# TestPerformNaiveBayes3
# ${luna.text} Set Variable please don't turn on the lights
# log to console ${luna.polarities}
# TestPerformNaiveBayes4
# ${luna.text} Set Variable please do not turn on the lights
# log to console ${luna.polarities}
# TestPerformNaiveBayes5
# ${luna.text} Set Variable please turn on and off the lights
# log to console ${luna.polarities}
# TestBuildTrainingData1
# ${luna.text} set Variable please turn off the lights
# TestBuildTrainingData2
# ${luna.text} set Variable please turn off the lights
# TestConvertSpeechToText1
# ${luna.text} set Variable please don't turn off the lights
# TestConvertSpeechToText2
# ${luna.text} set Variable please don't turn off the lights
# TestGetmicrophoneindex1
# ${luna.text} set Variable please do not turn on the lights
# TestGetmicrophoneindex2
# ${luna.text} set Variable please do not turn on the lights
# TestPerformClassification1
# ${luna.text} set Variable please do not turn on the lights
# TestPerformClassification2
# ${luna.text} set Variable please do not turn on the lights
# TestPerformRequest1
# ${luna.text} set Variable please do not turn on the lights
# TestPerformRequest2
# ${luna.text} set Variable please do not turn on the lights
# Testwaitforwakeword1
# ${luna.text} set Variable please do not turn on the lights
# ${luna.wait_for_wake_word} get Variable value ${luna.wait_for_wake_word}
# Should Be Equal ${luna.wait_for_wake_word} ${luna.text}
# Testwaitforwakeword2
# [arguments] ${luna.text} ${luna.wait_for_wake_word}
# ${luna.text} set Variable luna
# ${luna.wait_for_wake_word} set Variable luna
# Should Be Equal as strings ${luna.wait_for_wake_word} ${luna.text}