shared_utils_test.cc 923 B

123456789101112131415161718192021222324252627282930313233
  1. /*
  2. * Copyright (C) 2019 Intel Corporation. All rights reserved.
  3. * SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
  4. */
  5. #include "bh_platform.h"
  6. #include "test_helper.h"
  7. #include "gtest/gtest.h"
  8. /* Test APIs under wamr/core/shared/utils */
  9. class SharedUtilsTest : public testing::Test
  10. {
  11. protected:
  12. // You should make the members protected s.t. they can be
  13. // accessed from sub-classes.
  14. // virtual void SetUp() will be called before each test is run. You
  15. // should define it if you need to initialize the variables.
  16. // Otherwise, this can be skipped.
  17. virtual void SetUp() {}
  18. // virtual void TearDown() will be called after each test is run.
  19. // You should define it if there is cleanup work to do. Otherwise,
  20. // you don't have to provide it.
  21. //
  22. virtual void TearDown() {}
  23. public:
  24. WAMRRuntimeRAII<512 * 1024> runtime;
  25. };
  26. TEST_F(SharedUtilsTest, bh_list) {}