diff --git a/merlin-driver/src/test/java/gov/nasa/jpl/aerie/merlin/driver/AnchorSimulationTest.java b/merlin-driver/src/test/java/gov/nasa/jpl/aerie/merlin/driver/AnchorSimulationTest.java index 1fc2a4ecea..2e6ee140d2 100644 --- a/merlin-driver/src/test/java/gov/nasa/jpl/aerie/merlin/driver/AnchorSimulationTest.java +++ b/merlin-driver/src/test/java/gov/nasa/jpl/aerie/merlin/driver/AnchorSimulationTest.java @@ -1066,6 +1066,26 @@ public void naryTreeAnchorChain() { private static final Topic delayedActivityDirectiveInputTopic = new Topic<>(); private static final Topic delayedActivityDirectiveOutputTopic = new Topic<>(); /* package-private*/ static final DirectiveType delayedActivityDirective = new DirectiveType<>() { + @Override + public String getDescription() { + return ""; + } + + @Override + public Map getParameterDescriptions() { + return Map.of(); + } + + @Override + public Map getParameterUnits() { + return Map.of(); + } + + @Override + public Map getComputedAttributeUnits() { + return Map.of(); + } + @Override public InputType getInputType() { return testModelInputType; @@ -1091,6 +1111,26 @@ public TaskFactory getTaskFactory(final Object o, final Object o2) { private static final Topic decomposingActivityDirectiveInputTopic = new Topic<>(); private static final Topic decomposingActivityDirectiveOutputTopic = new Topic<>(); /* package-private */ static final DirectiveType decomposingActivityDirective = new DirectiveType<>() { + @Override + public String getDescription() { + return ""; + } + + @Override + public Map getParameterDescriptions() { + return Map.of(); + } + + @Override + public Map getParameterUnits() { + return Map.of(); + } + + @Override + public Map getComputedAttributeUnits() { + return Map.of(); + } + @Override public InputType getInputType() { return testModelInputType; @@ -1216,8 +1256,14 @@ public Object instantiate( { return new Object(); } + + @Override + public Map getResourceTypeUnits() { + return Map.of(); + } } - ) + ), + Map.of() ); //endregion } diff --git a/merlin-driver/src/test/java/gov/nasa/jpl/aerie/merlin/driver/CellExpiryTest.java b/merlin-driver/src/test/java/gov/nasa/jpl/aerie/merlin/driver/CellExpiryTest.java index 9f77888c3a..ebdc2a2f3b 100644 --- a/merlin-driver/src/test/java/gov/nasa/jpl/aerie/merlin/driver/CellExpiryTest.java +++ b/merlin-driver/src/test/java/gov/nasa/jpl/aerie/merlin/driver/CellExpiryTest.java @@ -140,6 +140,6 @@ public String getDynamics(final Querier querier) { initializer.resource(resourceName, resource); - return initializer.build(ref, new DirectiveTypeRegistry<>(Map.of())); + return initializer.build(ref, new DirectiveTypeRegistry<>(Map.of()), Map.of()); } }