[Misc] Fix errors checking in QuickFixMultiModuleTest

This test was checking errors *before* applying action, rather than
*after*, like all other QuickFix-tests do. This commit moves
errors-check after performing quick-fix action, and changes testdata:

- for most tests errors are simply gone (as quickfix usually fixes that
error)
- also, for implementMembersInActualClassNoExpectMember we add
'DISABLE-ERROR', similarly to
implementMembersInImplClassNonImplInheritor. This is needed because
'Implement Members'-fix created 'TODO'-calls, which are not resolved in
those tests due to the lack of stdlib. Previously, there were no errors
in this test exactly because file was checked *before* applying quickfix
(i.e. when there were no 'TODO()' in file)
This commit is contained in:
Dmitry Savvinov
2019-06-07 13:20:15 +03:00
parent d458821565
commit de2944ff43
43 changed files with 6 additions and 46 deletions
@@ -1,5 +1,4 @@
// "Create member function 'Foo.foo'" "true"
// ERROR: Unresolved reference: foo
expect class Foo
@@ -1,5 +1,4 @@
// "Create member function 'Foo.foo'" "true"
// ERROR: Unresolved reference: foo
expect class Foo {
fun foo(s: String, i: Int)