public void GetProjectMasterSchema() { string schema = AssemblyResources.GetSchema <ProjectMaster>(); Assert.That(schema, Is.Not.Empty); }
public void InvalidPath() { AssemblyResources.GetTextFile("Invalid.Path"); }
public void GetEmbeddedSchemas() { string[] schemas = AssemblyResources.GetSchemaNames(Assembly.GetExecutingAssembly()); Assert.That(schemas.Length, Is.EqualTo(1)); Assert.That(schemas[0], Is.EqualTo(resourceTestProjectxsd)); }
public void GetResource() { string xsd = AssemblyResources.GetTextFile(resourceTestProjectxsd); Assert.That(xsd, Is.Not.Empty); }