summaryrefslogtreecommitdiffstats
path: root/library/cpp/yt
diff options
context:
space:
mode:
authorbabenko <[email protected]>2024-01-29 13:05:03 +0300
committerbabenko <[email protected]>2024-01-29 13:24:17 +0300
commit9e01ee36325fca04e26b57d1cebb0955a042ce20 (patch)
tree2b4fb663cf1b8b13077282d97b0ae62423803dd0 /library/cpp/yt
parent4b605b17b574e396e4cac8fe2c92ed0841ec5f6f (diff)
Move enum_indexed_array from misc to containers
Diffstat (limited to 'library/cpp/yt')
-rw-r--r--library/cpp/yt/containers/enum_indexed_array-inl.h (renamed from library/cpp/yt/misc/enum_indexed_array-inl.h)0
-rw-r--r--library/cpp/yt/containers/enum_indexed_array.h (renamed from library/cpp/yt/misc/enum_indexed_array.h)2
-rw-r--r--library/cpp/yt/containers/unittests/enum_indexed_array_ut.cpp (renamed from library/cpp/yt/misc/unittests/enum_indexed_array_ut.cpp)2
-rw-r--r--library/cpp/yt/containers/unittests/ya.make5
-rw-r--r--library/cpp/yt/misc/unittests/ya.make1
-rw-r--r--library/cpp/yt/string/format-inl.h3
6 files changed, 8 insertions, 5 deletions
diff --git a/library/cpp/yt/misc/enum_indexed_array-inl.h b/library/cpp/yt/containers/enum_indexed_array-inl.h
index edda891683e..edda891683e 100644
--- a/library/cpp/yt/misc/enum_indexed_array-inl.h
+++ b/library/cpp/yt/containers/enum_indexed_array-inl.h
diff --git a/library/cpp/yt/misc/enum_indexed_array.h b/library/cpp/yt/containers/enum_indexed_array.h
index 8992456277f..bae6a75237a 100644
--- a/library/cpp/yt/misc/enum_indexed_array.h
+++ b/library/cpp/yt/containers/enum_indexed_array.h
@@ -1,6 +1,6 @@
#pragma once
-#include "enum.h"
+#include <library/cpp/yt/misc/enum.h>
namespace NYT {
diff --git a/library/cpp/yt/misc/unittests/enum_indexed_array_ut.cpp b/library/cpp/yt/containers/unittests/enum_indexed_array_ut.cpp
index 4111c6f4fec..a87c417d7d8 100644
--- a/library/cpp/yt/misc/unittests/enum_indexed_array_ut.cpp
+++ b/library/cpp/yt/containers/unittests/enum_indexed_array_ut.cpp
@@ -1,6 +1,6 @@
#include <library/cpp/testing/gtest/gtest.h>
-#include <library/cpp/yt/misc/enum_indexed_array.h>
+#include <library/cpp/yt/containers/enum_indexed_array.h>
namespace NYT {
namespace {
diff --git a/library/cpp/yt/containers/unittests/ya.make b/library/cpp/yt/containers/unittests/ya.make
index 3e7cfd4311d..3ffc4206589 100644
--- a/library/cpp/yt/containers/unittests/ya.make
+++ b/library/cpp/yt/containers/unittests/ya.make
@@ -1,8 +1,11 @@
-GTEST(unittester-containers)
+GTEST()
INCLUDE(${ARCADIA_ROOT}/library/cpp/yt/ya_cpp.make.inc)
+SIZE(MEDIUM)
+
SRCS(
+ enum_indexed_array_ut.cpp
sharded_set_ut.cpp
)
diff --git a/library/cpp/yt/misc/unittests/ya.make b/library/cpp/yt/misc/unittests/ya.make
index 43e9f9b9ff1..611edd72173 100644
--- a/library/cpp/yt/misc/unittests/ya.make
+++ b/library/cpp/yt/misc/unittests/ya.make
@@ -4,7 +4,6 @@ INCLUDE(${ARCADIA_ROOT}/library/cpp/yt/ya_cpp.make.inc)
SRCS(
enum_ut.cpp
- enum_indexed_array_ut.cpp
guid_ut.cpp
preprocessor_ut.cpp
strong_typedef_ut.cpp
diff --git a/library/cpp/yt/string/format-inl.h b/library/cpp/yt/string/format-inl.h
index 776b48e7fbb..85e82b473e8 100644
--- a/library/cpp/yt/string/format-inl.h
+++ b/library/cpp/yt/string/format-inl.h
@@ -11,8 +11,9 @@
#include <library/cpp/yt/small_containers/compact_vector.h>
+#include <library/cpp/yt/containers/enum_indexed_array.h>
+
#include <library/cpp/yt/misc/enum.h>
-#include <library/cpp/yt/misc/enum_indexed_array.h>
#include <util/system/platform.h>