@Test public void testFactoryGarmentTag() { m_adapterManager.deploy(m_stdAdapterv2, m_subSystem, getClass(), m_deviceInterface); assertNull(m_adapterManager.getFactoryGarmentTag(m_stdAdapterv2)); m_adapterManager.deploy(m_deviceAdapter1, m_subSystem, getClass(), m_deviceInterface); assertEquals(4, m_adapterManager.getFactoryGarmentTag(m_deviceAdapter1).getTotalNumberOfStandardModules()); assertEquals(6, m_adapterManager.getFactoryGarmentTag(m_deviceAdapter1).getNumberOfModulesOfVendorAdapter()); assertEquals("[ietf-interfaces]", String.valueOf(m_adapterManager.getFactoryGarmentTag(m_deviceAdapter1).getAugmentedStdModules())); assertEquals("[ietf-interfaces]", String.valueOf(m_adapterManager.getFactoryGarmentTag(m_deviceAdapter1).getDeviatedStdModules())); assertEquals(100, m_adapterManager.getFactoryGarmentTag(m_deviceAdapter1).getAdherencePercentage()); assertEquals("25%", m_adapterManager.getFactoryGarmentTag(m_deviceAdapter1).getPercentageDeviatedStdModules()); assertEquals("25%", m_adapterManager.getFactoryGarmentTag(m_deviceAdapter1).getPercentageAugmentedStdModules()); }
public FactoryGarmentTag(int totalNumberOfStandardModules, int numberOfModulesOfVendorAdapter, int numberOfReusedStandardModules, List<String> deviatedStandardModules, List<String> augmentedStdModules) { this.m_totalNumberOfStandardModules = totalNumberOfStandardModules; this.m_numberOfReusedStandardModules = numberOfReusedStandardModules; this.m_deviatedStdModules = deviatedStandardModules; this.m_numberOfModulesOfVendorAdapter = numberOfModulesOfVendorAdapter; this.m_augmentedStdModules = augmentedStdModules; }
FactoryGarmentTag { public FactoryGarmentTag(int totalNumberOfStandardModules, int numberOfModulesOfVendorAdapter, int numberOfReusedStandardModules, List<String> deviatedStandardModules, List<String> augmentedStdModules) { this.m_totalNumberOfStandardModules = totalNumberOfStandardModules; this.m_numberOfReusedStandardModules = numberOfReusedStandardModules; this.m_deviatedStdModules = deviatedStandardModules; this.m_numberOfModulesOfVendorAdapter = numberOfModulesOfVendorAdapter; this.m_augmentedStdModules = augmentedStdModules; } }
FactoryGarmentTag { public FactoryGarmentTag(int totalNumberOfStandardModules, int numberOfModulesOfVendorAdapter, int numberOfReusedStandardModules, List<String> deviatedStandardModules, List<String> augmentedStdModules) { this.m_totalNumberOfStandardModules = totalNumberOfStandardModules; this.m_numberOfReusedStandardModules = numberOfReusedStandardModules; this.m_deviatedStdModules = deviatedStandardModules; this.m_numberOfModulesOfVendorAdapter = numberOfModulesOfVendorAdapter; this.m_augmentedStdModules = augmentedStdModules; } FactoryGarmentTag(int totalNumberOfStandardModules, int numberOfModulesOfVendorAdapter, int numberOfReusedStandardModules,
                             List<String> deviatedStandardModules, List<String> augmentedStdModules); }
FactoryGarmentTag { public FactoryGarmentTag(int totalNumberOfStandardModules, int numberOfModulesOfVendorAdapter, int numberOfReusedStandardModules, List<String> deviatedStandardModules, List<String> augmentedStdModules) { this.m_totalNumberOfStandardModules = totalNumberOfStandardModules; this.m_numberOfReusedStandardModules = numberOfReusedStandardModules; this.m_deviatedStdModules = deviatedStandardModules; this.m_numberOfModulesOfVendorAdapter = numberOfModulesOfVendorAdapter; this.m_augmentedStdModules = augmentedStdModules; } FactoryGarmentTag(int totalNumberOfStandardModules, int numberOfModulesOfVendorAdapter, int numberOfReusedStandardModules,
                             List<String> deviatedStandardModules, List<String> augmentedStdModules); int getTotalNumberOfStandardModules(); int getAdherencePercentage(); List<String> getDeviatedStdModules(); List<String> getAugmentedStdModules(); String getPercentageDeviatedStdModules(); String getPercentageAugmentedStdModules(); int getNumberOfModulesOfVendorAdapter(); @Override String toString(); }
FactoryGarmentTag { public FactoryGarmentTag(int totalNumberOfStandardModules, int numberOfModulesOfVendorAdapter, int numberOfReusedStandardModules, List<String> deviatedStandardModules, List<String> augmentedStdModules) { this.m_totalNumberOfStandardModules = totalNumberOfStandardModules; this.m_numberOfReusedStandardModules = numberOfReusedStandardModules; this.m_deviatedStdModules = deviatedStandardModules; this.m_numberOfModulesOfVendorAdapter = numberOfModulesOfVendorAdapter; this.m_augmentedStdModules = augmentedStdModules; } FactoryGarmentTag(int totalNumberOfStandardModules, int numberOfModulesOfVendorAdapter, int numberOfReusedStandardModules,
                             List<String> deviatedStandardModules, List<String> augmentedStdModules); int getTotalNumberOfStandardModules(); int getAdherencePercentage(); List<String> getDeviatedStdModules(); List<String> getAugmentedStdModules(); String getPercentageDeviatedStdModules(); String getPercentageAugmentedStdModules(); int getNumberOfModulesOfVendorAdapter(); @Override String toString();  }