コード例 #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");
 }