File size: 1,639 Bytes
fab29d7 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 |
using VersOne.Epub.Schema;
using static VersOne.Epub.Test.Unit.TestData.TestEpubData;
namespace VersOne.Epub.Test.Unit.TestData
{
internal static class TestEpubSchemas
{
public static EpubSchema CreateMinimalTestEpubSchema()
{
return new
(
package: TestEpubPackages.CreateMinimalTestEpubPackage(),
epub2Ncx: null,
epub3NavDocument: new Epub3NavDocument
(
filePath: NAV_FILE_PATH
),
mediaOverlays: null,
contentDirectoryPath: CONTENT_DIRECTORY_PATH
);
}
public static EpubSchema CreateMinimalTestEpub2SchemaWithoutNavigation()
{
return new
(
package: TestEpubPackages.CreateMinimalTestEpub2PackageWithoutNavigation(),
epub2Ncx: null,
epub3NavDocument: null,
mediaOverlays: null,
contentDirectoryPath: CONTENT_DIRECTORY_PATH
);
}
public static EpubSchema CreateFullTestEpubSchema()
{
return new
(
package: TestEpubPackages.CreateFullTestEpubPackage(),
epub2Ncx: TestEpub2Ncxes.CreateFullTestEpub2Ncx(),
epub3NavDocument: TestEpub3NavDocuments.CreateFullTestEpub3NavDocument(),
mediaOverlays: new List<Smil>()
{
TestSmils.CreateFullTestSmil()
},
contentDirectoryPath: CONTENT_DIRECTORY_PATH
);
}
}
}
|