Ejemplo n.º 1
0
        public override DefinitionBase GenerateRandomDefinition(Action <DefinitionBase> action)
        {
            return(WithEmptyDefinition(def =>
            {
                def.ServerName = Rnd.DbServerName();
                def.DbName = Rnd.String(16);

                def.WarningSiteCollectionNumber = Rnd.Int(1000) + 10;
                def.MaximumSiteCollectionNumber = def.WarningSiteCollectionNumber + 10;
            }));
        }
Ejemplo n.º 2
0
        public override DefinitionBase GenerateRandomDefinition(Action <DefinitionBase> action)
        {
            return(WithEmptyDefinition(def =>
            {
                def.Port = 1000 + Rnd.Int(20000);

                def.AllowAnonymousAccess = false;
                def.ManagedAccount = Rnd.UserName();

                def.CreateNewDatabase = true;

                def.DatabaseServer = Rnd.DbServerName();
                def.DatabaseName = Rnd.String();
            }));
        }