diff --git a/internal/platform/implementation/linux/test/BUILD b/internal/platform/implementation/linux/test/BUILD new file mode 100644 index 00000000..bdaa7212 --- /dev/null +++ b/internal/platform/implementation/linux/test/BUILD @@ -0,0 +1,204 @@ +# Copyright 2024 Google LLC +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# https://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +load("@rules_cc//cc:cc_test.bzl", "cc_test") + +licenses(["notice"]) + +# Core platform tests +cc_test( + name = "atomic_boolean_test", + size = "small", + srcs = ["atomic_boolean_test.cc"], + deps = [ + "//internal/platform/implementation/linux:types", + "@com_github_google_googletest//:gtest_main", + ], +) + +cc_test( + name = "atomic_reference_test", + size = "small", + srcs = ["atomic_reference_test.cc"], + deps = [ + "//internal/platform/implementation/linux:types", + "@com_github_google_googletest//:gtest_main", + ], +) + +cc_test( + name = "count_down_latch_test", + size = "small", + srcs = ["count_down_latch_test.cc"], + deps = [ + "@com_github_google_googletest//:gtest_main", + ], +) + +cc_test( + name = "crypto_test", + size = "small", + srcs = ["crypto_test.cc"], + deps = [ + "//internal/platform/implementation/linux:crypto", + "@com_github_google_googletest//:gtest_main", + ], +) + +cc_test( + name = "device_info_test", + size = "small", + srcs = ["device_info_test.cc"], + deps = [ + "//internal/platform/implementation/linux:types", + "@com_github_google_googletest//:gtest_main", + ], +) + +cc_test( + name = "device_paths_test", + size = "small", + srcs = ["device_paths_test.cc"], + deps = [ + "@com_github_google_googletest//:gtest_main", + ], +) + +cc_test( + name = "executor_test", + size = "small", + srcs = ["executor_test.cc"], + deps = [ + "//internal/platform/implementation/linux:types", + "@com_github_google_googletest//:gtest_main", + ], +) + +cc_test( + name = "file_test", + size = "small", + srcs = ["file_test.cc"], + deps = [ + "@com_github_google_googletest//:gtest_main", + ], +) + +cc_test( + name = "http_loader_test", + size = "small", + srcs = ["http_loader_test.cc"], + deps = [ + "//internal/platform/implementation/linux:linux", + "@com_github_google_googletest//:gtest_main", + ], +) + +cc_test( + name = "platform_test", + size = "small", + srcs = ["platform_test.cc"], + deps = [ + "@com_github_google_googletest//:gtest_main", + ], +) + +cc_test( + name = "preferences_manager_test", + size = "small", + srcs = ["preferences_manager_test.cc"], + deps = [ + "//internal/platform/implementation/linux:types", + "@com_github_google_googletest//:gtest_main", + ], +) + +cc_test( + name = "preferences_repository_test", + size = "small", + srcs = ["preferences_repository_test.cc"], + deps = [ + "//internal/platform/implementation/linux:types", + "@com_github_google_googletest//:gtest_main", + ], +) + +cc_test( + name = "scheduled_executor_test", + size = "small", + srcs = ["scheduled_executor_test.cc"], + deps = [ + "//internal/platform/implementation/linux:types", + "@com_github_google_googletest//:gtest_main", + ], +) + +cc_test( + name = "string_utils_test", + size = "small", + srcs = ["string_utils_test.cc"], + deps = [ + "@com_github_google_googletest//:gtest_main", + ], +) + +cc_test( + name = "submittable_executor_test", + size = "small", + srcs = ["submittable_executor_test.cc"], + deps = [ + "//internal/platform/implementation/linux:types", + "@com_github_google_googletest//:gtest_main", + ], +) + +cc_test( + name = "task_scheduler_test", + size = "small", + srcs = ["task_scheduler_test.cc"], + deps = [ + "@com_github_google_googletest//:gtest_main", + ], +) + +cc_test( + name = "thread_pool_test", + size = "small", + srcs = ["thread_pool_test.cc"], + deps = [ + "//internal/platform/implementation/linux:types", + "@com_github_google_googletest//:gtest_main", + ], +) + +cc_test( + name = "timer_test", + size = "small", + srcs = ["timer_test.cc"], + deps = [ + "//internal/platform/implementation/linux:types", + "@com_github_google_googletest//:gtest_main", + ], +) + +cc_test( + name = "utils_test", + size = "small", + srcs = ["utils_test.cc"], + deps = [ + "//internal/platform/implementation/linux:types", + "@com_github_google_googletest//:gtest_main", + ], +) + + diff --git a/internal/platform/implementation/linux/test/atomic_boolean_test.cc b/internal/platform/implementation/linux/test/atomic_boolean_test.cc new file mode 100644 index 00000000..67f8fc93 --- /dev/null +++ b/internal/platform/implementation/linux/test/atomic_boolean_test.cc @@ -0,0 +1,29 @@ +// Copyright 2024 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +#include "internal/platform/implementation/linux/atomic_boolean.h" + +#include "gtest/gtest.h" + +namespace nearby { +namespace linux { +namespace { + +TEST(AtomicBooleanTest, Stub) { + GTEST_SKIP() << "Test not yet implemented for Linux"; +} + +} // namespace +} // namespace linux +} // namespace nearby diff --git a/internal/platform/implementation/linux/test/atomic_reference_test.cc b/internal/platform/implementation/linux/test/atomic_reference_test.cc new file mode 100644 index 00000000..3f807025 --- /dev/null +++ b/internal/platform/implementation/linux/test/atomic_reference_test.cc @@ -0,0 +1,29 @@ +// Copyright 2024 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +#include "internal/platform/implementation/linux/atomic_reference.h" + +#include "gtest/gtest.h" + +namespace nearby { +namespace linux { +namespace { + +TEST(AtomicReferenceTest, Stub) { + GTEST_SKIP() << "Test not yet implemented for Linux"; +} + +} // namespace +} // namespace linux +} // namespace nearby diff --git a/internal/platform/implementation/linux/test/count_down_latch_test.cc b/internal/platform/implementation/linux/test/count_down_latch_test.cc new file mode 100644 index 00000000..54a4588f --- /dev/null +++ b/internal/platform/implementation/linux/test/count_down_latch_test.cc @@ -0,0 +1,27 @@ +// Copyright 2024 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +#include "gtest/gtest.h" + +namespace nearby { +namespace linux { +namespace { + +TEST(CountDownLatchTest, Stub) { + GTEST_SKIP() << "Test not yet implemented for Linux"; +} + +} // namespace +} // namespace linux +} // namespace nearby diff --git a/internal/platform/implementation/linux/test/crypto_test.cc b/internal/platform/implementation/linux/test/crypto_test.cc new file mode 100644 index 00000000..ca46a0d2 --- /dev/null +++ b/internal/platform/implementation/linux/test/crypto_test.cc @@ -0,0 +1,29 @@ +// Copyright 2024 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +#include "internal/platform/implementation/linux/crypto.h" + +#include "gtest/gtest.h" + +namespace nearby { +namespace linux { +namespace { + +TEST(CryptoTest, Stub) { + GTEST_SKIP() << "Test not yet implemented for Linux"; +} + +} // namespace +} // namespace linux +} // namespace nearby diff --git a/internal/platform/implementation/linux/test/device_info_test.cc b/internal/platform/implementation/linux/test/device_info_test.cc new file mode 100644 index 00000000..2d5be5e1 --- /dev/null +++ b/internal/platform/implementation/linux/test/device_info_test.cc @@ -0,0 +1,29 @@ +// Copyright 2024 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +#include "internal/platform/implementation/linux/device_info.h" + +#include "gtest/gtest.h" + +namespace nearby { +namespace linux { +namespace { + +TEST(DeviceInfoTest, Stub) { + GTEST_SKIP() << "Test not yet implemented for Linux"; +} + +} // namespace +} // namespace linux +} // namespace nearby diff --git a/internal/platform/implementation/linux/test/device_paths_test.cc b/internal/platform/implementation/linux/test/device_paths_test.cc new file mode 100644 index 00000000..63b53cc4 --- /dev/null +++ b/internal/platform/implementation/linux/test/device_paths_test.cc @@ -0,0 +1,25 @@ +// Copyright 2024 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +#include "gtest/gtest.h" + +namespace nearby { +namespace linux { + +TEST(LinuxStubTests, Placeholder) { + GTEST_SKIP() << "Stub test placeholder to mirror Windows coverage."; +} + +} // namespace linux +} // namespace nearby diff --git a/internal/platform/implementation/linux/test/executor_test.cc b/internal/platform/implementation/linux/test/executor_test.cc new file mode 100644 index 00000000..7b0e04e0 --- /dev/null +++ b/internal/platform/implementation/linux/test/executor_test.cc @@ -0,0 +1,29 @@ +// Copyright 2024 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +#include "internal/platform/implementation/linux/executor.h" + +#include "gtest/gtest.h" + +namespace nearby { +namespace linux { +namespace { + +TEST(ExecutorTest, Stub) { + GTEST_SKIP() << "Test not yet implemented for Linux"; +} + +} // namespace +} // namespace linux +} // namespace nearby diff --git a/internal/platform/implementation/linux/test/file_test.cc b/internal/platform/implementation/linux/test/file_test.cc new file mode 100644 index 00000000..63b53cc4 --- /dev/null +++ b/internal/platform/implementation/linux/test/file_test.cc @@ -0,0 +1,25 @@ +// Copyright 2024 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +#include "gtest/gtest.h" + +namespace nearby { +namespace linux { + +TEST(LinuxStubTests, Placeholder) { + GTEST_SKIP() << "Stub test placeholder to mirror Windows coverage."; +} + +} // namespace linux +} // namespace nearby diff --git a/internal/platform/implementation/linux/test/http_loader_test.cc b/internal/platform/implementation/linux/test/http_loader_test.cc new file mode 100644 index 00000000..795842eb --- /dev/null +++ b/internal/platform/implementation/linux/test/http_loader_test.cc @@ -0,0 +1,29 @@ +// Copyright 2024 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +#include "internal/platform/implementation/linux/http_loader.h" + +#include "gtest/gtest.h" + +namespace nearby { +namespace linux { +namespace { + +TEST(HttpLoaderTest, Stub) { + GTEST_SKIP() << "Test not yet implemented for Linux"; +} + +} // namespace +} // namespace linux +} // namespace nearby diff --git a/internal/platform/implementation/linux/test/platform_test.cc b/internal/platform/implementation/linux/test/platform_test.cc new file mode 100644 index 00000000..63b53cc4 --- /dev/null +++ b/internal/platform/implementation/linux/test/platform_test.cc @@ -0,0 +1,25 @@ +// Copyright 2024 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +#include "gtest/gtest.h" + +namespace nearby { +namespace linux { + +TEST(LinuxStubTests, Placeholder) { + GTEST_SKIP() << "Stub test placeholder to mirror Windows coverage."; +} + +} // namespace linux +} // namespace nearby diff --git a/internal/platform/implementation/linux/test/preferences_manager_test.cc b/internal/platform/implementation/linux/test/preferences_manager_test.cc new file mode 100644 index 00000000..4a459a9a --- /dev/null +++ b/internal/platform/implementation/linux/test/preferences_manager_test.cc @@ -0,0 +1,29 @@ +// Copyright 2024 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +#include "internal/platform/implementation/linux/preferences_manager.h" + +#include "gtest/gtest.h" + +namespace nearby { +namespace linux { +namespace { + +TEST(PreferencesManagerTest, Stub) { + GTEST_SKIP() << "Test not yet implemented for Linux"; +} + +} // namespace +} // namespace linux +} // namespace nearby diff --git a/internal/platform/implementation/linux/test/preferences_repository_test.cc b/internal/platform/implementation/linux/test/preferences_repository_test.cc new file mode 100644 index 00000000..4028967c --- /dev/null +++ b/internal/platform/implementation/linux/test/preferences_repository_test.cc @@ -0,0 +1,29 @@ +// Copyright 2024 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +#include "internal/platform/implementation/linux/preferences_repository.h" + +#include "gtest/gtest.h" + +namespace nearby { +namespace linux { +namespace { + +TEST(PreferencesRepositoryTest, Stub) { + GTEST_SKIP() << "Test not yet implemented for Linux"; +} + +} // namespace +} // namespace linux +} // namespace nearby diff --git a/internal/platform/implementation/linux/test/scheduled_executor_test.cc b/internal/platform/implementation/linux/test/scheduled_executor_test.cc new file mode 100644 index 00000000..2be01fb0 --- /dev/null +++ b/internal/platform/implementation/linux/test/scheduled_executor_test.cc @@ -0,0 +1,29 @@ +// Copyright 2024 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +#include "internal/platform/implementation/linux/scheduled_executor.h" + +#include "gtest/gtest.h" + +namespace nearby { +namespace linux { +namespace { + +TEST(ScheduledExecutorTest, Stub) { + GTEST_SKIP() << "Test not yet implemented for Linux"; +} + +} // namespace +} // namespace linux +} // namespace nearby diff --git a/internal/platform/implementation/linux/test/string_utils_test.cc b/internal/platform/implementation/linux/test/string_utils_test.cc new file mode 100644 index 00000000..63b53cc4 --- /dev/null +++ b/internal/platform/implementation/linux/test/string_utils_test.cc @@ -0,0 +1,25 @@ +// Copyright 2024 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +#include "gtest/gtest.h" + +namespace nearby { +namespace linux { + +TEST(LinuxStubTests, Placeholder) { + GTEST_SKIP() << "Stub test placeholder to mirror Windows coverage."; +} + +} // namespace linux +} // namespace nearby diff --git a/internal/platform/implementation/linux/test/submittable_executor_test.cc b/internal/platform/implementation/linux/test/submittable_executor_test.cc new file mode 100644 index 00000000..c31537fa --- /dev/null +++ b/internal/platform/implementation/linux/test/submittable_executor_test.cc @@ -0,0 +1,29 @@ +// Copyright 2024 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +#include "internal/platform/implementation/linux/submittable_executor.h" + +#include "gtest/gtest.h" + +namespace nearby { +namespace linux { +namespace { + +TEST(SubmittableExecutorTest, Stub) { + GTEST_SKIP() << "Test not yet implemented for Linux"; +} + +} // namespace +} // namespace linux +} // namespace nearby diff --git a/internal/platform/implementation/linux/test/task_scheduler_test.cc b/internal/platform/implementation/linux/test/task_scheduler_test.cc new file mode 100644 index 00000000..63b53cc4 --- /dev/null +++ b/internal/platform/implementation/linux/test/task_scheduler_test.cc @@ -0,0 +1,25 @@ +// Copyright 2024 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +#include "gtest/gtest.h" + +namespace nearby { +namespace linux { + +TEST(LinuxStubTests, Placeholder) { + GTEST_SKIP() << "Stub test placeholder to mirror Windows coverage."; +} + +} // namespace linux +} // namespace nearby diff --git a/internal/platform/implementation/linux/test/thread_pool_test.cc b/internal/platform/implementation/linux/test/thread_pool_test.cc new file mode 100644 index 00000000..daf470ac --- /dev/null +++ b/internal/platform/implementation/linux/test/thread_pool_test.cc @@ -0,0 +1,29 @@ +// Copyright 2024 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +#include "internal/platform/implementation/linux/thread_pool.h" + +#include "gtest/gtest.h" + +namespace nearby { +namespace linux { +namespace { + +TEST(ThreadPoolTest, Stub) { + GTEST_SKIP() << "Test not yet implemented for Linux"; +} + +} // namespace +} // namespace linux +} // namespace nearby diff --git a/internal/platform/implementation/linux/test/timer_test.cc b/internal/platform/implementation/linux/test/timer_test.cc new file mode 100644 index 00000000..05951d7c --- /dev/null +++ b/internal/platform/implementation/linux/test/timer_test.cc @@ -0,0 +1,29 @@ +// Copyright 2024 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +#include "internal/platform/implementation/linux/timer.h" + +#include "gtest/gtest.h" + +namespace nearby { +namespace linux { +namespace { + +TEST(TimerTest, Stub) { + GTEST_SKIP() << "Test not yet implemented for Linux"; +} + +} // namespace +} // namespace linux +} // namespace nearby diff --git a/internal/platform/implementation/linux/test/utils_test.cc b/internal/platform/implementation/linux/test/utils_test.cc new file mode 100644 index 00000000..1e675271 --- /dev/null +++ b/internal/platform/implementation/linux/test/utils_test.cc @@ -0,0 +1,29 @@ +// Copyright 2024 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +#include "internal/platform/implementation/linux/utils.h" + +#include "gtest/gtest.h" + +namespace nearby { +namespace linux { +namespace { + +TEST(UtilsTest, Stub) { + GTEST_SKIP() << "Test not yet implemented for Linux"; +} + +} // namespace +} // namespace linux +} // namespace nearby