MCPcopy Create free account
hub / github.com/OpenDDS/OpenDDS / setUp

Method setUp

java/tests/multirepo/MultiRepoBase.java:31–41  ·  view source on GitHub ↗
(String[] args)

Source from the content-addressed store, hash-verified

29 new Stack<DomainParticipant>();
30
31 protected static void setUp(String[] args) {
32 dpf = TheParticipantFactory.WithArgs(new StringSeqHolder(args));
33
34 TheServiceParticipant.set_repo_domain(DOMAIN1_ID, "1");
35 TheServiceParticipant.set_repo_ior("file://repo1.ior", "1");
36
37 TheServiceParticipant.set_repo_domain(DOMAIN2_ID, "2");
38 TheServiceParticipant.set_repo_ior("file://repo2.ior", "2");
39
40 assert (dpf != null);
41 }
42
43 private static DomainParticipant createParticipant(int domainId) {
44 return participants.push(dpf.create_participant(domainId, PARTICIPANT_QOS_DEFAULT.get(), null, DEFAULT_STATUS_MASK.value));

Callers 2

mainMethod · 0.45
mainMethod · 0.45

Calls 3

WithArgsMethod · 0.95
set_repo_domainMethod · 0.95
set_repo_iorMethod · 0.95

Tested by

no test coverage detected