summaryrefslogtreecommitdiffstats
path: root/memfilepersistence/src/tests/conformance/memfileconformancetest.cpp
blob: 1bd9e2f4e9c436efcf5f8e72c814f3f3cefd6810 (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
24
25
26
27
28
29
30
31
32
33
34
35
// Copyright 2017 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.

#include <vespa/memfilepersistence/spi/memfilepersistence.h>
#include <vespa/persistence/conformancetest/conformancetest.h>

#include <vespa/log/log.h>
LOG_SETUP(".test.conformance");

using namespace storage::spi;

namespace storage {
namespace memfile {

    /*
struct MemFileConformanceTest : public ConformanceTest {
    struct Factory : public PersistenceFactory {

        PersistenceSPI::UP getPersistenceImplementation() {
            return PersistenceSPI::UP(new MemFilePersistence);
        }
    };

    MemFileConformanceTest()
        : ConformanceTest(PersistenceFactory::UP(new Factory)) {}

    CPPUNIT_TEST_SUITE(MemFileConformanceTest);
    DEFINE_CONFORMANCE_TESTS();
    CPPUNIT_TEST_SUITE_END();
};

CPPUNIT_TEST_SUITE_REGISTRATION(MemFileConformanceTest);
*/

} // memfile
} // storage