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

StandardStyleSheets_AreRemoved() private method

private StandardStyleSheets_AreRemoved ( ) : void
return void
        public void StandardStyleSheets_AreRemoved()
        {
            var book = SetupBookLong("Some text", "en", extraStyleSheet: "<link rel='stylesheet' href='basePage.css'/>");
            MakeEpub("output", "StandardStyleSheets_AreRemoved", book);
            CheckBasicsInManifest();
            CheckBasicsInPage();
            CheckNavPage();
            CheckFontStylesheet();
            // Check that the standard stylesheet, not wanted in the ePUB, is removed.
            AssertThatXmlIn.String(_page1Data).HasNoMatchForXpath("//xhtml:head/xhtml:link[@href='basePage.css']", _ns); // standard stylesheet should be removed.
            Assert.That(_page1Data, Is.Not.StringContaining("basePage.css")); // make sure it's stripped completely
            Assert.That(_epub.GetEntry("content/basePage.ss"),Is.Null);
        }