Add skeleton support for Directory and Identity in Exec IdStore

This commit is contained in:
Max Dor
2018-10-31 03:49:06 +01:00
parent 026a2e82d9
commit b892d19023
10 changed files with 518 additions and 254 deletions

View File

@@ -18,11 +18,11 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
package io.kamax.mxisd.backend.exec.input;
package io.kamax.mxisd.backend.exec.auth.input;
import java.util.Arrays;
public class ArgsTest extends InputTest {
public class ExecAuthArgsTest extends ExecAuthTest {
@Override
protected void setValidCommand() {

View File

@@ -18,11 +18,11 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
package io.kamax.mxisd.backend.exec.input;
package io.kamax.mxisd.backend.exec.auth.input;
import java.util.HashMap;
public class EnvTest extends InputTest {
public class ExecAuthEnvTest extends ExecAuthTest {
private final String LocalpartEnv = "LOCALPART";
private final String DomainEnv = "DOMAIN";

View File

@@ -18,11 +18,11 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
package io.kamax.mxisd.backend.exec.input;
package io.kamax.mxisd.backend.exec.auth.input;
import io.kamax.mxisd.backend.exec.ExecStore;
public class MultilinesTest extends InputTest {
public class ExecAuthInputMultilinesTest extends ExecAuthTest {
@Override
protected void setValidCommand() {

View File

@@ -18,7 +18,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
package io.kamax.mxisd.backend.exec.input;
package io.kamax.mxisd.backend.exec.auth.input;
import io.kamax.matrix.MatrixID;
import io.kamax.matrix._MatrixID;
@@ -35,7 +35,7 @@ import java.util.Collections;
import static org.junit.Assert.assertEquals;
public abstract class InputTest {
public abstract class ExecAuthTest {
protected final ExecConfig cfg;
protected final ExecAuthStore p;
@@ -90,7 +90,7 @@ public abstract class InputTest {
cfg.getAuth().addEnv("REQ_PASS", requiredPass);
}
public InputTest() {
public ExecAuthTest() {
cfg = new ExecConfig();
p = new ExecAuthStore(cfg);
}