2019-12-27 19:21:23 +00:00
|
|
|
// Copyright (c) Microsoft Corporation. All rights reserved.
|
|
|
|
|
// Licensed under the MIT License.
|
2019-07-04 08:08:14 +00:00
|
|
|
#pragma once
|
|
|
|
|
|
2019-12-27 19:21:23 +00:00
|
|
|
#include "environment.h"
|
2019-07-04 08:08:14 +00:00
|
|
|
|
|
|
|
|
namespace onnxruntime {
|
|
|
|
|
namespace server {
|
|
|
|
|
namespace test {
|
|
|
|
|
ServerEnvironment* ServerEnv();
|
|
|
|
|
class TestServerEnvironment {
|
|
|
|
|
public:
|
|
|
|
|
TestServerEnvironment();
|
|
|
|
|
~TestServerEnvironment();
|
|
|
|
|
|
|
|
|
|
TestServerEnvironment(const TestServerEnvironment&) = delete;
|
|
|
|
|
TestServerEnvironment(TestServerEnvironment&&) = default;
|
|
|
|
|
};
|
|
|
|
|
} // namespace test
|
|
|
|
|
} // namespace server
|
2019-12-27 19:21:23 +00:00
|
|
|
} // namespace onnxruntime
|