| 26 | using cppmicroservices::BundleVersion; |
| 27 | |
| 28 | TEST(BundleVersion, EmptyVersion) |
| 29 | { |
| 30 | auto empty = BundleVersion::EmptyVersion(); |
| 31 | unsigned int zero(0); |
| 32 | ASSERT_EQ(zero, empty.GetMajor()); |
| 33 | ASSERT_EQ(zero, empty.GetMinor()); |
| 34 | ASSERT_EQ(zero, empty.GetMicro()); |
| 35 | ASSERT_EQ(std::string(), empty.GetQualifier()); |
| 36 | ASSERT_FALSE(empty.IsUndefined()); |
| 37 | ASSERT_NO_THROW(BundleVersion stEmpty(std::string {})); |
| 38 | } |
| 39 | |
| 40 | TEST(BundleVersion, UndefinedVersion) |
| 41 | { |
nothing calls this directly
no test coverage detected