Skip to content
Snippets Groups Projects
Commit 7b922c43 authored by Nikolaus Huber's avatar Nikolaus Huber
Browse files

git-svn-id: https://se1.informatik.uni-wuerzburg.de/usvn/svn/code/code/DMM/trunk@11927 9e42b895-fcda-4063-8a3b-11be15eb1bbd
parent 59696078
No related branches found
No related tags found
No related merge requests found
......@@ -67,7 +67,8 @@ public class WeightedSumWeightingFunctionTest extends AbstractTest {
fun.getWeightedMetrics().add(wmRespTime);
fun.getWeightedMetrics().add(wmUtil);
weightedSum = new WeightedSum(fun);
weightedSum = new WeightedSum();
weightedSum.setWeightingFunction(fun);
wt = AdaptationFactory.eINSTANCE.createWeightedTactic();
......@@ -123,7 +124,8 @@ public class WeightedSumWeightingFunctionTest extends AbstractTest {
WeightedTactic wt = AdaptationFactory.eINSTANCE.createWeightedTactic();
wt.setLastImpact(impact);
WeightedSum wSumCalc = new WeightedSum(testFunction);
WeightedSum wSumCalc = new WeightedSum();
wSumCalc.setWeightingFunction(testFunction);
for (MetricType metricType : metricTypes) {
WeightedMetric wm = AdaptationFactory.eINSTANCE.createWeightedMetric();
wm.setMetricType(metricType);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment