class AmbiguousInvocationTest extends GroovyTestCase { 
    // to prove GROOVY-467 is no longer an issue    
    property mock
    
    void setUp() {
    	dummy = new DummyMethods()
    }
    
    void testAmbiguousInvocationWithFloats() {
   	assert "float args" == dummy.foo("bar",1.0f,2.0f)
   	assert "float args" == dummy.foo("bar",(float)1,(float)2)
   	assert "float args" == dummy.foo("bar",(Float)1,(Float)2)
    }
    void testAmbiguousInvocationWithInts() {
   	assert "int args" == dummy.foo("bar",1,2)
   	assert "int args" == dummy.foo("bar",(int)1,(int)2)
   	assert "int args" == dummy.foo("bar",(Integer)1,(Integer)2)
    }
} 
class AmbiguousInvocationTest extends GroovyTestCase { 
    // to prove GROOVY-467 is no longer an issue    
    property mock
    
    void setUp() {
    // @todo as DummyMethods.java not being compiled prior to test run in maven build
    //	dummy = new DummyMethods()
    }
    
    void testAmbiguousInvocationWithFloats() {
   	//assert "float args" == dummy.foo("bar",1.0f,2.0f)
   	//assert "float args" == dummy.foo("bar",(float)1,(float)2)
   	//assert "float args" == dummy.foo("bar",(Float)1,(Float)2)
    }
    void testAmbiguousInvocationWithInts() {
   	//assert "int args" == dummy.foo("bar",1,2)
   	//assert "int args" == dummy.foo("bar",(int)1,(int)2)
   	//assert "int args" == dummy.foo("bar",(Integer)1,(Integer)2)
    }
} 
Remove test for now, as the dependant java source doesn't appear to be compiled prior to test execution in maven
Remove test for now, as the dependant java source doesn't appear
to be compiled prior to test execution in maven


git-svn-id: aa43ce4553b005588bb3cc6c16966320b011facb@1332 a5544e8c-8a19-0410-ba12-f9af4593a198
