assertTrue(e.getMessage().indexOf("[ org1 | mod1.2 | 2.0.0 ]:2.0 (needed by [ jayasoft | resolve-noconflict | 1.0 ]) conflicts with [ org1 | mod1.2 | 2.1.0 ]:2.1 (needed by [ jayasoft | resolve-noconflict | 1.0 ])")!=-1);
assertTrue(e.getMessage().indexOf("[ org1 | mod1.2 | 2.0.0 ]:2.0 (needed by [ jayasoft | resolve-noconflict | 1.0 ])")!=-1); assertTrue(e.getMessage().indexOf("conflicts with")!=-1); assertTrue(e.getMessage().indexOf("[ org1 | mod1.2 | 2.1.0 ]:2.1 (needed by [ jayasoft | resolve-noconflict | 1.0 ])")!=-1);
    public void testConflictResolve() throws Exception    {        try        {            ivy.resolve( RegexpConflictManagerTest.class                    .getResource( "ivy-conflict.xml" ), null,                    new String[] { "*" }, null, new Date(), false );            fail( "Resolve should have failed with a conflict" );        }        catch ( StrictConflictException e )        {            // this is expected            assertTrue(e.getMessage().indexOf("[ org1 | mod1.2 | 2.0.0 ]:2.0 (needed by [ jayasoft | resolve-noconflict | 1.0 ]) conflicts with [ org1 | mod1.2 | 2.1.0 ]:2.1 (needed by [ jayasoft | resolve-noconflict | 1.0 ])")!=-1);        }    }