diff --git a/folly/coro/test/BUCK b/folly/coro/test/BUCK index 4222c6a7af0..0669a8e323c 100644 --- a/folly/coro/test/BUCK +++ b/folly/coro/test/BUCK @@ -309,3 +309,36 @@ cpp_benchmark( "//folly/experimental/coro:task", ], ) + +cpp_unittest( + name = "RustAdaptorsTest", + srcs = [ + "RustAdaptorsTest.cpp", + ], + deps = [ + "//folly:cancellation_token", + "//folly:portability", + "//folly/experimental/coro:baton", + "//folly/experimental/coro:rust_adaptors", + "//folly/experimental/coro:sleep", + "//folly/portability:gtest", + "//folly/synchronization:baton", + ], +) + +cpp_unittest( + name = "PromiseTest", + srcs = [ + "PromiseTest.cpp", + ], + deps = [ + "//folly:portability", + "//folly/experimental/coro:blocking_wait", + "//folly/experimental/coro:collect", + "//folly/experimental/coro:gtest_helpers", + "//folly/experimental/coro:promise", + "//folly/experimental/coro:task", + "//folly/experimental/coro:with_cancellation", + "//folly/portability:gtest", + ], +) diff --git a/folly/experimental/coro/test/PromiseTest.cpp b/folly/coro/test/PromiseTest.cpp similarity index 100% rename from folly/experimental/coro/test/PromiseTest.cpp rename to folly/coro/test/PromiseTest.cpp diff --git a/folly/experimental/coro/test/RustAdaptorsTest.cpp b/folly/coro/test/RustAdaptorsTest.cpp similarity index 100% rename from folly/experimental/coro/test/RustAdaptorsTest.cpp rename to folly/coro/test/RustAdaptorsTest.cpp diff --git a/folly/experimental/coro/test/BUCK b/folly/experimental/coro/test/BUCK deleted file mode 100644 index e454b875319..00000000000 --- a/folly/experimental/coro/test/BUCK +++ /dev/null @@ -1,36 +0,0 @@ -load("@fbcode_macros//build_defs:cpp_unittest.bzl", "cpp_unittest") - -oncall("fbcode_entropy_wardens_folly") - -cpp_unittest( - name = "RustAdaptorsTest", - srcs = [ - "RustAdaptorsTest.cpp", - ], - deps = [ - "//folly:cancellation_token", - "//folly:portability", - "//folly/experimental/coro:baton", - "//folly/experimental/coro:rust_adaptors", - "//folly/experimental/coro:sleep", - "//folly/portability:gtest", - "//folly/synchronization:baton", - ], -) - -cpp_unittest( - name = "PromiseTest", - srcs = [ - "PromiseTest.cpp", - ], - deps = [ - "//folly:portability", - "//folly/experimental/coro:blocking_wait", - "//folly/experimental/coro:collect", - "//folly/experimental/coro:gtest_helpers", - "//folly/experimental/coro:promise", - "//folly/experimental/coro:task", - "//folly/experimental/coro:with_cancellation", - "//folly/portability:gtest", - ], -)