-
Notifications
You must be signed in to change notification settings - Fork 309
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
neverchanje
committed
May 23, 2019
1 parent
5b28f64
commit 2212e06
Showing
5 changed files
with
66 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
cmake_minimum_required(VERSION 3.13) | ||
add_subdirectory(src) |
Submodule rdsn
updated
8 files
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
// Copyright (c) 2017, Xiaomi, Inc. All rights reserved. | ||
// This source code is licensed under the Apache License Version 2.0, which | ||
// can be found in the LICENSE file in the root directory of this source tree. | ||
|
||
#include "pegasus_server_test_base.h" | ||
|
||
#include <dsn/utility/fail_point.h> | ||
#include <dsn/utility/defer.h> | ||
|
||
namespace pegasus { | ||
namespace server { | ||
|
||
class capacity_unit_calculator_test : public pegasus_server_test_base | ||
{ | ||
std::unique_ptr<capacity_unit_calculator> _cal; | ||
|
||
public: | ||
capacity_unit_calculator_test() : pegasus_server_test_base() | ||
{ | ||
_cal = dsn::make_unique<capacity_unit_calculator>(_server.get()); | ||
} | ||
|
||
void test_init() {} | ||
}; | ||
|
||
TEST_F(capacity_unit_calculator_test, init) { | ||
test_init(); | ||
} | ||
|
||
TEST_F(capacity_unit_calculator_test, get) {} | ||
|
||
TEST_F(capacity_unit_calculator_test, multi_get) {} | ||
|
||
TEST_F(capacity_unit_calculator_test, scan) {} | ||
|
||
TEST_F(capacity_unit_calculator_test, sortkey_count) {} | ||
|
||
TEST_F(capacity_unit_calculator_test, ttl) {} | ||
|
||
TEST_F(capacity_unit_calculator_test, put) {} | ||
|
||
TEST_F(capacity_unit_calculator_test, remove) {} | ||
|
||
TEST_F(capacity_unit_calculator_test, multi_put) {} | ||
|
||
TEST_F(capacity_unit_calculator_test, multi_remove) {} | ||
|
||
TEST_F(capacity_unit_calculator_test, incr) {} | ||
|
||
TEST_F(capacity_unit_calculator_test, check_and_set) {} | ||
|
||
TEST_F(capacity_unit_calculator_test, check_and_mutate) {} | ||
|
||
} // namespace server | ||
} // namespace pegasus |