aboutsummaryrefslogtreecommitdiff
path: root/xbmc/addons/test/TestAddonDatabase.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'xbmc/addons/test/TestAddonDatabase.cpp')
-rw-r--r--xbmc/addons/test/TestAddonDatabase.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/xbmc/addons/test/TestAddonDatabase.cpp b/xbmc/addons/test/TestAddonDatabase.cpp
index 289a6af959..d5557dc273 100644
--- a/xbmc/addons/test/TestAddonDatabase.cpp
+++ b/xbmc/addons/test/TestAddonDatabase.cpp
@@ -39,19 +39,19 @@ protected:
std::vector<AddonInfoPtr> addons;
CreateAddon(addons, "foo.bar", "1.0.0");
database.SetRepoUpdateData("repository.a", {});
- database.UpdateRepositoryContent("repository.a", AddonVersion("1.0.0"), "test", addons);
+ database.UpdateRepositoryContent("repository.a", CAddonVersion("1.0.0"), "test", addons);
addons.clear();
CreateAddon(addons, "foo.baz", "1.1.0");
database.SetRepoUpdateData("repository.b", {});
- database.UpdateRepositoryContent("repository.b", AddonVersion("1.0.0"), "test", addons);
+ database.UpdateRepositoryContent("repository.b", CAddonVersion("1.0.0"), "test", addons);
}
void CreateAddon(std::vector<AddonInfoPtr>& addons, std::string id, const std::string& version)
{
- CAddonInfoBuilder::CFromDB builder;
+ CAddonInfoBuilderFromDB builder;
builder.SetId(std::move(id));
- builder.SetVersion(AddonVersion(version));
+ builder.SetVersion(CAddonVersion(version));
addons.push_back(builder.get());
}