View | Details | Raw Unified | Return to bug 120264 | Differences between
and this patch

Collapse All | Expand All

(-)src/org/eclipse/jdt/core/tests/dom/ASTConverter15Test.java (-2 / +9 lines)
Lines 3928-3933 Link Here
3928
		ITypeBinding[] parameterTypes = methodBinding.getParameterTypes();
3928
		ITypeBinding[] parameterTypes = methodBinding.getParameterTypes();
3929
		ITypeBinding parameterType = parameterTypes[0];
3929
		ITypeBinding parameterType = parameterTypes[0];
3930
    	assertTrue("Not an array binding", parameterType.isArray());
3930
    	assertTrue("Not an array binding", parameterType.isArray());
3931
    	assertTrue("Not equals", parameterType.getComponentType() == parameterType.getElementType());
3931
    	assertEquals("wrong dimension", 1, parameterType.getDimensions());
3932
    	assertEquals("wrong dimension", 1, parameterType.getDimensions());
3932
    }
3933
    }
3933
    
3934
    
Lines 3972-3979 Link Here
3972
		ITypeBinding[] parameterTypes = methodBinding.getParameterTypes();
3973
		ITypeBinding[] parameterTypes = methodBinding.getParameterTypes();
3973
		ITypeBinding parameterType = parameterTypes[0];
3974
		ITypeBinding parameterType = parameterTypes[0];
3974
    	assertTrue("Not an array binding", parameterType.isArray());
3975
    	assertTrue("Not an array binding", parameterType.isArray());
3975
    	assertEquals("wrong dimension", 3, parameterType.getDimensions());		
3976
       	assertEquals("wrong dimension", 3, parameterType.getDimensions());		
3976
    }
3977
       	ITypeBinding componentType = parameterType.getComponentType();
3978
       	assertEquals("wrong dimension", 2, componentType.getDimensions());
3979
       	assertTrue("Not equal", parameterType.getElementType() == componentType.getElementType());
3980
       	ITypeBinding componentType2 = componentType.getComponentType();
3981
       	assertEquals("wrong dimension", 1, componentType2.getDimensions());
3982
       	assertTrue("Not equal", parameterType.getElementType() == componentType2.getElementType());
3983
     }
3977
    
3984
    
3978
    // https://bugs.eclipse.org/bugs/show_bug.cgi?id=84181
3985
    // https://bugs.eclipse.org/bugs/show_bug.cgi?id=84181
3979
    public void test0133() throws CoreException {
3986
    public void test0133() throws CoreException {

Return to bug 120264