/// <exception cref="System.Exception"/> public virtual void TestAvroReflect() { string schema = "{\"type\":\"array\",\"items\":{\"type\":\"enum\"," + "\"name\":\"TestEnumSet\"," + "\"namespace\":\"org.apache.hadoop.io.TestEnumSetWritable$\"," + "\"symbols\":[\"CREATE\",\"OVERWRITE\",\"APPEND\"]}," + "\"java-class\":\"org.apache.hadoop.io.EnumSetWritable\"}"; Type type = typeof(TestEnumSetWritable).GetField("testField").GetGenericType(); AvroTestUtil.TestReflect(nonEmptyFlagWritable, type, schema); }
/// <exception cref="System.Exception"/> public virtual void TestAvroReflect() { AvroTestUtil.TestReflect(new Org.Apache.Hadoop.IO.Text("foo"), "{\"type\":\"string\",\"java-class\":\"org.apache.hadoop.io.Text\"}" ); }