From 2f546a971030450fb7af8e5e7c02e38dcc6cb350 Mon Sep 17 00:00:00 2001 From: iphydf Date: Thu, 23 Dec 2021 03:50:16 +0000 Subject: [PATCH] chore: Rename test source to match standard. All tests should end in `_test.c` or `_test.cc` for unit tests. --- .cirrus.yml | 4 ++-- toxcore/BUILD.bazel | 2 +- toxcore/{friend_connection.cc => friend_connection_test.cc} | 0 3 files changed, 3 insertions(+), 3 deletions(-) rename toxcore/{friend_connection.cc => friend_connection_test.cc} (100%) diff --git a/.cirrus.yml b/.cirrus.yml index 68c04af8..742a5ef1 100644 --- a/.cirrus.yml +++ b/.cirrus.yml @@ -1,7 +1,7 @@ --- cirrus-ci_task: container: - image: toxchat/toktok-stack:0.0.29-third_party + image: toxchat/toktok-stack:0.0.30-third_party cpu: 2 memory: 2G configure_script: @@ -19,7 +19,7 @@ cirrus-ci_task: cimple_task: container: - image: toxchat/toktok-stack:0.0.29-third_party + image: toxchat/toktok-stack:0.0.30-third_party cpu: 2 memory: 4G configure_script: diff --git a/toxcore/BUILD.bazel b/toxcore/BUILD.bazel index c0fc825a..23203b5b 100644 --- a/toxcore/BUILD.bazel +++ b/toxcore/BUILD.bazel @@ -285,7 +285,7 @@ cc_library( cc_test( name = "friend_connection_test", size = "small", - srcs = ["friend_connection.cc"], + srcs = ["friend_connection_test.cc"], deps = [ ":friend_connection", "@com_google_googletest//:gtest_main", diff --git a/toxcore/friend_connection.cc b/toxcore/friend_connection_test.cc similarity index 100% rename from toxcore/friend_connection.cc rename to toxcore/friend_connection_test.cc