reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

unittests/Support/VersionTupleTest.cpp
   25   EXPECT_FALSE(VT.tryParse("1"));
   26   EXPECT_EQ("1", VT.getAsString());
   28   EXPECT_FALSE(VT.tryParse("1.2"));
   29   EXPECT_EQ("1.2", VT.getAsString());
   31   EXPECT_FALSE(VT.tryParse("1.2.3"));
   32   EXPECT_EQ("1.2.3", VT.getAsString());
   34   EXPECT_FALSE(VT.tryParse("1.2.3.4"));
   35   EXPECT_EQ("1.2.3.4", VT.getAsString());
   37   EXPECT_TRUE(VT.tryParse(""));
   38   EXPECT_TRUE(VT.tryParse("1."));
   39   EXPECT_TRUE(VT.tryParse("1.2."));
   40   EXPECT_TRUE(VT.tryParse("1.2.3."));
   41   EXPECT_TRUE(VT.tryParse("1.2.3.4."));
   42   EXPECT_TRUE(VT.tryParse("1.2.3.4.5"));
   43   EXPECT_TRUE(VT.tryParse("1-2"));
   44   EXPECT_TRUE(VT.tryParse("1+2"));
   45   EXPECT_TRUE(VT.tryParse(".1"));
   46   EXPECT_TRUE(VT.tryParse(" 1"));
   47   EXPECT_TRUE(VT.tryParse("1 "));
   48   EXPECT_TRUE(VT.tryParse("."));