Skip to content

Commit f03de15

Browse files
committed
Loading Mechanism feature: fetch variables batch
1 parent 8ee9cdc commit f03de15

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

src/test/java/org/geppetto/datasources/DataSourcesGeppettoManagerTest.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -184,9 +184,10 @@ public void test05LoadExperiment() throws GeppettoExecutionException, GeppettoAc
184184
@Test
185185
public void test06FetchVariable() throws GeppettoExecutionException, GeppettoAccessException, GeppettoDataSourceException, GeppettoModelException
186186
{
187+
String[] idsList = {"testVariable"};
187188
GeppettoModel geppettoModel = runtimeProject.getGeppettoModel();
188189
Assert.assertEquals(1, geppettoModel.getVariables().size()); // only "time" //FIXME Should time be there without a simulation?
189-
GeppettoModel model = manager.fetchVariable("testDataSource", "testVariable", geppettoProject);
190+
GeppettoModel model = manager.fetchVariable("testDataSource", idsList, geppettoProject);
190191
Assert.assertEquals("testVariable", model.getVariables().get(1).getId());
191192
}
192193

0 commit comments

Comments
 (0)