aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarcel Bruch2012-05-29 16:18:29 (EDT)
committerMarcel Bruch2012-05-29 16:18:29 (EDT)
commitf27ecac2e00d1080373283a653c9c811b8e35b34 (patch)
tree4147046145238719d579add8f603e9a408acd119
parent575fe67f9fade448692fb607d7a83adbc5179a42 (diff)
downloadorg.eclipse.recommenders-f27ecac2e00d1080373283a653c9c811b8e35b34.zip
org.eclipse.recommenders-f27ecac2e00d1080373283a653c9c811b8e35b34.tar.gz
org.eclipse.recommenders-f27ecac2e00d1080373283a653c9c811b8e35b34.tar.bz2
[tests] fixed missed changes in tests on last mergerefs/changes/62/6162/1
Change-Id: I47680c723fb62ca19ab6ba993899133a55dd14f2 Signed-off-by: Marcel Bruch <bruch@st.informatik.tu-darmstadt.de>
-rw-r--r--tests/org.eclipse.recommenders.tests.completion.rcp/src/org/eclipse/recommenders/tests/completion/rcp/chain/ChainCompletionScenariosTest.xtend4
-rw-r--r--tests/org.eclipse.recommenders.tests.completion.rcp/xtend-gen/org/eclipse/recommenders/tests/completion/rcp/chain/ChainCompletionScenariosTest.java10
2 files changed, 7 insertions, 7 deletions
diff --git a/tests/org.eclipse.recommenders.tests.completion.rcp/src/org/eclipse/recommenders/tests/completion/rcp/chain/ChainCompletionScenariosTest.xtend b/tests/org.eclipse.recommenders.tests.completion.rcp/src/org/eclipse/recommenders/tests/completion/rcp/chain/ChainCompletionScenariosTest.xtend
index 3ea8fd4..5bb9473 100644
--- a/tests/org.eclipse.recommenders.tests.completion.rcp/src/org/eclipse/recommenders/tests/completion/rcp/chain/ChainCompletionScenariosTest.xtend
+++ b/tests/org.eclipse.recommenders.tests.completion.rcp/src/org/eclipse/recommenders/tests/completion/rcp/chain/ChainCompletionScenariosTest.xtend
@@ -34,7 +34,7 @@ class ChainCompletionScenariosTest {
for(completionIndex : struct.second){
val ctx = new org.eclipse.recommenders.tests.completion.rcp.JavaContentAssistContextMock(cu, completionIndex)
- val sut = new ChainCompletionProposalComputer(new RecommendersCompletionContextFactoryMock(), org::eclipse::recommenders::tests::completion::rcp::chain::ChainPreferenceStoreMock::create())
+ val sut = new TestingChainCompletionProposalComputer(new RecommendersCompletionContextFactoryMock(), org::eclipse::recommenders::tests::completion::rcp::chain::ChainPreferenceStoreMock::create())
sut.sessionStarted
sut.computeCompletionProposals(ctx, null)
}
@@ -967,7 +967,7 @@ class ChainCompletionScenariosTest {
val completionIndex = struct.second.head
val ctx = new org.eclipse.recommenders.tests.completion.rcp.JavaContentAssistContextMock(cu, completionIndex)
- val sut = new ChainCompletionProposalComputer(new RecommendersCompletionContextFactoryMock(), ChainPreferenceStoreMock::create())
+ val sut = new TestingChainCompletionProposalComputer(new RecommendersCompletionContextFactoryMock(), ChainPreferenceStoreMock::create())
sut.sessionStarted
val proposals = sut.computeCompletionProposals(ctx, null)
for(proposal : proposals){
diff --git a/tests/org.eclipse.recommenders.tests.completion.rcp/xtend-gen/org/eclipse/recommenders/tests/completion/rcp/chain/ChainCompletionScenariosTest.java b/tests/org.eclipse.recommenders.tests.completion.rcp/xtend-gen/org/eclipse/recommenders/tests/completion/rcp/chain/ChainCompletionScenariosTest.java
index 799996c..e82ebe9 100644
--- a/tests/org.eclipse.recommenders.tests.completion.rcp/xtend-gen/org/eclipse/recommenders/tests/completion/rcp/chain/ChainCompletionScenariosTest.java
+++ b/tests/org.eclipse.recommenders.tests.completion.rcp/xtend-gen/org/eclipse/recommenders/tests/completion/rcp/chain/ChainCompletionScenariosTest.java
@@ -11,12 +11,12 @@ import org.eclipse.jdt.core.ICompilationUnit;
import org.eclipse.jface.preference.IPreferenceStore;
import org.eclipse.jface.text.contentassist.ICompletionProposal;
import org.eclipse.recommenders.internal.completion.rcp.chain.ChainCompletionProposal;
-import org.eclipse.recommenders.internal.completion.rcp.chain.ChainCompletionProposalComputer;
import org.eclipse.recommenders.tests.CodeBuilder;
import org.eclipse.recommenders.tests.SmokeTestScenarios;
import org.eclipse.recommenders.tests.completion.rcp.JavaContentAssistContextMock;
import org.eclipse.recommenders.tests.completion.rcp.RecommendersCompletionContextFactoryMock;
import org.eclipse.recommenders.tests.completion.rcp.chain.ChainPreferenceStoreMock;
+import org.eclipse.recommenders.tests.completion.rcp.chain.TestingChainCompletionProposalComputer;
import org.eclipse.recommenders.tests.jdt.JavaProjectFixture;
import org.eclipse.recommenders.utils.Tuple;
import org.eclipse.xtend2.lib.StringConcatenation;
@@ -63,8 +63,8 @@ public class ChainCompletionScenariosTest {
final JavaContentAssistContextMock ctx = _javaContentAssistContextMock;
RecommendersCompletionContextFactoryMock _recommendersCompletionContextFactoryMock = new RecommendersCompletionContextFactoryMock();
IPreferenceStore _create = ChainPreferenceStoreMock.create();
- ChainCompletionProposalComputer _chainCompletionProposalComputer = new ChainCompletionProposalComputer(_recommendersCompletionContextFactoryMock, _create);
- final ChainCompletionProposalComputer sut = _chainCompletionProposalComputer;
+ TestingChainCompletionProposalComputer _testingChainCompletionProposalComputer = new TestingChainCompletionProposalComputer(_recommendersCompletionContextFactoryMock, _create);
+ final TestingChainCompletionProposalComputer sut = _testingChainCompletionProposalComputer;
sut.sessionStarted();
sut.computeCompletionProposals(ctx, null);
}
@@ -1543,8 +1543,8 @@ public class ChainCompletionScenariosTest {
final JavaContentAssistContextMock ctx = _javaContentAssistContextMock;
RecommendersCompletionContextFactoryMock _recommendersCompletionContextFactoryMock = new RecommendersCompletionContextFactoryMock();
IPreferenceStore _create = ChainPreferenceStoreMock.create();
- ChainCompletionProposalComputer _chainCompletionProposalComputer = new ChainCompletionProposalComputer(_recommendersCompletionContextFactoryMock, _create);
- final ChainCompletionProposalComputer sut = _chainCompletionProposalComputer;
+ TestingChainCompletionProposalComputer _testingChainCompletionProposalComputer = new TestingChainCompletionProposalComputer(_recommendersCompletionContextFactoryMock, _create);
+ final TestingChainCompletionProposalComputer sut = _testingChainCompletionProposalComputer;
sut.sessionStarted();
final List<ICompletionProposal> proposals = sut.computeCompletionProposals(ctx, null);
for (final ICompletionProposal proposal : proposals) {