Skip to content

Commit

Permalink
Merge pull request #609 from dimagi/dm/more-case-index-tests
Browse files Browse the repository at this point in the history
Add some more tests and remove duplicates
  • Loading branch information
wpride authored Jul 12, 2017
2 parents 8145c8a + 0faea8b commit 6a5d430
Showing 1 changed file with 57 additions and 34 deletions.
91 changes: 57 additions & 34 deletions src/test/resources/case_relationship_tests.json
Original file line number Diff line number Diff line change
Expand Up @@ -635,40 +635,6 @@
],
"outcome": []
},
{
"name": "owned_closed_open_extension",
"owned": [
"a"
],
"extensions": [
[
"a",
"b"
]
],
"closed": [
"b"
],
"outcome": []
},
{
"name": "closed_extension",
"owned": [
"a"
],
"extensions": [
[
"e",
"a"
]
],
"closed": [
"e"
],
"outcome": [
"a"
]
},
{
"name": "Broken_Extension_Chain",
"owned": [
Expand Down Expand Up @@ -826,5 +792,62 @@
"outcome": [
"a"
]
},
{
"name": "parent_of_host_of_owned_extension_with_other_host",
"skip": "fails due to bad sync log before running test",
"owned": [
"d"
],
"subcases": [
["c", "e"]
],
"extensions": [
["d", "a"],
["d", "c"]
],
"outcome": [
"d", "a", "c", "e"
]
},
{
"name": "closed_parent_double_index",
"owned": [
"d"
],
"closed": [
"a"
],
"subcases": [
["b", "a"]
],
"extensions": [
["b", "a"],
["c", "b"],
["d", "b"]
],
"outcome": [
"a", "b", "c", "d"
]
},
{
"name": "unowned_child_with_closed_extension_chain",
"owned": [
"a", "e"
],
"closed": [
"d"
],
"subcases": [
["a", "b"],
["c", "b"]
],
"extensions": [
["d", "c"],
["e", "d"]
],
"outcome": [
"a", "b"
]
}
]

0 comments on commit 6a5d430

Please sign in to comment.