コード例 #1
0
        public object ConvertTest04(Type targetType, decimal value)
        {
            object result = AphidTypeConverter.Convert(targetType, value);

            return(result);
            // TODO: add assertions to method AphidTypeConverterTest.ConvertTest04(Type, Decimal)
        }
コード例 #2
0
        public object ConvertTest02(MethodBase opMethod, object argument)
        {
            object result = AphidTypeConverter.Convert(opMethod, argument);

            return(result);
            // TODO: add assertions to method AphidTypeConverterTest.ConvertTest02(MethodBase, Object)
        }
コード例 #3
0
 public object[] ConvertTest(
     [PexAssumeUnderTest] AphidTypeConverter target,
     AphidInteropMethodArg[] args,
     Type[] genericArguments
     )
 {
     object[] result = target.Convert(args, genericArguments);
     return(result);
     // TODO: add assertions to method AphidTypeConverterTest.ConvertTest(AphidTypeConverter, AphidInteropMethodArg[], Type[])
 }
コード例 #4
0
        public object ConvertTest03(
            [PexAssumeUnderTest] AphidTypeConverter target,
            Type targetType,
            object srcValue,
            Type[] genericArguments
            )
        {
            object result = target.Convert(targetType, srcValue, genericArguments);

            return(result);
            // TODO: add assertions to method AphidTypeConverterTest.ConvertTest03(AphidTypeConverter, Type, Object, Type[])
        }