public ExternalStylesheetBundleManifest_Tests()
 {
     manifest = new ExternalStylesheetBundleManifest
     {
         Path = "~",
         Hash = new byte[] { },
         Media = "MEDIA",
         Url = "http://example.com/"
     };
     createdBundle = (ExternalStylesheetBundle)manifest.CreateBundle();
 }
 public ExternalStylesheetBundleManifest_Tests()
 {
     settings = new CassetteSettings("");
     manifest = new ExternalStylesheetBundleManifest
     {
         Path = "~",
         Hash = new byte[] { },
         Media = "MEDIA",
         Url = "http://example.com/",
         Html = () => "EXPECTED-HTML"
     };
     createdBundle = (ExternalStylesheetBundle)manifest.CreateBundle(settings);
 }
 public ExternalStylesheetBundleManifest_Tests()
 {
     settings = new CassetteSettings("");
     manifest = new ExternalStylesheetBundleManifest
     {
         Path  = "~",
         Hash  = new byte[] { },
         Media = "MEDIA",
         Url   = "http://example.com/",
         Html  = () => "EXPECTED-HTML"
     };
     createdBundle = (ExternalStylesheetBundle)manifest.CreateBundle(settings);
 }
Example #4
0
        public ExternalStylesheetBundleManifestWriter_Tests()
        {
            manifest = new ExternalStylesheetBundleManifest
            {
                Path      = "~",
                Hash      = new byte[0],
                Url       = "http://example.com/",
                Media     = "MEDIA",
                Condition = "CONDITION"
            };

            WriteToElement();
        }
        public ExternalStylesheetBundleManifestWriter_Tests()
        {
            manifest = new ExternalStylesheetBundleManifest
            {
                Path = "~",
                Hash = new byte[0],
                Url = "http://example.com/",
                Media = "MEDIA",
                Condition = "CONDITION"
            };

            WriteToElement();
        }
 void ReadManifestFromElement()
 {
     var reader = new ExternalStylesheetBundleManifestReader(element);
     readManifest = reader.Read();
 }
        void ReadManifestFromElement()
        {
            var reader = new ExternalStylesheetBundleManifestReader(element);

            readManifest = reader.Read();
        }