Files
swift-mirror/test/api-digester/deserialize-diff-items.swift
Xi Ge ba33fd6236 swift-api-digester: Add a data structure APIDiffItemStore. (#8794)
This structure serves multiple purposes:
	a. Allow migrator to speak in the same language with swift-api-digester in terms of API changes.
	b. Serialize/Deserialize detected API change items in JSON format.
	c. Manage memory after deserializing API change items.
	d. Facilitate look up by USRs of APIs under migration.
The structure is tested by round-trip serialization and deserialization.
2017-04-17 13:04:02 -07:00

3 lines
151 B
Swift

// RUN: %api-digester -deserialize-diff --input-paths %S/Outputs/macro-gen.json -o %t.result -json
// RUN: diff -u %S/Outputs/macro-gen.json %t.result