예제 #1
0
 public void renameObjectTypeTest()
 {
     createObjectTypeTest();
     API parent = _api;
     data target = new data(parent);
     string obj_type = Constants.TestType;
     string new_name = Constants.TestTypeRename;
     target.renameObjectType(obj_type, new_name);
     var types = parent.data.getObjectTypes();
     foreach(var typ in types)
     {
         Assert.AreEqual(typ.name,new_name);
     }
 }