Skip to content

Commit

Permalink
Update test cases
Browse files Browse the repository at this point in the history
- Fix time test cases
- Add test for date
  • Loading branch information
forslund committed Apr 25, 2018
1 parent ae307a9 commit e6247a7
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 10 deletions.
8 changes: 5 additions & 3 deletions test/intent/sample1.intent.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
{
"utterance": "what time is it",
"intent_type": "TimeIntent",
"intent_type": "handle_query_time",
"intent": {
"TimeKeyword": "what time is it"
}
"Time": "time",
"Query": "what"
},
"expected_dialog": "time.current"
}
8 changes: 5 additions & 3 deletions test/intent/sample2.intent.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
{
"utterance": "whats the time",
"intent_type": "TimeIntent",
"intent_type": "handle_query_time",
"intent": {
"TimeKeyword": "whats the time"
}
"Time": "time",
"Query": "what"
},
"expected_dialog": "time.current"
}
10 changes: 6 additions & 4 deletions test/intent/sample3.intent.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
{
"utterance": "time is it",
"intent_type": "TimeIntent",
"utterance": "whats the date",
"intent_type": "handle_query_date",
"intent": {
"TimeKeyword": "time is it"
}
"Date": "date",
"Query": "what"
},
"expected_dialog": "date"
}

0 comments on commit e6247a7

Please sign in to comment.