blob: c45f00fb4b408dc5fa0a38acef0afb23707b5a7f (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
// Copyright 2017 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
// @author Vegard Sjonfjell
#pragma once
#include "messages51test.h"
class Messages52Test : public Messages51Test {
protected:
const vespalib::Version getVersion() const override { return vespalib::Version(5, 115, 0); }
public:
Messages52Test();
bool testPutDocumentMessage();
bool testUpdateDocumentMessage();
bool testRemoveDocumentMessage();
private:
static size_t serializedLength(const string & str) {
return sizeof(int32_t) + str.size();
}
};
|