milvus/cpp/unittest/license/license_tests.cpp
yangwei.yao 414cbf860f Update CMakeLists.txt
Former-commit-id: 6007ad4c75ca615d6d21236a2ea5affe347672d1
2019-05-08 17:01:11 +08:00

16 lines
630 B
C++

////////////////////////////////////////////////////////////////////////////////
// Copyright 上海赜睿信息科技有限公司(Zilliz) - All Rights Reserved
// Unauthorized copying of this file, via any medium is strictly prohibited.
// Proprietary and confidential.
////////////////////////////////////////////////////////////////////////////////
#include <gtest/gtest.h>
#include "license/License.h"
using namespace zilliz::vecwise::server;
TEST(LicenseTest, LICENSE_TEST) {
std::string path1 = "/tmp/vecwise_engine.license";
ServerError err = LicenseValidate(path1);
ASSERT_EQ(err, server::SERVER_SUCCESS);
}