BloomTests.Publish.ExportEpubTests.VerifyThatFilesInManifestArePresent C# (CSharp) Method

VerifyThatFilesInManifestArePresent() private method

Check that all the files referenced in the manifest are actually present in the zip.
private VerifyThatFilesInManifestArePresent ( ) : void
return void
        void VerifyThatFilesInManifestArePresent()
        {
            XNamespace opf = "http://www.idpf.org/2007/opf";
            var files = _manifestDoc.Root.Element(opf + "manifest").Elements(opf + "item").Select(item => item.Attribute("href").Value);
            foreach (var file in files)
            {
                GetZipEntry(_epub, Path.GetDirectoryName(_manifestFile) + "/" + file);
            }
        }