Skip to content

Commit

Permalink
wttech#31: Extracted separate interfaces for global configuration and…
Browse files Browse the repository at this point in the history
… particular test configuration
  • Loading branch information
Bartosz Wesolowski committed Mar 4, 2019
1 parent 0e8bbb4 commit c524eb7
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 0 deletions.
17 changes: 17 additions & 0 deletions src/main/java/com/cognifide/secureaem/GlobalConfiguration.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
package com.cognifide.secureaem;

public interface GlobalConfiguration {
String getDispatcherUrl();

String getAuthor();

String getAuthorLogin();

String getAuthorPassword();

String getPublish();

String getPublishLogin();

String getPublishPassword();
}
11 changes: 11 additions & 0 deletions src/main/java/com/cognifide/secureaem/TestConfiguration.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
package com.cognifide.secureaem;

/**
* Configuration of particular test
*/
public interface TestConfiguration {

String getStringValue(String name, String defaultValue);

String[] getStringList(String name);
}

0 comments on commit c524eb7

Please sign in to comment.