public Test_SimpleDelegate ResultFunc11()
        {
            Test_SimpleDelegate simpleDelegate = new Test_SimpleDelegate();

            simpleDelegate.Bind(BindMe);
            return(simpleDelegate);
        }
Esempio n. 2
0
        public static void Run()
        {
            UClass unrealClass = UClass.GetClass <Test_SimpleClassTMap>();

            Tests.Assert(unrealClass != null, "Test_SimpleClassTMap");

            Tests.AssertTMapProperty <UInt8Property, UNameProperty>(unrealClass, "Val1");
            Tests.AssertTMapProperty <UByteProperty, UStrProperty>(unrealClass, "Val2");
            Tests.AssertTMapProperty <UInt16Property, USoftObjectProperty>(unrealClass, "Val3");
            Tests.AssertTMapProperty <UUInt16Property, USoftClassProperty>(unrealClass, "Val4");
            Tests.AssertTMapProperty <UIntProperty, USoftClassProperty>(unrealClass, "Val5");
            Tests.AssertTMapProperty <UUInt32Property, UWeakObjectProperty>(unrealClass, "Val6");
            Tests.AssertTMapProperty <UInt64Property, ULazyObjectProperty>(unrealClass, "Val7");
            Tests.AssertTMapProperty <UUInt64Property, UClassProperty>(unrealClass, "Val8");
            Tests.AssertTMapProperty <UFloatProperty, UStructProperty>(unrealClass, "Val9");
            Tests.AssertTMapProperty <UDoubleProperty, UEnumProperty>(unrealClass, "Val10");
            //Tests.AssertTMapProperty<UDelegateProperty, UObjectProperty>(unrealClass, "Val11");
            //Tests.AssertTMapProperty<UMulticastDelegateProperty, UMulticastDelegateProperty>(unrealClass, "Val12");
            Tests.AssertTMapProperty <UObjectProperty, UDelegateProperty>(unrealClass, "Val13");
            Tests.AssertTMapProperty <UEnumProperty, UDoubleProperty>(unrealClass, "Val14");
            Tests.AssertTMapProperty <UStructProperty, UFloatProperty>(unrealClass, "Val15");
            Tests.AssertTMapProperty <UClassProperty, UUInt64Property>(unrealClass, "Val16");
            Tests.AssertTMapProperty <ULazyObjectProperty, UInt64Property>(unrealClass, "Val17");
            //Tests.AssertTMapProperty<UWeakObjectProperty, UUInt32Property>(unrealClass, "Val18");
            Tests.AssertTMapProperty <USoftClassProperty, UIntProperty>(unrealClass, "Val19");
            Tests.AssertTMapProperty <USoftObjectProperty, UUInt16Property>(unrealClass, "Val20");
            Tests.AssertTMapProperty <UStrProperty, UInt16Property>(unrealClass, "Val21");
            Tests.AssertTMapProperty <UNameProperty, UByteProperty>(unrealClass, "Val22");
            //Tests.AssertTSetProperty<UTextProperty>(unrealClass, "Val23");

            Test_SimpleClassTMap obj = NewObject <Test_SimpleClassTMap>();

            obj.Val1.Add(100, new FName("test1"));
            Tests.AssertEqual(obj.Val1[100], new FName("test1"), unrealClass, "Val1");
            obj.Val1.Add(101, new FName("test2"));
            Tests.AssertEqual(obj.Val1[101], new FName("test2"), unrealClass, "Val1");
            obj.Val1.Add(101, new FName("test3"));
            IDictionary <sbyte, FName> test = obj.Val1;

            Tests.AssertEqual(obj.Val1[101], new FName("test3"), unrealClass, "Val1");
            Tests.AssertEqual(obj.Val1.Count, 2, unrealClass, "Val1");
            obj.Val1.Remove(101);
            Tests.AssertEqual(obj.Val1.Count, 1, unrealClass, "Val1");
            obj.Val1.Clear();
            Tests.AssertEqual(obj.Val1.Count, 0, unrealClass, "Val1");

            obj.Val2.Add(102, "test4");
            obj.Val2.Add(103, "test5");
            Tests.AssertEqual(obj.Val2[102], "test4", unrealClass, "Val2");
            Tests.AssertEqual(obj.Val2[103], "test5", unrealClass, "Val2");
            Tests.AssertEqual(obj.Val2.Count, 2, unrealClass, "Val2");

            obj.Val3.Add(103, new TSoftObject <UObject>(Tests.ActorClass));
            obj.Val3.Add(104, TSoftObject <UObject> .Null);
            Tests.AssertEqual(obj.Val3[103], new TSoftObject <UObject>(Tests.ActorClass), unrealClass, "Val3");
            Tests.AssertEqual(obj.Val3[104], TSoftObject <UObject> .Null, unrealClass, "Val3");
            obj.Val3[103] = TSoftObject <UObject> .Null;
            obj.Val3[104] = new TSoftObject <UObject>(Tests.ActorClass);
            Tests.AssertEqual(obj.Val3[103], TSoftObject <UObject> .Null, unrealClass, "Val3");
            Tests.AssertEqual(obj.Val3[104], new TSoftObject <UObject>(Tests.ActorClass), unrealClass, "Val3");

            obj.Val4.Add(105, new TSoftClass <UObject>(Tests.ActorClass));
            obj.Val4.Add(106, TSoftClass <UObject> .Null);
            Tests.AssertEqual(obj.Val4[105], new TSoftClass <UObject>(Tests.ActorClass), unrealClass, "Val4");
            Tests.AssertEqual(obj.Val4[106], TSoftClass <UObject> .Null, unrealClass, "Val4");

            obj.Val5.Add(107, new TSoftClass <UObject>(Tests.ActorClass));
            obj.Val5.Add(108, TSoftClass <UObject> .Null);
            Tests.AssertEqual(obj.Val5[107], new TSoftClass <UObject>(Tests.ActorClass), unrealClass, "Val5");
            Tests.AssertEqual(obj.Val5[108], TSoftClass <UObject> .Null, unrealClass, "Val5");

            obj.Val6.Add(109, new TWeakObject <UObject>(Tests.ActorClass));
            obj.Val6.Add(110, TWeakObject <UObject> .Null);
            Tests.AssertEqual(obj.Val6[109], new TWeakObject <UObject>(Tests.ActorClass), unrealClass, "Val6");
            Tests.AssertEqual(obj.Val6[110], TWeakObject <UObject> .Null, unrealClass, "Val6");

            obj.Val7.Add(111, new TLazyObject <UObject>(Tests.ActorClass));
            obj.Val7.Add(112, TLazyObject <UObject> .Null);
            Tests.AssertEqual(obj.Val7[111], new TLazyObject <UObject>(Tests.ActorClass), unrealClass, "Val7");
            Tests.AssertEqual(obj.Val7[112], TLazyObject <UObject> .Null, unrealClass, "Val7");

            obj.Val8.Add(113, new TSubclassOf <UObject>(Tests.ActorClass));
            obj.Val8.Add(114, TSubclassOf <UObject> .Null);
            Tests.AssertEqual(obj.Val8[113], new TSubclassOf <UObject>(Tests.ActorClass), unrealClass, "Val8");
            Tests.AssertEqual(obj.Val8[114], TSubclassOf <UObject> .Null, unrealClass, "Val8");

            Test_SimpleBlittableStruct blitt1 = StructDefault <Test_SimpleBlittableStruct> .Value;

            blitt1.Val1 = 10;
            blitt1.Val2 = 11;
            obj.Val9.Add(115.5f, blitt1);
            obj.Val9.Add(116.5f, default(Test_SimpleBlittableStruct));
            Tests.AssertEqual(obj.Val9[115.5f], blitt1, unrealClass, "Val9");
            Tests.AssertEqual(obj.Val9[116.5f], default(Test_SimpleBlittableStruct), unrealClass, "Val9");

            obj.Val10.Add(117.2, Test_SimpleEnum.Val2);
            obj.Val10.Add(118.2, Test_SimpleEnum.Val3);
            Tests.AssertEqual(obj.Val10[117.2], Test_SimpleEnum.Val2, unrealClass, "Val10");
            Tests.AssertEqual(obj.Val10[118.2], Test_SimpleEnum.Val3, unrealClass, "Val10");

            Test_SimpleDelegate simpleDelegate = new Test_SimpleDelegate();

            simpleDelegate.Bind(obj.BindSimpleDelegate);
            obj.Val13.Add(Tests.ActorClass, simpleDelegate);
            obj.Val13.Add(null, null);
            Tests.Assert(obj.Val13[Tests.ActorClass].IsTargetBound(obj, new FName("BindSimpleDelegate")), unrealClass, "Val13");
            Tests.Assert(!obj.Val13[null].IsBound, unrealClass, "Val13");

            obj.Val14.Add(Test_SimpleEnum.Val3, 0.3);
            obj.Val14.Add(Test_SimpleEnum.Val2, 0.6);
            Tests.AssertEqual(obj.Val14[Test_SimpleEnum.Val3], 0.3, unrealClass, "Val14");
            Tests.AssertEqual(obj.Val14[Test_SimpleEnum.Val2], 0.6, unrealClass, "Val14");

            obj.Val15.Add(blitt1, 0.4f);
            obj.Val15.Add(default(Test_SimpleBlittableStruct), 0.8f);
            Tests.AssertEqual(obj.Val15[blitt1], 0.4f, unrealClass, "Val15");
            Tests.AssertEqual(obj.Val15[default(Test_SimpleBlittableStruct)], 0.8f, unrealClass, "Val15");

            obj.Val16.Add(new TSubclassOf <UObject>(Tests.ActorClass), 22u);
            obj.Val16.Add(TSubclassOf <UObject> .Null, 24u);
            Tests.AssertEqual(obj.Val16[new TSubclassOf <UObject>(Tests.ActorClass)], 22u, unrealClass, "Val16");
            Tests.AssertEqual(obj.Val16[TSubclassOf <UObject> .Null], 24u, unrealClass, "Val16");

            obj.Val17.Add(new TLazyObject <UObject>(Tests.ActorClass), 25);
            obj.Val17.Add(TLazyObject <UObject> .Null, 26);
            Tests.AssertEqual(obj.Val17[new TLazyObject <UObject>(Tests.ActorClass)], 25, unrealClass, "Val17");
            Tests.AssertEqual(obj.Val17[TLazyObject <UObject> .Null], 26, unrealClass, "Val17");

            obj.Val19.Add(new TSoftClass <UObject>(Tests.ActorClass), 29);
            obj.Val19.Add(TSoftClass <UObject> .Null, 30);
            Tests.AssertEqual(obj.Val19[new TSoftClass <UObject>(Tests.ActorClass)], 29, unrealClass, "Val19");
            Tests.AssertEqual(obj.Val19[TSoftClass <UObject> .Null], 30, unrealClass, "Val19");

            obj.Val20.Add(new TSoftObject <UObject>(Tests.ActorClass), 31);
            obj.Val20.Add(TSoftObject <UObject> .Null, 32);
            Tests.AssertEqual(obj.Val20[new TSoftObject <UObject>(Tests.ActorClass)], 31, unrealClass, "Val20");
            Tests.AssertEqual(obj.Val20[TSoftObject <UObject> .Null], 32, unrealClass, "Val20");

            obj.Val21.Add("test1", 33);
            obj.Val21.Add("test2", 34);
            Tests.AssertEqual(obj.Val21["test1"], 33, unrealClass, "Val21");
            Tests.AssertEqual(obj.Val21["test2"], 34, unrealClass, "Val21");

            obj.Val22.Add(new FName("test3"), 35);
            obj.Val22.Add(new FName("test4"), 36);
            Tests.AssertEqual(obj.Val22[new FName("test3")], 35, unrealClass, "Val22");
            Tests.AssertEqual(obj.Val22[new FName("test4")], 36, unrealClass, "Val22");
        }
