Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
38 lines (31 sloc) 1.57 KB
using System.IO;
namespace Rhino.Licensing.Tests
{
public class BaseLicenseTest
{
public readonly static string public_and_private;
public readonly static string public_only;
public readonly static string floating_private;
public readonly static string floating_public;
static BaseLicenseTest()
{
public_and_private = new StreamReader(typeof (Can_generate_and_validate_key)
.Assembly
.GetManifestResourceStream(
"Rhino.Licensing.Tests.public_and_private.xml"))
.ReadToEnd();
public_only = new StreamReader(typeof (Can_generate_and_validate_key)
.Assembly
.GetManifestResourceStream("Rhino.Licensing.Tests.public_only.xml"))
.ReadToEnd();
floating_private = new StreamReader(typeof(Can_generate_and_validate_key)
.Assembly
.GetManifestResourceStream("Rhino.Licensing.Tests.floating_private.xml"))
.ReadToEnd();
floating_public = new StreamReader(typeof(Can_generate_and_validate_key)
.Assembly
.GetManifestResourceStream("Rhino.Licensing.Tests.floating_public.xml"))
.ReadToEnd();
}
}
}