X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=common%2Fsrc%2Ftest%2Fjava%2Forg%2Fopendaylight%2Ftransportpce%2Fcommon%2Ffixedflex%2FGridUtilsTest.java;h=831a67c6509e8a623729accf55a77e8779fc9a1d;hb=95e82b90f4afbbfc75b126236d0d011d0d015fb4;hp=261f46200380b6155fbad567d5c1353d82b0546c;hpb=9a4b847a365d4241644f1e50825c35fc43777dac;p=transportpce.git diff --git a/common/src/test/java/org/opendaylight/transportpce/common/fixedflex/GridUtilsTest.java b/common/src/test/java/org/opendaylight/transportpce/common/fixedflex/GridUtilsTest.java index 261f46200..831a67c65 100644 --- a/common/src/test/java/org/opendaylight/transportpce/common/fixedflex/GridUtilsTest.java +++ b/common/src/test/java/org/opendaylight/transportpce/common/fixedflex/GridUtilsTest.java @@ -130,7 +130,7 @@ public class GridUtilsTest { .FrequencyTHz(BigDecimal.valueOf(196.125))) .setMinFreq(new org.opendaylight.yang.gen.v1.http.org.openroadm.common.types.rev181019 .FrequencyTHz(BigDecimal.valueOf(196.075))) - .setWidth(new org.opendaylight.yang.gen.v1.http.org.openroadm.common.types.rev181019 + .setNmcWidth(new org.opendaylight.yang.gen.v1.http.org.openroadm.common.types.rev181019 .FrequencyGHz(GridConstant.WIDTH_40)) .build(); SpectrumInformation spectrumInformation = GridUtils.initSpectrumInformationFromServicePathInput(input); @@ -156,7 +156,7 @@ public class GridUtilsTest { .FrequencyTHz(BigDecimal.valueOf(196.125))) .setMinFreq(new org.opendaylight.yang.gen.v1.http.org.openroadm.common.types.rev181019 .FrequencyTHz(BigDecimal.valueOf(196.075))) - .setWidth(new org.opendaylight.yang.gen.v1.http.org.openroadm.common.types.rev181019 + .setNmcWidth(new org.opendaylight.yang.gen.v1.http.org.openroadm.common.types.rev181019 .FrequencyGHz(GridConstant.WIDTH_40)) .build(); SpectrumInformation spectrumInformation = GridUtils.initSpectrumInformationFromServicePathInput(input); @@ -178,7 +178,7 @@ public class GridUtilsTest { .setWaveNumber(Uint32.valueOf(1)) .setHigherSpectralSlotNumber(Uint32.valueOf(768)) .setLowerSpectralSlotNumber(Uint32.valueOf(761)) - .setWidth(new org.opendaylight.yang.gen.v1.http.org.openroadm.common.types.rev181019 + .setNmcWidth(new org.opendaylight.yang.gen.v1.http.org.openroadm.common.types.rev181019 .FrequencyGHz(GridConstant.WIDTH_40)) .build(); SpectrumInformation spectrumInformation = GridUtils.initSpectrumInformationFromServicePathInput(input);