Skip to content

Commit

Permalink
Rename CommonTorrcGenerator to TestNetworkTorrcGenerator
Browse files Browse the repository at this point in the history
  • Loading branch information
alvasw committed Aug 11, 2023
1 parent 1a057d5 commit c2c6f12
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@

import java.util.Map;

public class ClientTorrcGenerator extends CommonTorrcGenerator {
public class ClientTorrcGenerator extends TestNetworkTorrcGenerator {
public ClientTorrcGenerator(TorNode thisTorNode) {
super(thisTorNode);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@

import java.util.Map;

public class DirectoryAuthorityTorrcGenerator extends CommonTorrcGenerator {
public class DirectoryAuthorityTorrcGenerator extends TestNetworkTorrcGenerator {
public DirectoryAuthorityTorrcGenerator(TorNode thisDirectoryAuthority) {
super(thisDirectoryAuthority);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,10 @@
import java.util.Map;

public class OverridingTorrcGenerator implements TorrcConfigGenerator {
private final CommonTorrcGenerator template;
private final TestNetworkTorrcGenerator template;
private final Map<String, String> clientTorrcConfig;

public OverridingTorrcGenerator(CommonTorrcGenerator template, Map<String, String> clientTorrcConfig) {
public OverridingTorrcGenerator(TestNetworkTorrcGenerator template, Map<String, String> clientTorrcConfig) {
this.template = template;
this.clientTorrcConfig = clientTorrcConfig;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@

import java.util.Map;

public class RelayTorrcGenerator extends CommonTorrcGenerator {
public class RelayTorrcGenerator extends TestNetworkTorrcGenerator {
public RelayTorrcGenerator(TorNode thisTorNode) {
super(thisTorNode);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,11 @@
* The configuration settings are from the Chutney (<a href="https://gitweb.torproject.org/chutney.git/">project</a>).
*/
@Getter
public abstract class CommonTorrcGenerator implements TorrcConfigGenerator {
public abstract class TestNetworkTorrcGenerator implements TorrcConfigGenerator {
protected final TorNode thisTorNode;
protected final Map<String, String> torConfigMap = new HashMap<>();

public CommonTorrcGenerator(TorNode thisTorNode) {
public TestNetworkTorrcGenerator(TorNode thisTorNode) {
this.thisTorNode = thisTorNode;
}

Expand Down

0 comments on commit c2c6f12

Please sign in to comment.