aboutsummaryrefslogtreecommitdiffstats
path: root/config/src/tests/configgen/configgen.cpp
blob: bd8aea0a89a204ccdf31eb448f0318e64808c264 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// Copyright 2016 Yahoo Inc. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
#include <vespa/fastos/fastos.h>
#include <vespa/log/log.h>
LOG_SETUP("configgen");
#include <vespa/vespalib/testkit/test_kit.h>
#include <vespa/config/config.h>
#include "config-motd.h"

using namespace config;

TEST("require that config type can be compiled") {
    std::unique_ptr<MotdConfig> cfg = ConfigGetter<MotdConfig>::getConfig("motd",
                                          FileSpec(TEST_PATH("motd.cfg")));
}

TEST_MAIN() { TEST_RUN_ALL(); }