aboutsummaryrefslogtreecommitdiff
path: root/tools/interface_generator/test/test_kstdio.cpp
blob: 95540a4056c992eb0f8396036269731e0b329857 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#include "kstdio_mock.hpp"

using ::testing::StrEq;

class kstdioFixture : public ::testing::Test {
protected:
  void
  SetUp()
  {
  }

  kstdio_mock m_kstdio_mock;
};

TEST_F(kstdioFixture, printfCallsMock)
{
  EXPECT_CALL(m_kstdio_mock, printf(StrEq("hello world")));

  kstdio_printf("hello world");
}