@Test public void testMultiConfigPath() { String configPath1 = new File("src/test/resources/dummy-config-1").getAbsolutePath(); String configPath2 = new File("src/test/resources/dummy-config-2").getAbsolutePath(); configPath1 = configPath1.endsWith("/") ? configPath1 : configPath1 + "/"; configPath2 = configPath2.endsWith("/") ? configPath2 : configPath2 + "/"; assertEquals(configPath1, config1.getConfigPath()); assertEquals(configPath2, config2.getConfigPath()); }
public String getConfigPath() { return path; }
Config { public String getConfigPath() { return path; } }
Config { public String getConfigPath() { return path; } Config(String configPath); }
Config { public String getConfigPath() { return path; } 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 String getConfigPath() { return path; } 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; }