This commit aims only at correcting building system and adding unit-test framework. Existing test cases (ChronoSync) are disabled temporarily and will be fixed later. Minimum changes are made, so that the code can be built successfully. Compiling warnings will be resolved in a later commit. Refs: #1495 Change-Id: Ibf7119bbd77b6307cb58bbee47b61d7a7312df98
25 lines
339 B
Protocol Buffer
25 lines
339 B
Protocol Buffer
package Sync;
|
|
|
|
message SyncState
|
|
{
|
|
required string name = 1;
|
|
enum ActionType
|
|
{
|
|
UPDATE = 0;
|
|
DELETE = 1;
|
|
OTHER = 2;
|
|
}
|
|
required ActionType type = 2;
|
|
message SeqNo
|
|
{
|
|
required uint64 seq = 1;
|
|
required uint64 session = 2;
|
|
}
|
|
optional SeqNo seqno = 3;
|
|
}
|
|
|
|
message SyncStateMsg
|
|
{
|
|
repeated SyncState ss = 1;
|
|
}
|