1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-07-24 01:15:29 +02:00

Bug 495095 - Fix incorrect tests

Change-Id: I90e211b9bbf55245bc15bc6239555267e8d88f92
This commit is contained in:
Nathan Ridge 2016-06-01 03:26:02 -04:00
parent 0b156e4ce4
commit 95eee92c4c
2 changed files with 3 additions and 3 deletions

View file

@ -91,8 +91,7 @@ public class CPPParameterGuessingTests extends AbstractContentAssistTest {
// tFunc<aClass> (
public void testTemplateFunction() throws Exception {
Map<String, String[][]> resultsMap = new HashMap<>();
resultsMap.put("tFunc<aClass> (x, y)", new String[][] { { "x" },
{ "y" } });
resultsMap.put("tFunc<aClass> (x, y)", new String[][] { { "aTypeObj" }, { "bTypeObj" } });
assertParametersGuesses(resultsMap);
}
@ -135,7 +134,7 @@ public class CPPParameterGuessingTests extends AbstractContentAssistTest {
Map<String, String[][]> resultsMap = new HashMap<>();
resultsMap.put("aMethod(c)", new String[][] { { "charX", "charY", "inCall" } });
resultsMap.put("aMethod(c, x)", new String[][] {
{ "charX", "charY"}, { "inCall" } });
{ "charX", "charY", "inCall"}, { "charX", "charY", "inCall" } });
assertParametersGuesses(resultsMap);
}
}

View file

@ -69,6 +69,7 @@ public class CParameterGuessingTests extends AbstractContentAssistTest {
// void foo(){
// aStruct ax;
// int x;
// ov
public void testMultipleFunctions() throws Exception {
Map<String, String[][]> resultsMap = new HashMap<>();