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:
parent
0b156e4ce4
commit
95eee92c4c
2 changed files with 3 additions and 3 deletions
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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<>();
|
||||
|
|
Loading…
Add table
Reference in a new issue