Canonical name (#99)

* TEST: enabled testRetainAll

* Method resolution spared of annotations and generics

* TEST: test for canonical names "interface+generic" added

* Methods' canonical names support:

- Recursive iteration of method argument types
- Arguments in question are delivered from topmost overriden ancestor of this method
This commit is contained in:
KonstantinAnisimov
2016-11-30 16:19:28 +03:00
committed by Nikolay Igotti
parent e9b0ebb95e
commit 90b6a12a5c
4 changed files with 63 additions and 8 deletions
@@ -266,6 +266,7 @@ fun testIteratorRemove() {
}
it.next()
}
assertEquals(makeList135(), a)
}
@@ -288,8 +289,7 @@ fun main(args : Array<String>) {
testIterator()
testRemove()
testRemoveAll()
// Fails due to unknown virtual method call!
// testRetainAll()
testRetainAll()
testEquals()
testHashCode()
testToString()
@@ -299,8 +299,7 @@ fun main(args : Array<String>) {
testSubListContains()
testSubListIndexOf()
testSubListLastIndexOf()
// Fails due to unknown virtual method call!
// testIteratorAdd()
// testIteratorRemove()
// testIteratorAdd() runtime assert: Throwing is unsupported
// testIteratorRemove() assertEquals fails
println("OK")
}