@Test public void shouldGetDefaultItemsDefinitionHashIfNoItemsXmlWasFound() throws Exception { fireflyExtension = createExtension(EXTENSION_WITHOUT_ITEMS_XML, false); String resultHash = fireflyExtension.getItemsDefinitionHash(); assertEquals(NO_ITEMS_XML_MD5, resultHash); }
String getItemsDefinitionHash() { return getHashFromFile(new File(rootPath, "resources/" + name + "-items.xml"), NO_ITEMS_XML_MD5); }
FireflyExtension { String getItemsDefinitionHash() { return getHashFromFile(new File(rootPath, "resources/" + name + "-items.xml"), NO_ITEMS_XML_MD5); } }
FireflyExtension { String getItemsDefinitionHash() { return getHashFromFile(new File(rootPath, "resources/" + name + "-items.xml"), NO_ITEMS_XML_MD5); } FireflyExtension(String name, File rootPath, FireflyExtensionRepository fireflyExtensionRepository, MigrationRepository migrationRepository, boolean relaxedMode); }
FireflyExtension { String getItemsDefinitionHash() { return getHashFromFile(new File(rootPath, "resources/" + name + "-items.xml"), NO_ITEMS_XML_MD5); } FireflyExtension(String name, File rootPath, FireflyExtensionRepository fireflyExtensionRepository, MigrationRepository migrationRepository, boolean relaxedMode); boolean isUpdateRequired(); boolean isHmcResetRequired(); void onHmcReset(PK migration); void onUpdate(PK migration); @Override String toString(); }
FireflyExtension { String getItemsDefinitionHash() { return getHashFromFile(new File(rootPath, "resources/" + name + "-items.xml"), NO_ITEMS_XML_MD5); } FireflyExtension(String name, File rootPath, FireflyExtensionRepository fireflyExtensionRepository, MigrationRepository migrationRepository, boolean relaxedMode); boolean isUpdateRequired(); boolean isHmcResetRequired(); void onHmcReset(PK migration); void onUpdate(PK migration); @Override String toString();  }