Exemplo n.º 1
0
        public GetOrCreateUnitTestResponse GetOrCreateUnitTest(IUnitTestTypeControl unitTestTypeControl, string systemName)
        {
            var createData = new GetOrCreateUnitTestData(systemName)
            {
                UnitTestTypeControl = unitTestTypeControl
            };

            return(GetOrCreateUnitTest(createData));
        }
Exemplo n.º 2
0
        public GetOrCreateUnitTestResponse GetOrCreateUnitTest(string typeSystemName, string instanceSystemName)
        {
            var type       = Client.GetOrCreateUnitTestTypeControl(typeSystemName);
            var createData = new GetOrCreateUnitTestData(instanceSystemName)
            {
                UnitTestTypeControl = type
            };

            return(GetOrCreateUnitTest(createData));
        }
Exemplo n.º 3
0
        public IUnitTestControl GetOrCreateUnitTestControl(
            string systemName,
            string displayName)
        {
            var type       = GetCustomUnitTestType();
            var createData = new GetOrCreateUnitTestData(systemName)
            {
                DisplayName         = displayName,
                UnitTestTypeControl = type
            };

            return(GetOrCreateUnitTestControl(createData));
        }
Exemplo n.º 4
0
        public IUnitTestControl GetOrCreateUnitTestControl(string systemName)
        {
            if (systemName == null)
            {
                throw new ArgumentNullException("systemName");
            }
            var type       = GetCustomUnitTestType();
            var createData = new GetOrCreateUnitTestData(systemName)
            {
                UnitTestTypeControl = type
            };

            return(GetOrCreateUnitTestControl(createData));
        }
 internal GetOrCreateUnitTestControlData(
     ComponentControlWrapper component,
     GetOrCreateUnitTestData data)
 {
     if (component == null)
     {
         throw new ArgumentNullException("component");
     }
     if (data == null)
     {
         throw new ArgumentNullException("data");
     }
     Component = component;
     Data      = data;
 }
Exemplo n.º 6
0
 public abstract IUnitTestControl GetOrCreateUnitTestControl(GetOrCreateUnitTestData data);
Exemplo n.º 7
0
 public abstract GetOrCreateUnitTestResponse GetOrCreateUnitTest(GetOrCreateUnitTestData data);