* limitations under the License.
* ============LICENSE_END=========================================================
*/
+
package org.onap.aai.introspection.validation;
+import static org.junit.Assert.assertEquals;
+
+import java.util.List;
+
import org.junit.Before;
import org.junit.Ignore;
import org.junit.Test;
import org.onap.aai.AAISetup;
import org.onap.aai.exceptions.AAIException;
import org.onap.aai.introspection.*;
-
import org.onap.aai.introspection.tools.IntrospectorValidator;
import org.onap.aai.introspection.tools.Issue;
import org.onap.aai.introspection.tools.IssueType;
import org.onap.aai.util.AAIConstants;
import org.springframework.beans.factory.annotation.Autowired;
-import java.util.List;
-
-import static org.junit.Assert.assertEquals;
-
public class IntrospectorValidationTest extends AAISetup {
private final static ModelType introspectorFactoryType = ModelType.MOXY;
System.setProperty("AJSC_HOME", ".");
System.setProperty("BUNDLECONFIG_DIR", "bundleconfig-local");
loader = loaderFactory.createLoaderForVersion(introspectorFactoryType, schemaVersions.getRelatedLinkVersion());
- validator = new IntrospectorValidator.Builder()
- .validateRequired(false)
- .restrictDepth(10000)
- .build();
+ validator = new IntrospectorValidator.Builder().validateRequired(false).restrictDepth(10000).build();
}
+
@Ignore
@Test
public void verifySuccessWhenEmpty() throws AAIException {
Issue issue = issues.get(0);
assertEquals("found expected issue", IssueType.DEPENDENT_PROP_NOT_FOUND, issue.getType());
}
+
@Ignore
@Test
public void verifyRequiresSuccess() throws AAIException {