Esempio n. 1
0
        public AphidInteropMethodInfo ResolveTest <TTargetType>(
            [PexAssumeUnderTest] InteropMethodResolver target,
            string methodName,
            object[] args
            )
        {
            AphidInteropMethodInfo result = target.Resolve <TTargetType>(methodName, args);

            return(result);
            // TODO: add assertions to method InteropMethodResolverTest.ResolveTest(InteropMethodResolver, String, Object[])
        }
Esempio n. 2
0
        public AphidInteropMethodInfo ResolveTest02(
            [PexAssumeUnderTest] InteropMethodResolver target,
            MethodBase[] nameMatches,
            object[] args
            )
        {
            AphidInteropMethodInfo result = target.Resolve(nameMatches, args);

            return(result);
            // TODO: add assertions to method InteropMethodResolverTest.ResolveTest02(InteropMethodResolver, MethodBase[], Object[])
        }
        public void CallInteropFunctionThrowsNullReferenceException464()
        {
            AphidInterpreter       aphidInterpreter;
            AphidInteropMethodInfo aphidInteropMethodInfo;
            AphidObject            aphidObject;

            aphidInterpreter       = AphidInterpreterFactory.Create();
            aphidInteropMethodInfo = new AphidInteropMethodInfo
                                         ((MethodBase)null, (Type[])null, (AphidInteropMethodArg[])null);
            aphidObject = this.CallInteropFunction(aphidInterpreter, (AphidExpression)null,
                                                   aphidInteropMethodInfo, (AphidInteropMember)null);
        }
Esempio n. 4
0
        public AphidObject CallInteropFunction(
            [PexAssumeUnderTest] AphidInterpreter target,
            AphidExpression callExpression,
            AphidInteropMethodInfo methodInfo,
            AphidInteropMember interopMembers
            )
        {
            AphidObject result = target.CallInteropFunction(callExpression, methodInfo, interopMembers);

            return(result);
            // TODO: add assertions to method AphidInterpreterTest.CallInteropFunction(AphidInterpreter, AphidExpression, AphidInteropMethodInfo, AphidInteropMember)
        }