@Test public void testRecursiveCheck() { final Schema original = SchemaLoader.load(new JSONObject(readFile("recursive-schema.json"))); final Schema newOne = SchemaLoader.load(new JSONObject(readFile("recursive-schema.json"))); Assert.assertTrue(SchemaDiff.compare(original, newOne).isEmpty()); }
public static List<Difference> compare(final Schema original, final Schema update) { final Context ctx = new Context(COMPATIBLE_CHANGES); compare(ctx, original, update); return ctx.getDifferences(); }
SchemaDiff { public static List<Difference> compare(final Schema original, final Schema update) { final Context ctx = new Context(COMPATIBLE_CHANGES); compare(ctx, original, update); return ctx.getDifferences(); } }
SchemaDiff { public static List<Difference> compare(final Schema original, final Schema update) { final Context ctx = new Context(COMPATIBLE_CHANGES); compare(ctx, original, update); return ctx.getDifferences(); }  }
SchemaDiff { public static List<Difference> compare(final Schema original, final Schema update) { final Context ctx = new Context(COMPATIBLE_CHANGES); compare(ctx, original, update); return ctx.getDifferences(); }  static List<Difference> compare(final Schema original, final Schema update); }
SchemaDiff { public static List<Difference> compare(final Schema original, final Schema update) { final Context ctx = new Context(COMPATIBLE_CHANGES); compare(ctx, original, update); return ctx.getDifferences(); }  static List<Difference> compare(final Schema original, final Schema update); static final Set<Difference.Type> COMPATIBLE_CHANGES; }