Esempio n. 3
0
 public static void Run()
 {
     Test_SimpleDelegate.Run();
     Test_SimpleMulticastDelegate.Run();
 }
        private long Func3(
            out sbyte p1,
            out byte p2,
            out short p3,
            out ushort p4,
            out int p5,
            out uint p6,
            out long p7,
            out ulong p8,
            out float p9,
            out double p10,
            out Test_SimpleDelegate p11,
            out Test_SimpleMulticastDelegate p12,
            out UObject p13,
            out Test_SimpleEnum p14,
            out Test_FixedArrayInStruct p15,
            out TSubclassOf <UObject> p16,
            out TLazyObject <UObject> p17,
            out TWeakObject <UObject> p18,
            out TSoftClass <UObject> p19,
            out TSoftObject <UObject> p20,
            out string p21,
            out FName p22)
        {
            Test_SimpleDelegate simpleDelegate = new Test_SimpleDelegate();

            simpleDelegate.Bind(BindMe);

            Test_SimpleMulticastDelegate multicastDelegate = new Test_SimpleMulticastDelegate();

            multicastDelegate.Bind(BindMeMulti1);
            multicastDelegate.Bind(BindMeMulti2);
            multicastDelegate.Bind(BindMeMulti3);

            UClass actorClass = GetActorClass();

            p1  = 3;
            p2  = 4;
            p3  = 5;
            p4  = 6;
            p5  = 7;
            p6  = 8;
            p7  = 9;
            p8  = 10;
            p9  = 11.2f;
            p10 = 12.5f;
            p11 = null;
            p12 = multicastDelegate;
            p13 = actorClass;
            p14 = Test_SimpleEnum.Val2;
            p15 = new Test_FixedArrayInStruct()
            {
                Array1 = new sbyte[3] {
                    2, 5, 100
                }
            };
            p16 = new TSubclassOf <UObject>(actorClass);
            p17 = new TLazyObject <UObject>(actorClass);
            p18 = new TWeakObject <UObject>(actorClass);
            p19 = new TSoftClass <UObject>(actorClass);
            p20 = new TSoftObject <UObject>(actorClass);
            p21 = "changed123";
            p22 = new FName("321changed");
            return(13232);
        }
        public long Func2(
            ref sbyte p1,
            ref byte p2,
            ref short p3,
            ref ushort p4,
            ref int p5,
            ref uint p6,
            ref long p7,
            ref ulong p8,
            ref float p9,
            ref double p10,
            ref Test_SimpleDelegate p11,
            ref Test_SimpleMulticastDelegate p12,
            ref UObject p13,
            ref Test_SimpleEnum p14,
            ref Test_FixedArrayInStruct p15,
            ref TSubclassOf <UObject> p16,
            ref TLazyObject <UObject> p17,
            ref TWeakObject <UObject> p18,
            ref TSoftClass <UObject> p19,
            ref TSoftObject <UObject> p20,
            ref string p21,
            ref FName p22)
        {
            UClass unrealClass = GetClass();

            Tests.AssertEqual(p1, 2, unrealClass, "Func2.p1");
            Tests.AssertEqual(p2, 3, unrealClass, "Func2.p2");
            Tests.AssertEqual(p3, 4, unrealClass, "Func2.p3");
            Tests.AssertEqual(p4, 5, unrealClass, "Func2.p4");
            Tests.AssertEqual(p5, 6, unrealClass, "Func2.p5");
            Tests.AssertEqual(p6, 7u, unrealClass, "Func2.p6");
            Tests.AssertEqual(p7, 8, unrealClass, "Func2.p7");
            Tests.AssertEqual(p8, 9u, unrealClass, "Func2.p8");
            Tests.AssertEqual(p9, 10.2f, unrealClass, "Func2.p9");
            Tests.AssertEqual(p10, 11.5, unrealClass, "Func2.p10");
            Tests.Assert(p11.IsBound, unrealClass, "Func2.p11");
            Tests.Assert(p12.IsBound, unrealClass, "Func2.p12");
            Tests.AssertEqual(p12.Count, 2, unrealClass, "Func2.p12");
            Tests.AssertEqual(p13, this, unrealClass, "Func2.p13");
            Tests.AssertEqual(p14, Test_SimpleEnum.Val3, unrealClass, "Func2.p14");
            Tests.AssertEqual(p15.Array1[0], 2, unrealClass, "Func2.p15");
            Tests.AssertEqual(p15.Array1[1], 5, unrealClass, "Func2.p15");
            Tests.AssertEqual(p16.Value, unrealClass, unrealClass, "Func2.p16");
            Tests.AssertEqual(p17.Value, this, unrealClass, "Func2.p17");
            Tests.AssertEqual(p18, TWeakObject <UObject> .Null, unrealClass, "Func2.p18");
            Tests.AssertEqual(p19.Value, unrealClass, unrealClass, "Func2.p19");
            Tests.AssertEqual(p20.Value, this, unrealClass, "Func2.p20");
            Tests.AssertEqual(p21, "Test123", unrealClass, "Func2.p21");
            Tests.AssertEqual(p22, new FName("321Test"), unrealClass, "Func2.p22");

            double param3 = 4.5;
            string param4;

            p11.Invoke(3, "param2", ref param3, out param4);
            Tests.AssertEqual(param3, 5, unrealClass, "BindMe.param3");
            Tests.AssertEqual(param4, "out", unrealClass, "BindMe.param4");

            int multiParam3 = 2;

            p12.Invoke(1, "two", ref multiParam3);
            Tests.AssertEqual(multiParam3, 7, unrealClass, "BindMeMulti.param3");

            UClass actorClass = GetActorClass();

            p1++;
            p2++;
            p3++;
            p4++;
            p5++;
            p6++;
            p7++;
            p8++;
            p9++;
            p10++;
            p11.Clear();
            p12.Bind(BindMeMulti3);
            p13           = actorClass;
            p14           = Test_SimpleEnum.Val2;
            p15.Array1[2] = 100;
            p16.SetClass(actorClass);
            p17.Value = actorClass;
            p18.Value = actorClass;
            p19.Value = actorClass;
            p20.Value = actorClass;
            p21       = "changed123";
            p22       = new FName("321changed");
            return(13232);
        }
        public long Func1(
            sbyte p1,
            byte p2,
            short p3,
            ushort p4,
            int p5,
            uint p6,
            long p7,
            ulong p8,
            float p9,
            double p10,
            Test_SimpleDelegate p11,
            Test_SimpleMulticastDelegate p12,
            UObject p13,
            Test_SimpleEnum p14,
            Test_FixedArrayInStruct p15,
            TSubclassOf <UObject> p16,
            TLazyObject <UObject> p17,
            TWeakObject <UObject> p18,
            TSoftClass <UObject> p19,
            TSoftObject <UObject> p20,
            string p21,
            FName p22)
        {
            UClass unrealClass = GetClass();

            Tests.AssertEqual(p1, 2, unrealClass, "Func1.p1");
            Tests.AssertEqual(p2, 3, unrealClass, "Func1.p2");
            Tests.AssertEqual(p3, 4, unrealClass, "Func1.p3");
            Tests.AssertEqual(p4, 5, unrealClass, "Func1.p4");
            Tests.AssertEqual(p5, 6, unrealClass, "Func1.p5");
            Tests.AssertEqual(p6, 7u, unrealClass, "Func1.p6");
            Tests.AssertEqual(p7, 8, unrealClass, "Func1.p7");
            Tests.AssertEqual(p8, 9u, unrealClass, "Func1.p8");
            Tests.AssertEqual(p9, 10.2f, unrealClass, "Func1.p9");
            Tests.AssertEqual(p10, 11.5, unrealClass, "Func1.p10");
            Tests.Assert(p11.IsBound, unrealClass, "Func1.p11");
            Tests.Assert(p12.IsBound, unrealClass, "Func1.p12");
            Tests.AssertEqual(p12.Count, 2, unrealClass, "Func1.p12");
            Tests.AssertEqual(p13, this, unrealClass, "Func1.p13");
            Tests.AssertEqual(p14, Test_SimpleEnum.Val3, unrealClass, "Func1.p14");
            Tests.AssertEqual(p15.Array1[0], 2, unrealClass, "Func1.p15");
            Tests.AssertEqual(p15.Array1[1], 5, unrealClass, "Func1.p15");
            Tests.AssertEqual(p16.Value, unrealClass, unrealClass, "Func1.p16");
            Tests.AssertEqual(p17.Value, this, unrealClass, "Func1.p17");
            Tests.AssertEqual(p18, TWeakObject <UObject> .Null, unrealClass, "Func1.p18");
            Tests.AssertEqual(p19.Value, unrealClass, unrealClass, "Func1.p19");
            Tests.AssertEqual(p20.Value, this, unrealClass, "Func1.p20");
            Tests.AssertEqual(p21, "Test123", unrealClass, "Func1.p21");
            Tests.AssertEqual(p22, new FName("321Test"), unrealClass, "Func1.p22");

            double param3 = 4.5;
            string param4;

            p11.Invoke(3, "param2", ref param3, out param4);
            Tests.AssertEqual(param3, 5, unrealClass, "BindMe.param3");
            Tests.AssertEqual(param4, "out", unrealClass, "BindMe.param4");

            int multiParam3 = 2;

            p12.Invoke(1, "two", ref multiParam3);
            Tests.AssertEqual(multiParam3, 7, unrealClass, "BindMeMulti.param3");

            return(13232);
        }
        private static void TestFuncX(Test_SimpleFuncs obj, UClass unrealClass, int func)
        {
            string    funcName = "Func" + func;
            UFunction func1    = unrealClass.FindFunctionByName(new FName(funcName));

            Tests.AssertNotNull(func1, unrealClass, funcName);

            Test_SimpleDelegate simpleDelegate = new Test_SimpleDelegate();

            simpleDelegate.Bind(obj.BindMe);

            Test_SimpleMulticastDelegate multicastDelegate = new Test_SimpleMulticastDelegate();

            multicastDelegate.Bind(obj.BindMeMulti1);
            multicastDelegate.Bind(obj.BindMeMulti2);

            // Use dynamic invoke so that all parameters go through a full marshal between C#/native code
            object[] parameters =
            {
                (sbyte)2,          //sbyte
                (byte)3,           //byte,
                (short)4,          //short
                (ushort)5,         //ushort
                (int)6,            //int
                (uint)7,           //uint
                (long)8,           //long
                (ulong)9,          //ulong
                (float)10.2f,      //float
                (double)11.5,      //double
                simpleDelegate,    //delegate
                multicastDelegate, //multicast delegate
                obj,
                Test_SimpleEnum.Val3,
                new Test_FixedArrayInStruct()
                {
                    Array1 = new sbyte[2] {
                        2, 5
                    }
                },
                new TSubclassOf <UObject>(obj.GetClass()),
                new TLazyObject <UObject>(obj),
                TWeakObject <UObject> .Null,
                new TSoftClass <UObject>(obj.GetClass()),
                new TSoftObject <UObject>(obj),
                "Test123",
                new FName("321Test")
            };
            long result = (long)UObject.DynamicInvoke(obj, funcName, parameters);

            Tests.AssertEqual(result, 13232, unrealClass, funcName + " result");

            if (func > 1)
            {
                sbyte  p1  = (sbyte)parameters[0];
                byte   p2  = (byte)parameters[1];
                short  p3  = (short)parameters[2];
                ushort p4  = (ushort)parameters[3];
                int    p5  = (int)parameters[4];
                uint   p6  = (uint)parameters[5];
                long   p7  = (long)parameters[6];
                ulong  p8  = (ulong)parameters[7];
                float  p9  = (float)parameters[8];
                double p10 = (double)parameters[9];
                Test_SimpleDelegate          p11 = (Test_SimpleDelegate)parameters[10];
                Test_SimpleMulticastDelegate p12 = (Test_SimpleMulticastDelegate)parameters[11];
                UObject                 p13      = (UObject)parameters[12];
                Test_SimpleEnum         p14      = (Test_SimpleEnum)parameters[13];
                Test_FixedArrayInStruct p15      = (Test_FixedArrayInStruct)parameters[14];
                TSubclassOf <UObject>   p16      = (TSubclassOf <UObject>)parameters[15];
                TLazyObject <UObject>   p17      = (TLazyObject <UObject>)parameters[16];
                TWeakObject <UObject>   p18      = (TWeakObject <UObject>)parameters[17];
                TSoftClass <UObject>    p19      = (TSoftClass <UObject>)parameters[18];
                TSoftObject <UObject>   p20      = (TSoftObject <UObject>)parameters[19];
                string p21 = (string)parameters[20];
                FName  p22 = (FName)parameters[21];

                UClass actorClass = GetActorClass();

                Tests.AssertEqual(p1, 3, unrealClass, funcName + ".p1");
                Tests.AssertEqual(p2, 4, unrealClass, funcName + ".p2");
                Tests.AssertEqual(p3, 5, unrealClass, funcName + ".p3");
                Tests.AssertEqual(p4, 6, unrealClass, funcName + ".p4");
                Tests.AssertEqual(p5, 7, unrealClass, funcName + ".p5");
                Tests.AssertEqual(p6, 8u, unrealClass, funcName + ".p6");
                Tests.AssertEqual(p7, 9, unrealClass, funcName + ".p7");
                Tests.AssertEqual(p8, 10u, unrealClass, funcName + ".p8");
                Tests.AssertEqual(p9, 11.2f, unrealClass, funcName + ".p9");
                Tests.AssertEqual(p10, 12.5, unrealClass, funcName + ".p10");
                Tests.Assert(!p11.IsBound, unrealClass, funcName + ".p11");
                Tests.Assert(p12.IsBound, unrealClass, funcName + ".p12");
                Tests.AssertEqual(p12.Count, 3, unrealClass, funcName + ".p12");
                Tests.AssertEqual(p13, actorClass, unrealClass, funcName + ".p13");
                Tests.AssertEqual(p14, Test_SimpleEnum.Val2, unrealClass, funcName + ".p14");
                Tests.AssertEqual(p15.Array1[0], 2, unrealClass, funcName + ".p15");
                Tests.AssertEqual(p15.Array1[1], 5, unrealClass, funcName + ".p15");
                Tests.AssertEqual(p15.Array1[2], 100, unrealClass, funcName + ".p15");
                Tests.AssertEqual(p16.Value, actorClass, unrealClass, funcName + ".p16");
                Tests.AssertEqual(p17.Value, actorClass, unrealClass, funcName + ".p17");
                Tests.AssertEqual(p18.Value, actorClass, unrealClass, funcName + ".p18");
                Tests.AssertEqual(p19.Value, actorClass, unrealClass, funcName + ".p19");
                Tests.AssertEqual(p20.Value, actorClass, unrealClass, funcName + ".p20");
                Tests.AssertEqual(p21, "changed123", unrealClass, funcName + ".p21");
                Tests.AssertEqual(p22, new FName("321changed"), unrealClass, funcName + ".p22");
            }
        }