aboutsummaryrefslogtreecommitdiffstats
path: root/storage/src/tests/distributor/mapbucketdatabasetest.cpp
blob: f2e521f1bf8d5b868546dad59d341c9b937e39f3 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
// Copyright 2017 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
#include <vespa/vdstestlib/cppunit/macros.h>
#include <vespa/storage/bucketdb/mapbucketdatabase.h>
#include <tests/distributor/bucketdatabasetest.h>

namespace storage {
namespace distributor {

struct MapBucketDatabaseTest : public BucketDatabaseTest {
    MapBucketDatabase _db;
    BucketDatabase& db() override { return _db; };

    CPPUNIT_TEST_SUITE(MapBucketDatabaseTest);
    SETUP_DATABASE_TESTS();
    CPPUNIT_TEST_SUITE_END();
};

CPPUNIT_TEST_SUITE_REGISTRATION(MapBucketDatabaseTest);

}
}