예제 #1
0
 public void TestInitialize()
 {
     base.Initialize();
     MockLicensingFactory = (MockLicensingFactory)Ctx.GetObject("MockLicensingFactory");
     LicensingFactory     = (LicensingFactory)Ctx.GetObject("LicensingFactory");
     License          = MockLicensingFactory.NewMockLicense();
     LicenseCondition = LicensingFactory.NewLicensedCondition(License);
 }
예제 #2
0
        public void TestInitialize()
        {
            base.Initialize();
            MockLicensingFactory = (MockLicensingFactory)Ctx.GetObject("MockLicensingFactory");
            LicensingFactory     = (LicensingFactory)Ctx.GetObject("LicensingFactory");
            License         license1 = MockLicensingFactory.NewMockLicense();
            License         license2 = MockLicensingFactory.NewMockLicense();
            IList <License> licenses = new List <License>();

            licenses.Add(license1);
            licenses.Add(license2);
            CompositeLicense     = LicensingFactory.NewCompositeLicense(licenses);
            CompositeLicenseImpl = (CompositeLicenseImpl)CompositeLicense;
        }
예제 #3
0
 public void TestInitialize()
 {
     base.Initialize();
     MockLicensingFactory = (MockLicensingFactory)Ctx.GetObject("MockLicensingFactory");
     LicensingFactory     = (LicensingFactory)Ctx.GetObject("LicensingFactory");
 }