[gxml] More ports to new GomProperty using nick



commit 90b8aa7146fad572260f211445b17432bcea0f3b
Author: Daniel Espinosa <esodan gmail com>
Date:   Thu Jan 26 10:43:16 2017 -0600

    More ports to new GomProperty using nick

 test/GomSerializationTest.vala |   13 ++-----------
 1 files changed, 2 insertions(+), 11 deletions(-)
---
diff --git a/test/GomSerializationTest.vala b/test/GomSerializationTest.vala
index c9b969a..2c104a9 100644
--- a/test/GomSerializationTest.vala
+++ b/test/GomSerializationTest.vala
@@ -316,25 +316,16 @@ class GomSerializationTest : GXmlTest  {
         try { initialize ("Torque"); } catch { assert_not_reached (); }
       }
     }
-    public class Speed : GomFloat {
-      construct {
-        try { initialize ("Speed"); } catch { assert_not_reached (); }
-      }
-    }
+    public class Speed : GomFloat {}
     public class TensionType : GomEnum {
       construct {
         try { initialize_enum ("TensionType", typeof (TensionTypeEnum)); }
         catch { assert_not_reached (); }
       }
     }
-    public class Tension : GomInt {
-      construct {
-        try { initialize ("Tension"); } catch { assert_not_reached (); }
-      }
-    }
+    public class Tension : GomInt {}
     public class Model : GomArrayString {
       construct {
-        initialize ("Model");;
         initialize_strings ({"MODEL1","MODEL2"});
       }
     }


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]