aboutsummaryrefslogtreecommitdiffhomepage
path: root/crates/shirabe/tests/json/composer_schema_test.rs
diff options
context:
space:
mode:
Diffstat (limited to 'crates/shirabe/tests/json/composer_schema_test.rs')
-rw-r--r--crates/shirabe/tests/json/composer_schema_test.rs18
1 files changed, 18 insertions, 0 deletions
diff --git a/crates/shirabe/tests/json/composer_schema_test.rs b/crates/shirabe/tests/json/composer_schema_test.rs
index abf310f..044bec1 100644
--- a/crates/shirabe/tests/json/composer_schema_test.rs
+++ b/crates/shirabe/tests/json/composer_schema_test.rs
@@ -1 +1,19 @@
//! ref: composer/tests/Composer/Test/Json/ComposerSchemaTest.php
+
+// These validate documents against the bundled composer-schema.json via JsonFile's
+// json-schema validator, which is not ported.
+macro_rules! stub {
+ ($name:ident) => {
+ #[test]
+ #[ignore = "needs JsonFile schema validation against the bundled composer-schema.json (not ported)"]
+ fn $name() {
+ todo!()
+ }
+ };
+}
+
+stub!(test_name_pattern);
+stub!(test_version_pattern);
+stub!(test_optional_abandoned_property);
+stub!(test_require_types);
+stub!(test_minimum_stability_values);