use of jakarta.json.JsonObject in project zilla by aklivity.
the class SchemaTest method shouldValidateHttp1ServerAccessControlCrossOriginAllowCredentialsCached.
@Test
public void shouldValidateHttp1ServerAccessControlCrossOriginAllowCredentialsCached() {
JsonObject config = schema.validate("v1.1/server.access.control.cross.origin.allow.credentials.cached.json");
assertThat(config, not(nullValue()));
}
use of jakarta.json.JsonObject in project zilla by aklivity.
the class SchemaTest method shouldValidateHttp11ServerAuthority.
@Test
public void shouldValidateHttp11ServerAuthority() {
JsonObject config = schema.validate("v1.1/server.authority.json");
assertThat(config, not(nullValue()));
}
use of jakarta.json.JsonObject in project zilla by aklivity.
the class SchemaTest method shouldValidateHttp1ServerAccessControlSameOriginWithImplicitPorts.
@Test
public void shouldValidateHttp1ServerAccessControlSameOriginWithImplicitPorts() {
JsonObject config = schema.validate("v1.1/server.access.control.same.origin.implicit.ports.json");
assertThat(config, not(nullValue()));
}
use of jakarta.json.JsonObject in project zilla by aklivity.
the class SchemaTest method shouldValidateHttp2ServerAccessControlCrossOriginAllowCredentialsCached.
@Test
public void shouldValidateHttp2ServerAccessControlCrossOriginAllowCredentialsCached() {
JsonObject config = schema.validate("v2/server.access.control.cross.origin.allow.credentials.cached.json");
assertThat(config, not(nullValue()));
}
use of jakarta.json.JsonObject in project zilla by aklivity.
the class SchemaTest method shouldValidateHttp1ServerAccessControlCrossOriginCached.
@Test
public void shouldValidateHttp1ServerAccessControlCrossOriginCached() {
JsonObject config = schema.validate("v1.1/server.access.control.cross.origin.cached.json");
assertThat(config, not(nullValue()));
}
Aggregations