1 | #include "test.h" |
---|---|
2 | #include <gtest/gtest.h> |
3 | |
4 | #include <base/system.h> |
5 | |
6 | TEST(Os, VersionStr) |
7 | { |
8 | char aVersion[128]; |
9 | ASSERT_TRUE(os_version_str(aVersion, sizeof(aVersion))); |
10 | EXPECT_STRNE(aVersion, ""); |
11 | } |
12 | |
13 | TEST(Os, LocaleStr) |
14 | { |
15 | char aLocale[128]; |
16 | os_locale_str(locale: aLocale, length: sizeof(aLocale)); |
17 | EXPECT_STRNE(aLocale, ""); |
18 | } |
19 |