Skip to content

Commit

Permalink
Refs #20165: Removed sending and receiving samples
Browse files Browse the repository at this point in the history
Signed-off-by: adriancampo <adriancampo@eprosima.com>
  • Loading branch information
adriancampo committed Jan 31, 2024
1 parent 3383f5d commit 3bbfca2
Show file tree
Hide file tree
Showing 17 changed files with 177 additions and 380 deletions.
16 changes: 7 additions & 9 deletions test/dds/xtypes/Case0.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,22 +2,20 @@
"description": "Case 1: Subscriber knows TypeNoTypeObject, Publisher knows Type1.",
"participants": [
{
"kind": "subscriber",
"kind": "publisher",
"samples": "10",
"timeout": "5",
"expected_matches": "2",
"timeout": "3",
"expected_matches": "0",
"known_types": [
"TypeNoTypeObject"
]
},
{
"kind": "publisher",
"kind": "subscriber",
"samples": "10",
"timeout": "5",
"expected_matches": "2",
"known_types": [
"Type1"
]
"timeout": "3",
"expected_matches": "1",
"known_types": []
}
]
}
8 changes: 4 additions & 4 deletions test/dds/xtypes/Case1.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,18 +2,18 @@
"description": "Case 1: Subscriber knows Type1, Publisher knows Type1.",
"participants": [
{
"kind": "subscriber",
"kind": "publisher",
"samples": "10",
"timeout": "5",
"timeout": "3",
"expected_matches": "1",
"known_types": [
"Type1"
]
},
{
"kind": "publisher",
"kind": "subscriber",
"samples": "10",
"timeout": "5",
"timeout": "3",
"expected_matches": "1",
"known_types": [
"Type1"
Expand Down
15 changes: 7 additions & 8 deletions test/dds/xtypes/Case10.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,29 +2,28 @@
"description": "Case 10: Publisher knows Type1 and Type2, Subscriber1 knows Type1, Subscriber2 knows Type1 and Type2.",
"participants": [
{
"kind": "subscriber",
"kind": "publisher",
"samples": "10",
"timeout": "5",
"timeout": "3",
"expected_matches": "2",
"known_types": [
"Type1",
"Type2"
]
},
{
"kind": "subscriber",
"kind": "publisher",
"samples": "10",
"timeout": "5",
"timeout": "3",
"expected_matches": "2",
"known_types": [
"Type1"
]
},
{
"kind": "publisher",
"kind": "subscriber",
"samples": "10",
"timeout": "5",
"expected_matches": "4",
"timeout": "3",
"expected_matches": "2",
"known_types": [
"Type1",
"Type2"
Expand Down
19 changes: 8 additions & 11 deletions test/dds/xtypes/Case2.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,23 +2,20 @@
"description": "Case 2: Subscriber knows Type1 and Type2, Publisher knows Type1.",
"participants": [
{
"kind": "subscriber",
"kind": "publisher",
"samples": "10",
"timeout": "5",
"expected_matches": "2",
"timeout": "3",
"expected_matches": "0",
"known_types": [
"Type1",
"Type2"
"Type1"
]
},
{
"kind": "publisher",
"kind": "subscriber",
"samples": "10",
"timeout": "5",
"expected_matches": "2",
"known_types": [
"Type1"
]
"timeout": "3",
"expected_matches": "1",
"known_types": []
}
]
}
12 changes: 6 additions & 6 deletions test/dds/xtypes/Case3.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,19 +2,19 @@
"description": "Case 3: Subscriber knows Type1, Publisher knows Type2.",
"participants": [
{
"kind": "subscriber",
"kind": "publisher",
"samples": "10",
"timeout": "5",
"expected_matches": "2",
"timeout": "3",
"expected_matches": "1",
"known_types": [
"Type1"
]
},
{
"kind": "publisher",
"kind": "subscriber",
"samples": "10",
"timeout": "5",
"expected_matches": "2",
"timeout": "3",
"expected_matches": "1",
"known_types": [
"Type2"
]
Expand Down
12 changes: 6 additions & 6 deletions test/dds/xtypes/Case4.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,20 +2,20 @@
"description": "Case 4: Subscriber knows Type1 and Type2, Publisher knows Type1 and Type3.",
"participants": [
{
"kind": "subscriber",
"kind": "publisher",
"samples": "10",
"timeout": "5",
"expected_matches": "3",
"timeout": "3",
"expected_matches": "2",
"known_types": [
"Type1",
"Type2"
]
},
{
"kind": "publisher",
"kind": "subscriber",
"samples": "10",
"timeout": "5",
"expected_matches": "3",
"timeout": "3",
"expected_matches": "2",
"known_types": [
"Type1",
"Type3"
Expand Down
8 changes: 4 additions & 4 deletions test/dds/xtypes/Case5.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,19 +2,19 @@
"description": "Case 5: Subscriber knows Type1 and Type2, Publisher knows Type1 and Type2.",
"participants": [
{
"kind": "subscriber",
"kind": "publisher",
"samples": "10",
"timeout": "5",
"timeout": "3",
"expected_matches": "2",
"known_types": [
"Type1",
"Type2"
]
},
{
"kind": "publisher",
"kind": "subscriber",
"samples": "10",
"timeout": "5",
"timeout": "3",
"expected_matches": "2",
"known_types": [
"Type1",
Expand Down
17 changes: 7 additions & 10 deletions test/dds/xtypes/Case6.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,23 +2,20 @@
"description": "Case 6: Subscriber knows Type1 and TypeDep, Publisher knows Type1 ",
"participants": [
{
"kind": "subscriber",
"kind": "publisher",
"samples": "10",
"timeout": "5",
"expected_matches": "2",
"timeout": "3",
"expected_matches": "0",
"known_types": [
"Type1",
"TypeDep"
]
},
{
"kind": "publisher",
"kind": "subscriber",
"samples": "10",
"timeout": "5",
"expected_matches": "2",
"known_types": [
"Type1"
]
"timeout": "3",
"expected_matches": "1",
"known_types": []
}
]
}
17 changes: 7 additions & 10 deletions test/dds/xtypes/Case7.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,23 +2,20 @@
"description": "Case 7: Subscriber knows Type1 and TypeBig, Publisher knows Type1 ",
"participants": [
{
"kind": "subscriber",
"kind": "publisher",
"samples": "10",
"timeout": "5",
"expected_matches": "2",
"timeout": "3",
"expected_matches": "0",
"known_types": [
"Type1",
"TypeBig"
]
},
{
"kind": "publisher",
"kind": "subscriber",
"samples": "10",
"timeout": "5",
"expected_matches": "2",
"known_types": [
"Type1"
]
"timeout": "3",
"expected_matches": "1",
"known_types": []
}
]
}
23 changes: 11 additions & 12 deletions test/dds/xtypes/Case8.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,17 +4,8 @@
{
"kind": "publisher",
"samples": "3",
"timeout": "5",
"expected_matches": "100",
"known_types": [
"Type1"
]
},
{
"kind": "subscriber",
"samples": "3",
"timeout": "5",
"expected_matches": "100",
"timeout": "10",
"expected_matches": "50",
"known_types": [
"Type1",
"Type2",
Expand Down Expand Up @@ -65,7 +56,15 @@
"Type47",
"Type48",
"Type49",
"Type50",
"Type50"
]
},
{
"kind": "subscriber",
"samples": "3",
"timeout": "10",
"expected_matches": "50",
"known_types": [
"Type51",
"Type52",
"Type53",
Expand Down
21 changes: 8 additions & 13 deletions test/dds/xtypes/Case9.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,28 +4,23 @@
{
"kind": "publisher",
"samples": "10",
"timeout": "5",
"expected_matches": "2",
"known_types": [
"Type1"
]
"timeout": "3",
"expected_matches": "1",
"known_types": []
},
{
"kind": "publisher",
"samples": "10",
"timeout": "5",
"expected_matches": "2",
"known_types": [
"Type1"
]
"timeout": "3",
"expected_matches": "1",
"known_types": []
},
{
"kind": "subscriber",
"samples": "10",
"timeout": "5",
"expected_matches": "4",
"timeout": "3",
"expected_matches": "0",
"known_types": [
"Type1",
"Type2"
]
}
Expand Down
Loading

0 comments on commit 3bbfca2

Please sign in to comment.