void () { assertTrue(isMatching("1.8", TestModelBuilderService_v_1_8.class)); assertTrue(isMatching("1.8-rc-1", TestModelBuilderService_v_1_8.class)); assertFalse(isMatching("1.7", TestModelBuilderService_v_1_8.class)); assertFalse(isMatching("1.7-rc-1", TestModelBuilderService_v_1_8.class)); assertFalse(isMatching("1.9", TestModelBuilderService_v_1_8.class)); assertTrue(isMatching("1.8", TestModelBuilderService_v_1_8_or_Above.class)); assertTrue(isMatching("1.8-rc-1", TestModelBuilderService_v_1_8_or_Above.class)); assertFalse(isMatching("1.7", TestModelBuilderService_v_1_8_or_Above.class)); assertTrue(isMatching("1.9", TestModelBuilderService_v_1_8_or_Above.class)); assertTrue(isMatching("1.10", TestModelBuilderService_v_1_8_or_Above.class)); assertTrue(isMatching("1.8", TestModelBuilderService_between_v_1_8_and_1_9.class)); assertTrue(isMatching("1.8-20130903233633+0000", TestModelBuilderService_between_v_1_8_and_1_9.class)); assertFalse(isMatching("1.7", TestModelBuilderService_between_v_1_8_and_1_9.class)); assertFalse(isMatching("1.7-20130903233633+0000", TestModelBuilderService_between_v_1_8_and_1_9.class)); assertTrue(isMatching("1.9", TestModelBuilderService_between_v_1_8_and_1_9.class)); assertTrue(isMatching("1.9-20131007220022+0000", TestModelBuilderService_between_v_1_8_and_1_9.class)); assertFalse(isMatching("1.10", TestModelBuilderService_between_v_1_8_and_1_9.class)); assertFalse(isMatching("1.10-20131007220022+0000", TestModelBuilderService_between_v_1_8_and_1_9.class)); assertTrue(isMatching("1.8", TestModelBuilderService_between_v_1_8_and_1_9_NotBase.class)); assertFalse(isMatching("1.8-20130903233633+0000", TestModelBuilderService_between_v_1_8_and_1_9_NotBase.class)); assertFalse(isMatching("1.7", TestModelBuilderService_between_v_1_8_and_1_9_NotBase.class)); assertFalse(isMatching("1.7-20130903233633+0000", TestModelBuilderService_between_v_1_8_and_1_9_NotBase.class)); assertTrue(isMatching("1.9", TestModelBuilderService_between_v_1_8_and_1_9_NotBase.class)); assertTrue(isMatching("1.9-20131007220022+0000", TestModelBuilderService_between_v_1_8_and_1_9_NotBase.class)); assertFalse(isMatching("1.10", TestModelBuilderService_between_v_1_8_and_1_9_NotBase.class)); assertFalse(isMatching("1.10-20131007220022+0000", TestModelBuilderService_between_v_1_8_and_1_9_NotBase.class)); assertTrue(isMatching("1.1", Not_1_0.class)); assertFalse(isMatching("1.0", Not_1_0.class)); assertTrue(isMatching("4.6", v_atLeast_4_6_and_not_6_9.class)); assertTrue(isMatching("4.7", v_atLeast_4_6_and_not_6_9.class)); assertTrue(isMatching("7.0", v_atLeast_4_6_and_not_6_9.class)); assertFalse(isMatching("4.5", v_atLeast_4_6_and_not_6_9.class)); assertFalse(isMatching("1.0", v_atLeast_4_6_and_not_6_9.class)); assertFalse(isMatching("6.9", v_atLeast_4_6_and_not_6_9.class)); }