public void ShouldCreateAchiveDbSourceFile() { var archiveDbCodDom = new ArchiveDbCodeDom(); var code = archiveDbCodDom.GenerateSource(metaData.coreFileMetaData, metaData.extensionFileMetaData); Assert.NotEmpty(code); }
public void ShouldCreateAchiveDbSourceFileWithOptions() { var archiveDbCodDom = new ArchiveDbCodeDom(false, new FileReaderConfiguration() { BufferSize = 1024 }, new RowFactoryConfiguration() { Strategy = RowStrategy.Greedy }); var code = archiveDbCodDom.GenerateSource(metaData.coreFileMetaData, metaData.extensionFileMetaData); Assert.NotEmpty(code); }