@Test public void testMultiConfigOrgs() { Org org1 = config1.getSampleOrg(); assertEquals("Org1MSP", org1.getMSPID()); Org org2 = config2.getSampleOrg(); assertEquals("Org2MSP", org2.getMSPID()); }
public Org getSampleOrg() { return configOrg; }
Config { public Org getSampleOrg() { return configOrg; } }
Config { public Org getSampleOrg() { return configOrg; } Config(String configPath); }
Config { public Org getSampleOrg() { return configOrg; } Config(String configPath); Properties getDbProperties(); List<PeerInfo> getChaincodePeers(String chaincodeName); String getAdmin(); int getTransactionWaitTime(); int getDeployWaitTime(); int getGossipWaitTime(); long getProposalWaitTime(); Org getSampleOrg(); Properties getPeerProperties(String name); Properties getOrdererProperties(String name); Properties getEventHubProperties(String name); String getChannelPath(); String getConfigPath(); File findFileSk(File directory); }
Config { public Org getSampleOrg() { return configOrg; } Config(String configPath); Properties getDbProperties(); List<PeerInfo> getChaincodePeers(String chaincodeName); String getAdmin(); int getTransactionWaitTime(); int getDeployWaitTime(); int getGossipWaitTime(); long getProposalWaitTime(); Org getSampleOrg(); Properties getPeerProperties(String name); Properties getOrdererProperties(String name); Properties getEventHubProperties(String name); String getChannelPath(); String getConfigPath(); File findFileSk(File directory); static final String LOGGERLEVEL; }