org.sdmlib.models.taskflows.TaskFlowObjectScenarioForCoverage Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of SDMLib Show documentation
Show all versions of SDMLib Show documentation
SDMLib is a light weight modeling library. SDMLib intentionally comes without any tool or editor.
package org.sdmlib.models.taskflows;
import org.junit.Test;
import org.sdmlib.storyboards.Storyboard;
public class TaskFlowObjectScenarioForCoverage
{
/**
*
* @see TaskFlowObjectScenarioForCoverage.html
* @see TaskFlowObjectScenarioForCoverage.html
*/
@Test
public void testTaskFlowObjectScenarioForCoverage()
{
Storyboard story = new Storyboard();
story.add("Create some objects just for coverage. This does not serve as an usage example.");
FetchFileFlow fetchFileFlow = new FetchFileFlow().withFileServer(new PeerProxy());
Logger logger = new Logger();
fetchFileFlow.withSubFlow(logger);
LogEntry logEntry1 = logger.createEntries();
LogEntry logEntry2 = logger.createEntries();
logEntry1.createChildren();
SocketThread socketThread = new SocketThread();
SDMTimer sdmTimer = new SDMTimer();
story.addObjectDiagram(fetchFileFlow, socketThread, sdmTimer);
story.dumpHTML();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy