public void ToStringTest()
        {
            var schema = new RegisteredSchema("test-key", 1, 42, "test-schema-string", SchemaType.Avro, new List <SchemaReference>());

            Assert.Contains("test-key", schema.ToString());
            Assert.Contains("1", schema.ToString());
            Assert.Contains("42", schema.ToString());
        }
Esempio n. 2
0
 public static SData ReadSchema(RegisteredSchema registeredSchema)
 {
     return new SParser().ReadSchemaFile(GetResourceStream(registeredSchema.ToString()));
 }
Esempio n. 3
0
 public static SData ReadSchema(RegisteredSchema registeredSchema)
 {
     return(new SParser().ReadSchemaFile(GetResourceStream(registeredSchema.ToString())));
 }