Exemplo n.º 1
0
        private void EnqueueMethodDispatcher(MethodInfo method)
        {
            object o = _classInstances.GetInstance(method.ReflectedType);

            if (o == null) {
                throw new NullReferenceException();
            }

            ITestWorkItem task = new UtMethodDispatcher(TestHarness, o, method, TestGranularity.TestScenario); // ??
            Enqueue(task);
        }
Exemplo n.º 2
0
        private void EnqueueMethodDispatcher(MethodInfo method)
        {
            object o = _classInstances.GetInstance(method.ReflectedType);

            if (o == null)
            {
                throw new NullReferenceException();
            }

            ITestWorkItem task = new UtMethodDispatcher(TestHarness, o, method, TestGranularity.TestScenario); // ??

            Enqueue(task);
        }
Exemplo n.º 3
0
 private void EnqueueMethodDispatcher(MethodInfo method)
 {
     ITestWorkItem task = new UtMethodDispatcher(TestHarness, _instance, method, TestGranularity.TestScenario);
     Enqueue(task);
 }
Exemplo n.º 4
0
        private void EnqueueMethodDispatcher(MethodInfo method)
        {
            ITestWorkItem task = new UtMethodDispatcher(TestHarness, _instance, method, TestGranularity.TestScenario);

            Enqueue(task);
        }