From 6fa5225b25d7c54363ae736aab0f6f33ab075490 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Galland?= Date: Wed, 3 May 2017 12:25:20 +0200 Subject: [PATCH] [tests] Fixing failing tests on generated functions. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Stéphane Galland --- .../ui/tests/quickfix/OverridesQuickfixTest.java | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/tests/io.sarl.lang.ui.tests/src/io/sarl/lang/ui/tests/quickfix/OverridesQuickfixTest.java b/tests/io.sarl.lang.ui.tests/src/io/sarl/lang/ui/tests/quickfix/OverridesQuickfixTest.java index 0084ab3f4a..d96b4adfc2 100644 --- a/tests/io.sarl.lang.ui.tests/src/io/sarl/lang/ui/tests/quickfix/OverridesQuickfixTest.java +++ b/tests/io.sarl.lang.ui.tests/src/io/sarl/lang/ui/tests/quickfix/OverridesQuickfixTest.java @@ -112,7 +112,7 @@ public void fixMissedClassicPrototype_0() { " throw new UnsupportedOperationException(\"TODO: auto-generated method stub\")", " }", " ", - " override fct2(i : int) {", + " override fct2(a : int) {", " throw new UnsupportedOperationException(\"TODO: auto-generated method stub\")", " }", " ", @@ -148,7 +148,7 @@ public void fixVariadicParameter_0() { "}", "skill S1 implements C1 {", " ", - " override fct(is : int*) {", + " override fct(a : int*) {", " throw new UnsupportedOperationException(\"TODO: auto-generated method stub\")", " }", " ", @@ -183,11 +183,11 @@ public void fixVariadicParameter_1() { "}", "skill S1 implements C1 {", " ", - " override fct1(is : int*) {", + " override fct1(a : int*) {", " throw new UnsupportedOperationException(\"TODO: auto-generated method stub\")", " }", " ", - " override fct2(string : String, ds : double*) {", + " override fct2(b : String, c : double*) {", " throw new UnsupportedOperationException(\"TODO: auto-generated method stub\")", " }", " ", @@ -219,7 +219,7 @@ public void fixParameterDefaultValue_0() { "}", "skill S1 implements C1 {", " ", - " override fct(i : int = 4) {", + " override fct(a : int = 4) {", " throw new UnsupportedOperationException(\"TODO: auto-generated method stub\")", " }", " ", @@ -251,7 +251,7 @@ public void fixParameterDefaultValue_1() { "}", "skill S1 implements C1 {", " ", - " override fct(i : int = 4, string : String) {", + " override fct(a : int = 4, b : String) {", " throw new UnsupportedOperationException(\"TODO: auto-generated method stub\")", " }", " ", @@ -309,7 +309,7 @@ public void fixParameterDefaultValueAndVariadicParameter() { "}", "skill S1 implements C1 {", " ", - " override fct(i : int = 4, string : String, js : int*) {", + " override fct(a : int = 4, b : String, c : int*) {", " throw new UnsupportedOperationException(\"TODO: auto-generated method stub\")", " }", " ",