Assert.assertArrayEquals(newString[]{"dev","0000"},yacyVersion.combined2prettyVersion("0.0"));// input is valid - no warning generated
Assert.assertArrayEquals(newString[]{"dev","0000"},yacyVersion.combined2prettyVersion(" 0.11102440"));// spaces are not allowed
Assert.assertArrayEquals(newString[]{"0.111","0000"},yacyVersion.combined2prettyVersion("0.111"));// was (input is too short)
Assert.assertArrayEquals(newString[]{"dev","0000"},yacyVersion.combined2prettyVersion("0.1112440\t\n"));// \t and \n are not allowed
Assert.assertArrayEquals(newString[]{"dev","0000"},yacyVersion.combined2prettyVersion("124353432xxxx4546399999"));// not a number + too long
Assert.assertArrayEquals(newString[]{"dev","0000"},yacyVersion.combined2prettyVersion("123456789x"));// not a number
Assert.assertArrayEquals(newString[]{"dev","0000"},yacyVersion.combined2prettyVersion("9999999999"));// missing decimal point
Assert.assertArrayEquals(newString[]{"999.999","9990"},yacyVersion.combined2prettyVersion("999.999999"));// was (floating point part must have 3 and SVN-Version 4 digits)