The unit-test coverage is finally high enough for me to stop. Even to rich this value I had to test for impossible things and started to seriously hate EclEmma. But more is really impossible. Well 98% is good enough for me (smile)

I hope I will never do things like that again:

	@Test public void testSingleton(){
		assertEquals("Only one instance allowed", 1, ConfigurationManager.values().length);
		assertSame(ConfigurationManager.INSTANCE, ConfigurationManager.valueOf("INSTANCE"));
	}

Well, on the other hand... it has been fun (smile)

  • No labels