Skip to content

Commit

Permalink
Add minimal backup data to remaining tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
greyson-signal authored Jul 25, 2024
1 parent 07ec846 commit 84cc3a0
Show file tree
Hide file tree
Showing 16 changed files with 172 additions and 56 deletions.
Binary file modified test-cases/expiration-timer-chat-update-message.binproto
Binary file not shown.
18 changes: 16 additions & 2 deletions test-cases/expiration-timer-chat-update-message.jsonproto
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,20 @@
{
"recipient": {
"id": "3",
"distributionList": {
"distributionId": "AAAAAAAAAAAAAAAAAAAAAA==",
"distributionList": {
"allowReplies": true,
"memberRecipientIds": [],
"name": "My Story",
"privacyMode": "ALL"
}
}
}
},
{
"recipient": {
"id": "4",
"contact": {
"aci": "X4xWjQEZR72BqruHybcZlQ==",
"profileKey": "YtHHVK+Wo4nPcVpWhC3roMEDu2Tw6kYc9JpLRMq1Q94=",
Expand All @@ -60,12 +74,12 @@
{
"chat": {
"id": "1",
"recipientId": "3"
"recipientId": "4"
}
},
{
"chatItem": {
"authorId": "3",
"authorId": "4",
"chatId": "1",
"dateSent": "1",
"directionless": {},
Expand Down
Binary file modified test-cases/profile-change-chat-update-message.binproto
Binary file not shown.
18 changes: 16 additions & 2 deletions test-cases/profile-change-chat-update-message.jsonproto
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,20 @@
{
"recipient": {
"id": "3",
"distributionList": {
"distributionId": "AAAAAAAAAAAAAAAAAAAAAA==",
"distributionList": {
"allowReplies": true,
"memberRecipientIds": [],
"name": "My Story",
"privacyMode": "ALL"
}
}
}
},
{
"recipient": {
"id": "4",
"contact": {
"aci": "X4xWjQEZR72BqruHybcZlQ==",
"profileKey": "YtHHVK+Wo4nPcVpWhC3roMEDu2Tw6kYc9JpLRMq1Q94=",
Expand All @@ -60,12 +74,12 @@
{
"chat": {
"id": "1",
"recipientId": "3"
"recipientId": "4"
}
},
{
"chatItem": {
"authorId": "3",
"authorId": "4",
"chatId": "1",
"dateSent": "1",
"directionless": {},
Expand Down
Binary file modified test-cases/registered-blocked-contact.binproto
Binary file not shown.
22 changes: 21 additions & 1 deletion test-cases/registered-blocked-contact.jsonproto
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,26 @@
{
"recipient": {
"id": "2",
"releaseNotes": {}
}
},
{
"recipient": {
"id": "3",
"distributionList": {
"distributionId": "AAAAAAAAAAAAAAAAAAAAAA==",
"distributionList": {
"allowReplies": true,
"memberRecipientIds": [],
"name": "My Story",
"privacyMode": "ALL"
}
}
}
},
{
"recipient": {
"id": "4",
"contact": {
"aci": "QHaZXgUxQEKp5B5np33zWA==",
"pni": "JvwCorpYSn2wgZ2iOXFXCg==",
Expand All @@ -64,7 +84,7 @@
{
"chat": {
"id": "2",
"recipientId": "2"
"recipientId": "4"
}
}
]
Binary file modified test-cases/session-switchover-chat-update-message.binproto
Binary file not shown.
18 changes: 16 additions & 2 deletions test-cases/session-switchover-chat-update-message.jsonproto
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,20 @@
{
"recipient": {
"id": "3",
"distributionList": {
"distributionId": "AAAAAAAAAAAAAAAAAAAAAA==",
"distributionList": {
"allowReplies": true,
"memberRecipientIds": [],
"name": "My Story",
"privacyMode": "ALL"
}
}
}
},
{
"recipient": {
"id": "4",
"contact": {
"aci": "X4xWjQEZR72BqruHybcZlQ==",
"profileKey": "YtHHVK+Wo4nPcVpWhC3roMEDu2Tw6kYc9JpLRMq1Q94=",
Expand All @@ -60,12 +74,12 @@
{
"chat": {
"id": "1",
"recipientId": "3"
"recipientId": "4"
}
},
{
"chatItem": {
"authorId": "3",
"authorId": "4",
"chatId": "1",
"dateSent": "1",
"directionless": {},
Expand Down
Binary file modified test-cases/simple-chat-update-message.binproto
Binary file not shown.
40 changes: 27 additions & 13 deletions test-cases/simple-chat-update-message.jsonproto
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,20 @@
{
"recipient": {
"id": "3",
"distributionList": {
"distributionId": "AAAAAAAAAAAAAAAAAAAAAA==",
"distributionList": {
"allowReplies": true,
"memberRecipientIds": [],
"name": "My Story",
"privacyMode": "ALL"
}
}
}
},
{
"recipient": {
"id": "4",
"contact": {
"aci": "X4xWjQEZR72BqruHybcZlQ==",
"profileKey": "YtHHVK+Wo4nPcVpWhC3roMEDu2Tw6kYc9JpLRMq1Q94=",
Expand All @@ -64,16 +78,16 @@
"recipientId": "2"
}
},
// 1:1 chat with Contact recipient 3
// 1:1 chat with Contact recipient 4
{
"chat": {
"id": "2",
"recipientId": "3"
"recipientId": "4"
}
},
{
"chatItem": {
"authorId": "3",
"authorId": "4",
"chatId": "2",
"dateSent": "1",
"directionless": {},
Expand All @@ -86,7 +100,7 @@
},
{
"chatItem": {
"authorId": "3",
"authorId": "4",
"chatId": "2",
"dateSent": "2",
"directionless": {},
Expand All @@ -99,7 +113,7 @@
},
{
"chatItem": {
"authorId": "3",
"authorId": "4",
"chatId": "2",
"dateSent": "3",
"directionless": {},
Expand All @@ -112,7 +126,7 @@
},
{
"chatItem": {
"authorId": "3",
"authorId": "4",
"chatId": "2",
"dateSent": "4",
"directionless": {},
Expand All @@ -138,7 +152,7 @@
},
{
"chatItem": {
"authorId": "3",
"authorId": "4",
"chatId": "2",
"dateSent": "6",
"directionless": {},
Expand All @@ -151,7 +165,7 @@
},
{
"chatItem": {
"authorId": "3",
"authorId": "4",
"chatId": "2",
"dateSent": "7",
"directionless": {},
Expand All @@ -164,7 +178,7 @@
},
{
"chatItem": {
"authorId": "3",
"authorId": "4",
"chatId": "2",
"dateSent": "8",
"directionless": {},
Expand All @@ -177,7 +191,7 @@
},
{
"chatItem": {
"authorId": "3",
"authorId": "4",
"chatId": "2",
"dateSent": "9",
"directionless": {},
Expand All @@ -190,7 +204,7 @@
},
{
"chatItem": {
"authorId": "3",
"authorId": "4",
"chatId": "2",
"dateSent": "10",
"directionless": {},
Expand All @@ -216,7 +230,7 @@
},
{
"chatItem": {
"authorId": "3",
"authorId": "4",
"chatId": "2",
"dateSent": "12",
"directionless": {},
Expand All @@ -242,7 +256,7 @@
},
{
"chatItem": {
"authorId": "3",
"authorId": "4",
"chatId": "2",
"dateSent": "14",
"directionless": {},
Expand Down
Binary file modified test-cases/story-distribution-list.binproto
Binary file not shown.
Loading

0 comments on commit 84cc3a0

Please sign in to comment.