@Test
public void testCompareVersion()
{

  int c = VersionInfo.compare("1.0", "1.1");
  Assert.assertTrue(c < 0);
  c = VersionInfo.compare("1.10", "1.2");
  Assert.assertTrue(c > 0);
  c = VersionInfo.compare("1.0", "1.0");
  Assert.assertTrue(c == 0);
  c = VersionInfo.compare("1.0-SNAPSHOT", "1.0");
  Assert.assertTrue(c == 0);
  c = VersionInfo.compare("asdb", "1.0");
  Assert.assertTrue(c < 0);
}