aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--gson/src/test/java/org/onap/policy/common/gson/JacksonExclusionStrategyTest.java47
-rw-r--r--integrity-monitor/src/test/java/org/onap/policy/common/im/StateTransitionTest.java4610
-rw-r--r--policy-endpoints/src/test/java/org/onap/policy/common/endpoints/event/comm/bus/internal/BusTopicParamsTest.java16
-rw-r--r--policy-endpoints/src/test/java/org/onap/policy/common/endpoints/event/comm/bus/internal/TopicBaseTest.java16
-rw-r--r--utils-test/pom.xml3
-rw-r--r--utils/src/test/java/org/onap/policy/common/utils/properties/BeanConfiguratorTest.java25
6 files changed, 3064 insertions, 1653 deletions
diff --git a/gson/src/test/java/org/onap/policy/common/gson/JacksonExclusionStrategyTest.java b/gson/src/test/java/org/onap/policy/common/gson/JacksonExclusionStrategyTest.java
index 3ce16964..3d7c29d5 100644
--- a/gson/src/test/java/org/onap/policy/common/gson/JacksonExclusionStrategyTest.java
+++ b/gson/src/test/java/org/onap/policy/common/gson/JacksonExclusionStrategyTest.java
@@ -2,7 +2,7 @@
* ============LICENSE_START=======================================================
* ONAP
* ================================================================================
- * Copyright (C) 2019 AT&T Intellectual Property. All rights reserved.
+ * Copyright (C) 2019-2020 AT&T Intellectual Property. All rights reserved.
* ================================================================================
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -80,34 +80,23 @@ public class JacksonExclusionStrategyTest {
@Test
public void testIsManaged() {
- assertTrue(JacksonExclusionStrategy.isManaged(Data.class));
- assertTrue(JacksonExclusionStrategy.isManaged(Intfc.class));
- assertTrue(JacksonExclusionStrategy.isManaged(com.google.gson.TypeAdapter.class));
-
- // generic classes
- assertFalse(JacksonExclusionStrategy.isManaged(new Data[0].getClass()));
- assertFalse(JacksonExclusionStrategy.isManaged(Enum.class));
- assertFalse(JacksonExclusionStrategy.isManaged(boolean.class));
- assertFalse(JacksonExclusionStrategy.isManaged(byte.class));
- assertFalse(JacksonExclusionStrategy.isManaged(short.class));
- assertFalse(JacksonExclusionStrategy.isManaged(int.class));
- assertFalse(JacksonExclusionStrategy.isManaged(long.class));
- assertFalse(JacksonExclusionStrategy.isManaged(float.class));
- assertFalse(JacksonExclusionStrategy.isManaged(double.class));
- assertFalse(JacksonExclusionStrategy.isManaged(char.class));
- assertFalse(JacksonExclusionStrategy.isManaged(Boolean.class));
- assertFalse(JacksonExclusionStrategy.isManaged(Byte.class));
- assertFalse(JacksonExclusionStrategy.isManaged(Short.class));
- assertFalse(JacksonExclusionStrategy.isManaged(Integer.class));
- assertFalse(JacksonExclusionStrategy.isManaged(Long.class));
- assertFalse(JacksonExclusionStrategy.isManaged(Float.class));
- assertFalse(JacksonExclusionStrategy.isManaged(Double.class));
- assertFalse(JacksonExclusionStrategy.isManaged(Character.class));
- assertFalse(JacksonExclusionStrategy.isManaged(String.class));
- assertFalse(JacksonExclusionStrategy.isManaged(MyMap.class));
- assertFalse(JacksonExclusionStrategy.isManaged(MyList.class));
- assertFalse(JacksonExclusionStrategy.isManaged(MyJson.class));
- assertFalse(JacksonExclusionStrategy.isManaged(GenericArrayType.class));
+ // these classes SHOULD be managed
+ Class<?>[] managed = {Data.class, Intfc.class, com.google.gson.TypeAdapter.class};
+
+ for (Class<?> clazz : managed) {
+ assertTrue(clazz.getName(), JacksonExclusionStrategy.isManaged(clazz));
+ }
+
+ // generic classes should NOT be managed
+ Class<?>[] unmanaged = {
+ new Data[0].getClass(), Enum.class, boolean.class, byte.class, short.class, int.class,
+ long.class, float.class, double.class, char.class, Boolean.class, Byte.class, Short.class,
+ Integer.class, Long.class, Float.class, Double.class, Character.class, String.class,
+ MyMap.class, MyList.class, MyJson.class, GenericArrayType.class};
+
+ for (Class<?> clazz : unmanaged) {
+ assertFalse(clazz.getName(), JacksonExclusionStrategy.isManaged(clazz));
+ }
}
/**
diff --git a/integrity-monitor/src/test/java/org/onap/policy/common/im/StateTransitionTest.java b/integrity-monitor/src/test/java/org/onap/policy/common/im/StateTransitionTest.java
index 6d11b30b..7cd7f4c2 100644
--- a/integrity-monitor/src/test/java/org/onap/policy/common/im/StateTransitionTest.java
+++ b/integrity-monitor/src/test/java/org/onap/policy/common/im/StateTransitionTest.java
@@ -2,7 +2,7 @@
* ============LICENSE_START=======================================================
* Integrity Monitor
* ================================================================================
- * Copyright (C) 2017-2019 AT&T Intellectual Property. All rights reserved.
+ * Copyright (C) 2017-2020 AT&T Intellectual Property. All rights reserved.
* ================================================================================
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -23,8 +23,6 @@ package org.onap.policy.common.im;
import static org.junit.Assert.assertEquals;
import org.junit.Test;
-import org.slf4j.Logger;
-import org.slf4j.LoggerFactory;
/*
* All JUnits are designed to run in the local development environment
@@ -49,2091 +47,3499 @@ public class StateTransitionTest {
private static final String ENABLE_NOT_FAILED = "enableNotFailed";
private static final String ENABLED = "enabled";
private static final String FAILED = "failed";
- private static Logger logger = LoggerFactory.getLogger(StateTransitionTest.class);
@Test
- public void test() throws StateTransitionException {
- logger.info("\n\nlogger.infor StateTransitionTest: Entering\n\n");
- logger.info("??? create a new StateTransition");
- StateTransition st = new StateTransition();
+ public void testBad() throws StateTransitionException {
+ // bad test case
+ assertEquals("coldstandby,locked,enabled,null,", makeString(UNLOCKED, ENABLED, "null", COLDSTANDBY, "lock"));
- StateElement se = null;
+ }
- // bad test case
- se = st.getEndingState(UNLOCKED, ENABLED, "null", COLDSTANDBY, "lock");
- assertEquals("coldstandby,locked,enabled,null,", makeString(se));
+ @Test
+ public void test1() throws StateTransitionException {
+ assertEquals("null,locked,enabled,null,", makeString(UNLOCKED, ENABLED, "null", "null", "lock"));
+
+ }
+
+ @Test
+ public void test2() throws StateTransitionException {
+ assertEquals("null,unlocked,enabled,null,", makeString(UNLOCKED, ENABLED, "null", "null", UNLOCK));
+
+ }
+
+ @Test
+ public void test3() throws StateTransitionException {
+ assertEquals("null,unlocked,disabled,failed,", makeString(UNLOCKED, ENABLED, "null", "null", DISABLE_FAILED));
+
+ }
+
+ @Test
+ public void test4() throws StateTransitionException {
+ assertEquals("null,unlocked,enabled,null,", makeString(UNLOCKED, ENABLED, "null", "null", ENABLE_NOT_FAILED));
+
+ }
+
+ @Test
+ public void test5() throws StateTransitionException {
+ assertEquals("null,unlocked,disabled,dependency,",
+ makeString(UNLOCKED, ENABLED, "null", "null", DISABLE_DEPENDENCY));
+
+ }
+
+ @Test
+ public void test6() throws StateTransitionException {
+ assertEquals("null,unlocked,enabled,null,",
+ makeString(UNLOCKED, ENABLED, "null", "null", ENABLE_NO_DEPENDENCY));
+
+ }
+
+ @Test
+ public void test7() throws StateTransitionException {
+ assertEquals("providingservice,unlocked,enabled,null,", makeString(UNLOCKED, ENABLED, "null", "null", PROMOTE));
+
+ }
+
+ @Test
+ public void test8() throws StateTransitionException {
+ assertEquals("hotstandby,unlocked,enabled,null,", makeString(UNLOCKED, ENABLED, "null", "null", DEMOTE));
+
+ }
+
+ @Test
+ public void test9() throws StateTransitionException {
+ assertEquals("hotstandby,unlocked,enabled,null,", makeString(UNLOCKED, ENABLED, "null", COLDSTANDBY, DEMOTE));
+
+ }
+
+ @Test
+ public void test10() throws StateTransitionException {
+ assertEquals("hotstandby,unlocked,enabled,null,", makeString(UNLOCKED, ENABLED, "null", COLDSTANDBY, UNLOCK));
+
+ }
+
+ @Test
+ public void test11() throws StateTransitionException {
+ assertEquals("coldstandby,unlocked,disabled,failed,",
+ makeString(UNLOCKED, ENABLED, "null", COLDSTANDBY, DISABLE_FAILED));
+
+ }
+
+ @Test
+ public void test12() throws StateTransitionException {
+ assertEquals("hotstandby,unlocked,enabled,null,",
+ makeString(UNLOCKED, ENABLED, "null", COLDSTANDBY, ENABLE_NOT_FAILED));
+
+ }
+
+ @Test
+ public void test13() throws StateTransitionException {
+ assertEquals("coldstandby,unlocked,disabled,dependency,",
+ makeString(UNLOCKED, ENABLED, "null", COLDSTANDBY, DISABLE_DEPENDENCY));
+
+ }
+
+ @Test
+ public void test14() throws StateTransitionException {
+ assertEquals("hotstandby,unlocked,enabled,null,",
+ makeString(UNLOCKED, ENABLED, "null", COLDSTANDBY, ENABLE_NO_DEPENDENCY));
+
+ }
+
+ @Test
+ public void test15() throws StateTransitionException {
+ assertEquals("providingservice,unlocked,enabled,null,",
+ makeString(UNLOCKED, ENABLED, "null", COLDSTANDBY, PROMOTE));
+
+ }
+
+ @Test
+ public void test16() throws StateTransitionException {
+ assertEquals("hotstandby,unlocked,enabled,null,", makeString(UNLOCKED, ENABLED, "null", COLDSTANDBY, DEMOTE));
+
+ }
+
+ @Test
+ public void test17() throws StateTransitionException {
+ assertEquals("hotstandby,unlocked,enabled,null,", makeString(UNLOCKED, ENABLED, "null", HOTSTANDBY, DEMOTE));
+
+ }
+
+ @Test
+ public void test18() throws StateTransitionException {
+ assertEquals("hotstandby,unlocked,enabled,null,", makeString(UNLOCKED, ENABLED, "null", HOTSTANDBY, UNLOCK));
+
+ }
+
+ @Test
+ public void test19() throws StateTransitionException {
+ assertEquals("coldstandby,unlocked,disabled,failed,",
+ makeString(UNLOCKED, ENABLED, "null", HOTSTANDBY, DISABLE_FAILED));
+
+ }
+
+ @Test
+ public void test20() throws StateTransitionException {
+ assertEquals("hotstandby,unlocked,enabled,null,",
+ makeString(UNLOCKED, ENABLED, "null", HOTSTANDBY, ENABLE_NOT_FAILED));
+
+ }
+
+ @Test
+ public void test21() throws StateTransitionException {
+ assertEquals("coldstandby,unlocked,disabled,dependency,",
+ makeString(UNLOCKED, ENABLED, "null", HOTSTANDBY, DISABLE_DEPENDENCY));
+
+ }
+
+ @Test
+ public void test22() throws StateTransitionException {
+ assertEquals("hotstandby,unlocked,enabled,null,",
+ makeString(UNLOCKED, ENABLED, "null", HOTSTANDBY, ENABLE_NO_DEPENDENCY));
+
+ }
+
+ @Test
+ public void test23() throws StateTransitionException {
+ assertEquals("providingservice,unlocked,enabled,null,",
+ makeString(UNLOCKED, ENABLED, "null", HOTSTANDBY, PROMOTE));
+
+ }
+
+ @Test
+ public void test24() throws StateTransitionException {
+ assertEquals("hotstandby,unlocked,enabled,null,", makeString(UNLOCKED, ENABLED, "null", HOTSTANDBY, DEMOTE));
+
+ }
+
+ @Test
+ public void test25() throws StateTransitionException {
+ assertEquals("hotstandby,unlocked,enabled,null,",
+ makeString(UNLOCKED, ENABLED, "null", PROVIDINGSERVICE, DEMOTE));
+
+ }
+
+ @Test
+ public void test26() throws StateTransitionException {
+ assertEquals("providingservice,unlocked,enabled,null,",
+ makeString(UNLOCKED, ENABLED, "null", PROVIDINGSERVICE, UNLOCK));
+
+ }
+
+ @Test
+ public void test27() throws StateTransitionException {
+ assertEquals("coldstandby,unlocked,disabled,failed,",
+ makeString(UNLOCKED, ENABLED, "null", PROVIDINGSERVICE, DISABLE_FAILED));
+
+ }
+
+ @Test
+ public void test28() throws StateTransitionException {
+ assertEquals("providingservice,unlocked,enabled,null,",
+ makeString(UNLOCKED, ENABLED, "null", PROVIDINGSERVICE, ENABLE_NOT_FAILED));
+
+ }
+
+ @Test
+ public void test29() throws StateTransitionException {
+ assertEquals("coldstandby,unlocked,disabled,dependency,",
+ makeString(UNLOCKED, ENABLED, "null", PROVIDINGSERVICE, DISABLE_DEPENDENCY));
+
+ }
+
+ @Test
+ public void test30() throws StateTransitionException {
+ assertEquals("providingservice,unlocked,enabled,null,",
+ makeString(UNLOCKED, ENABLED, "null", PROVIDINGSERVICE, ENABLE_NO_DEPENDENCY));
+
+ }
+
+ @Test
+ public void test31() throws StateTransitionException {
+ assertEquals("providingservice,unlocked,enabled,null,",
+ makeString(UNLOCKED, ENABLED, "null", PROVIDINGSERVICE, PROMOTE));
+
+ }
+
+ @Test
+ public void test32() throws StateTransitionException {
+ assertEquals("hotstandby,unlocked,enabled,null,",
+ makeString(UNLOCKED, ENABLED, "null", PROVIDINGSERVICE, DEMOTE));
+
+ }
+
+ @Test
+ public void test33() throws StateTransitionException {
+ assertEquals("hotstandby,unlocked,enabled,null,", makeString(UNLOCKED, ENABLED, FAILED, "null", DEMOTE));
+
+ }
+
+ @Test
+ public void test34() throws StateTransitionException {
+ assertEquals("null,unlocked,enabled,null,", makeString(UNLOCKED, ENABLED, FAILED, "null", UNLOCK));
+
+ }
+
+ @Test
+ public void test35() throws StateTransitionException {
+ assertEquals("null,unlocked,disabled,failed,", makeString(UNLOCKED, ENABLED, FAILED, "null", DISABLE_FAILED));
+
+ }
+
+ @Test
+ public void test36() throws StateTransitionException {
+ assertEquals("null,unlocked,enabled,null,", makeString(UNLOCKED, ENABLED, FAILED, "null", ENABLE_NOT_FAILED));
+
+ }
+
+ @Test
+ public void test37() throws StateTransitionException {
+ assertEquals("null,unlocked,disabled,dependency,",
+ makeString(UNLOCKED, ENABLED, FAILED, "null", DISABLE_DEPENDENCY));
+
+ }
+
+ @Test
+ public void test38() throws StateTransitionException {
+ assertEquals("null,unlocked,enabled,null,",
+ makeString(UNLOCKED, ENABLED, FAILED, "null", ENABLE_NO_DEPENDENCY));
+
+ }
+
+ @Test
+ public void test39() throws StateTransitionException {
+ assertEquals("providingservice,unlocked,enabled,null,", makeString(UNLOCKED, ENABLED, FAILED, "null", PROMOTE));
+
+ }
+
+ @Test
+ public void test40() throws StateTransitionException {
+ assertEquals("hotstandby,unlocked,enabled,null,", makeString(UNLOCKED, ENABLED, FAILED, "null", DEMOTE));
+
+ }
+
+ @Test
+ public void test41() throws StateTransitionException {
+ assertEquals("hotstandby,unlocked,enabled,null,", makeString(UNLOCKED, ENABLED, FAILED, COLDSTANDBY, DEMOTE));
+
+ }
+
+ @Test
+ public void test42() throws StateTransitionException {
+ assertEquals("hotstandby,unlocked,enabled,null,", makeString(UNLOCKED, ENABLED, FAILED, COLDSTANDBY, UNLOCK));
+
+ }
+
+ @Test
+ public void test43() throws StateTransitionException {
+ assertEquals("coldstandby,unlocked,disabled,failed,",
+ makeString(UNLOCKED, ENABLED, FAILED, COLDSTANDBY, DISABLE_FAILED));
+
+ }
+
+ @Test
+ public void test44() throws StateTransitionException {
+ assertEquals("hotstandby,unlocked,enabled,null,",
+ makeString(UNLOCKED, ENABLED, FAILED, COLDSTANDBY, ENABLE_NOT_FAILED));
+
+ }
+
+ @Test
+ public void test45() throws StateTransitionException {
+ assertEquals("coldstandby,unlocked,disabled,dependency,",
+ makeString(UNLOCKED, ENABLED, FAILED, COLDSTANDBY, DISABLE_DEPENDENCY));
+
+ }
+
+ @Test
+ public void test46() throws StateTransitionException {
+ assertEquals("hotstandby,unlocked,enabled,null,",
+ makeString(UNLOCKED, ENABLED, FAILED, COLDSTANDBY, ENABLE_NO_DEPENDENCY));
+
+ }
+
+ @Test
+ public void test47() throws StateTransitionException {
+ assertEquals("providingservice,unlocked,enabled,null,",
+ makeString(UNLOCKED, ENABLED, FAILED, COLDSTANDBY, PROMOTE));
+
+ }
+
+ @Test
+ public void test48() throws StateTransitionException {
+ assertEquals("hotstandby,unlocked,enabled,null,", makeString(UNLOCKED, ENABLED, FAILED, COLDSTANDBY, DEMOTE));
+
+ }
+
+ @Test
+ public void test49() throws StateTransitionException {
+ assertEquals("hotstandby,unlocked,enabled,null,", makeString(UNLOCKED, ENABLED, FAILED, HOTSTANDBY, DEMOTE));
+
+ }
+
+ @Test
+ public void test50() throws StateTransitionException {
+ assertEquals("hotstandby,unlocked,enabled,null,", makeString(UNLOCKED, ENABLED, FAILED, HOTSTANDBY, UNLOCK));
+
+ }
+
+ @Test
+ public void test51() throws StateTransitionException {
+ assertEquals("coldstandby,unlocked,disabled,failed,",
+ makeString(UNLOCKED, ENABLED, FAILED, HOTSTANDBY, DISABLE_FAILED));
+
+ }
+
+ @Test
+ public void test52() throws StateTransitionException {
+ assertEquals("hotstandby,unlocked,enabled,null,",
+ makeString(UNLOCKED, ENABLED, FAILED, HOTSTANDBY, ENABLE_NOT_FAILED));
+
+ }
+
+ @Test
+ public void test53() throws StateTransitionException {
+ assertEquals("coldstandby,unlocked,disabled,dependency,",
+ makeString(UNLOCKED, ENABLED, FAILED, HOTSTANDBY, DISABLE_DEPENDENCY));
+
+ }
+
+ @Test
+ public void test54() throws StateTransitionException {
+ assertEquals("hotstandby,unlocked,enabled,null,",
+ makeString(UNLOCKED, ENABLED, FAILED, HOTSTANDBY, ENABLE_NO_DEPENDENCY));
+
+ }
+
+ @Test
+ public void test55() throws StateTransitionException {
+ assertEquals("providingservice,unlocked,enabled,null,",
+ makeString(UNLOCKED, ENABLED, FAILED, HOTSTANDBY, PROMOTE));
+
+ }
+
+ @Test
+ public void test56() throws StateTransitionException {
+ assertEquals("hotstandby,unlocked,enabled,null,", makeString(UNLOCKED, ENABLED, FAILED, HOTSTANDBY, DEMOTE));
+
+ }
+
+ @Test
+ public void test57() throws StateTransitionException {
+ assertEquals("hotstandby,unlocked,enabled,null,",
+ makeString(UNLOCKED, ENABLED, FAILED, PROVIDINGSERVICE, DEMOTE));
+
+ }
+
+ @Test
+ public void test58() throws StateTransitionException {
+ assertEquals("providingservice,unlocked,enabled,null,",
+ makeString(UNLOCKED, ENABLED, FAILED, PROVIDINGSERVICE, UNLOCK));
+
+ }
+
+ @Test
+ public void test59() throws StateTransitionException {
+ assertEquals("coldstandby,unlocked,disabled,failed,",
+ makeString(UNLOCKED, ENABLED, FAILED, PROVIDINGSERVICE, DISABLE_FAILED));
+
+ }
+
+ @Test
+ public void test60() throws StateTransitionException {
+ assertEquals("providingservice,unlocked,enabled,null,",
+ makeString(UNLOCKED, ENABLED, FAILED, PROVIDINGSERVICE, ENABLE_NOT_FAILED));
+
+ }
+
+ @Test
+ public void test61() throws StateTransitionException {
+ assertEquals("coldstandby,unlocked,disabled,dependency,",
+ makeString(UNLOCKED, ENABLED, FAILED, PROVIDINGSERVICE, DISABLE_DEPENDENCY));
+
+ }
+
+ @Test
+ public void test62() throws StateTransitionException {
+ assertEquals("providingservice,unlocked,enabled,null,",
+ makeString(UNLOCKED, ENABLED, FAILED, PROVIDINGSERVICE, ENABLE_NO_DEPENDENCY));
+
+ }
+
+ @Test
+ public void test63() throws StateTransitionException {
+ assertEquals("providingservice,unlocked,enabled,null,",
+ makeString(UNLOCKED, ENABLED, FAILED, PROVIDINGSERVICE, PROMOTE));
+
+ }
+
+ @Test
+ public void test64() throws StateTransitionException {
+ assertEquals("hotstandby,unlocked,enabled,null,",
+ makeString(UNLOCKED, ENABLED, FAILED, PROVIDINGSERVICE, DEMOTE));
+
+ }
+
+ @Test
+ public void test65() throws StateTransitionException {
+ assertEquals("hotstandby,unlocked,enabled,null,", makeString(UNLOCKED, ENABLED, DEPENDENCY, "null", DEMOTE));
+
+ }
+
+ @Test
+ public void test66() throws StateTransitionException {
+ assertEquals("null,unlocked,enabled,null,", makeString(UNLOCKED, ENABLED, DEPENDENCY, "null", UNLOCK));
+
+ }
+
+ @Test
+ public void test67() throws StateTransitionException {
+ assertEquals("null,unlocked,disabled,failed,",
+ makeString(UNLOCKED, ENABLED, DEPENDENCY, "null", DISABLE_FAILED));
+
+ }
+
+ @Test
+ public void test68() throws StateTransitionException {
+ assertEquals("null,unlocked,enabled,null,",
+ makeString(UNLOCKED, ENABLED, DEPENDENCY, "null", ENABLE_NOT_FAILED));
+
+ }
+
+ @Test
+ public void test69() throws StateTransitionException {
+ assertEquals("null,unlocked,disabled,dependency,",
+ makeString(UNLOCKED, ENABLED, DEPENDENCY, "null", DISABLE_DEPENDENCY));
+
+ }
+
+ @Test
+ public void test70() throws StateTransitionException {
+ assertEquals("null,unlocked,enabled,null,",
+ makeString(UNLOCKED, ENABLED, DEPENDENCY, "null", ENABLE_NO_DEPENDENCY));
+
+ }
+
+ @Test
+ public void test71() throws StateTransitionException {
+ assertEquals("providingservice,unlocked,enabled,null,",
+ makeString(UNLOCKED, ENABLED, DEPENDENCY, "null", PROMOTE));
+
+ }
+
+ @Test
+ public void test72() throws StateTransitionException {
+ assertEquals("hotstandby,unlocked,enabled,null,", makeString(UNLOCKED, ENABLED, DEPENDENCY, "null", DEMOTE));
+
+ }
+
+ @Test
+ public void test73() throws StateTransitionException {
+ assertEquals("hotstandby,unlocked,enabled,null,",
+ makeString(UNLOCKED, ENABLED, DEPENDENCY, COLDSTANDBY, DEMOTE));
+
+ }
+
+ @Test
+ public void test74() throws StateTransitionException {
+ assertEquals("hotstandby,unlocked,enabled,null,",
+ makeString(UNLOCKED, ENABLED, DEPENDENCY, COLDSTANDBY, UNLOCK));
+
+ }
+
+ @Test
+ public void test75() throws StateTransitionException {
+ assertEquals("coldstandby,unlocked,disabled,failed,",
+ makeString(UNLOCKED, ENABLED, DEPENDENCY, COLDSTANDBY, DISABLE_FAILED));
+
+ }
+
+ @Test
+ public void test76() throws StateTransitionException {
+ assertEquals("hotstandby,unlocked,enabled,null,",
+ makeString(UNLOCKED, ENABLED, DEPENDENCY, COLDSTANDBY, ENABLE_NOT_FAILED));
+
+ }
+
+ @Test
+ public void test77() throws StateTransitionException {
+ assertEquals("coldstandby,unlocked,disabled,dependency,",
+ makeString(UNLOCKED, ENABLED, DEPENDENCY, COLDSTANDBY, DISABLE_DEPENDENCY));
+
+ }
+
+ @Test
+ public void test78() throws StateTransitionException {
+ assertEquals("hotstandby,unlocked,enabled,null,",
+ makeString(UNLOCKED, ENABLED, DEPENDENCY, COLDSTANDBY, ENABLE_NO_DEPENDENCY));
+
+ }
+
+ @Test
+ public void test79() throws StateTransitionException {
+ assertEquals("providingservice,unlocked,enabled,null,",
+ makeString(UNLOCKED, ENABLED, DEPENDENCY, COLDSTANDBY, PROMOTE));
+
+ }
+
+ @Test
+ public void test80() throws StateTransitionException {
+ assertEquals("hotstandby,unlocked,enabled,null,",
+ makeString(UNLOCKED, ENABLED, DEPENDENCY, COLDSTANDBY, DEMOTE));
+
+ }
+
+ @Test
+ public void test81() throws StateTransitionException {
+ assertEquals("hotstandby,unlocked,enabled,null,",
+ makeString(UNLOCKED, ENABLED, DEPENDENCY, HOTSTANDBY, DEMOTE));
+
+ }
+
+ @Test
+ public void test82() throws StateTransitionException {
+ assertEquals("hotstandby,unlocked,enabled,null,",
+ makeString(UNLOCKED, ENABLED, DEPENDENCY, HOTSTANDBY, UNLOCK));
+
+ }
+
+ @Test
+ public void test83() throws StateTransitionException {
+ assertEquals("coldstandby,unlocked,disabled,failed,",
+ makeString(UNLOCKED, ENABLED, DEPENDENCY, HOTSTANDBY, DISABLE_FAILED));
+
+ }
+
+ @Test
+ public void test84() throws StateTransitionException {
+ assertEquals("hotstandby,unlocked,enabled,null,",
+ makeString(UNLOCKED, ENABLED, DEPENDENCY, HOTSTANDBY, ENABLE_NOT_FAILED));
+
+ }
+
+ @Test
+ public void test85() throws StateTransitionException {
+ assertEquals("hotstandby,unlocked,disabled,dependency,",
+ makeString(UNLOCKED, ENABLED, DEPENDENCY, HOTSTANDBY, DISABLE_DEPENDENCY));
+
+ }
+
+ @Test
+ public void test86() throws StateTransitionException {
+ assertEquals("hotstandby,unlocked,enabled,null,",
+ makeString(UNLOCKED, ENABLED, DEPENDENCY, HOTSTANDBY, ENABLE_NO_DEPENDENCY));
+
+ }
+
+ @Test
+ public void test87() throws StateTransitionException {
+ assertEquals("providingservice,unlocked,enabled,null,",
+ makeString(UNLOCKED, ENABLED, DEPENDENCY, HOTSTANDBY, PROMOTE));
+
+ }
+
+ @Test
+ public void test88() throws StateTransitionException {
+ assertEquals("hotstandby,unlocked,enabled,null,",
+ makeString(UNLOCKED, ENABLED, DEPENDENCY, HOTSTANDBY, DEMOTE));
+
+ }
+
+ @Test
+ public void test89() throws StateTransitionException {
+ assertEquals("hotstandby,unlocked,enabled,null,",
+ makeString(UNLOCKED, ENABLED, DEPENDENCY, PROVIDINGSERVICE, DEMOTE));
+
+ }
+
+ @Test
+ public void test90() throws StateTransitionException {
+ assertEquals("providingservice,unlocked,enabled,null,",
+ makeString(UNLOCKED, ENABLED, DEPENDENCY, PROVIDINGSERVICE, UNLOCK));
+
+ }
+
+ @Test
+ public void test91() throws StateTransitionException {
+ assertEquals("coldstandby,unlocked,disabled,failed,",
+ makeString(UNLOCKED, ENABLED, DEPENDENCY, PROVIDINGSERVICE, DISABLE_FAILED));
+
+ }
+
+ @Test
+ public void test92() throws StateTransitionException {
+ assertEquals("providingservice,unlocked,enabled,null,",
+ makeString(UNLOCKED, ENABLED, DEPENDENCY, PROVIDINGSERVICE, ENABLE_NOT_FAILED));
+
+ }
+
+ @Test
+ public void test93() throws StateTransitionException {
+ assertEquals("coldstandby,unlocked,disabled,dependency,",
+ makeString(UNLOCKED, ENABLED, DEPENDENCY, PROVIDINGSERVICE, DISABLE_DEPENDENCY));
+
+ }
+
+ @Test
+ public void test94() throws StateTransitionException {
+ assertEquals("providingservice,unlocked,enabled,null,",
+ makeString(UNLOCKED, ENABLED, DEPENDENCY, PROVIDINGSERVICE, ENABLE_NO_DEPENDENCY));
+
+ }
+
+ @Test
+ public void test95() throws StateTransitionException {
+ assertEquals("providingservice,unlocked,enabled,null,",
+ makeString(UNLOCKED, ENABLED, DEPENDENCY, PROVIDINGSERVICE, PROMOTE));
+
+ }
+
+ @Test
+ public void test96() throws StateTransitionException {
+ assertEquals("hotstandby,unlocked,enabled,null,",
+ makeString(UNLOCKED, ENABLED, DEPENDENCY, PROVIDINGSERVICE, DEMOTE));
+
+ }
+
+ @Test
+ public void test97() throws StateTransitionException {
+ assertEquals("hotstandby,unlocked,enabled,null,",
+ makeString(UNLOCKED, ENABLED, DEPENDENCY_FAILED, "null", DEMOTE));
+
+ }
+
+ @Test
+ public void test98() throws StateTransitionException {
+ assertEquals("null,unlocked,enabled,null,", makeString(UNLOCKED, ENABLED, DEPENDENCY_FAILED, "null", UNLOCK));
+
+ }
+
+ @Test
+ public void test99() throws StateTransitionException {
+ assertEquals("null,unlocked,disabled,failed,",
+ makeString(UNLOCKED, ENABLED, DEPENDENCY_FAILED, "null", DISABLE_FAILED));
+
+ }
+
+ @Test
+ public void test100() throws StateTransitionException {
+ assertEquals("null,unlocked,enabled,null,",
+ makeString(UNLOCKED, ENABLED, DEPENDENCY_FAILED, "null", ENABLE_NOT_FAILED));
+
+ }
+
+ @Test
+ public void test101() throws StateTransitionException {
+ assertEquals("null,unlocked,disabled,dependency,",
+ makeString(UNLOCKED, ENABLED, DEPENDENCY_FAILED, "null", DISABLE_DEPENDENCY));
+
+ }
+
+ @Test
+ public void test102() throws StateTransitionException {
+ assertEquals("null,unlocked,enabled,null,",
+ makeString(UNLOCKED, ENABLED, DEPENDENCY_FAILED, "null", ENABLE_NO_DEPENDENCY));
+
+ }
+
+ @Test
+ public void test103() throws StateTransitionException {
+ assertEquals("providingservice,unlocked,enabled,null,",
+ makeString(UNLOCKED, ENABLED, DEPENDENCY_FAILED, "null", PROMOTE));
+
+ }
+
+ @Test
+ public void test104() throws StateTransitionException {
+ assertEquals("hotstandby,unlocked,enabled,null,",
+ makeString(UNLOCKED, ENABLED, DEPENDENCY_FAILED, "null", DEMOTE));
+
+ }
+
+ @Test
+ public void test105() throws StateTransitionException {
+ assertEquals("hotstandby,unlocked,enabled,null,",
+ makeString(UNLOCKED, ENABLED, DEPENDENCY_FAILED, COLDSTANDBY, DEMOTE));
+
+ }
+
+ @Test
+ public void test106() throws StateTransitionException {
+ assertEquals("hotstandby,unlocked,enabled,null,",
+ makeString(UNLOCKED, ENABLED, DEPENDENCY_FAILED, COLDSTANDBY, UNLOCK));
+
+ }
+
+ @Test
+ public void test107() throws StateTransitionException {
+ assertEquals("coldstandby,unlocked,disabled,failed,",
+ makeString(UNLOCKED, ENABLED, DEPENDENCY_FAILED, COLDSTANDBY, DISABLE_FAILED));
+
+ }
+
+ @Test
+ public void test108() throws StateTransitionException {
+ assertEquals("hotstandby,unlocked,enabled,null,",
+ makeString(UNLOCKED, ENABLED, DEPENDENCY_FAILED, COLDSTANDBY, ENABLE_NOT_FAILED));
+
+ }
+
+ @Test
+ public void test109() throws StateTransitionException {
+ assertEquals("coldstandby,unlocked,disabled,dependency,",
+ makeString(UNLOCKED, ENABLED, DEPENDENCY_FAILED, COLDSTANDBY, DISABLE_DEPENDENCY));
+
+ }
+
+ @Test
+ public void test110() throws StateTransitionException {
+ assertEquals("hotstandby,unlocked,enabled,null,",
+ makeString(UNLOCKED, ENABLED, DEPENDENCY_FAILED, COLDSTANDBY, ENABLE_NO_DEPENDENCY));
+
+ }
+
+ @Test
+ public void test111() throws StateTransitionException {
+ assertEquals("providingservice,unlocked,enabled,null,",
+ makeString(UNLOCKED, ENABLED, DEPENDENCY_FAILED, COLDSTANDBY, PROMOTE));
+
+ }
+
+ @Test
+ public void test112() throws StateTransitionException {
+ assertEquals("hotstandby,unlocked,enabled,null,",
+ makeString(UNLOCKED, ENABLED, DEPENDENCY_FAILED, COLDSTANDBY, DEMOTE));
+
+ }
+
+ @Test
+ public void test113() throws StateTransitionException {
+ assertEquals("hotstandby,unlocked,enabled,null,",
+ makeString(UNLOCKED, ENABLED, DEPENDENCY_FAILED, HOTSTANDBY, DEMOTE));
+
+ }
+
+ @Test
+ public void test114() throws StateTransitionException {
+ assertEquals("hotstandby,unlocked,enabled,null,",
+ makeString(UNLOCKED, ENABLED, DEPENDENCY_FAILED, HOTSTANDBY, UNLOCK));
+
+ }
+
+ @Test
+ public void test115() throws StateTransitionException {
+ assertEquals("coldstandby,unlocked,disabled,failed,",
+ makeString(UNLOCKED, ENABLED, DEPENDENCY_FAILED, HOTSTANDBY, DISABLE_FAILED));
+
+ }
+
+ @Test
+ public void test116() throws StateTransitionException {
+ assertEquals("hotstandby,unlocked,enabled,null,",
+ makeString(UNLOCKED, ENABLED, DEPENDENCY_FAILED, HOTSTANDBY, ENABLE_NOT_FAILED));
+
+ }
+
+ @Test
+ public void test117() throws StateTransitionException {
+ assertEquals("coldstandby,unlocked,disabled,dependency,",
+ makeString(UNLOCKED, ENABLED, DEPENDENCY_FAILED, HOTSTANDBY, DISABLE_DEPENDENCY));
+
+ }
+
+ @Test
+ public void test118() throws StateTransitionException {
+ assertEquals("hotstandby,unlocked,enabled,null,",
+ makeString(UNLOCKED, ENABLED, DEPENDENCY_FAILED, HOTSTANDBY, ENABLE_NO_DEPENDENCY));
+
+ }
+
+ @Test
+ public void test119() throws StateTransitionException {
+ assertEquals("providingservice,unlocked,enabled,null,",
+ makeString(UNLOCKED, ENABLED, DEPENDENCY_FAILED, HOTSTANDBY, PROMOTE));
+
+ }
+
+ @Test
+ public void test120() throws StateTransitionException {
+ assertEquals("hotstandby,unlocked,enabled,null,",
+ makeString(UNLOCKED, ENABLED, DEPENDENCY_FAILED, HOTSTANDBY, DEMOTE));
+
+ }
+
+ @Test
+ public void test121() throws StateTransitionException {
+ assertEquals("hotstandby,unlocked,enabled,null,",
+ makeString(UNLOCKED, ENABLED, DEPENDENCY_FAILED, PROVIDINGSERVICE, DEMOTE));
+
+ }
+
+ @Test
+ public void test122() throws StateTransitionException {
+ assertEquals("providingservice,unlocked,enabled,null,",
+ makeString(UNLOCKED, ENABLED, DEPENDENCY_FAILED, PROVIDINGSERVICE, UNLOCK));
+
+ }
+
+ @Test
+ public void test123() throws StateTransitionException {
+ assertEquals("coldstandby,unlocked,disabled,failed,",
+ makeString(UNLOCKED, ENABLED, DEPENDENCY_FAILED, PROVIDINGSERVICE, DISABLE_FAILED));
+
+ }
+
+ @Test
+ public void test124() throws StateTransitionException {
+ assertEquals("providingservice,unlocked,enabled,null,",
+ makeString(UNLOCKED, ENABLED, DEPENDENCY_FAILED, PROVIDINGSERVICE, ENABLE_NOT_FAILED));
+
+ }
+
+ @Test
+ public void test125() throws StateTransitionException {
+ assertEquals("coldstandby,unlocked,disabled,dependency,",
+ makeString(UNLOCKED, ENABLED, DEPENDENCY_FAILED, PROVIDINGSERVICE, DISABLE_DEPENDENCY));
+
+ }
+
+ @Test
+ public void test126() throws StateTransitionException {
+ assertEquals("providingservice,unlocked,enabled,null,",
+ makeString(UNLOCKED, ENABLED, DEPENDENCY_FAILED, PROVIDINGSERVICE, ENABLE_NO_DEPENDENCY));
+
+ }
+
+ @Test
+ public void test127() throws StateTransitionException {
+ assertEquals("providingservice,unlocked,enabled,null,",
+ makeString(UNLOCKED, ENABLED, DEPENDENCY_FAILED, PROVIDINGSERVICE, PROMOTE));
+
+ }
+
+ @Test
+ public void test128() throws StateTransitionException {
+ assertEquals("hotstandby,unlocked,enabled,null,",
+ makeString(UNLOCKED, ENABLED, DEPENDENCY_FAILED, PROVIDINGSERVICE, DEMOTE));
+
+ }
+
+ @Test
+ public void test129() throws StateTransitionException {
+ assertEquals("coldstandby,unlocked,disabled,null,", makeString(UNLOCKED, DISABLED, "null", "null", DEMOTE));
+
+ }
+
+ @Test
+ public void test130() throws StateTransitionException {
+ assertEquals("null,unlocked,disabled,null,", makeString(UNLOCKED, DISABLED, "null", "null", UNLOCK));
+
+ }
+
+ @Test
+ public void test131() throws StateTransitionException {
+ assertEquals("null,unlocked,disabled,failed,", makeString(UNLOCKED, DISABLED, "null", "null", DISABLE_FAILED));
+
+ }
+
+ @Test
+ public void test132() throws StateTransitionException {
+ assertEquals("null,unlocked,enabled,null,", makeString(UNLOCKED, DISABLED, "null", "null", ENABLE_NOT_FAILED));
+
+ }
+
+ @Test
+ public void test133() throws StateTransitionException {
+ assertEquals("null,unlocked,disabled,dependency,",
+ makeString(UNLOCKED, DISABLED, "null", "null", DISABLE_DEPENDENCY));
+
+ }
+
+ @Test
+ public void test134() throws StateTransitionException {
+ assertEquals("null,unlocked,enabled,null,",
+ makeString(UNLOCKED, DISABLED, "null", "null", ENABLE_NO_DEPENDENCY));
+
+ }
+
+ @Test
+ public void test135() throws StateTransitionException {
+ assertEquals("coldstandby,unlocked,disabled,null,StandbyStatusException",
+ makeString(UNLOCKED, DISABLED, "null", "null", PROMOTE));
+
+ }
+
+ @Test
+ public void test136() throws StateTransitionException {
+ assertEquals("coldstandby,unlocked,disabled,null,", makeString(UNLOCKED, DISABLED, "null", "null", DEMOTE));
+
+ }
+
+ @Test
+ public void test137() throws StateTransitionException {
+ assertEquals("coldstandby,unlocked,disabled,null,",
+ makeString(UNLOCKED, DISABLED, "null", COLDSTANDBY, DEMOTE));
+
+ }
+
+ @Test
+ public void test138() throws StateTransitionException {
+ assertEquals("coldstandby,unlocked,disabled,null,",
+ makeString(UNLOCKED, DISABLED, "null", COLDSTANDBY, UNLOCK));
+
+ }
+
+ @Test
+ public void test139() throws StateTransitionException {
+ assertEquals("coldstandby,unlocked,disabled,failed,",
+ makeString(UNLOCKED, DISABLED, "null", COLDSTANDBY, DISABLE_FAILED));
+
+ }
+
+ @Test
+ public void test140() throws StateTransitionException {
+ assertEquals("hotstandby,unlocked,enabled,null,",
+ makeString(UNLOCKED, DISABLED, "null", COLDSTANDBY, ENABLE_NOT_FAILED));
+
+ }
+
+ @Test
+ public void test141() throws StateTransitionException {
+ assertEquals("coldstandby,unlocked,disabled,dependency,",
+ makeString(UNLOCKED, DISABLED, "null", COLDSTANDBY, DISABLE_DEPENDENCY));
+
+ }
+
+ @Test
+ public void test142() throws StateTransitionException {
+ assertEquals("hotstandby,unlocked,enabled,null,",
+ makeString(UNLOCKED, DISABLED, "null", COLDSTANDBY, ENABLE_NO_DEPENDENCY));
+
+ }
+
+ @Test
+ public void test143() throws StateTransitionException {
+ assertEquals("coldstandby,unlocked,disabled,null,StandbyStatusException",
+ makeString(UNLOCKED, DISABLED, "null", COLDSTANDBY, PROMOTE));
+
+ }
+
+ @Test
+ public void test144() throws StateTransitionException {
+ assertEquals("coldstandby,unlocked,disabled,null,",
+ makeString(UNLOCKED, DISABLED, "null", COLDSTANDBY, DEMOTE));
+
+ }
+
+ @Test
+ public void test145() throws StateTransitionException {
+ assertEquals("coldstandby,unlocked,disabled,null,", makeString(UNLOCKED, DISABLED, "null", HOTSTANDBY, DEMOTE));
+
+ }
+
+ @Test
+ public void test146() throws StateTransitionException {
+ assertEquals("coldstandby,unlocked,disabled,null,", makeString(UNLOCKED, DISABLED, "null", HOTSTANDBY, UNLOCK));
+
+ }
+
+ @Test
+ public void test147() throws StateTransitionException {
+ assertEquals("coldstandby,unlocked,disabled,failed,",
+ makeString(UNLOCKED, DISABLED, "null", HOTSTANDBY, DISABLE_FAILED));
+
+ }
+
+ @Test
+ public void test148() throws StateTransitionException {
+ assertEquals("hotstandby,unlocked,enabled,null,",
+ makeString(UNLOCKED, DISABLED, "null", HOTSTANDBY, ENABLE_NOT_FAILED));
+
+ }
+
+ @Test
+ public void test149() throws StateTransitionException {
+ assertEquals("coldstandby,unlocked,disabled,dependency,",
+ makeString(UNLOCKED, DISABLED, "null", HOTSTANDBY, DISABLE_DEPENDENCY));
+
+ }
+
+ @Test
+ public void test150() throws StateTransitionException {
+ assertEquals("hotstandby,unlocked,enabled,null,",
+ makeString(UNLOCKED, DISABLED, "null", HOTSTANDBY, ENABLE_NO_DEPENDENCY));
+
+ }
+
+ @Test
+ public void test151() throws StateTransitionException {
+ assertEquals("coldstandby,unlocked,disabled,null,StandbyStatusException",
+ makeString(UNLOCKED, DISABLED, "null", HOTSTANDBY, PROMOTE));
+
+ }
+
+ @Test
+ public void test152() throws StateTransitionException {
+ assertEquals("coldstandby,unlocked,disabled,null,", makeString(UNLOCKED, DISABLED, "null", HOTSTANDBY, DEMOTE));
+
+ }
+
+ @Test
+ public void test153() throws StateTransitionException {
+ assertEquals("coldstandby,unlocked,disabled,null,",
+ makeString(UNLOCKED, DISABLED, "null", PROVIDINGSERVICE, DEMOTE));
+
+ }
+
+ @Test
+ public void test154() throws StateTransitionException {
+ assertEquals("coldstandby,unlocked,disabled,null,",
+ makeString(UNLOCKED, DISABLED, "null", PROVIDINGSERVICE, UNLOCK));
+
+ }
+
+ @Test
+ public void test155() throws StateTransitionException {
+ assertEquals("coldstandby,unlocked,disabled,failed,",
+ makeString(UNLOCKED, DISABLED, "null", PROVIDINGSERVICE, DISABLE_FAILED));
+
+ }
+
+ @Test
+ public void test156() throws StateTransitionException {
+ assertEquals("hotstandby,unlocked,enabled,null,",
+ makeString(UNLOCKED, DISABLED, "null", PROVIDINGSERVICE, ENABLE_NOT_FAILED));
+
+ }
+
+ @Test
+ public void test157() throws StateTransitionException {
+ assertEquals("coldstandby,unlocked,disabled,dependency,",
+ makeString(UNLOCKED, DISABLED, "null", PROVIDINGSERVICE, DISABLE_DEPENDENCY));
+
+ }
+
+ @Test
+ public void test158() throws StateTransitionException {
+ assertEquals("hotstandby,unlocked,enabled,null,",
+ makeString(UNLOCKED, DISABLED, "null", PROVIDINGSERVICE, ENABLE_NO_DEPENDENCY));
+
+ }
+
+ @Test
+ public void test159() throws StateTransitionException {
+ assertEquals("coldstandby,unlocked,disabled,null,StandbyStatusException",
+ makeString(UNLOCKED, DISABLED, "null", PROVIDINGSERVICE, PROMOTE));
+
+ }
+
+ @Test
+ public void test160() throws StateTransitionException {
+ assertEquals("coldstandby,unlocked,disabled,null,",
+ makeString(UNLOCKED, DISABLED, "null", PROVIDINGSERVICE, DEMOTE));
+
+ }
+
+ @Test
+ public void test161() throws StateTransitionException {
+ assertEquals("coldstandby,unlocked,disabled,failed,", makeString(UNLOCKED, DISABLED, FAILED, "null", DEMOTE));
+
+ }
+
+ @Test
+ public void test162() throws StateTransitionException {
+ assertEquals("null,unlocked,disabled,failed,", makeString(UNLOCKED, DISABLED, FAILED, "null", UNLOCK));
+
+ }
+
+ @Test
+ public void test163() throws StateTransitionException {
+ assertEquals("null,unlocked,disabled,failed,", makeString(UNLOCKED, DISABLED, FAILED, "null", DISABLE_FAILED));
+
+ }
+
+ @Test
+ public void test164() throws StateTransitionException {
+ assertEquals("null,unlocked,enabled,null,", makeString(UNLOCKED, DISABLED, FAILED, "null", ENABLE_NOT_FAILED));
+
+ }
+
+ @Test
+ public void test165() throws StateTransitionException {
+ assertEquals("null,unlocked,disabled,dependency,failed,",
+ makeString(UNLOCKED, DISABLED, FAILED, "null", DISABLE_DEPENDENCY));
+
+ }
+
+ @Test
+ public void test166() throws StateTransitionException {
+ assertEquals("null,unlocked,disabled,failed,",
+ makeString(UNLOCKED, DISABLED, FAILED, "null", ENABLE_NO_DEPENDENCY));
+
+ }
+
+ @Test
+ public void test167() throws StateTransitionException {
+ assertEquals("coldstandby,unlocked,disabled,failed,StandbyStatusException",
+ makeString(UNLOCKED, DISABLED, FAILED, "null", PROMOTE));
+
+ }
+
+ @Test
+ public void test168() throws StateTransitionException {
+ assertEquals("coldstandby,unlocked,disabled,failed,", makeString(UNLOCKED, DISABLED, FAILED, "null", DEMOTE));
+
+ }
+
+ @Test
+ public void test169() throws StateTransitionException {
+ assertEquals("coldstandby,unlocked,disabled,failed,",
+ makeString(UNLOCKED, DISABLED, FAILED, COLDSTANDBY, DEMOTE));
+
+ }
+
+ @Test
+ public void test170() throws StateTransitionException {
+ assertEquals("coldstandby,unlocked,disabled,failed,",
+ makeString(UNLOCKED, DISABLED, FAILED, COLDSTANDBY, UNLOCK));
+
+ }
+
+ @Test
+ public void test171() throws StateTransitionException {
+ assertEquals("coldstandby,unlocked,disabled,failed,",
+ makeString(UNLOCKED, DISABLED, FAILED, COLDSTANDBY, DISABLE_FAILED));
+
+ }
+
+ @Test
+ public void test172() throws StateTransitionException {
+ assertEquals("hotstandby,unlocked,enabled,null,",
+ makeString(UNLOCKED, DISABLED, FAILED, COLDSTANDBY, ENABLE_NOT_FAILED));
+
+ }
+
+ @Test
+ public void test173() throws StateTransitionException {
+ assertEquals("coldstandby,unlocked,disabled,dependency,failed,",
+ makeString(UNLOCKED, DISABLED, FAILED, COLDSTANDBY, DISABLE_DEPENDENCY));
+
+ }
+
+ @Test
+ public void test174() throws StateTransitionException {
+ assertEquals("coldstandby,unlocked,disabled,failed,",
+ makeString(UNLOCKED, DISABLED, FAILED, COLDSTANDBY, ENABLE_NO_DEPENDENCY));
+
+ }
+
+ @Test
+ public void test175() throws StateTransitionException {
+ assertEquals("coldstandby,unlocked,disabled,failed,StandbyStatusException",
+ makeString(UNLOCKED, DISABLED, FAILED, COLDSTANDBY, PROMOTE));
+
+ }
+
+ @Test
+ public void test176() throws StateTransitionException {
+ assertEquals("coldstandby,unlocked,disabled,failed,",
+ makeString(UNLOCKED, DISABLED, FAILED, COLDSTANDBY, DEMOTE));
+
+ }
+
+ @Test
+ public void test177() throws StateTransitionException {
+ assertEquals("coldstandby,unlocked,disabled,failed,",
+ makeString(UNLOCKED, DISABLED, FAILED, HOTSTANDBY, DEMOTE));
+
+ }
+
+ @Test
+ public void test178() throws StateTransitionException {
+ assertEquals("coldstandby,unlocked,disabled,failed,",
+ makeString(UNLOCKED, DISABLED, FAILED, HOTSTANDBY, UNLOCK));
+
+ }
+
+ @Test
+ public void test179() throws StateTransitionException {
+ assertEquals("coldstandby,unlocked,disabled,failed,",
+ makeString(UNLOCKED, DISABLED, FAILED, HOTSTANDBY, DISABLE_FAILED));
+
+ }
+
+ @Test
+ public void test180() throws StateTransitionException {
+ assertEquals("hotstandby,unlocked,enabled,null,",
+ makeString(UNLOCKED, DISABLED, FAILED, HOTSTANDBY, ENABLE_NOT_FAILED));
+
+ }
+
+ @Test
+ public void test181() throws StateTransitionException {
+ assertEquals("coldstandby,unlocked,disabled,dependency,failed,",
+ makeString(UNLOCKED, DISABLED, FAILED, HOTSTANDBY, DISABLE_DEPENDENCY));
+
+ }
+
+ @Test
+ public void test182() throws StateTransitionException {
+ assertEquals("coldstandby,unlocked,disabled,failed,",
+ makeString(UNLOCKED, DISABLED, FAILED, HOTSTANDBY, ENABLE_NO_DEPENDENCY));
+
+ }
+
+ @Test
+ public void test183() throws StateTransitionException {
+ assertEquals("coldstandby,unlocked,disabled,failed,StandbyStatusException",
+ makeString(UNLOCKED, DISABLED, FAILED, HOTSTANDBY, PROMOTE));
+
+ }
+
+ @Test
+ public void test184() throws StateTransitionException {
+ assertEquals("coldstandby,unlocked,disabled,failed,",
+ makeString(UNLOCKED, DISABLED, FAILED, HOTSTANDBY, DEMOTE));
+
+ }
+
+ @Test
+ public void test185() throws StateTransitionException {
+ assertEquals("coldstandby,unlocked,disabled,failed,",
+ makeString(UNLOCKED, DISABLED, FAILED, PROVIDINGSERVICE, DEMOTE));
+
+ }
+
+ @Test
+ public void test186() throws StateTransitionException {
+ assertEquals("coldstandby,unlocked,disabled,failed,",
+ makeString(UNLOCKED, DISABLED, FAILED, PROVIDINGSERVICE, UNLOCK));
+
+ }
+
+ @Test
+ public void test187() throws StateTransitionException {
+ assertEquals("coldstandby,unlocked,disabled,failed,",
+ makeString(UNLOCKED, DISABLED, FAILED, PROVIDINGSERVICE, DISABLE_FAILED));
+
+ }
+
+ @Test
+ public void test188() throws StateTransitionException {
+ assertEquals("hotstandby,unlocked,enabled,null,",
+ makeString(UNLOCKED, DISABLED, FAILED, PROVIDINGSERVICE, ENABLE_NOT_FAILED));
+
+ }
+
+ @Test
+ public void test189() throws StateTransitionException {
+ assertEquals("coldstandby,unlocked,disabled,dependency,failed,",
+ makeString(UNLOCKED, DISABLED, FAILED, PROVIDINGSERVICE, DISABLE_DEPENDENCY));
+
+ }
+
+ @Test
+ public void test190() throws StateTransitionException {
+ assertEquals("coldstandby,unlocked,disabled,failed,",
+ makeString(UNLOCKED, DISABLED, FAILED, PROVIDINGSERVICE, ENABLE_NO_DEPENDENCY));
+
+ }
+
+ @Test
+ public void test191() throws StateTransitionException {
+ assertEquals("coldstandby,unlocked,disabled,failed,StandbyStatusException",
+ makeString(UNLOCKED, DISABLED, FAILED, PROVIDINGSERVICE, PROMOTE));
+
+ }
+
+ @Test
+ public void test192() throws StateTransitionException {
+ assertEquals("coldstandby,unlocked,disabled,failed,",
+ makeString(UNLOCKED, DISABLED, FAILED, PROVIDINGSERVICE, DEMOTE));
+
+ }
+
+ @Test
+ public void test193() throws StateTransitionException {
+ assertEquals("coldstandby,unlocked,disabled,dependency,",
+ makeString(UNLOCKED, DISABLED, DEPENDENCY, "null", DEMOTE));
+
+ }
+
+ @Test
+ public void test194() throws StateTransitionException {
+ assertEquals("null,unlocked,disabled,dependency,", makeString(UNLOCKED, DISABLED, DEPENDENCY, "null", UNLOCK));
+
+ }
+
+ @Test
+ public void test195() throws StateTransitionException {
+ assertEquals("null,unlocked,disabled,dependency,failed,",
+ makeString(UNLOCKED, DISABLED, DEPENDENCY, "null", DISABLE_FAILED));
+
+ }
+
+ @Test
+ public void test196() throws StateTransitionException {
+ assertEquals("null,unlocked,disabled,dependency,",
+ makeString(UNLOCKED, DISABLED, DEPENDENCY, "null", ENABLE_NOT_FAILED));
+
+ }
- logger.info("??? StateTransition testcase 1");
- se = st.getEndingState(UNLOCKED, ENABLED, "null", "null", "lock");
- assertEquals("null,locked,enabled,null,", makeString(se));
+ @Test
+ public void test197() throws StateTransitionException {
+ assertEquals("null,unlocked,disabled,dependency,",
+ makeString(UNLOCKED, DISABLED, DEPENDENCY, "null", DISABLE_DEPENDENCY));
- logger.info("??? StateTransition testcase 2");
- se = st.getEndingState(UNLOCKED, ENABLED, "null", "null", UNLOCK);
- assertEquals("null,unlocked,enabled,null,", makeString(se));
+ }
- logger.info("??? StateTransition testcase 3");
- se = st.getEndingState(UNLOCKED, ENABLED, "null", "null", DISABLE_FAILED);
- assertEquals("null,unlocked,disabled,failed,", makeString(se));
+ @Test
+ public void test198() throws StateTransitionException {
+ assertEquals("null,unlocked,enabled,null,",
+ makeString(UNLOCKED, DISABLED, DEPENDENCY, "null", ENABLE_NO_DEPENDENCY));
- logger.info("??? StateTransition testcase 4");
- se = st.getEndingState(UNLOCKED, ENABLED, "null", "null", ENABLE_NOT_FAILED);
- assertEquals("null,unlocked,enabled,null,", makeString(se));
+ }
- logger.info("??? StateTransition testcase 5");
- se = st.getEndingState(UNLOCKED, ENABLED, "null", "null", DISABLE_DEPENDENCY);
- assertEquals("null,unlocked,disabled,dependency,", makeString(se));
+ @Test
+ public void test199() throws StateTransitionException {
+ assertEquals("coldstandby,unlocked,disabled,dependency,StandbyStatusException",
+ makeString(UNLOCKED, DISABLED, DEPENDENCY, "null", PROMOTE));
- logger.info("??? StateTransition testcase 6");
- se = st.getEndingState(UNLOCKED, ENABLED, "null", "null", ENABLE_NO_DEPENDENCY);
- assertEquals("null,unlocked,enabled,null,", makeString(se));
+ }
- logger.info("??? StateTransition testcase 7");
- se = st.getEndingState(UNLOCKED, ENABLED, "null", "null", PROMOTE);
- assertEquals("providingservice,unlocked,enabled,null,", makeString(se));
+ @Test
+ public void test200() throws StateTransitionException {
+ assertEquals("coldstandby,unlocked,disabled,dependency,",
+ makeString(UNLOCKED, DISABLED, DEPENDENCY, "null", DEMOTE));
- logger.info("??? StateTransition testcase 8");
- se = st.getEndingState(UNLOCKED, ENABLED, "null", "null", DEMOTE);
- assertEquals("hotstandby,unlocked,enabled,null,", makeString(se));
+ }
- logger.info("??? StateTransition testcase 9");
- se = st.getEndingState(UNLOCKED, ENABLED, "null", COLDSTANDBY, DEMOTE);
- assertEquals("hotstandby,unlocked,enabled,null,", makeString(se));
+ @Test
+ public void test201() throws StateTransitionException {
+ assertEquals("coldstandby,unlocked,disabled,dependency,",
+ makeString(UNLOCKED, DISABLED, DEPENDENCY, COLDSTANDBY, DEMOTE));
- logger.info("??? StateTransition testcase 10");
- se = st.getEndingState(UNLOCKED, ENABLED, "null", COLDSTANDBY, UNLOCK);
- assertEquals("hotstandby,unlocked,enabled,null,", makeString(se));
+ }
- logger.info("??? StateTransition testcase 11");
- se = st.getEndingState(UNLOCKED, ENABLED, "null", COLDSTANDBY, DISABLE_FAILED);
- assertEquals("coldstandby,unlocked,disabled,failed,", makeString(se));
+ @Test
+ public void test202() throws StateTransitionException {
+ assertEquals("coldstandby,unlocked,disabled,dependency,",
+ makeString(UNLOCKED, DISABLED, DEPENDENCY, COLDSTANDBY, UNLOCK));
- logger.info("??? StateTransition testcase 12");
- se = st.getEndingState(UNLOCKED, ENABLED, "null", COLDSTANDBY, ENABLE_NOT_FAILED);
- assertEquals("hotstandby,unlocked,enabled,null,", makeString(se));
+ }
- logger.info("??? StateTransition testcase 13");
- se = st.getEndingState(UNLOCKED, ENABLED, "null", COLDSTANDBY, DISABLE_DEPENDENCY);
- assertEquals("coldstandby,unlocked,disabled,dependency,", makeString(se));
+ @Test
+ public void test203() throws StateTransitionException {
+ assertEquals("coldstandby,unlocked,disabled,dependency,failed,",
+ makeString(UNLOCKED, DISABLED, DEPENDENCY, COLDSTANDBY, DISABLE_FAILED));
- logger.info("??? StateTransition testcase 14");
- se = st.getEndingState(UNLOCKED, ENABLED, "null", COLDSTANDBY, ENABLE_NO_DEPENDENCY);
- assertEquals("hotstandby,unlocked,enabled,null,", makeString(se));
+ }
- logger.info("??? StateTransition testcase 15");
- se = st.getEndingState(UNLOCKED, ENABLED, "null", COLDSTANDBY, PROMOTE);
- assertEquals("providingservice,unlocked,enabled,null,", makeString(se));
+ @Test
+ public void test204() throws StateTransitionException {
+ assertEquals("coldstandby,unlocked,disabled,dependency,",
+ makeString(UNLOCKED, DISABLED, DEPENDENCY, COLDSTANDBY, ENABLE_NOT_FAILED));
- logger.info("??? StateTransition testcase 16");
- se = st.getEndingState(UNLOCKED, ENABLED, "null", COLDSTANDBY, DEMOTE);
- assertEquals("hotstandby,unlocked,enabled,null,", makeString(se));
+ }
- logger.info("??? StateTransition testcase 17");
- se = st.getEndingState(UNLOCKED, ENABLED, "null", HOTSTANDBY, DEMOTE);
- assertEquals("hotstandby,unlocked,enabled,null,", makeString(se));
+ @Test
+ public void test205() throws StateTransitionException {
+ assertEquals("coldstandby,unlocked,disabled,dependency,",
+ makeString(UNLOCKED, DISABLED, DEPENDENCY, COLDSTANDBY, DISABLE_DEPENDENCY));
- logger.info("??? StateTransition testcase 18");
- se = st.getEndingState(UNLOCKED, ENABLED, "null", HOTSTANDBY, UNLOCK);
- assertEquals("hotstandby,unlocked,enabled,null,", makeString(se));
+ }
- logger.info("??? StateTransition testcase 19");
- se = st.getEndingState(UNLOCKED, ENABLED, "null", HOTSTANDBY, DISABLE_FAILED);
- assertEquals("coldstandby,unlocked,disabled,failed,", makeString(se));
+ @Test
+ public void test206() throws StateTransitionException {
+ assertEquals("hotstandby,unlocked,enabled,null,",
+ makeString(UNLOCKED, DISABLED, DEPENDENCY, COLDSTANDBY, ENABLE_NO_DEPENDENCY));
- logger.info("??? StateTransition testcase 20");
- se = st.getEndingState(UNLOCKED, ENABLED, "null", HOTSTANDBY, ENABLE_NOT_FAILED);
- assertEquals("hotstandby,unlocked,enabled,null,", makeString(se));
+ }
- logger.info("??? StateTransition testcase 21");
- se = st.getEndingState(UNLOCKED, ENABLED, "null", HOTSTANDBY, DISABLE_DEPENDENCY);
- assertEquals("coldstandby,unlocked,disabled,dependency,", makeString(se));
+ @Test
+ public void test207() throws StateTransitionException {
+ assertEquals("coldstandby,unlocked,disabled,dependency,StandbyStatusException",
+ makeString(UNLOCKED, DISABLED, DEPENDENCY, COLDSTANDBY, PROMOTE));
- logger.info("??? StateTransition testcase 22");
- se = st.getEndingState(UNLOCKED, ENABLED, "null", HOTSTANDBY, ENABLE_NO_DEPENDENCY);
- assertEquals("hotstandby,unlocked,enabled,null,", makeString(se));
+ }
- logger.info("??? StateTransition testcase 23");
- se = st.getEndingState(UNLOCKED, ENABLED, "null", HOTSTANDBY, PROMOTE);
- assertEquals("providingservice,unlocked,enabled,null,", makeString(se));
+ @Test
+ public void test208() throws StateTransitionException {
+ assertEquals("coldstandby,unlocked,disabled,dependency,",
+ makeString(UNLOCKED, DISABLED, DEPENDENCY, COLDSTANDBY, DEMOTE));
- logger.info("??? StateTransition testcase 24");
- se = st.getEndingState(UNLOCKED, ENABLED, "null", HOTSTANDBY, DEMOTE);
- assertEquals("hotstandby,unlocked,enabled,null,", makeString(se));
+ }
- logger.info("??? StateTransition testcase 25");
- se = st.getEndingState(UNLOCKED, ENABLED, "null", PROVIDINGSERVICE, DEMOTE);
- assertEquals("hotstandby,unlocked,enabled,null,", makeString(se));
+ @Test
+ public void test209() throws StateTransitionException {
+ assertEquals("coldstandby,unlocked,disabled,dependency,",
+ makeString(UNLOCKED, DISABLED, DEPENDENCY, HOTSTANDBY, DEMOTE));
- logger.info("??? StateTransition testcase 26");
- se = st.getEndingState(UNLOCKED, ENABLED, "null", PROVIDINGSERVICE, UNLOCK);
- assertEquals("providingservice,unlocked,enabled,null,", makeString(se));
+ }
- logger.info("??? StateTransition testcase 27");
- se = st.getEndingState(UNLOCKED, ENABLED, "null", PROVIDINGSERVICE, DISABLE_FAILED);
- assertEquals("coldstandby,unlocked,disabled,failed,", makeString(se));
+ @Test
+ public void test210() throws StateTransitionException {
+ assertEquals("coldstandby,unlocked,disabled,dependency,",
+ makeString(UNLOCKED, DISABLED, DEPENDENCY, HOTSTANDBY, UNLOCK));
- logger.info("??? StateTransition testcase 28");
- se = st.getEndingState(UNLOCKED, ENABLED, "null", PROVIDINGSERVICE, ENABLE_NOT_FAILED);
- assertEquals("providingservice,unlocked,enabled,null,", makeString(se));
+ }
- logger.info("??? StateTransition testcase 29");
- se = st.getEndingState(UNLOCKED, ENABLED, "null", PROVIDINGSERVICE, DISABLE_DEPENDENCY);
- assertEquals("coldstandby,unlocked,disabled,dependency,", makeString(se));
+ @Test
+ public void test211() throws StateTransitionException {
+ assertEquals("coldstandby,unlocked,disabled,dependency,failed,",
+ makeString(UNLOCKED, DISABLED, DEPENDENCY, HOTSTANDBY, DISABLE_FAILED));
- logger.info("??? StateTransition testcase 30");
- se = st.getEndingState(UNLOCKED, ENABLED, "null", PROVIDINGSERVICE, ENABLE_NO_DEPENDENCY);
- assertEquals("providingservice,unlocked,enabled,null,", makeString(se));
+ }
- logger.info("??? StateTransition testcase 31");
- se = st.getEndingState(UNLOCKED, ENABLED, "null", PROVIDINGSERVICE, PROMOTE);
- assertEquals("providingservice,unlocked,enabled,null,", makeString(se));
+ @Test
+ public void test212() throws StateTransitionException {
+ assertEquals("coldstandby,unlocked,disabled,dependency,",
+ makeString(UNLOCKED, DISABLED, DEPENDENCY, HOTSTANDBY, ENABLE_NOT_FAILED));
- logger.info("??? StateTransition testcase 32");
- se = st.getEndingState(UNLOCKED, ENABLED, "null", PROVIDINGSERVICE, DEMOTE);
- assertEquals("hotstandby,unlocked,enabled,null,", makeString(se));
+ }
- logger.info("??? StateTransition testcase 33");
- se = st.getEndingState(UNLOCKED, ENABLED, FAILED, "null", DEMOTE);
- assertEquals("hotstandby,unlocked,enabled,null,", makeString(se));
+ @Test
+ public void test213() throws StateTransitionException {
+ assertEquals("coldstandby,unlocked,disabled,dependency,",
+ makeString(UNLOCKED, DISABLED, DEPENDENCY, HOTSTANDBY, DISABLE_DEPENDENCY));
- logger.info("??? StateTransition testcase 34");
- se = st.getEndingState(UNLOCKED, ENABLED, FAILED, "null", UNLOCK);
- assertEquals("null,unlocked,enabled,null,", makeString(se));
+ }
- logger.info("??? StateTransition testcase 35");
- se = st.getEndingState(UNLOCKED, ENABLED, FAILED, "null", DISABLE_FAILED);
- assertEquals("null,unlocked,disabled,failed,", makeString(se));
+ @Test
+ public void test214() throws StateTransitionException {
+ assertEquals("hotstandby,unlocked,enabled,null,",
+ makeString(UNLOCKED, DISABLED, DEPENDENCY, HOTSTANDBY, ENABLE_NO_DEPENDENCY));
- logger.info("??? StateTransition testcase 36");
- se = st.getEndingState(UNLOCKED, ENABLED, FAILED, "null", ENABLE_NOT_FAILED);
- assertEquals("null,unlocked,enabled,null,", makeString(se));
+ }
- logger.info("??? StateTransition testcase 37");
- se = st.getEndingState(UNLOCKED, ENABLED, FAILED, "null", DISABLE_DEPENDENCY);
- assertEquals("null,unlocked,disabled,dependency,", makeString(se));
+ @Test
+ public void test215() throws StateTransitionException {
+ assertEquals("coldstandby,unlocked,disabled,dependency,StandbyStatusException",
+ makeString(UNLOCKED, DISABLED, DEPENDENCY, HOTSTANDBY, PROMOTE));
- logger.info("??? StateTransition testcase 38");
- se = st.getEndingState(UNLOCKED, ENABLED, FAILED, "null", ENABLE_NO_DEPENDENCY);
- assertEquals("null,unlocked,enabled,null,", makeString(se));
+ }
- logger.info("??? StateTransition testcase 39");
- se = st.getEndingState(UNLOCKED, ENABLED, FAILED, "null", PROMOTE);
- assertEquals("providingservice,unlocked,enabled,null,", makeString(se));
+ @Test
+ public void test216() throws StateTransitionException {
+ assertEquals("coldstandby,unlocked,disabled,dependency,",
+ makeString(UNLOCKED, DISABLED, DEPENDENCY, HOTSTANDBY, DEMOTE));
- logger.info("??? StateTransition testcase 40");
- se = st.getEndingState(UNLOCKED, ENABLED, FAILED, "null", DEMOTE);
- assertEquals("hotstandby,unlocked,enabled,null,", makeString(se));
+ }
- logger.info("??? StateTransition testcase 41");
- se = st.getEndingState(UNLOCKED, ENABLED, FAILED, COLDSTANDBY, DEMOTE);
- assertEquals("hotstandby,unlocked,enabled,null,", makeString(se));
+ @Test
+ public void test217() throws StateTransitionException {
+ assertEquals("coldstandby,unlocked,disabled,dependency,",
+ makeString(UNLOCKED, DISABLED, DEPENDENCY, PROVIDINGSERVICE, DEMOTE));
- logger.info("??? StateTransition testcase 42");
- se = st.getEndingState(UNLOCKED, ENABLED, FAILED, COLDSTANDBY, UNLOCK);
- assertEquals("hotstandby,unlocked,enabled,null,", makeString(se));
+ }
- logger.info("??? StateTransition testcase 43");
- se = st.getEndingState(UNLOCKED, ENABLED, FAILED, COLDSTANDBY, DISABLE_FAILED);
- assertEquals("coldstandby,unlocked,disabled,failed,", makeString(se));
+ @Test
+ public void test218() throws StateTransitionException {
+ assertEquals("coldstandby,unlocked,disabled,dependency,",
+ makeString(UNLOCKED, DISABLED, DEPENDENCY, PROVIDINGSERVICE, UNLOCK));
- logger.info("??? StateTransition testcase 44");
- se = st.getEndingState(UNLOCKED, ENABLED, FAILED, COLDSTANDBY, ENABLE_NOT_FAILED);
- assertEquals("hotstandby,unlocked,enabled,null,", makeString(se));
+ }
- logger.info("??? StateTransition testcase 45");
- se = st.getEndingState(UNLOCKED, ENABLED, FAILED, COLDSTANDBY, DISABLE_DEPENDENCY);
- assertEquals("coldstandby,unlocked,disabled,dependency,", makeString(se));
+ @Test
+ public void test219() throws StateTransitionException {
+ assertEquals("coldstandby,unlocked,disabled,dependency,failed,",
+ makeString(UNLOCKED, DISABLED, DEPENDENCY, PROVIDINGSERVICE, DISABLE_FAILED));
- logger.info("??? StateTransition testcase 46");
- se = st.getEndingState(UNLOCKED, ENABLED, FAILED, COLDSTANDBY, ENABLE_NO_DEPENDENCY);
- assertEquals("hotstandby,unlocked,enabled,null,", makeString(se));
+ }
- logger.info("??? StateTransition testcase 47");
- se = st.getEndingState(UNLOCKED, ENABLED, FAILED, COLDSTANDBY, PROMOTE);
- assertEquals("providingservice,unlocked,enabled,null,", makeString(se));
+ @Test
+ public void test220() throws StateTransitionException {
+ assertEquals("coldstandby,unlocked,disabled,dependency,",
+ makeString(UNLOCKED, DISABLED, DEPENDENCY, PROVIDINGSERVICE, ENABLE_NOT_FAILED));
- logger.info("??? StateTransition testcase 48");
- se = st.getEndingState(UNLOCKED, ENABLED, FAILED, COLDSTANDBY, DEMOTE);
- assertEquals("hotstandby,unlocked,enabled,null,", makeString(se));
+ }
- logger.info("??? StateTransition testcase 49");
- se = st.getEndingState(UNLOCKED, ENABLED, FAILED, HOTSTANDBY, DEMOTE);
- assertEquals("hotstandby,unlocked,enabled,null,", makeString(se));
+ @Test
+ public void test221() throws StateTransitionException {
+ assertEquals("coldstandby,unlocked,disabled,dependency,",
+ makeString(UNLOCKED, DISABLED, DEPENDENCY, PROVIDINGSERVICE, DISABLE_DEPENDENCY));
- logger.info("??? StateTransition testcase 50");
- se = st.getEndingState(UNLOCKED, ENABLED, FAILED, HOTSTANDBY, UNLOCK);
- assertEquals("hotstandby,unlocked,enabled,null,", makeString(se));
+ }
- logger.info("??? StateTransition testcase 51");
- se = st.getEndingState(UNLOCKED, ENABLED, FAILED, HOTSTANDBY, DISABLE_FAILED);
- assertEquals("coldstandby,unlocked,disabled,failed,", makeString(se));
+ @Test
+ public void test222() throws StateTransitionException {
+ assertEquals("hotstandby,unlocked,enabled,null,",
+ makeString(UNLOCKED, DISABLED, DEPENDENCY, PROVIDINGSERVICE, ENABLE_NO_DEPENDENCY));
- logger.info("??? StateTransition testcase 52");
- se = st.getEndingState(UNLOCKED, ENABLED, FAILED, HOTSTANDBY, ENABLE_NOT_FAILED);
- assertEquals("hotstandby,unlocked,enabled,null,", makeString(se));
+ }
- logger.info("??? StateTransition testcase 53");
- se = st.getEndingState(UNLOCKED, ENABLED, FAILED, HOTSTANDBY, DISABLE_DEPENDENCY);
- assertEquals("coldstandby,unlocked,disabled,dependency,", makeString(se));
+ @Test
+ public void test223() throws StateTransitionException {
+ assertEquals("coldstandby,unlocked,disabled,dependency,StandbyStatusException",
+ makeString(UNLOCKED, DISABLED, DEPENDENCY, PROVIDINGSERVICE, PROMOTE));
- logger.info("??? StateTransition testcase 54");
- se = st.getEndingState(UNLOCKED, ENABLED, FAILED, HOTSTANDBY, ENABLE_NO_DEPENDENCY);
- assertEquals("hotstandby,unlocked,enabled,null,", makeString(se));
+ }
- logger.info("??? StateTransition testcase 55");
- se = st.getEndingState(UNLOCKED, ENABLED, FAILED, HOTSTANDBY, PROMOTE);
- assertEquals("providingservice,unlocked,enabled,null,", makeString(se));
+ @Test
+ public void test224() throws StateTransitionException {
+ assertEquals("coldstandby,unlocked,disabled,dependency,",
+ makeString(UNLOCKED, DISABLED, DEPENDENCY, PROVIDINGSERVICE, DEMOTE));
- logger.info("??? StateTransition testcase 56");
- se = st.getEndingState(UNLOCKED, ENABLED, FAILED, HOTSTANDBY, DEMOTE);
- assertEquals("hotstandby,unlocked,enabled,null,", makeString(se));
+ }
- logger.info("??? StateTransition testcase 57");
- se = st.getEndingState(UNLOCKED, ENABLED, FAILED, PROVIDINGSERVICE, DEMOTE);
- assertEquals("hotstandby,unlocked,enabled,null,", makeString(se));
+ @Test
+ public void test225() throws StateTransitionException {
+ assertEquals("coldstandby,unlocked,disabled,dependency,failed,",
+ makeString(UNLOCKED, DISABLED, DEPENDENCY_FAILED, "null", DEMOTE));
- logger.info("??? StateTransition testcase 58");
- se = st.getEndingState(UNLOCKED, ENABLED, FAILED, PROVIDINGSERVICE, UNLOCK);
- assertEquals("providingservice,unlocked,enabled,null,", makeString(se));
+ }
- logger.info("??? StateTransition testcase 59");
- se = st.getEndingState(UNLOCKED, ENABLED, FAILED, PROVIDINGSERVICE, DISABLE_FAILED);
- assertEquals("coldstandby,unlocked,disabled,failed,", makeString(se));
+ @Test
+ public void test226() throws StateTransitionException {
+ assertEquals("null,unlocked,disabled,dependency,failed,",
+ makeString(UNLOCKED, DISABLED, DEPENDENCY_FAILED, "null", UNLOCK));
- logger.info("??? StateTransition testcase 60");
- se = st.getEndingState(UNLOCKED, ENABLED, FAILED, PROVIDINGSERVICE, ENABLE_NOT_FAILED);
- assertEquals("providingservice,unlocked,enabled,null,", makeString(se));
+ }
- logger.info("??? StateTransition testcase 61");
- se = st.getEndingState(UNLOCKED, ENABLED, FAILED, PROVIDINGSERVICE, DISABLE_DEPENDENCY);
- assertEquals("coldstandby,unlocked,disabled,dependency,", makeString(se));
+ @Test
+ public void test227() throws StateTransitionException {
+ assertEquals("null,unlocked,disabled,dependency,failed,",
+ makeString(UNLOCKED, DISABLED, DEPENDENCY_FAILED, "null", DISABLE_FAILED));
- logger.info("??? StateTransition testcase 62");
- se = st.getEndingState(UNLOCKED, ENABLED, FAILED, PROVIDINGSERVICE, ENABLE_NO_DEPENDENCY);
- assertEquals("providingservice,unlocked,enabled,null,", makeString(se));
+ }
- logger.info("??? StateTransition testcase 63");
- se = st.getEndingState(UNLOCKED, ENABLED, FAILED, PROVIDINGSERVICE, PROMOTE);
- assertEquals("providingservice,unlocked,enabled,null,", makeString(se));
+ @Test
+ public void test228() throws StateTransitionException {
+ assertEquals("null,unlocked,disabled,dependency,",
+ makeString(UNLOCKED, DISABLED, DEPENDENCY_FAILED, "null", ENABLE_NOT_FAILED));
- logger.info("??? StateTransition testcase 64");
- se = st.getEndingState(UNLOCKED, ENABLED, FAILED, PROVIDINGSERVICE, DEMOTE);
- assertEquals("hotstandby,unlocked,enabled,null,", makeString(se));
+ }
- logger.info("??? StateTransition testcase 65");
- se = st.getEndingState(UNLOCKED, ENABLED, DEPENDENCY, "null", DEMOTE);
- assertEquals("hotstandby,unlocked,enabled,null,", makeString(se));
+ @Test
+ public void test229() throws StateTransitionException {
+ assertEquals("null,unlocked,disabled,dependency,failed,",
+ makeString(UNLOCKED, DISABLED, DEPENDENCY_FAILED, "null", DISABLE_DEPENDENCY));
- logger.info("??? StateTransition testcase 66");
- se = st.getEndingState(UNLOCKED, ENABLED, DEPENDENCY, "null", UNLOCK);
- assertEquals("null,unlocked,enabled,null,", makeString(se));
+ }
- logger.info("??? StateTransition testcase 67");
- se = st.getEndingState(UNLOCKED, ENABLED, DEPENDENCY, "null", DISABLE_FAILED);
- assertEquals("null,unlocked,disabled,failed,", makeString(se));
+ @Test
+ public void test230() throws StateTransitionException {
+ assertEquals("null,unlocked,disabled,failed,",
+ makeString(UNLOCKED, DISABLED, DEPENDENCY_FAILED, "null", ENABLE_NO_DEPENDENCY));
- logger.info("??? StateTransition testcase 68");
- se = st.getEndingState(UNLOCKED, ENABLED, DEPENDENCY, "null", ENABLE_NOT_FAILED);
- assertEquals("null,unlocked,enabled,null,", makeString(se));
+ }
- logger.info("??? StateTransition testcase 69");
- se = st.getEndingState(UNLOCKED, ENABLED, DEPENDENCY, "null", DISABLE_DEPENDENCY);
- assertEquals("null,unlocked,disabled,dependency,", makeString(se));
+ @Test
+ public void test231() throws StateTransitionException {
+ assertEquals("coldstandby,unlocked,disabled,dependency,failed,StandbyStatusException",
+ makeString(UNLOCKED, DISABLED, DEPENDENCY_FAILED, "null", PROMOTE));
- logger.info("??? StateTransition testcase 70");
- se = st.getEndingState(UNLOCKED, ENABLED, DEPENDENCY, "null", ENABLE_NO_DEPENDENCY);
- assertEquals("null,unlocked,enabled,null,", makeString(se));
+ }
- logger.info("??? StateTransition testcase 71");
- se = st.getEndingState(UNLOCKED, ENABLED, DEPENDENCY, "null", PROMOTE);
- assertEquals("providingservice,unlocked,enabled,null,", makeString(se));
+ @Test
+ public void test232() throws StateTransitionException {
+ assertEquals("coldstandby,unlocked,disabled,dependency,failed,",
+ makeString(UNLOCKED, DISABLED, DEPENDENCY_FAILED, "null", DEMOTE));
- logger.info("??? StateTransition testcase 72");
- se = st.getEndingState(UNLOCKED, ENABLED, DEPENDENCY, "null", DEMOTE);
- assertEquals("hotstandby,unlocked,enabled,null,", makeString(se));
+ }
- logger.info("??? StateTransition testcase 73");
- se = st.getEndingState(UNLOCKED, ENABLED, DEPENDENCY, COLDSTANDBY, DEMOTE);
- assertEquals("hotstandby,unlocked,enabled,null,", makeString(se));
+ @Test
+ public void test233() throws StateTransitionException {
+ assertEquals("coldstandby,unlocked,disabled,dependency,failed,",
+ makeString(UNLOCKED, DISABLED, DEPENDENCY_FAILED, COLDSTANDBY, DEMOTE));
- logger.info("??? StateTransition testcase 74");
- se = st.getEndingState(UNLOCKED, ENABLED, DEPENDENCY, COLDSTANDBY, UNLOCK);
- assertEquals("hotstandby,unlocked,enabled,null,", makeString(se));
+ }
- logger.info("??? StateTransition testcase 75");
- se = st.getEndingState(UNLOCKED, ENABLED, DEPENDENCY, COLDSTANDBY, DISABLE_FAILED);
- assertEquals("coldstandby,unlocked,disabled,failed,", makeString(se));
+ @Test
+ public void test234() throws StateTransitionException {
+ assertEquals("coldstandby,unlocked,disabled,dependency,failed,",
+ makeString(UNLOCKED, DISABLED, DEPENDENCY_FAILED, COLDSTANDBY, UNLOCK));
+
+ }
+
+ @Test
+ public void test235() throws StateTransitionException {
+ assertEquals("coldstandby,unlocked,disabled,dependency,failed,",
+ makeString(UNLOCKED, DISABLED, DEPENDENCY_FAILED, COLDSTANDBY, DISABLE_FAILED));
+
+ }
+
+ @Test
+ public void test236() throws StateTransitionException {
+ assertEquals("coldstandby,unlocked,disabled,dependency,",
+ makeString(UNLOCKED, DISABLED, DEPENDENCY_FAILED, COLDSTANDBY, ENABLE_NOT_FAILED));
+
+ }
+
+ @Test
+ public void test237() throws StateTransitionException {
+ assertEquals("coldstandby,unlocked,disabled,dependency,failed,",
+ makeString(UNLOCKED, DISABLED, DEPENDENCY_FAILED, COLDSTANDBY, DISABLE_DEPENDENCY));
- logger.info("??? StateTransition testcase 76");
- se = st.getEndingState(UNLOCKED, ENABLED, DEPENDENCY, COLDSTANDBY, ENABLE_NOT_FAILED);
- assertEquals("hotstandby,unlocked,enabled,null,", makeString(se));
+ }
- logger.info("??? StateTransition testcase 77");
- se = st.getEndingState(UNLOCKED, ENABLED, DEPENDENCY, COLDSTANDBY, DISABLE_DEPENDENCY);
- assertEquals("coldstandby,unlocked,disabled,dependency,", makeString(se));
+ @Test
+ public void test238() throws StateTransitionException {
+ assertEquals("coldstandby,unlocked,disabled,failed,",
+ makeString(UNLOCKED, DISABLED, DEPENDENCY_FAILED, COLDSTANDBY, ENABLE_NO_DEPENDENCY));
- logger.info("??? StateTransition testcase 78");
- se = st.getEndingState(UNLOCKED, ENABLED, DEPENDENCY, COLDSTANDBY, ENABLE_NO_DEPENDENCY);
- assertEquals("hotstandby,unlocked,enabled,null,", makeString(se));
+ }
- logger.info("??? StateTransition testcase 79");
- se = st.getEndingState(UNLOCKED, ENABLED, DEPENDENCY, COLDSTANDBY, PROMOTE);
- assertEquals("providingservice,unlocked,enabled,null,", makeString(se));
+ @Test
+ public void test239() throws StateTransitionException {
+ assertEquals("coldstandby,unlocked,disabled,dependency,failed,StandbyStatusException",
+ makeString(UNLOCKED, DISABLED, DEPENDENCY_FAILED, COLDSTANDBY, PROMOTE));
- logger.info("??? StateTransition testcase 80");
- se = st.getEndingState(UNLOCKED, ENABLED, DEPENDENCY, COLDSTANDBY, DEMOTE);
- assertEquals("hotstandby,unlocked,enabled,null,", makeString(se));
+ }
- logger.info("??? StateTransition testcase 81");
- se = st.getEndingState(UNLOCKED, ENABLED, DEPENDENCY, HOTSTANDBY, DEMOTE);
- assertEquals("hotstandby,unlocked,enabled,null,", makeString(se));
+ @Test
+ public void test240() throws StateTransitionException {
+ assertEquals("coldstandby,unlocked,disabled,dependency,failed,",
+ makeString(UNLOCKED, DISABLED, DEPENDENCY_FAILED, COLDSTANDBY, DEMOTE));
- logger.info("??? StateTransition testcase 82");
- se = st.getEndingState(UNLOCKED, ENABLED, DEPENDENCY, HOTSTANDBY, UNLOCK);
- assertEquals("hotstandby,unlocked,enabled,null,", makeString(se));
+ }
- logger.info("??? StateTransition testcase 83");
- se = st.getEndingState(UNLOCKED, ENABLED, DEPENDENCY, HOTSTANDBY, DISABLE_FAILED);
- assertEquals("coldstandby,unlocked,disabled,failed,", makeString(se));
+ @Test
+ public void test241() throws StateTransitionException {
+ assertEquals("coldstandby,unlocked,disabled,dependency,failed,",
+ makeString(UNLOCKED, DISABLED, DEPENDENCY_FAILED, HOTSTANDBY, DEMOTE));
- logger.info("??? StateTransition testcase 84");
- se = st.getEndingState(UNLOCKED, ENABLED, DEPENDENCY, HOTSTANDBY, ENABLE_NOT_FAILED);
- assertEquals("hotstandby,unlocked,enabled,null,", makeString(se));
+ }
- logger.info("??? StateTransition testcase 85");
- se = st.getEndingState(UNLOCKED, ENABLED, DEPENDENCY, HOTSTANDBY, DISABLE_DEPENDENCY);
- assertEquals("hotstandby,unlocked,disabled,dependency,", makeString(se));
+ @Test
+ public void test242() throws StateTransitionException {
+ assertEquals("coldstandby,unlocked,disabled,dependency,failed,",
+ makeString(UNLOCKED, DISABLED, DEPENDENCY_FAILED, HOTSTANDBY, UNLOCK));
- logger.info("??? StateTransition testcase 86");
- se = st.getEndingState(UNLOCKED, ENABLED, DEPENDENCY, HOTSTANDBY, ENABLE_NO_DEPENDENCY);
- assertEquals("hotstandby,unlocked,enabled,null,", makeString(se));
+ }
+
+ @Test
+ public void test243() throws StateTransitionException {
+ assertEquals("coldstandby,unlocked,disabled,dependency,failed,",
+ makeString(UNLOCKED, DISABLED, DEPENDENCY_FAILED, HOTSTANDBY, DISABLE_FAILED));
+
+ }
+
+ @Test
+ public void test244() throws StateTransitionException {
+ assertEquals("coldstandby,unlocked,disabled,dependency,",
+ makeString(UNLOCKED, DISABLED, DEPENDENCY_FAILED, HOTSTANDBY, ENABLE_NOT_FAILED));
+
+ }
+
+ @Test
+ public void test245() throws StateTransitionException {
+ assertEquals("coldstandby,unlocked,disabled,dependency,failed,",
+ makeString(UNLOCKED, DISABLED, DEPENDENCY_FAILED, HOTSTANDBY, DISABLE_DEPENDENCY));
+
+ }
+
+ @Test
+ public void test246() throws StateTransitionException {
+ assertEquals("coldstandby,unlocked,disabled,failed,",
+ makeString(UNLOCKED, DISABLED, DEPENDENCY_FAILED, HOTSTANDBY, ENABLE_NO_DEPENDENCY));
+
+ }
+
+ @Test
+ public void test247() throws StateTransitionException {
+ assertEquals("coldstandby,unlocked,disabled,dependency,failed,StandbyStatusException",
+ makeString(UNLOCKED, DISABLED, DEPENDENCY_FAILED, HOTSTANDBY, PROMOTE));
+
+ }
+
+ @Test
+ public void test248() throws StateTransitionException {
+ assertEquals("coldstandby,unlocked,disabled,dependency,failed,",
+ makeString(UNLOCKED, DISABLED, DEPENDENCY_FAILED, HOTSTANDBY, DEMOTE));
+
+ }
+
+ @Test
+ public void test249() throws StateTransitionException {
+ assertEquals("coldstandby,unlocked,disabled,dependency,failed,",
+ makeString(UNLOCKED, DISABLED, DEPENDENCY_FAILED, PROVIDINGSERVICE, DEMOTE));
+
+ }
+
+ @Test
+ public void test250() throws StateTransitionException {
+ assertEquals("coldstandby,unlocked,disabled,dependency,failed,",
+ makeString(UNLOCKED, DISABLED, DEPENDENCY_FAILED, PROVIDINGSERVICE, UNLOCK));
+
+ }
+
+ @Test
+ public void test251() throws StateTransitionException {
+ assertEquals("coldstandby,unlocked,disabled,dependency,failed,",
+ makeString(UNLOCKED, DISABLED, DEPENDENCY_FAILED, PROVIDINGSERVICE, DISABLE_FAILED));
+
+ }
+
+ @Test
+ public void test252() throws StateTransitionException {
+ assertEquals("coldstandby,unlocked,disabled,dependency,",
+ makeString(UNLOCKED, DISABLED, DEPENDENCY_FAILED, PROVIDINGSERVICE, ENABLE_NOT_FAILED));
+
+ }
+
+ @Test
+ public void test253() throws StateTransitionException {
+ assertEquals("coldstandby,unlocked,disabled,dependency,failed,",
+ makeString(UNLOCKED, DISABLED, DEPENDENCY_FAILED, PROVIDINGSERVICE, DISABLE_DEPENDENCY));
+
+ }
+
+ @Test
+ public void test254() throws StateTransitionException {
+ assertEquals("coldstandby,unlocked,disabled,failed,",
+ makeString(UNLOCKED, DISABLED, DEPENDENCY_FAILED, PROVIDINGSERVICE, ENABLE_NO_DEPENDENCY));
+
+ }
+
+ @Test
+ public void test255() throws StateTransitionException {
+ assertEquals("coldstandby,unlocked,disabled,dependency,failed,StandbyStatusException",
+ makeString(UNLOCKED, DISABLED, DEPENDENCY_FAILED, PROVIDINGSERVICE, PROMOTE));
+
+ }
+
+ @Test
+ public void test256() throws StateTransitionException {
+ assertEquals("coldstandby,unlocked,disabled,dependency,failed,",
+ makeString(UNLOCKED, DISABLED, DEPENDENCY_FAILED, PROVIDINGSERVICE, DEMOTE));
+
+ }
+
+ @Test
+ public void test257() throws StateTransitionException {
+ assertEquals("coldstandby,locked,enabled,null,", makeString(LOCKED, ENABLED, "null", "null", DEMOTE));
+
+ }
+
+ @Test
+ public void test258() throws StateTransitionException {
+ assertEquals("null,unlocked,enabled,null,", makeString(LOCKED, ENABLED, "null", "null", UNLOCK));
+
+ }
+
+ @Test
+ public void test259() throws StateTransitionException {
+ assertEquals("null,locked,disabled,failed,", makeString(LOCKED, ENABLED, "null", "null", DISABLE_FAILED));
+
+ }
+
+ @Test
+ public void test260() throws StateTransitionException {
+ assertEquals("null,locked,enabled,null,", makeString(LOCKED, ENABLED, "null", "null", ENABLE_NOT_FAILED));
+
+ }
+
+ @Test
+ public void test261() throws StateTransitionException {
+ assertEquals("null,locked,disabled,dependency,",
+ makeString(LOCKED, ENABLED, "null", "null", DISABLE_DEPENDENCY));
+
+ }
+
+ @Test
+ public void test262() throws StateTransitionException {
+ assertEquals("null,locked,enabled,null,", makeString(LOCKED, ENABLED, "null", "null", ENABLE_NO_DEPENDENCY));
+
+ }
+
+ @Test
+ public void test263() throws StateTransitionException {
+ assertEquals("coldstandby,locked,enabled,null,StandbyStatusException",
+ makeString(LOCKED, ENABLED, "null", "null", PROMOTE));
+
+ }
+
+ @Test
+ public void test264() throws StateTransitionException {
+ assertEquals("coldstandby,locked,enabled,null,", makeString(LOCKED, ENABLED, "null", "null", DEMOTE));
+
+ }
+
+ @Test
+ public void test265() throws StateTransitionException {
+ assertEquals("coldstandby,locked,enabled,null,", makeString(LOCKED, ENABLED, "null", COLDSTANDBY, DEMOTE));
+
+ }
+
+ @Test
+ public void test266() throws StateTransitionException {
+ assertEquals("hotstandby,unlocked,enabled,null,", makeString(LOCKED, ENABLED, "null", COLDSTANDBY, UNLOCK));
+
+ }
+
+ @Test
+ public void test267() throws StateTransitionException {
+ assertEquals("coldstandby,locked,disabled,failed,",
+ makeString(LOCKED, ENABLED, "null", COLDSTANDBY, DISABLE_FAILED));
+
+ }
+
+ @Test
+ public void test268() throws StateTransitionException {
+ assertEquals("coldstandby,locked,enabled,null,",
+ makeString(LOCKED, ENABLED, "null", COLDSTANDBY, ENABLE_NOT_FAILED));
+
+ }
+
+ @Test
+ public void test269() throws StateTransitionException {
+ assertEquals("coldstandby,locked,disabled,dependency,",
+ makeString(LOCKED, ENABLED, "null", COLDSTANDBY, DISABLE_DEPENDENCY));
+
+ }
+
+ @Test
+ public void test270() throws StateTransitionException {
+ assertEquals("coldstandby,locked,enabled,null,",
+ makeString(LOCKED, ENABLED, "null", COLDSTANDBY, ENABLE_NO_DEPENDENCY));
+
+ }
+
+ @Test
+ public void test271() throws StateTransitionException {
+ assertEquals("coldstandby,locked,enabled,null,StandbyStatusException",
+ makeString(LOCKED, ENABLED, "null", COLDSTANDBY, PROMOTE));
+
+ }
+
+ @Test
+ public void test272() throws StateTransitionException {
+ assertEquals("coldstandby,locked,enabled,null,", makeString(LOCKED, ENABLED, "null", COLDSTANDBY, DEMOTE));
+
+ }
+
+ @Test
+ public void test273() throws StateTransitionException {
+ assertEquals("coldstandby,locked,enabled,null,", makeString(LOCKED, ENABLED, "null", HOTSTANDBY, DEMOTE));
+
+ }
+
+ @Test
+ public void test274() throws StateTransitionException {
+ assertEquals("hotstandby,unlocked,enabled,null,", makeString(LOCKED, ENABLED, "null", HOTSTANDBY, UNLOCK));
+
+ }
+
+ @Test
+ public void test275() throws StateTransitionException {
+ assertEquals("coldstandby,locked,disabled,failed,",
+ makeString(LOCKED, ENABLED, "null", HOTSTANDBY, DISABLE_FAILED));
+
+ }
+
+ @Test
+ public void test276() throws StateTransitionException {
+ assertEquals("coldstandby,locked,enabled,null,",
+ makeString(LOCKED, ENABLED, "null", HOTSTANDBY, ENABLE_NOT_FAILED));
+
+ }
+
+ @Test
+ public void test277() throws StateTransitionException {
+ assertEquals("coldstandby,locked,disabled,dependency,",
+ makeString(LOCKED, ENABLED, "null", HOTSTANDBY, DISABLE_DEPENDENCY));
+
+ }
+
+ @Test
+ public void test278() throws StateTransitionException {
+ assertEquals("coldstandby,locked,enabled,null,",
+ makeString(LOCKED, ENABLED, "null", HOTSTANDBY, ENABLE_NO_DEPENDENCY));
+
+ }
+
+ @Test
+ public void test279() throws StateTransitionException {
+ assertEquals("coldstandby,locked,enabled,null,StandbyStatusException",
+ makeString(LOCKED, ENABLED, "null", HOTSTANDBY, PROMOTE));
+
+ }
+
+ @Test
+ public void test280() throws StateTransitionException {
+ assertEquals("coldstandby,locked,enabled,null,", makeString(LOCKED, ENABLED, "null", HOTSTANDBY, DEMOTE));
+
+ }
+
+ @Test
+ public void test281() throws StateTransitionException {
+ assertEquals("coldstandby,locked,enabled,null,", makeString(LOCKED, ENABLED, "null", PROVIDINGSERVICE, DEMOTE));
+
+ }
+
+ @Test
+ public void test282() throws StateTransitionException {
+ assertEquals("hotstandby,unlocked,enabled,null,",
+ makeString(LOCKED, ENABLED, "null", PROVIDINGSERVICE, UNLOCK));
+
+ }
+
+ @Test
+ public void test283() throws StateTransitionException {
+ assertEquals("coldstandby,locked,disabled,failed,",
+ makeString(LOCKED, ENABLED, "null", PROVIDINGSERVICE, DISABLE_FAILED));
+
+ }
+
+ @Test
+ public void test284() throws StateTransitionException {
+ assertEquals("coldstandby,locked,enabled,null,",
+ makeString(LOCKED, ENABLED, "null", PROVIDINGSERVICE, ENABLE_NOT_FAILED));
+
+ }
+
+ @Test
+ public void test285() throws StateTransitionException {
+ assertEquals("coldstandby,locked,disabled,dependency,",
+ makeString(LOCKED, ENABLED, "null", PROVIDINGSERVICE, DISABLE_DEPENDENCY));
+
+ }
+
+ @Test
+ public void test286() throws StateTransitionException {
+ assertEquals("coldstandby,locked,enabled,null,",
+ makeString(LOCKED, ENABLED, "null", PROVIDINGSERVICE, ENABLE_NO_DEPENDENCY));
+
+ }
+
+ @Test
+ public void test287() throws StateTransitionException {
+ assertEquals("coldstandby,locked,enabled,null,StandbyStatusException",
+ makeString(LOCKED, ENABLED, "null", PROVIDINGSERVICE, PROMOTE));
+
+ }
+
+ @Test
+ public void test288() throws StateTransitionException {
+ assertEquals("coldstandby,locked,enabled,null,", makeString(LOCKED, ENABLED, "null", PROVIDINGSERVICE, DEMOTE));
+
+ }
+
+ @Test
+ public void test289() throws StateTransitionException {
+ assertEquals("coldstandby,locked,enabled,null,", makeString(LOCKED, ENABLED, FAILED, "null", DEMOTE));
+
+ }
+
+ @Test
+ public void test290() throws StateTransitionException {
+ assertEquals("null,unlocked,enabled,null,", makeString(LOCKED, ENABLED, FAILED, "null", UNLOCK));
+
+ }
+
+ @Test
+ public void test291() throws StateTransitionException {
+ assertEquals("null,locked,disabled,failed,", makeString(LOCKED, ENABLED, FAILED, "null", DISABLE_FAILED));
+
+ }
+
+ @Test
+ public void test292() throws StateTransitionException {
+ assertEquals("null,locked,enabled,null,", makeString(LOCKED, ENABLED, FAILED, "null", ENABLE_NOT_FAILED));
+
+ }
+
+ @Test
+ public void test293() throws StateTransitionException {
+ assertEquals("null,locked,disabled,dependency,",
+ makeString(LOCKED, ENABLED, FAILED, "null", DISABLE_DEPENDENCY));
+
+ }
+
+ @Test
+ public void test294() throws StateTransitionException {
+ assertEquals("null,locked,enabled,null,", makeString(LOCKED, ENABLED, FAILED, "null", ENABLE_NO_DEPENDENCY));
+
+ }
+
+ @Test
+ public void test295() throws StateTransitionException {
+ assertEquals("coldstandby,locked,enabled,null,StandbyStatusException",
+ makeString(LOCKED, ENABLED, FAILED, "null", PROMOTE));
+
+ }
+
+ @Test
+ public void test296() throws StateTransitionException {
+ assertEquals("coldstandby,locked,enabled,null,", makeString(LOCKED, ENABLED, FAILED, "null", DEMOTE));
+
+ }
+
+ @Test
+ public void test297() throws StateTransitionException {
+ assertEquals("coldstandby,locked,enabled,null,", makeString(LOCKED, ENABLED, FAILED, COLDSTANDBY, DEMOTE));
+
+ }
+
+ @Test
+ public void test298() throws StateTransitionException {
+ assertEquals("hotstandby,unlocked,enabled,null,", makeString(LOCKED, ENABLED, FAILED, COLDSTANDBY, UNLOCK));
+
+ }
+
+ @Test
+ public void test299() throws StateTransitionException {
+ assertEquals("coldstandby,locked,disabled,failed,",
+ makeString(LOCKED, ENABLED, FAILED, COLDSTANDBY, DISABLE_FAILED));
+
+ }
+
+ @Test
+ public void test300() throws StateTransitionException {
+ assertEquals("coldstandby,locked,enabled,null,",
+ makeString(LOCKED, ENABLED, FAILED, COLDSTANDBY, ENABLE_NOT_FAILED));
+
+ }
+
+ @Test
+ public void test301() throws StateTransitionException {
+ assertEquals("coldstandby,locked,disabled,dependency,",
+ makeString(LOCKED, ENABLED, FAILED, COLDSTANDBY, DISABLE_DEPENDENCY));
+
+ }
+
+ @Test
+ public void test302() throws StateTransitionException {
+ assertEquals("coldstandby,locked,enabled,null,",
+ makeString(LOCKED, ENABLED, FAILED, COLDSTANDBY, ENABLE_NO_DEPENDENCY));
+
+ }
+
+ @Test
+ public void test303() throws StateTransitionException {
+ assertEquals("coldstandby,locked,enabled,null,StandbyStatusException",
+ makeString(LOCKED, ENABLED, FAILED, COLDSTANDBY, PROMOTE));
+
+ }
+
+ @Test
+ public void test304() throws StateTransitionException {
+ assertEquals("coldstandby,locked,enabled,null,", makeString(LOCKED, ENABLED, FAILED, COLDSTANDBY, DEMOTE));
+
+ }
+
+ @Test
+ public void test305() throws StateTransitionException {
+ assertEquals("coldstandby,locked,enabled,null,", makeString(LOCKED, ENABLED, FAILED, HOTSTANDBY, DEMOTE));
+
+ }
+
+ @Test
+ public void test306() throws StateTransitionException {
+ assertEquals("hotstandby,unlocked,enabled,null,", makeString(LOCKED, ENABLED, FAILED, HOTSTANDBY, UNLOCK));
+
+ }
+
+ @Test
+ public void test307() throws StateTransitionException {
+ assertEquals("coldstandby,locked,disabled,failed,",
+ makeString(LOCKED, ENABLED, FAILED, HOTSTANDBY, DISABLE_FAILED));
+
+ }
+
+ @Test
+ public void test308() throws StateTransitionException {
+ assertEquals("coldstandby,locked,enabled,null,",
+ makeString(LOCKED, ENABLED, FAILED, HOTSTANDBY, ENABLE_NOT_FAILED));
+
+ }
+
+ @Test
+ public void test309() throws StateTransitionException {
+ assertEquals("coldstandby,locked,disabled,dependency,",
+ makeString(LOCKED, ENABLED, FAILED, HOTSTANDBY, DISABLE_DEPENDENCY));
+
+ }
+
+ @Test
+ public void test310() throws StateTransitionException {
+ assertEquals("coldstandby,locked,enabled,null,",
+ makeString(LOCKED, ENABLED, FAILED, HOTSTANDBY, ENABLE_NO_DEPENDENCY));
+
+ }
+
+ @Test
+ public void test311() throws StateTransitionException {
+ assertEquals("coldstandby,locked,enabled,null,StandbyStatusException",
+ makeString(LOCKED, ENABLED, FAILED, HOTSTANDBY, PROMOTE));
+
+ }
+
+ @Test
+ public void test312() throws StateTransitionException {
+ assertEquals("coldstandby,locked,enabled,null,", makeString(LOCKED, ENABLED, FAILED, HOTSTANDBY, DEMOTE));
+
+ }
+
+ @Test
+ public void test313() throws StateTransitionException {
+ assertEquals("coldstandby,locked,enabled,null,", makeString(LOCKED, ENABLED, FAILED, PROVIDINGSERVICE, DEMOTE));
+
+ }
+
+ @Test
+ public void test314() throws StateTransitionException {
+ assertEquals("hotstandby,unlocked,enabled,null,",
+ makeString(LOCKED, ENABLED, FAILED, PROVIDINGSERVICE, UNLOCK));
+
+ }
+
+ @Test
+ public void test315() throws StateTransitionException {
+ assertEquals("coldstandby,locked,disabled,failed,",
+ makeString(LOCKED, ENABLED, FAILED, PROVIDINGSERVICE, DISABLE_FAILED));
+
+ }
+
+ @Test
+ public void test316() throws StateTransitionException {
+ assertEquals("coldstandby,locked,enabled,null,",
+ makeString(LOCKED, ENABLED, FAILED, PROVIDINGSERVICE, ENABLE_NOT_FAILED));
- logger.info("??? StateTransition testcase 87");
- se = st.getEndingState(UNLOCKED, ENABLED, DEPENDENCY, HOTSTANDBY, PROMOTE);
- assertEquals("providingservice,unlocked,enabled,null,", makeString(se));
+ }
- logger.info("??? StateTransition testcase 88");
- se = st.getEndingState(UNLOCKED, ENABLED, DEPENDENCY, HOTSTANDBY, DEMOTE);
- assertEquals("hotstandby,unlocked,enabled,null,", makeString(se));
+ @Test
+ public void test317() throws StateTransitionException {
+ assertEquals("coldstandby,locked,disabled,dependency,",
+ makeString(LOCKED, ENABLED, FAILED, PROVIDINGSERVICE, DISABLE_DEPENDENCY));
- logger.info("??? StateTransition testcase 89");
- se = st.getEndingState(UNLOCKED, ENABLED, DEPENDENCY, PROVIDINGSERVICE, DEMOTE);
- assertEquals("hotstandby,unlocked,enabled,null,", makeString(se));
+ }
- logger.info("??? StateTransition testcase 90");
- se = st.getEndingState(UNLOCKED, ENABLED, DEPENDENCY, PROVIDINGSERVICE, UNLOCK);
- assertEquals("providingservice,unlocked,enabled,null,", makeString(se));
+ @Test
+ public void test318() throws StateTransitionException {
+ assertEquals("coldstandby,locked,enabled,null,",
+ makeString(LOCKED, ENABLED, FAILED, PROVIDINGSERVICE, ENABLE_NO_DEPENDENCY));
- logger.info("??? StateTransition testcase 91");
- se = st.getEndingState(UNLOCKED, ENABLED, DEPENDENCY, PROVIDINGSERVICE, DISABLE_FAILED);
- assertEquals("coldstandby,unlocked,disabled,failed,", makeString(se));
+ }
- logger.info("??? StateTransition testcase 92");
- se = st.getEndingState(UNLOCKED, ENABLED, DEPENDENCY, PROVIDINGSERVICE, ENABLE_NOT_FAILED);
- assertEquals("providingservice,unlocked,enabled,null,", makeString(se));
+ @Test
+ public void test319() throws StateTransitionException {
+ assertEquals("coldstandby,locked,enabled,null,StandbyStatusException",
+ makeString(LOCKED, ENABLED, FAILED, PROVIDINGSERVICE, PROMOTE));
- logger.info("??? StateTransition testcase 93");
- se = st.getEndingState(UNLOCKED, ENABLED, DEPENDENCY, PROVIDINGSERVICE, DISABLE_DEPENDENCY);
- assertEquals("coldstandby,unlocked,disabled,dependency,", makeString(se));
+ }
- logger.info("??? StateTransition testcase 94");
- se = st.getEndingState(UNLOCKED, ENABLED, DEPENDENCY, PROVIDINGSERVICE, ENABLE_NO_DEPENDENCY);
- assertEquals("providingservice,unlocked,enabled,null,", makeString(se));
+ @Test
+ public void test320() throws StateTransitionException {
+ assertEquals("coldstandby,locked,enabled,null,", makeString(LOCKED, ENABLED, FAILED, PROVIDINGSERVICE, DEMOTE));
- logger.info("??? StateTransition testcase 95");
- se = st.getEndingState(UNLOCKED, ENABLED, DEPENDENCY, PROVIDINGSERVICE, PROMOTE);
- assertEquals("providingservice,unlocked,enabled,null,", makeString(se));
+ }
- logger.info("??? StateTransition testcase 96");
- se = st.getEndingState(UNLOCKED, ENABLED, DEPENDENCY, PROVIDINGSERVICE, DEMOTE);
- assertEquals("hotstandby,unlocked,enabled,null,", makeString(se));
+ @Test
+ public void test321() throws StateTransitionException {
+ assertEquals("coldstandby,locked,enabled,null,", makeString(LOCKED, ENABLED, DEPENDENCY, "null", DEMOTE));
- logger.info("??? StateTransition testcase 97");
- se = st.getEndingState(UNLOCKED, ENABLED, DEPENDENCY_FAILED, "null", DEMOTE);
- assertEquals("hotstandby,unlocked,enabled,null,", makeString(se));
+ }
- logger.info("??? StateTransition testcase 98");
- se = st.getEndingState(UNLOCKED, ENABLED, DEPENDENCY_FAILED, "null", UNLOCK);
- assertEquals("null,unlocked,enabled,null,", makeString(se));
+ @Test
+ public void test322() throws StateTransitionException {
+ assertEquals("null,unlocked,enabled,null,", makeString(LOCKED, ENABLED, DEPENDENCY, "null", UNLOCK));
- logger.info("??? StateTransition testcase 99");
- se = st.getEndingState(UNLOCKED, ENABLED, DEPENDENCY_FAILED, "null", DISABLE_FAILED);
- assertEquals("null,unlocked,disabled,failed,", makeString(se));
+ }
- logger.info("??? StateTransition testcase 100");
- se = st.getEndingState(UNLOCKED, ENABLED, DEPENDENCY_FAILED, "null", ENABLE_NOT_FAILED);
- assertEquals("null,unlocked,enabled,null,", makeString(se));
+ @Test
+ public void test323() throws StateTransitionException {
+ assertEquals("null,locked,disabled,failed,", makeString(LOCKED, ENABLED, DEPENDENCY, "null", DISABLE_FAILED));
- logger.info("??? StateTransition testcase 101");
- se = st.getEndingState(UNLOCKED, ENABLED, DEPENDENCY_FAILED, "null", DISABLE_DEPENDENCY);
- assertEquals("null,unlocked,disabled,dependency,", makeString(se));
+ }
- logger.info("??? StateTransition testcase 102");
- se = st.getEndingState(UNLOCKED, ENABLED, DEPENDENCY_FAILED, "null", ENABLE_NO_DEPENDENCY);
- assertEquals("null,unlocked,enabled,null,", makeString(se));
+ @Test
+ public void test324() throws StateTransitionException {
+ assertEquals("null,locked,enabled,null,", makeString(LOCKED, ENABLED, DEPENDENCY, "null", ENABLE_NOT_FAILED));
- logger.info("??? StateTransition testcase 103");
- se = st.getEndingState(UNLOCKED, ENABLED, DEPENDENCY_FAILED, "null", PROMOTE);
- assertEquals("providingservice,unlocked,enabled,null,", makeString(se));
+ }
- logger.info("??? StateTransition testcase 104");
- se = st.getEndingState(UNLOCKED, ENABLED, DEPENDENCY_FAILED, "null", DEMOTE);
- assertEquals("hotstandby,unlocked,enabled,null,", makeString(se));
+ @Test
+ public void test325() throws StateTransitionException {
+ assertEquals("null,locked,disabled,dependency,",
+ makeString(LOCKED, ENABLED, DEPENDENCY, "null", DISABLE_DEPENDENCY));
- logger.info("??? StateTransition testcase 105");
- se = st.getEndingState(UNLOCKED, ENABLED, DEPENDENCY_FAILED, COLDSTANDBY, DEMOTE);
- assertEquals("hotstandby,unlocked,enabled,null,", makeString(se));
+ }
- logger.info("??? StateTransition testcase 106");
- se = st.getEndingState(UNLOCKED, ENABLED, DEPENDENCY_FAILED, COLDSTANDBY, UNLOCK);
- assertEquals("hotstandby,unlocked,enabled,null,", makeString(se));
+ @Test
+ public void test326() throws StateTransitionException {
+ assertEquals("null,locked,enabled,null,",
+ makeString(LOCKED, ENABLED, DEPENDENCY, "null", ENABLE_NO_DEPENDENCY));
- logger.info("??? StateTransition testcase 107");
- se = st.getEndingState(UNLOCKED, ENABLED, DEPENDENCY_FAILED, COLDSTANDBY, DISABLE_FAILED);
- assertEquals("coldstandby,unlocked,disabled,failed,", makeString(se));
+ }
- logger.info("??? StateTransition testcase 108");
- se = st.getEndingState(UNLOCKED, ENABLED, DEPENDENCY_FAILED, COLDSTANDBY, ENABLE_NOT_FAILED);
- assertEquals("hotstandby,unlocked,enabled,null,", makeString(se));
+ @Test
+ public void test327() throws StateTransitionException {
+ assertEquals("coldstandby,locked,enabled,null,StandbyStatusException",
+ makeString(LOCKED, ENABLED, DEPENDENCY, "null", PROMOTE));
- logger.info("??? StateTransition testcase 109");
- se = st.getEndingState(UNLOCKED, ENABLED, DEPENDENCY_FAILED, COLDSTANDBY, DISABLE_DEPENDENCY);
- assertEquals("coldstandby,unlocked,disabled,dependency,", makeString(se));
+ }
- logger.info("??? StateTransition testcase 110");
- se = st.getEndingState(UNLOCKED, ENABLED, DEPENDENCY_FAILED, COLDSTANDBY, ENABLE_NO_DEPENDENCY);
- assertEquals("hotstandby,unlocked,enabled,null,", makeString(se));
+ @Test
+ public void test328() throws StateTransitionException {
+ assertEquals("coldstandby,locked,enabled,null,", makeString(LOCKED, ENABLED, DEPENDENCY, "null", DEMOTE));
- logger.info("??? StateTransition testcase 111");
- se = st.getEndingState(UNLOCKED, ENABLED, DEPENDENCY_FAILED, COLDSTANDBY, PROMOTE);
- assertEquals("providingservice,unlocked,enabled,null,", makeString(se));
+ }
- logger.info("??? StateTransition testcase 112");
- se = st.getEndingState(UNLOCKED, ENABLED, DEPENDENCY_FAILED, COLDSTANDBY, DEMOTE);
- assertEquals("hotstandby,unlocked,enabled,null,", makeString(se));
+ @Test
+ public void test329() throws StateTransitionException {
+ assertEquals("coldstandby,locked,enabled,null,", makeString(LOCKED, ENABLED, DEPENDENCY, COLDSTANDBY, DEMOTE));
- logger.info("??? StateTransition testcase 113");
- se = st.getEndingState(UNLOCKED, ENABLED, DEPENDENCY_FAILED, HOTSTANDBY, DEMOTE);
- assertEquals("hotstandby,unlocked,enabled,null,", makeString(se));
+ }
- logger.info("??? StateTransition testcase 114");
- se = st.getEndingState(UNLOCKED, ENABLED, DEPENDENCY_FAILED, HOTSTANDBY, UNLOCK);
- assertEquals("hotstandby,unlocked,enabled,null,", makeString(se));
+ @Test
+ public void test330() throws StateTransitionException {
+ assertEquals("hotstandby,unlocked,enabled,null,", makeString(LOCKED, ENABLED, DEPENDENCY, COLDSTANDBY, UNLOCK));
- logger.info("??? StateTransition testcase 115");
- se = st.getEndingState(UNLOCKED, ENABLED, DEPENDENCY_FAILED, HOTSTANDBY, DISABLE_FAILED);
- assertEquals("coldstandby,unlocked,disabled,failed,", makeString(se));
+ }
- logger.info("??? StateTransition testcase 116");
- se = st.getEndingState(UNLOCKED, ENABLED, DEPENDENCY_FAILED, HOTSTANDBY, ENABLE_NOT_FAILED);
- assertEquals("hotstandby,unlocked,enabled,null,", makeString(se));
+ @Test
+ public void test331() throws StateTransitionException {
+ assertEquals("coldstandby,locked,disabled,failed,",
+ makeString(LOCKED, ENABLED, DEPENDENCY, COLDSTANDBY, DISABLE_FAILED));
- logger.info("??? StateTransition testcase 117");
- se = st.getEndingState(UNLOCKED, ENABLED, DEPENDENCY_FAILED, HOTSTANDBY, DISABLE_DEPENDENCY);
- assertEquals("coldstandby,unlocked,disabled,dependency,", makeString(se));
+ }
- logger.info("??? StateTransition testcase 118");
- se = st.getEndingState(UNLOCKED, ENABLED, DEPENDENCY_FAILED, HOTSTANDBY, ENABLE_NO_DEPENDENCY);
- assertEquals("hotstandby,unlocked,enabled,null,", makeString(se));
+ @Test
+ public void test332() throws StateTransitionException {
+ assertEquals("coldstandby,locked,enabled,null,",
+ makeString(LOCKED, ENABLED, DEPENDENCY, COLDSTANDBY, ENABLE_NOT_FAILED));
- logger.info("??? StateTransition testcase 119");
- se = st.getEndingState(UNLOCKED, ENABLED, DEPENDENCY_FAILED, HOTSTANDBY, PROMOTE);
- assertEquals("providingservice,unlocked,enabled,null,", makeString(se));
+ }
- logger.info("??? StateTransition testcase 120");
- se = st.getEndingState(UNLOCKED, ENABLED, DEPENDENCY_FAILED, HOTSTANDBY, DEMOTE);
- assertEquals("hotstandby,unlocked,enabled,null,", makeString(se));
+ @Test
+ public void test333() throws StateTransitionException {
+ assertEquals("coldstandby,locked,disabled,dependency,",
+ makeString(LOCKED, ENABLED, DEPENDENCY, COLDSTANDBY, DISABLE_DEPENDENCY));
- logger.info("??? StateTransition testcase 121");
- se = st.getEndingState(UNLOCKED, ENABLED, DEPENDENCY_FAILED, PROVIDINGSERVICE, DEMOTE);
- assertEquals("hotstandby,unlocked,enabled,null,", makeString(se));
+ }
- logger.info("??? StateTransition testcase 122");
- se = st.getEndingState(UNLOCKED, ENABLED, DEPENDENCY_FAILED, PROVIDINGSERVICE, UNLOCK);
- assertEquals("providingservice,unlocked,enabled,null,", makeString(se));
+ @Test
+ public void test334() throws StateTransitionException {
+ assertEquals("coldstandby,locked,enabled,null,",
+ makeString(LOCKED, ENABLED, DEPENDENCY, COLDSTANDBY, ENABLE_NO_DEPENDENCY));
- logger.info("??? StateTransition testcase 123");
- se = st.getEndingState(UNLOCKED, ENABLED, DEPENDENCY_FAILED, PROVIDINGSERVICE, DISABLE_FAILED);
- assertEquals("coldstandby,unlocked,disabled,failed,", makeString(se));
+ }
- logger.info("??? StateTransition testcase 124");
- se = st.getEndingState(UNLOCKED, ENABLED, DEPENDENCY_FAILED, PROVIDINGSERVICE,
- ENABLE_NOT_FAILED);
- assertEquals("providingservice,unlocked,enabled,null,", makeString(se));
-
- logger.info("??? StateTransition testcase 125");
- se = st.getEndingState(UNLOCKED, ENABLED, DEPENDENCY_FAILED, PROVIDINGSERVICE,
- DISABLE_DEPENDENCY);
- assertEquals("coldstandby,unlocked,disabled,dependency,", makeString(se));
-
- logger.info("??? StateTransition testcase 126");
- se = st.getEndingState(UNLOCKED, ENABLED, DEPENDENCY_FAILED, PROVIDINGSERVICE,
- ENABLE_NO_DEPENDENCY);
- assertEquals("providingservice,unlocked,enabled,null,", makeString(se));
+ @Test
+ public void test335() throws StateTransitionException {
+ assertEquals("coldstandby,locked,enabled,null,StandbyStatusException",
+ makeString(LOCKED, ENABLED, DEPENDENCY, COLDSTANDBY, PROMOTE));
- logger.info("??? StateTransition testcase 127");
- se = st.getEndingState(UNLOCKED, ENABLED, DEPENDENCY_FAILED, PROVIDINGSERVICE, PROMOTE);
- assertEquals("providingservice,unlocked,enabled,null,", makeString(se));
+ }
- logger.info("??? StateTransition testcase 128");
- se = st.getEndingState(UNLOCKED, ENABLED, DEPENDENCY_FAILED, PROVIDINGSERVICE, DEMOTE);
- assertEquals("hotstandby,unlocked,enabled,null,", makeString(se));
+ @Test
+ public void test336() throws StateTransitionException {
+ assertEquals("coldstandby,locked,enabled,null,", makeString(LOCKED, ENABLED, DEPENDENCY, COLDSTANDBY, DEMOTE));
- logger.info("??? StateTransition testcase 129");
- se = st.getEndingState(UNLOCKED, DISABLED, "null", "null", DEMOTE);
- assertEquals("coldstandby,unlocked,disabled,null,", makeString(se));
+ }
- logger.info("??? StateTransition testcase 130");
- se = st.getEndingState(UNLOCKED, DISABLED, "null", "null", UNLOCK);
- assertEquals("null,unlocked,disabled,null,", makeString(se));
+ @Test
+ public void test337() throws StateTransitionException {
+ assertEquals("coldstandby,locked,enabled,null,", makeString(LOCKED, ENABLED, DEPENDENCY, HOTSTANDBY, DEMOTE));
- logger.info("??? StateTransition testcase 131");
- se = st.getEndingState(UNLOCKED, DISABLED, "null", "null", DISABLE_FAILED);
- assertEquals("null,unlocked,disabled,failed,", makeString(se));
+ }
- logger.info("??? StateTransition testcase 132");
- se = st.getEndingState(UNLOCKED, DISABLED, "null", "null", ENABLE_NOT_FAILED);
- assertEquals("null,unlocked,enabled,null,", makeString(se));
+ @Test
+ public void test338() throws StateTransitionException {
+ assertEquals("hotstandby,unlocked,enabled,null,", makeString(LOCKED, ENABLED, DEPENDENCY, HOTSTANDBY, UNLOCK));
- logger.info("??? StateTransition testcase 133");
- se = st.getEndingState(UNLOCKED, DISABLED, "null", "null", DISABLE_DEPENDENCY);
- assertEquals("null,unlocked,disabled,dependency,", makeString(se));
+ }
- logger.info("??? StateTransition testcase 134");
- se = st.getEndingState(UNLOCKED, DISABLED, "null", "null", ENABLE_NO_DEPENDENCY);
- assertEquals("null,unlocked,enabled,null,", makeString(se));
+ @Test
+ public void test339() throws StateTransitionException {
+ assertEquals("coldstandby,locked,disabled,failed,",
+ makeString(LOCKED, ENABLED, DEPENDENCY, HOTSTANDBY, DISABLE_FAILED));
- logger.info("??? StateTransition testcase 135");
- se = st.getEndingState(UNLOCKED, DISABLED, "null", "null", PROMOTE);
- assertEquals("coldstandby,unlocked,disabled,null,StandbyStatusException", makeString(se));
+ }
- logger.info("??? StateTransition testcase 136");
- se = st.getEndingState(UNLOCKED, DISABLED, "null", "null", DEMOTE);
- assertEquals("coldstandby,unlocked,disabled,null,", makeString(se));
+ @Test
+ public void test340() throws StateTransitionException {
+ assertEquals("coldstandby,locked,enabled,null,",
+ makeString(LOCKED, ENABLED, DEPENDENCY, HOTSTANDBY, ENABLE_NOT_FAILED));
- logger.info("??? StateTransition testcase 137");
- se = st.getEndingState(UNLOCKED, DISABLED, "null", COLDSTANDBY, DEMOTE);
- assertEquals("coldstandby,unlocked,disabled,null,", makeString(se));
+ }
- logger.info("??? StateTransition testcase 138");
- se = st.getEndingState(UNLOCKED, DISABLED, "null", COLDSTANDBY, UNLOCK);
- assertEquals("coldstandby,unlocked,disabled,null,", makeString(se));
+ @Test
+ public void test341() throws StateTransitionException {
+ assertEquals("coldstandby,locked,disabled,dependency,",
+ makeString(LOCKED, ENABLED, DEPENDENCY, HOTSTANDBY, DISABLE_DEPENDENCY));
- logger.info("??? StateTransition testcase 139");
- se = st.getEndingState(UNLOCKED, DISABLED, "null", COLDSTANDBY, DISABLE_FAILED);
- assertEquals("coldstandby,unlocked,disabled,failed,", makeString(se));
+ }
- logger.info("??? StateTransition testcase 140");
- se = st.getEndingState(UNLOCKED, DISABLED, "null", COLDSTANDBY, ENABLE_NOT_FAILED);
- assertEquals("hotstandby,unlocked,enabled,null,", makeString(se));
+ @Test
+ public void test342() throws StateTransitionException {
+ assertEquals("coldstandby,locked,enabled,null,",
+ makeString(LOCKED, ENABLED, DEPENDENCY, HOTSTANDBY, ENABLE_NO_DEPENDENCY));
- logger.info("??? StateTransition testcase 141");
- se = st.getEndingState(UNLOCKED, DISABLED, "null", COLDSTANDBY, DISABLE_DEPENDENCY);
- assertEquals("coldstandby,unlocked,disabled,dependency,", makeString(se));
+ }
- logger.info("??? StateTransition testcase 142");
- se = st.getEndingState(UNLOCKED, DISABLED, "null", COLDSTANDBY, ENABLE_NO_DEPENDENCY);
- assertEquals("hotstandby,unlocked,enabled,null,", makeString(se));
+ @Test
+ public void test343() throws StateTransitionException {
+ assertEquals("coldstandby,locked,enabled,null,StandbyStatusException",
+ makeString(LOCKED, ENABLED, DEPENDENCY, HOTSTANDBY, PROMOTE));
- logger.info("??? StateTransition testcase 143");
- se = st.getEndingState(UNLOCKED, DISABLED, "null", COLDSTANDBY, PROMOTE);
- assertEquals("coldstandby,unlocked,disabled,null,StandbyStatusException", makeString(se));
+ }
- logger.info("??? StateTransition testcase 144");
- se = st.getEndingState(UNLOCKED, DISABLED, "null", COLDSTANDBY, DEMOTE);
- assertEquals("coldstandby,unlocked,disabled,null,", makeString(se));
+ @Test
+ public void test344() throws StateTransitionException {
+ assertEquals("coldstandby,locked,enabled,null,", makeString(LOCKED, ENABLED, DEPENDENCY, HOTSTANDBY, DEMOTE));
- logger.info("??? StateTransition testcase 145");
- se = st.getEndingState(UNLOCKED, DISABLED, "null", HOTSTANDBY, DEMOTE);
- assertEquals("coldstandby,unlocked,disabled,null,", makeString(se));
+ }
- logger.info("??? StateTransition testcase 146");
- se = st.getEndingState(UNLOCKED, DISABLED, "null", HOTSTANDBY, UNLOCK);
- assertEquals("coldstandby,unlocked,disabled,null,", makeString(se));
+ @Test
+ public void test345() throws StateTransitionException {
+ assertEquals("coldstandby,locked,enabled,null,",
+ makeString(LOCKED, ENABLED, DEPENDENCY, PROVIDINGSERVICE, DEMOTE));
- logger.info("??? StateTransition testcase 147");
- se = st.getEndingState(UNLOCKED, DISABLED, "null", HOTSTANDBY, DISABLE_FAILED);
- assertEquals("coldstandby,unlocked,disabled,failed,", makeString(se));
+ }
- logger.info("??? StateTransition testcase 148");
- se = st.getEndingState(UNLOCKED, DISABLED, "null", HOTSTANDBY, ENABLE_NOT_FAILED);
- assertEquals("hotstandby,unlocked,enabled,null,", makeString(se));
+ @Test
+ public void test346() throws StateTransitionException {
+ assertEquals("hotstandby,unlocked,enabled,null,",
+ makeString(LOCKED, ENABLED, DEPENDENCY, PROVIDINGSERVICE, UNLOCK));
- logger.info("??? StateTransition testcase 149");
- se = st.getEndingState(UNLOCKED, DISABLED, "null", HOTSTANDBY, DISABLE_DEPENDENCY);
- assertEquals("coldstandby,unlocked,disabled,dependency,", makeString(se));
+ }
- logger.info("??? StateTransition testcase 150");
- se = st.getEndingState(UNLOCKED, DISABLED, "null", HOTSTANDBY, ENABLE_NO_DEPENDENCY);
- assertEquals("hotstandby,unlocked,enabled,null,", makeString(se));
+ @Test
+ public void test347() throws StateTransitionException {
+ assertEquals("coldstandby,locked,disabled,failed,",
+ makeString(LOCKED, ENABLED, DEPENDENCY, PROVIDINGSERVICE, DISABLE_FAILED));
- logger.info("??? StateTransition testcase 151");
- se = st.getEndingState(UNLOCKED, DISABLED, "null", HOTSTANDBY, PROMOTE);
- assertEquals("coldstandby,unlocked,disabled,null,StandbyStatusException", makeString(se));
+ }
- logger.info("??? StateTransition testcase 152");
- se = st.getEndingState(UNLOCKED, DISABLED, "null", HOTSTANDBY, DEMOTE);
- assertEquals("coldstandby,unlocked,disabled,null,", makeString(se));
+ @Test
+ public void test348() throws StateTransitionException {
+ assertEquals("coldstandby,locked,enabled,null,",
+ makeString(LOCKED, ENABLED, DEPENDENCY, PROVIDINGSERVICE, ENABLE_NOT_FAILED));
- logger.info("??? StateTransition testcase 153");
- se = st.getEndingState(UNLOCKED, DISABLED, "null", PROVIDINGSERVICE, DEMOTE);
- assertEquals("coldstandby,unlocked,disabled,null,", makeString(se));
+ }
- logger.info("??? StateTransition testcase 154");
- se = st.getEndingState(UNLOCKED, DISABLED, "null", PROVIDINGSERVICE, UNLOCK);
- assertEquals("coldstandby,unlocked,disabled,null,", makeString(se));
+ @Test
+ public void test349() throws StateTransitionException {
+ assertEquals("coldstandby,locked,disabled,dependency,",
+ makeString(LOCKED, ENABLED, DEPENDENCY, PROVIDINGSERVICE, DISABLE_DEPENDENCY));
- logger.info("??? StateTransition testcase 155");
- se = st.getEndingState(UNLOCKED, DISABLED, "null", PROVIDINGSERVICE, DISABLE_FAILED);
- assertEquals("coldstandby,unlocked,disabled,failed,", makeString(se));
+ }
- logger.info("??? StateTransition testcase 156");
- se = st.getEndingState(UNLOCKED, DISABLED, "null", PROVIDINGSERVICE, ENABLE_NOT_FAILED);
- assertEquals("hotstandby,unlocked,enabled,null,", makeString(se));
+ @Test
+ public void test350() throws StateTransitionException {
+ assertEquals("coldstandby,locked,enabled,null,",
+ makeString(LOCKED, ENABLED, DEPENDENCY, PROVIDINGSERVICE, ENABLE_NO_DEPENDENCY));
- logger.info("??? StateTransition testcase 157");
- se = st.getEndingState(UNLOCKED, DISABLED, "null", PROVIDINGSERVICE, DISABLE_DEPENDENCY);
- assertEquals("coldstandby,unlocked,disabled,dependency,", makeString(se));
+ }
- logger.info("??? StateTransition testcase 158");
- se = st.getEndingState(UNLOCKED, DISABLED, "null", PROVIDINGSERVICE, ENABLE_NO_DEPENDENCY);
- assertEquals("hotstandby,unlocked,enabled,null,", makeString(se));
+ @Test
+ public void test351() throws StateTransitionException {
+ assertEquals("coldstandby,locked,enabled,null,StandbyStatusException",
+ makeString(LOCKED, ENABLED, DEPENDENCY, PROVIDINGSERVICE, PROMOTE));
- logger.info("??? StateTransition testcase 159");
- se = st.getEndingState(UNLOCKED, DISABLED, "null", PROVIDINGSERVICE, PROMOTE);
- assertEquals("coldstandby,unlocked,disabled,null,StandbyStatusException", makeString(se));
+ }
- logger.info("??? StateTransition testcase 160");
- se = st.getEndingState(UNLOCKED, DISABLED, "null", PROVIDINGSERVICE, DEMOTE);
- assertEquals("coldstandby,unlocked,disabled,null,", makeString(se));
+ @Test
+ public void test352() throws StateTransitionException {
+ assertEquals("coldstandby,locked,enabled,null,",
+ makeString(LOCKED, ENABLED, DEPENDENCY, PROVIDINGSERVICE, DEMOTE));
- logger.info("??? StateTransition testcase 161");
- se = st.getEndingState(UNLOCKED, DISABLED, FAILED, "null", DEMOTE);
- assertEquals("coldstandby,unlocked,disabled,failed,", makeString(se));
+ }
- logger.info("??? StateTransition testcase 162");
- se = st.getEndingState(UNLOCKED, DISABLED, FAILED, "null", UNLOCK);
- assertEquals("null,unlocked,disabled,failed,", makeString(se));
+ @Test
+ public void test353() throws StateTransitionException {
+ assertEquals("coldstandby,locked,enabled,null,",
+ makeString(LOCKED, ENABLED, DEPENDENCY_FAILED, "null", DEMOTE));
- logger.info("??? StateTransition testcase 163");
- se = st.getEndingState(UNLOCKED, DISABLED, FAILED, "null", DISABLE_FAILED);
- assertEquals("null,unlocked,disabled,failed,", makeString(se));
+ }
- logger.info("??? StateTransition testcase 164");
- se = st.getEndingState(UNLOCKED, DISABLED, FAILED, "null", ENABLE_NOT_FAILED);
- assertEquals("null,unlocked,enabled,null,", makeString(se));
+ @Test
+ public void test354() throws StateTransitionException {
+ assertEquals("null,unlocked,enabled,null,", makeString(LOCKED, ENABLED, DEPENDENCY_FAILED, "null", UNLOCK));
- logger.info("??? StateTransition testcase 165");
- se = st.getEndingState(UNLOCKED, DISABLED, FAILED, "null", DISABLE_DEPENDENCY);
- assertEquals("null,unlocked,disabled,dependency,failed,", makeString(se));
+ }
- logger.info("??? StateTransition testcase 166");
- se = st.getEndingState(UNLOCKED, DISABLED, FAILED, "null", ENABLE_NO_DEPENDENCY);
- assertEquals("null,unlocked,disabled,failed,", makeString(se));
+ @Test
+ public void test355() throws StateTransitionException {
+ assertEquals("null,locked,disabled,failed,",
+ makeString(LOCKED, ENABLED, DEPENDENCY_FAILED, "null", DISABLE_FAILED));
- logger.info("??? StateTransition testcase 167");
- se = st.getEndingState(UNLOCKED, DISABLED, FAILED, "null", PROMOTE);
- assertEquals("coldstandby,unlocked,disabled,failed,StandbyStatusException", makeString(se));
+ }
- logger.info("??? StateTransition testcase 168");
- se = st.getEndingState(UNLOCKED, DISABLED, FAILED, "null", DEMOTE);
- assertEquals("coldstandby,unlocked,disabled,failed,", makeString(se));
+ @Test
+ public void test356() throws StateTransitionException {
+ assertEquals("null,locked,enabled,null,",
+ makeString(LOCKED, ENABLED, DEPENDENCY_FAILED, "null", ENABLE_NOT_FAILED));
- logger.info("??? StateTransition testcase 169");
- se = st.getEndingState(UNLOCKED, DISABLED, FAILED, COLDSTANDBY, DEMOTE);
- assertEquals("coldstandby,unlocked,disabled,failed,", makeString(se));
+ }
- logger.info("??? StateTransition testcase 170");
- se = st.getEndingState(UNLOCKED, DISABLED, FAILED, COLDSTANDBY, UNLOCK);
- assertEquals("coldstandby,unlocked,disabled,failed,", makeString(se));
+ @Test
+ public void test357() throws StateTransitionException {
+ assertEquals("null,locked,disabled,dependency,",
+ makeString(LOCKED, ENABLED, DEPENDENCY_FAILED, "null", DISABLE_DEPENDENCY));
- logger.info("??? StateTransition testcase 171");
- se = st.getEndingState(UNLOCKED, DISABLED, FAILED, COLDSTANDBY, DISABLE_FAILED);
- assertEquals("coldstandby,unlocked,disabled,failed,", makeString(se));
+ }
- logger.info("??? StateTransition testcase 172");
- se = st.getEndingState(UNLOCKED, DISABLED, FAILED, COLDSTANDBY, ENABLE_NOT_FAILED);
- assertEquals("hotstandby,unlocked,enabled,null,", makeString(se));
+ @Test
+ public void test358() throws StateTransitionException {
+ assertEquals("null,locked,enabled,null,",
+ makeString(LOCKED, ENABLED, DEPENDENCY_FAILED, "null", ENABLE_NO_DEPENDENCY));
- logger.info("??? StateTransition testcase 173");
- se = st.getEndingState(UNLOCKED, DISABLED, FAILED, COLDSTANDBY, DISABLE_DEPENDENCY);
- assertEquals("coldstandby,unlocked,disabled,dependency,failed,", makeString(se));
+ }
- logger.info("??? StateTransition testcase 174");
- se = st.getEndingState(UNLOCKED, DISABLED, FAILED, COLDSTANDBY, ENABLE_NO_DEPENDENCY);
- assertEquals("coldstandby,unlocked,disabled,failed,", makeString(se));
+ @Test
+ public void test359() throws StateTransitionException {
+ assertEquals("coldstandby,locked,enabled,null,StandbyStatusException",
+ makeString(LOCKED, ENABLED, DEPENDENCY_FAILED, "null", PROMOTE));
- logger.info("??? StateTransition testcase 175");
- se = st.getEndingState(UNLOCKED, DISABLED, FAILED, COLDSTANDBY, PROMOTE);
- assertEquals("coldstandby,unlocked,disabled,failed,StandbyStatusException", makeString(se));
+ }
- logger.info("??? StateTransition testcase 176");
- se = st.getEndingState(UNLOCKED, DISABLED, FAILED, COLDSTANDBY, DEMOTE);
- assertEquals("coldstandby,unlocked,disabled,failed,", makeString(se));
+ @Test
+ public void test360() throws StateTransitionException {
+ assertEquals("coldstandby,locked,enabled,null,",
+ makeString(LOCKED, ENABLED, DEPENDENCY_FAILED, "null", DEMOTE));
- logger.info("??? StateTransition testcase 177");
- se = st.getEndingState(UNLOCKED, DISABLED, FAILED, HOTSTANDBY, DEMOTE);
- assertEquals("coldstandby,unlocked,disabled,failed,", makeString(se));
+ }
- logger.info("??? StateTransition testcase 178");
- se = st.getEndingState(UNLOCKED, DISABLED, FAILED, HOTSTANDBY, UNLOCK);
- assertEquals("coldstandby,unlocked,disabled,failed,", makeString(se));
+ @Test
+ public void test361() throws StateTransitionException {
+ assertEquals("coldstandby,locked,enabled,null,",
+ makeString(LOCKED, ENABLED, DEPENDENCY_FAILED, COLDSTANDBY, DEMOTE));
- logger.info("??? StateTransition testcase 179");
- se = st.getEndingState(UNLOCKED, DISABLED, FAILED, HOTSTANDBY, DISABLE_FAILED);
- assertEquals("coldstandby,unlocked,disabled,failed,", makeString(se));
+ }
- logger.info("??? StateTransition testcase 180");
- se = st.getEndingState(UNLOCKED, DISABLED, FAILED, HOTSTANDBY, ENABLE_NOT_FAILED);
- assertEquals("hotstandby,unlocked,enabled,null,", makeString(se));
+ @Test
+ public void test362() throws StateTransitionException {
+ assertEquals("hotstandby,unlocked,enabled,null,",
+ makeString(LOCKED, ENABLED, DEPENDENCY_FAILED, COLDSTANDBY, UNLOCK));
- logger.info("??? StateTransition testcase 181");
- se = st.getEndingState(UNLOCKED, DISABLED, FAILED, HOTSTANDBY, DISABLE_DEPENDENCY);
- assertEquals("coldstandby,unlocked,disabled,dependency,failed,", makeString(se));
+ }
- logger.info("??? StateTransition testcase 182");
- se = st.getEndingState(UNLOCKED, DISABLED, FAILED, HOTSTANDBY, ENABLE_NO_DEPENDENCY);
- assertEquals("coldstandby,unlocked,disabled,failed,", makeString(se));
+ @Test
+ public void test363() throws StateTransitionException {
+ assertEquals("coldstandby,locked,disabled,failed,",
+ makeString(LOCKED, ENABLED, DEPENDENCY_FAILED, COLDSTANDBY, DISABLE_FAILED));
- logger.info("??? StateTransition testcase 183");
- se = st.getEndingState(UNLOCKED, DISABLED, FAILED, HOTSTANDBY, PROMOTE);
- assertEquals("coldstandby,unlocked,disabled,failed,StandbyStatusException", makeString(se));
+ }
- logger.info("??? StateTransition testcase 184");
- se = st.getEndingState(UNLOCKED, DISABLED, FAILED, HOTSTANDBY, DEMOTE);
- assertEquals("coldstandby,unlocked,disabled,failed,", makeString(se));
+ @Test
+ public void test364() throws StateTransitionException {
+ assertEquals("coldstandby,locked,enabled,null,",
+ makeString(LOCKED, ENABLED, DEPENDENCY_FAILED, COLDSTANDBY, ENABLE_NOT_FAILED));
- logger.info("??? StateTransition testcase 185");
- se = st.getEndingState(UNLOCKED, DISABLED, FAILED, PROVIDINGSERVICE, DEMOTE);
- assertEquals("coldstandby,unlocked,disabled,failed,", makeString(se));
+ }
- logger.info("??? StateTransition testcase 186");
- se = st.getEndingState(UNLOCKED, DISABLED, FAILED, PROVIDINGSERVICE, UNLOCK);
- assertEquals("coldstandby,unlocked,disabled,failed,", makeString(se));
+ @Test
+ public void test365() throws StateTransitionException {
+ assertEquals("coldstandby,locked,disabled,dependency,",
+ makeString(LOCKED, ENABLED, DEPENDENCY_FAILED, COLDSTANDBY, DISABLE_DEPENDENCY));
- logger.info("??? StateTransition testcase 187");
- se = st.getEndingState(UNLOCKED, DISABLED, FAILED, PROVIDINGSERVICE, DISABLE_FAILED);
- assertEquals("coldstandby,unlocked,disabled,failed,", makeString(se));
+ }
- logger.info("??? StateTransition testcase 188");
- se = st.getEndingState(UNLOCKED, DISABLED, FAILED, PROVIDINGSERVICE, ENABLE_NOT_FAILED);
- assertEquals("hotstandby,unlocked,enabled,null,", makeString(se));
+ @Test
+ public void test366() throws StateTransitionException {
+ assertEquals("coldstandby,locked,enabled,null,",
+ makeString(LOCKED, ENABLED, DEPENDENCY_FAILED, COLDSTANDBY, ENABLE_NO_DEPENDENCY));
- logger.info("??? StateTransition testcase 189");
- se = st.getEndingState(UNLOCKED, DISABLED, FAILED, PROVIDINGSERVICE, DISABLE_DEPENDENCY);
- assertEquals("coldstandby,unlocked,disabled,dependency,failed,", makeString(se));
+ }
- logger.info("??? StateTransition testcase 190");
- se = st.getEndingState(UNLOCKED, DISABLED, FAILED, PROVIDINGSERVICE, ENABLE_NO_DEPENDENCY);
- assertEquals("coldstandby,unlocked,disabled,failed,", makeString(se));
+ @Test
+ public void test367() throws StateTransitionException {
+ assertEquals("coldstandby,locked,enabled,null,StandbyStatusException",
+ makeString(LOCKED, ENABLED, DEPENDENCY_FAILED, COLDSTANDBY, PROMOTE));
- logger.info("??? StateTransition testcase 191");
- se = st.getEndingState(UNLOCKED, DISABLED, FAILED, PROVIDINGSERVICE, PROMOTE);
- assertEquals("coldstandby,unlocked,disabled,failed,StandbyStatusException", makeString(se));
+ }
- logger.info("??? StateTransition testcase 192");
- se = st.getEndingState(UNLOCKED, DISABLED, FAILED, PROVIDINGSERVICE, DEMOTE);
- assertEquals("coldstandby,unlocked,disabled,failed,", makeString(se));
+ @Test
+ public void test368() throws StateTransitionException {
+ assertEquals("coldstandby,locked,enabled,null,",
+ makeString(LOCKED, ENABLED, DEPENDENCY_FAILED, COLDSTANDBY, DEMOTE));
- logger.info("??? StateTransition testcase 193");
- se = st.getEndingState(UNLOCKED, DISABLED, DEPENDENCY, "null", DEMOTE);
- assertEquals("coldstandby,unlocked,disabled,dependency,", makeString(se));
+ }
- logger.info("??? StateTransition testcase 194");
- se = st.getEndingState(UNLOCKED, DISABLED, DEPENDENCY, "null", UNLOCK);
- assertEquals("null,unlocked,disabled,dependency,", makeString(se));
+ @Test
+ public void test369() throws StateTransitionException {
+ assertEquals("coldstandby,locked,enabled,null,",
+ makeString(LOCKED, ENABLED, DEPENDENCY_FAILED, HOTSTANDBY, DEMOTE));
- logger.info("??? StateTransition testcase 195");
- se = st.getEndingState(UNLOCKED, DISABLED, DEPENDENCY, "null", DISABLE_FAILED);
- assertEquals("null,unlocked,disabled,dependency,failed,", makeString(se));
+ }
- logger.info("??? StateTransition testcase 196");
- se = st.getEndingState(UNLOCKED, DISABLED, DEPENDENCY, "null", ENABLE_NOT_FAILED);
- assertEquals("null,unlocked,disabled,dependency,", makeString(se));
+ @Test
+ public void test370() throws StateTransitionException {
+ assertEquals("hotstandby,unlocked,enabled,null,",
+ makeString(LOCKED, ENABLED, DEPENDENCY_FAILED, HOTSTANDBY, UNLOCK));
- logger.info("??? StateTransition testcase 197");
- se = st.getEndingState(UNLOCKED, DISABLED, DEPENDENCY, "null", DISABLE_DEPENDENCY);
- assertEquals("null,unlocked,disabled,dependency,", makeString(se));
+ }
- logger.info("??? StateTransition testcase 198");
- se = st.getEndingState(UNLOCKED, DISABLED, DEPENDENCY, "null", ENABLE_NO_DEPENDENCY);
- assertEquals("null,unlocked,enabled,null,", makeString(se));
+ @Test
+ public void test371() throws StateTransitionException {
+ assertEquals("coldstandby,locked,disabled,failed,",
+ makeString(LOCKED, ENABLED, DEPENDENCY_FAILED, HOTSTANDBY, DISABLE_FAILED));
- logger.info("??? StateTransition testcase 199");
- se = st.getEndingState(UNLOCKED, DISABLED, DEPENDENCY, "null", PROMOTE);
- assertEquals("coldstandby,unlocked,disabled,dependency,StandbyStatusException", makeString(se));
+ }
- logger.info("??? StateTransition testcase 200");
- se = st.getEndingState(UNLOCKED, DISABLED, DEPENDENCY, "null", DEMOTE);
- assertEquals("coldstandby,unlocked,disabled,dependency,", makeString(se));
+ @Test
+ public void test372() throws StateTransitionException {
+ assertEquals("coldstandby,locked,enabled,null,",
+ makeString(LOCKED, ENABLED, DEPENDENCY_FAILED, HOTSTANDBY, ENABLE_NOT_FAILED));
- logger.info("??? StateTransition testcase 201");
- se = st.getEndingState(UNLOCKED, DISABLED, DEPENDENCY, COLDSTANDBY, DEMOTE);
- assertEquals("coldstandby,unlocked,disabled,dependency,", makeString(se));
+ }
- logger.info("??? StateTransition testcase 202");
- se = st.getEndingState(UNLOCKED, DISABLED, DEPENDENCY, COLDSTANDBY, UNLOCK);
- assertEquals("coldstandby,unlocked,disabled,dependency,", makeString(se));
+ @Test
+ public void test373() throws StateTransitionException {
+ assertEquals("coldstandby,locked,disabled,dependency,",
+ makeString(LOCKED, ENABLED, DEPENDENCY_FAILED, HOTSTANDBY, DISABLE_DEPENDENCY));
- logger.info("??? StateTransition testcase 203");
- se = st.getEndingState(UNLOCKED, DISABLED, DEPENDENCY, COLDSTANDBY, DISABLE_FAILED);
- assertEquals("coldstandby,unlocked,disabled,dependency,failed,", makeString(se));
+ }
- logger.info("??? StateTransition testcase 204");
- se = st.getEndingState(UNLOCKED, DISABLED, DEPENDENCY, COLDSTANDBY, ENABLE_NOT_FAILED);
- assertEquals("coldstandby,unlocked,disabled,dependency,", makeString(se));
+ @Test
+ public void test374() throws StateTransitionException {
+ assertEquals("coldstandby,locked,enabled,null,",
+ makeString(LOCKED, ENABLED, DEPENDENCY_FAILED, HOTSTANDBY, ENABLE_NO_DEPENDENCY));
- logger.info("??? StateTransition testcase 205");
- se = st.getEndingState(UNLOCKED, DISABLED, DEPENDENCY, COLDSTANDBY, DISABLE_DEPENDENCY);
- assertEquals("coldstandby,unlocked,disabled,dependency,", makeString(se));
+ }
- logger.info("??? StateTransition testcase 206");
- se = st.getEndingState(UNLOCKED, DISABLED, DEPENDENCY, COLDSTANDBY, ENABLE_NO_DEPENDENCY);
- assertEquals("hotstandby,unlocked,enabled,null,", makeString(se));
+ @Test
+ public void test375() throws StateTransitionException {
+ assertEquals("coldstandby,locked,enabled,null,StandbyStatusException",
+ makeString(LOCKED, ENABLED, DEPENDENCY_FAILED, HOTSTANDBY, PROMOTE));
- logger.info("??? StateTransition testcase 207");
- se = st.getEndingState(UNLOCKED, DISABLED, DEPENDENCY, COLDSTANDBY, PROMOTE);
- assertEquals("coldstandby,unlocked,disabled,dependency,StandbyStatusException", makeString(se));
+ }
- logger.info("??? StateTransition testcase 208");
- se = st.getEndingState(UNLOCKED, DISABLED, DEPENDENCY, COLDSTANDBY, DEMOTE);
- assertEquals("coldstandby,unlocked,disabled,dependency,", makeString(se));
+ @Test
+ public void test376() throws StateTransitionException {
+ assertEquals("coldstandby,locked,enabled,null,",
+ makeString(LOCKED, ENABLED, DEPENDENCY_FAILED, HOTSTANDBY, DEMOTE));
- logger.info("??? StateTransition testcase 209");
- se = st.getEndingState(UNLOCKED, DISABLED, DEPENDENCY, HOTSTANDBY, DEMOTE);
- assertEquals("coldstandby,unlocked,disabled,dependency,", makeString(se));
+ }
- logger.info("??? StateTransition testcase 210");
- se = st.getEndingState(UNLOCKED, DISABLED, DEPENDENCY, HOTSTANDBY, UNLOCK);
- assertEquals("coldstandby,unlocked,disabled,dependency,", makeString(se));
+ @Test
+ public void test377() throws StateTransitionException {
+ assertEquals("coldstandby,locked,enabled,null,",
+ makeString(LOCKED, ENABLED, DEPENDENCY_FAILED, PROVIDINGSERVICE, DEMOTE));
- logger.info("??? StateTransition testcase 211");
- se = st.getEndingState(UNLOCKED, DISABLED, DEPENDENCY, HOTSTANDBY, DISABLE_FAILED);
- assertEquals("coldstandby,unlocked,disabled,dependency,failed,", makeString(se));
+ }
- logger.info("??? StateTransition testcase 212");
- se = st.getEndingState(UNLOCKED, DISABLED, DEPENDENCY, HOTSTANDBY, ENABLE_NOT_FAILED);
- assertEquals("coldstandby,unlocked,disabled,dependency,", makeString(se));
+ @Test
+ public void test378() throws StateTransitionException {
+ assertEquals("hotstandby,unlocked,enabled,null,",
+ makeString(LOCKED, ENABLED, DEPENDENCY_FAILED, PROVIDINGSERVICE, UNLOCK));
- logger.info("??? StateTransition testcase 213");
- se = st.getEndingState(UNLOCKED, DISABLED, DEPENDENCY, HOTSTANDBY, DISABLE_DEPENDENCY);
- assertEquals("coldstandby,unlocked,disabled,dependency,", makeString(se));
+ }
- logger.info("??? StateTransition testcase 214");
- se = st.getEndingState(UNLOCKED, DISABLED, DEPENDENCY, HOTSTANDBY, ENABLE_NO_DEPENDENCY);
- assertEquals("hotstandby,unlocked,enabled,null,", makeString(se));
+ @Test
+ public void test379() throws StateTransitionException {
+ assertEquals("coldstandby,locked,disabled,failed,",
+ makeString(LOCKED, ENABLED, DEPENDENCY_FAILED, PROVIDINGSERVICE, DISABLE_FAILED));
- logger.info("??? StateTransition testcase 215");
- se = st.getEndingState(UNLOCKED, DISABLED, DEPENDENCY, HOTSTANDBY, PROMOTE);
- assertEquals("coldstandby,unlocked,disabled,dependency,StandbyStatusException", makeString(se));
+ }
- logger.info("??? StateTransition testcase 216");
- se = st.getEndingState(UNLOCKED, DISABLED, DEPENDENCY, HOTSTANDBY, DEMOTE);
- assertEquals("coldstandby,unlocked,disabled,dependency,", makeString(se));
+ @Test
+ public void test380() throws StateTransitionException {
+ assertEquals("coldstandby,locked,enabled,null,",
+ makeString(LOCKED, ENABLED, DEPENDENCY_FAILED, PROVIDINGSERVICE, ENABLE_NOT_FAILED));
- logger.info("??? StateTransition testcase 217");
- se = st.getEndingState(UNLOCKED, DISABLED, DEPENDENCY, PROVIDINGSERVICE, DEMOTE);
- assertEquals("coldstandby,unlocked,disabled,dependency,", makeString(se));
+ }
- logger.info("??? StateTransition testcase 218");
- se = st.getEndingState(UNLOCKED, DISABLED, DEPENDENCY, PROVIDINGSERVICE, UNLOCK);
- assertEquals("coldstandby,unlocked,disabled,dependency,", makeString(se));
+ @Test
+ public void test381() throws StateTransitionException {
+ assertEquals("coldstandby,locked,disabled,dependency,",
+ makeString(LOCKED, ENABLED, DEPENDENCY_FAILED, PROVIDINGSERVICE, DISABLE_DEPENDENCY));
- logger.info("??? StateTransition testcase 219");
- se = st.getEndingState(UNLOCKED, DISABLED, DEPENDENCY, PROVIDINGSERVICE, DISABLE_FAILED);
- assertEquals("coldstandby,unlocked,disabled,dependency,failed,", makeString(se));
+ }
- logger.info("??? StateTransition testcase 220");
- se = st.getEndingState(UNLOCKED, DISABLED, DEPENDENCY, PROVIDINGSERVICE, ENABLE_NOT_FAILED);
- assertEquals("coldstandby,unlocked,disabled,dependency,", makeString(se));
+ @Test
+ public void test382() throws StateTransitionException {
+ assertEquals("coldstandby,locked,enabled,null,",
+ makeString(LOCKED, ENABLED, DEPENDENCY_FAILED, PROVIDINGSERVICE, ENABLE_NO_DEPENDENCY));
- logger.info("??? StateTransition testcase 221");
- se = st.getEndingState(UNLOCKED, DISABLED, DEPENDENCY, PROVIDINGSERVICE, DISABLE_DEPENDENCY);
- assertEquals("coldstandby,unlocked,disabled,dependency,", makeString(se));
+ }
- logger.info("??? StateTransition testcase 222");
- se = st.getEndingState(UNLOCKED, DISABLED, DEPENDENCY, PROVIDINGSERVICE, ENABLE_NO_DEPENDENCY);
- assertEquals("hotstandby,unlocked,enabled,null,", makeString(se));
+ @Test
+ public void test383() throws StateTransitionException {
+ assertEquals("coldstandby,locked,enabled,null,StandbyStatusException",
+ makeString(LOCKED, ENABLED, DEPENDENCY_FAILED, PROVIDINGSERVICE, PROMOTE));
- logger.info("??? StateTransition testcase 223");
- se = st.getEndingState(UNLOCKED, DISABLED, DEPENDENCY, PROVIDINGSERVICE, PROMOTE);
- assertEquals("coldstandby,unlocked,disabled,dependency,StandbyStatusException", makeString(se));
+ }
- logger.info("??? StateTransition testcase 224");
- se = st.getEndingState(UNLOCKED, DISABLED, DEPENDENCY, PROVIDINGSERVICE, DEMOTE);
- assertEquals("coldstandby,unlocked,disabled,dependency,", makeString(se));
+ @Test
+ public void test384() throws StateTransitionException {
+ assertEquals("coldstandby,locked,enabled,null,",
+ makeString(LOCKED, ENABLED, DEPENDENCY_FAILED, PROVIDINGSERVICE, DEMOTE));
- logger.info("??? StateTransition testcase 225");
- se = st.getEndingState(UNLOCKED, DISABLED, DEPENDENCY_FAILED, "null", DEMOTE);
- assertEquals("coldstandby,unlocked,disabled,dependency,failed,", makeString(se));
+ }
- logger.info("??? StateTransition testcase 226");
- se = st.getEndingState(UNLOCKED, DISABLED, DEPENDENCY_FAILED, "null", UNLOCK);
- assertEquals("null,unlocked,disabled,dependency,failed,", makeString(se));
+ @Test
+ public void test385() throws StateTransitionException {
+ assertEquals("coldstandby,locked,disabled,null,", makeString(LOCKED, DISABLED, "null", "null", DEMOTE));
- logger.info("??? StateTransition testcase 227");
- se = st.getEndingState(UNLOCKED, DISABLED, DEPENDENCY_FAILED, "null", DISABLE_FAILED);
- assertEquals("null,unlocked,disabled,dependency,failed,", makeString(se));
+ }
- logger.info("??? StateTransition testcase 228");
- se = st.getEndingState(UNLOCKED, DISABLED, DEPENDENCY_FAILED, "null", ENABLE_NOT_FAILED);
- assertEquals("null,unlocked,disabled,dependency,", makeString(se));
+ @Test
+ public void test386() throws StateTransitionException {
+ assertEquals("null,unlocked,disabled,null,", makeString(LOCKED, DISABLED, "null", "null", UNLOCK));
- logger.info("??? StateTransition testcase 229");
- se = st.getEndingState(UNLOCKED, DISABLED, DEPENDENCY_FAILED, "null", DISABLE_DEPENDENCY);
- assertEquals("null,unlocked,disabled,dependency,failed,", makeString(se));
+ }
- logger.info("??? StateTransition testcase 230");
- se = st.getEndingState(UNLOCKED, DISABLED, DEPENDENCY_FAILED, "null", ENABLE_NO_DEPENDENCY);
- assertEquals("null,unlocked,disabled,failed,", makeString(se));
-
- logger.info("??? StateTransition testcase 231");
- se = st.getEndingState(UNLOCKED, DISABLED, DEPENDENCY_FAILED, "null", PROMOTE);
- assertEquals("coldstandby,unlocked,disabled,dependency,failed,StandbyStatusException", makeString(se));
-
- logger.info("??? StateTransition testcase 232");
- se = st.getEndingState(UNLOCKED, DISABLED, DEPENDENCY_FAILED, "null", DEMOTE);
- assertEquals("coldstandby,unlocked,disabled,dependency,failed,", makeString(se));
-
- logger.info("??? StateTransition testcase 233");
- se = st.getEndingState(UNLOCKED, DISABLED, DEPENDENCY_FAILED, COLDSTANDBY, DEMOTE);
- assertEquals("coldstandby,unlocked,disabled,dependency,failed,", makeString(se));
-
- logger.info("??? StateTransition testcase 234");
- se = st.getEndingState(UNLOCKED, DISABLED, DEPENDENCY_FAILED, COLDSTANDBY, UNLOCK);
- assertEquals("coldstandby,unlocked,disabled,dependency,failed,", makeString(se));
-
- logger.info("??? StateTransition testcase 235");
- se = st.getEndingState(UNLOCKED, DISABLED, DEPENDENCY_FAILED, COLDSTANDBY, DISABLE_FAILED);
- assertEquals("coldstandby,unlocked,disabled,dependency,failed,", makeString(se));
-
- logger.info("??? StateTransition testcase 236");
- se = st.getEndingState(UNLOCKED, DISABLED, DEPENDENCY_FAILED, COLDSTANDBY, ENABLE_NOT_FAILED);
- assertEquals("coldstandby,unlocked,disabled,dependency,", makeString(se));
-
- logger.info("??? StateTransition testcase 237");
- se = st.getEndingState(UNLOCKED, DISABLED, DEPENDENCY_FAILED, COLDSTANDBY, DISABLE_DEPENDENCY);
- assertEquals("coldstandby,unlocked,disabled,dependency,failed,", makeString(se));
-
- logger.info("??? StateTransition testcase 238");
- se = st.getEndingState(UNLOCKED, DISABLED, DEPENDENCY_FAILED, COLDSTANDBY,
- ENABLE_NO_DEPENDENCY);
- assertEquals("coldstandby,unlocked,disabled,failed,", makeString(se));
-
- logger.info("??? StateTransition testcase 239");
- se = st.getEndingState(UNLOCKED, DISABLED, DEPENDENCY_FAILED, COLDSTANDBY, PROMOTE);
- assertEquals("coldstandby,unlocked,disabled,dependency,failed,StandbyStatusException", makeString(se));
-
- logger.info("??? StateTransition testcase 240");
- se = st.getEndingState(UNLOCKED, DISABLED, DEPENDENCY_FAILED, COLDSTANDBY, DEMOTE);
- assertEquals("coldstandby,unlocked,disabled,dependency,failed,", makeString(se));
-
- logger.info("??? StateTransition testcase 241");
- se = st.getEndingState(UNLOCKED, DISABLED, DEPENDENCY_FAILED, HOTSTANDBY, DEMOTE);
- assertEquals("coldstandby,unlocked,disabled,dependency,failed,", makeString(se));
-
- logger.info("??? StateTransition testcase 242");
- se = st.getEndingState(UNLOCKED, DISABLED, DEPENDENCY_FAILED, HOTSTANDBY, UNLOCK);
- assertEquals("coldstandby,unlocked,disabled,dependency,failed,", makeString(se));
-
- logger.info("??? StateTransition testcase 243");
- se = st.getEndingState(UNLOCKED, DISABLED, DEPENDENCY_FAILED, HOTSTANDBY, DISABLE_FAILED);
- assertEquals("coldstandby,unlocked,disabled,dependency,failed,", makeString(se));
-
- logger.info("??? StateTransition testcase 244");
- se = st.getEndingState(UNLOCKED, DISABLED, DEPENDENCY_FAILED, HOTSTANDBY, ENABLE_NOT_FAILED);
- assertEquals("coldstandby,unlocked,disabled,dependency,", makeString(se));
-
- logger.info("??? StateTransition testcase 245");
- se = st.getEndingState(UNLOCKED, DISABLED, DEPENDENCY_FAILED, HOTSTANDBY, DISABLE_DEPENDENCY);
- assertEquals("coldstandby,unlocked,disabled,dependency,failed,", makeString(se));
-
- logger.info("??? StateTransition testcase 246");
- se = st.getEndingState(UNLOCKED, DISABLED, DEPENDENCY_FAILED, HOTSTANDBY, ENABLE_NO_DEPENDENCY);
- assertEquals("coldstandby,unlocked,disabled,failed,", makeString(se));
-
- logger.info("??? StateTransition testcase 247");
- se = st.getEndingState(UNLOCKED, DISABLED, DEPENDENCY_FAILED, HOTSTANDBY, PROMOTE);
- assertEquals("coldstandby,unlocked,disabled,dependency,failed,StandbyStatusException", makeString(se));
-
- logger.info("??? StateTransition testcase 248");
- se = st.getEndingState(UNLOCKED, DISABLED, DEPENDENCY_FAILED, HOTSTANDBY, DEMOTE);
- assertEquals("coldstandby,unlocked,disabled,dependency,failed,", makeString(se));
-
- logger.info("??? StateTransition testcase 249");
- se = st.getEndingState(UNLOCKED, DISABLED, DEPENDENCY_FAILED, PROVIDINGSERVICE, DEMOTE);
- assertEquals("coldstandby,unlocked,disabled,dependency,failed,", makeString(se));
-
- logger.info("??? StateTransition testcase 250");
- se = st.getEndingState(UNLOCKED, DISABLED, DEPENDENCY_FAILED, PROVIDINGSERVICE, UNLOCK);
- assertEquals("coldstandby,unlocked,disabled,dependency,failed,", makeString(se));
-
- logger.info("??? StateTransition testcase 251");
- se = st.getEndingState(UNLOCKED, DISABLED, DEPENDENCY_FAILED, PROVIDINGSERVICE,
- DISABLE_FAILED);
- assertEquals("coldstandby,unlocked,disabled,dependency,failed,", makeString(se));
-
- logger.info("??? StateTransition testcase 252");
- se = st.getEndingState(UNLOCKED, DISABLED, DEPENDENCY_FAILED, PROVIDINGSERVICE,
- ENABLE_NOT_FAILED);
- assertEquals("coldstandby,unlocked,disabled,dependency,", makeString(se));
-
- logger.info("??? StateTransition testcase 253");
- se = st.getEndingState(UNLOCKED, DISABLED, DEPENDENCY_FAILED, PROVIDINGSERVICE,
- DISABLE_DEPENDENCY);
- assertEquals("coldstandby,unlocked,disabled,dependency,failed,", makeString(se));
-
- logger.info("??? StateTransition testcase 254");
- se = st.getEndingState(UNLOCKED, DISABLED, DEPENDENCY_FAILED, PROVIDINGSERVICE,
- ENABLE_NO_DEPENDENCY);
- assertEquals("coldstandby,unlocked,disabled,failed,", makeString(se));
-
- logger.info("??? StateTransition testcase 255");
- se = st.getEndingState(UNLOCKED, DISABLED, DEPENDENCY_FAILED, PROVIDINGSERVICE, PROMOTE);
- assertEquals("coldstandby,unlocked,disabled,dependency,failed,StandbyStatusException", makeString(se));
-
- logger.info("??? StateTransition testcase 256");
- se = st.getEndingState(UNLOCKED, DISABLED, DEPENDENCY_FAILED, PROVIDINGSERVICE, DEMOTE);
- assertEquals("coldstandby,unlocked,disabled,dependency,failed,", makeString(se));
-
- logger.info("??? StateTransition testcase 257");
- se = st.getEndingState(LOCKED, ENABLED, "null", "null", DEMOTE);
- assertEquals("coldstandby,locked,enabled,null,", makeString(se));
-
- logger.info("??? StateTransition testcase 258");
- se = st.getEndingState(LOCKED, ENABLED, "null", "null", UNLOCK);
- assertEquals("null,unlocked,enabled,null,", makeString(se));
-
- logger.info("??? StateTransition testcase 259");
- se = st.getEndingState(LOCKED, ENABLED, "null", "null", DISABLE_FAILED);
- assertEquals("null,locked,disabled,failed,", makeString(se));
-
- logger.info("??? StateTransition testcase 260");
- se = st.getEndingState(LOCKED, ENABLED, "null", "null", ENABLE_NOT_FAILED);
- assertEquals("null,locked,enabled,null,", makeString(se));
-
- logger.info("??? StateTransition testcase 261");
- se = st.getEndingState(LOCKED, ENABLED, "null", "null", DISABLE_DEPENDENCY);
- assertEquals("null,locked,disabled,dependency,", makeString(se));
-
- logger.info("??? StateTransition testcase 262");
- se = st.getEndingState(LOCKED, ENABLED, "null", "null", ENABLE_NO_DEPENDENCY);
- assertEquals("null,locked,enabled,null,", makeString(se));
+ @Test
+ public void test387() throws StateTransitionException {
+ assertEquals("null,locked,disabled,failed,", makeString(LOCKED, DISABLED, "null", "null", DISABLE_FAILED));
- logger.info("??? StateTransition testcase 263");
- se = st.getEndingState(LOCKED, ENABLED, "null", "null", PROMOTE);
- assertEquals("coldstandby,locked,enabled,null,StandbyStatusException", makeString(se));
+ }
- logger.info("??? StateTransition testcase 264");
- se = st.getEndingState(LOCKED, ENABLED, "null", "null", DEMOTE);
- assertEquals("coldstandby,locked,enabled,null,", makeString(se));
+ @Test
+ public void test388() throws StateTransitionException {
+ assertEquals("null,locked,enabled,null,", makeString(LOCKED, DISABLED, "null", "null", ENABLE_NOT_FAILED));
- logger.info("??? StateTransition testcase 265");
- se = st.getEndingState(LOCKED, ENABLED, "null", COLDSTANDBY, DEMOTE);
- assertEquals("coldstandby,locked,enabled,null,", makeString(se));
+ }
- logger.info("??? StateTransition testcase 266");
- se = st.getEndingState(LOCKED, ENABLED, "null", COLDSTANDBY, UNLOCK);
- assertEquals("hotstandby,unlocked,enabled,null,", makeString(se));
+ @Test
+ public void test389() throws StateTransitionException {
+ assertEquals("null,locked,disabled,dependency,",
+ makeString(LOCKED, DISABLED, "null", "null", DISABLE_DEPENDENCY));
- logger.info("??? StateTransition testcase 267");
- se = st.getEndingState(LOCKED, ENABLED, "null", COLDSTANDBY, DISABLE_FAILED);
- assertEquals("coldstandby,locked,disabled,failed,", makeString(se));
+ }
- logger.info("??? StateTransition testcase 268");
- se = st.getEndingState(LOCKED, ENABLED, "null", COLDSTANDBY, ENABLE_NOT_FAILED);
- assertEquals("coldstandby,locked,enabled,null,", makeString(se));
+ @Test
+ public void test390() throws StateTransitionException {
+ assertEquals("null,locked,enabled,null,", makeString(LOCKED, DISABLED, "null", "null", ENABLE_NO_DEPENDENCY));
- logger.info("??? StateTransition testcase 269");
- se = st.getEndingState(LOCKED, ENABLED, "null", COLDSTANDBY, DISABLE_DEPENDENCY);
- assertEquals("coldstandby,locked,disabled,dependency,", makeString(se));
+ }
- logger.info("??? StateTransition testcase 270");
- se = st.getEndingState(LOCKED, ENABLED, "null", COLDSTANDBY, ENABLE_NO_DEPENDENCY);
- assertEquals("coldstandby,locked,enabled,null,", makeString(se));
+ @Test
+ public void test391() throws StateTransitionException {
+ assertEquals("coldstandby,locked,disabled,null,StandbyStatusException",
+ makeString(LOCKED, DISABLED, "null", "null", PROMOTE));
- logger.info("??? StateTransition testcase 271");
- se = st.getEndingState(LOCKED, ENABLED, "null", COLDSTANDBY, PROMOTE);
- assertEquals("coldstandby,locked,enabled,null,StandbyStatusException", makeString(se));
+ }
- logger.info("??? StateTransition testcase 272");
- se = st.getEndingState(LOCKED, ENABLED, "null", COLDSTANDBY, DEMOTE);
- assertEquals("coldstandby,locked,enabled,null,", makeString(se));
+ @Test
+ public void test392() throws StateTransitionException {
+ assertEquals("coldstandby,locked,disabled,null,", makeString(LOCKED, DISABLED, "null", "null", DEMOTE));
- logger.info("??? StateTransition testcase 273");
- se = st.getEndingState(LOCKED, ENABLED, "null", HOTSTANDBY, DEMOTE);
- assertEquals("coldstandby,locked,enabled,null,", makeString(se));
+ }
- logger.info("??? StateTransition testcase 274");
- se = st.getEndingState(LOCKED, ENABLED, "null", HOTSTANDBY, UNLOCK);
- assertEquals("hotstandby,unlocked,enabled,null,", makeString(se));
+ @Test
+ public void test393() throws StateTransitionException {
+ assertEquals("coldstandby,locked,disabled,null,", makeString(LOCKED, DISABLED, "null", COLDSTANDBY, DEMOTE));
- logger.info("??? StateTransition testcase 275");
- se = st.getEndingState(LOCKED, ENABLED, "null", HOTSTANDBY, DISABLE_FAILED);
- assertEquals("coldstandby,locked,disabled,failed,", makeString(se));
+ }
- logger.info("??? StateTransition testcase 276");
- se = st.getEndingState(LOCKED, ENABLED, "null", HOTSTANDBY, ENABLE_NOT_FAILED);
- assertEquals("coldstandby,locked,enabled,null,", makeString(se));
+ @Test
+ public void test394() throws StateTransitionException {
+ assertEquals("coldstandby,unlocked,disabled,null,", makeString(LOCKED, DISABLED, "null", COLDSTANDBY, UNLOCK));
- logger.info("??? StateTransition testcase 277");
- se = st.getEndingState(LOCKED, ENABLED, "null", HOTSTANDBY, DISABLE_DEPENDENCY);
- assertEquals("coldstandby,locked,disabled,dependency,", makeString(se));
+ }
- logger.info("??? StateTransition testcase 278");
- se = st.getEndingState(LOCKED, ENABLED, "null", HOTSTANDBY, ENABLE_NO_DEPENDENCY);
- assertEquals("coldstandby,locked,enabled,null,", makeString(se));
+ @Test
+ public void test395() throws StateTransitionException {
+ assertEquals("coldstandby,locked,disabled,failed,",
+ makeString(LOCKED, DISABLED, "null", COLDSTANDBY, DISABLE_FAILED));
- logger.info("??? StateTransition testcase 279");
- se = st.getEndingState(LOCKED, ENABLED, "null", HOTSTANDBY, PROMOTE);
- assertEquals("coldstandby,locked,enabled,null,StandbyStatusException", makeString(se));
+ }
- logger.info("??? StateTransition testcase 280");
- se = st.getEndingState(LOCKED, ENABLED, "null", HOTSTANDBY, DEMOTE);
- assertEquals("coldstandby,locked,enabled,null,", makeString(se));
+ @Test
+ public void test396() throws StateTransitionException {
+ assertEquals("coldstandby,locked,enabled,null,",
+ makeString(LOCKED, DISABLED, "null", COLDSTANDBY, ENABLE_NOT_FAILED));
- logger.info("??? StateTransition testcase 281");
- se = st.getEndingState(LOCKED, ENABLED, "null", PROVIDINGSERVICE, DEMOTE);
- assertEquals("coldstandby,locked,enabled,null,", makeString(se));
+ }
- logger.info("??? StateTransition testcase 282");
- se = st.getEndingState(LOCKED, ENABLED, "null", PROVIDINGSERVICE, UNLOCK);
- assertEquals("hotstandby,unlocked,enabled,null,", makeString(se));
+ @Test
+ public void test397() throws StateTransitionException {
+ assertEquals("coldstandby,locked,disabled,dependency,",
+ makeString(LOCKED, DISABLED, "null", COLDSTANDBY, DISABLE_DEPENDENCY));
- logger.info("??? StateTransition testcase 283");
- se = st.getEndingState(LOCKED, ENABLED, "null", PROVIDINGSERVICE, DISABLE_FAILED);
- assertEquals("coldstandby,locked,disabled,failed,", makeString(se));
+ }
- logger.info("??? StateTransition testcase 284");
- se = st.getEndingState(LOCKED, ENABLED, "null", PROVIDINGSERVICE, ENABLE_NOT_FAILED);
- assertEquals("coldstandby,locked,enabled,null,", makeString(se));
+ @Test
+ public void test398() throws StateTransitionException {
+ assertEquals("coldstandby,locked,enabled,null,",
+ makeString(LOCKED, DISABLED, "null", COLDSTANDBY, ENABLE_NO_DEPENDENCY));
- logger.info("??? StateTransition testcase 285");
- se = st.getEndingState(LOCKED, ENABLED, "null", PROVIDINGSERVICE, DISABLE_DEPENDENCY);
- assertEquals("coldstandby,locked,disabled,dependency,", makeString(se));
+ }
- logger.info("??? StateTransition testcase 286");
- se = st.getEndingState(LOCKED, ENABLED, "null", PROVIDINGSERVICE, ENABLE_NO_DEPENDENCY);
- assertEquals("coldstandby,locked,enabled,null,", makeString(se));
+ @Test
+ public void test399() throws StateTransitionException {
+ assertEquals("coldstandby,locked,disabled,null,StandbyStatusException",
+ makeString(LOCKED, DISABLED, "null", COLDSTANDBY, PROMOTE));
- logger.info("??? StateTransition testcase 287");
- se = st.getEndingState(LOCKED, ENABLED, "null", PROVIDINGSERVICE, PROMOTE);
- assertEquals("coldstandby,locked,enabled,null,StandbyStatusException", makeString(se));
+ }
- logger.info("??? StateTransition testcase 288");
- se = st.getEndingState(LOCKED, ENABLED, "null", PROVIDINGSERVICE, DEMOTE);
- assertEquals("coldstandby,locked,enabled,null,", makeString(se));
+ @Test
+ public void test400() throws StateTransitionException {
+ assertEquals("coldstandby,locked,disabled,null,", makeString(LOCKED, DISABLED, "null", COLDSTANDBY, DEMOTE));
- logger.info("??? StateTransition testcase 289");
- se = st.getEndingState(LOCKED, ENABLED, FAILED, "null", DEMOTE);
- assertEquals("coldstandby,locked,enabled,null,", makeString(se));
+ }
- logger.info("??? StateTransition testcase 290");
- se = st.getEndingState(LOCKED, ENABLED, FAILED, "null", UNLOCK);
- assertEquals("null,unlocked,enabled,null,", makeString(se));
+ @Test
+ public void test401() throws StateTransitionException {
+ assertEquals("coldstandby,locked,disabled,null,", makeString(LOCKED, DISABLED, "null", HOTSTANDBY, DEMOTE));
- logger.info("??? StateTransition testcase 291");
- se = st.getEndingState(LOCKED, ENABLED, FAILED, "null", DISABLE_FAILED);
- assertEquals("null,locked,disabled,failed,", makeString(se));
+ }
- logger.info("??? StateTransition testcase 292");
- se = st.getEndingState(LOCKED, ENABLED, FAILED, "null", ENABLE_NOT_FAILED);
- assertEquals("null,locked,enabled,null,", makeString(se));
+ @Test
+ public void test402() throws StateTransitionException {
+ assertEquals("coldstandby,unlocked,disabled,null,", makeString(LOCKED, DISABLED, "null", HOTSTANDBY, UNLOCK));
- logger.info("??? StateTransition testcase 293");
- se = st.getEndingState(LOCKED, ENABLED, FAILED, "null", DISABLE_DEPENDENCY);
- assertEquals("null,locked,disabled,dependency,", makeString(se));
+ }
- logger.info("??? StateTransition testcase 294");
- se = st.getEndingState(LOCKED, ENABLED, FAILED, "null", ENABLE_NO_DEPENDENCY);
- assertEquals("null,locked,enabled,null,", makeString(se));
+ @Test
+ public void test403() throws StateTransitionException {
+ assertEquals("coldstandby,locked,disabled,failed,",
+ makeString(LOCKED, DISABLED, "null", HOTSTANDBY, DISABLE_FAILED));
- logger.info("??? StateTransition testcase 295");
- se = st.getEndingState(LOCKED, ENABLED, FAILED, "null", PROMOTE);
- assertEquals("coldstandby,locked,enabled,null,StandbyStatusException", makeString(se));
+ }
- logger.info("??? StateTransition testcase 296");
- se = st.getEndingState(LOCKED, ENABLED, FAILED, "null", DEMOTE);
- assertEquals("coldstandby,locked,enabled,null,", makeString(se));
+ @Test
+ public void test404() throws StateTransitionException {
+ assertEquals("coldstandby,locked,enabled,null,",
+ makeString(LOCKED, DISABLED, "null", HOTSTANDBY, ENABLE_NOT_FAILED));
- logger.info("??? StateTransition testcase 297");
- se = st.getEndingState(LOCKED, ENABLED, FAILED, COLDSTANDBY, DEMOTE);
- assertEquals("coldstandby,locked,enabled,null,", makeString(se));
+ }
- logger.info("??? StateTransition testcase 298");
- se = st.getEndingState(LOCKED, ENABLED, FAILED, COLDSTANDBY, UNLOCK);
- assertEquals("hotstandby,unlocked,enabled,null,", makeString(se));
+ @Test
+ public void test405() throws StateTransitionException {
+ assertEquals("coldstandby,locked,disabled,dependency,",
+ makeString(LOCKED, DISABLED, "null", HOTSTANDBY, DISABLE_DEPENDENCY));
- logger.info("??? StateTransition testcase 299");
- se = st.getEndingState(LOCKED, ENABLED, FAILED, COLDSTANDBY, DISABLE_FAILED);
- assertEquals("coldstandby,locked,disabled,failed,", makeString(se));
+ }
- logger.info("??? StateTransition testcase 300");
- se = st.getEndingState(LOCKED, ENABLED, FAILED, COLDSTANDBY, ENABLE_NOT_FAILED);
- assertEquals("coldstandby,locked,enabled,null,", makeString(se));
+ @Test
+ public void test406() throws StateTransitionException {
+ assertEquals("coldstandby,locked,enabled,null,",
+ makeString(LOCKED, DISABLED, "null", HOTSTANDBY, ENABLE_NO_DEPENDENCY));
- logger.info("??? StateTransition testcase 301");
- se = st.getEndingState(LOCKED, ENABLED, FAILED, COLDSTANDBY, DISABLE_DEPENDENCY);
- assertEquals("coldstandby,locked,disabled,dependency,", makeString(se));
+ }
- logger.info("??? StateTransition testcase 302");
- se = st.getEndingState(LOCKED, ENABLED, FAILED, COLDSTANDBY, ENABLE_NO_DEPENDENCY);
- assertEquals("coldstandby,locked,enabled,null,", makeString(se));
+ @Test
+ public void test407() throws StateTransitionException {
+ assertEquals("coldstandby,locked,disabled,null,StandbyStatusException",
+ makeString(LOCKED, DISABLED, "null", HOTSTANDBY, PROMOTE));
- logger.info("??? StateTransition testcase 303");
- se = st.getEndingState(LOCKED, ENABLED, FAILED, COLDSTANDBY, PROMOTE);
- assertEquals("coldstandby,locked,enabled,null,StandbyStatusException", makeString(se));
+ }
- logger.info("??? StateTransition testcase 304");
- se = st.getEndingState(LOCKED, ENABLED, FAILED, COLDSTANDBY, DEMOTE);
- assertEquals("coldstandby,locked,enabled,null,", makeString(se));
+ @Test
+ public void test408() throws StateTransitionException {
+ assertEquals("coldstandby,locked,disabled,null,", makeString(LOCKED, DISABLED, "null", HOTSTANDBY, DEMOTE));
- logger.info("??? StateTransition testcase 305");
- se = st.getEndingState(LOCKED, ENABLED, FAILED, HOTSTANDBY, DEMOTE);
- assertEquals("coldstandby,locked,enabled,null,", makeString(se));
+ }
- logger.info("??? StateTransition testcase 306");
- se = st.getEndingState(LOCKED, ENABLED, FAILED, HOTSTANDBY, UNLOCK);
- assertEquals("hotstandby,unlocked,enabled,null,", makeString(se));
+ @Test
+ public void test409() throws StateTransitionException {
+ assertEquals("coldstandby,locked,disabled,null,",
+ makeString(LOCKED, DISABLED, "null", PROVIDINGSERVICE, DEMOTE));
- logger.info("??? StateTransition testcase 307");
- se = st.getEndingState(LOCKED, ENABLED, FAILED, HOTSTANDBY, DISABLE_FAILED);
- assertEquals("coldstandby,locked,disabled,failed,", makeString(se));
+ }
- logger.info("??? StateTransition testcase 308");
- se = st.getEndingState(LOCKED, ENABLED, FAILED, HOTSTANDBY, ENABLE_NOT_FAILED);
- assertEquals("coldstandby,locked,enabled,null,", makeString(se));
+ @Test
+ public void test410() throws StateTransitionException {
+ assertEquals("coldstandby,unlocked,disabled,null,",
+ makeString(LOCKED, DISABLED, "null", PROVIDINGSERVICE, UNLOCK));
- logger.info("??? StateTransition testcase 309");
- se = st.getEndingState(LOCKED, ENABLED, FAILED, HOTSTANDBY, DISABLE_DEPENDENCY);
- assertEquals("coldstandby,locked,disabled,dependency,", makeString(se));
+ }
- logger.info("??? StateTransition testcase 310");
- se = st.getEndingState(LOCKED, ENABLED, FAILED, HOTSTANDBY, ENABLE_NO_DEPENDENCY);
- assertEquals("coldstandby,locked,enabled,null,", makeString(se));
+ @Test
+ public void test411() throws StateTransitionException {
+ assertEquals("coldstandby,locked,disabled,failed,",
+ makeString(LOCKED, DISABLED, "null", PROVIDINGSERVICE, DISABLE_FAILED));
- logger.info("??? StateTransition testcase 311");
- se = st.getEndingState(LOCKED, ENABLED, FAILED, HOTSTANDBY, PROMOTE);
- assertEquals("coldstandby,locked,enabled,null,StandbyStatusException", makeString(se));
+ }
- logger.info("??? StateTransition testcase 312");
- se = st.getEndingState(LOCKED, ENABLED, FAILED, HOTSTANDBY, DEMOTE);
- assertEquals("coldstandby,locked,enabled,null,", makeString(se));
+ @Test
+ public void test412() throws StateTransitionException {
+ assertEquals("coldstandby,locked,enabled,null,",
+ makeString(LOCKED, DISABLED, "null", PROVIDINGSERVICE, ENABLE_NOT_FAILED));
- logger.info("??? StateTransition testcase 313");
- se = st.getEndingState(LOCKED, ENABLED, FAILED, PROVIDINGSERVICE, DEMOTE);
- assertEquals("coldstandby,locked,enabled,null,", makeString(se));
+ }
- logger.info("??? StateTransition testcase 314");
- se = st.getEndingState(LOCKED, ENABLED, FAILED, PROVIDINGSERVICE, UNLOCK);
- assertEquals("hotstandby,unlocked,enabled,null,", makeString(se));
+ @Test
+ public void test413() throws StateTransitionException {
+ assertEquals("coldstandby,locked,disabled,dependency,",
+ makeString(LOCKED, DISABLED, "null", PROVIDINGSERVICE, DISABLE_DEPENDENCY));
- logger.info("??? StateTransition testcase 315");
- se = st.getEndingState(LOCKED, ENABLED, FAILED, PROVIDINGSERVICE, DISABLE_FAILED);
- assertEquals("coldstandby,locked,disabled,failed,", makeString(se));
+ }
- logger.info("??? StateTransition testcase 316");
- se = st.getEndingState(LOCKED, ENABLED, FAILED, PROVIDINGSERVICE, ENABLE_NOT_FAILED);
- assertEquals("coldstandby,locked,enabled,null,", makeString(se));
+ @Test
+ public void test414() throws StateTransitionException {
+ assertEquals("coldstandby,locked,enabled,null,",
+ makeString(LOCKED, DISABLED, "null", PROVIDINGSERVICE, ENABLE_NO_DEPENDENCY));
- logger.info("??? StateTransition testcase 317");
- se = st.getEndingState(LOCKED, ENABLED, FAILED, PROVIDINGSERVICE, DISABLE_DEPENDENCY);
- assertEquals("coldstandby,locked,disabled,dependency,", makeString(se));
+ }
- logger.info("??? StateTransition testcase 318");
- se = st.getEndingState(LOCKED, ENABLED, FAILED, PROVIDINGSERVICE, ENABLE_NO_DEPENDENCY);
- assertEquals("coldstandby,locked,enabled,null,", makeString(se));
+ @Test
+ public void test415() throws StateTransitionException {
+ assertEquals("coldstandby,locked,disabled,null,StandbyStatusException",
+ makeString(LOCKED, DISABLED, "null", PROVIDINGSERVICE, PROMOTE));
- logger.info("??? StateTransition testcase 319");
- se = st.getEndingState(LOCKED, ENABLED, FAILED, PROVIDINGSERVICE, PROMOTE);
- assertEquals("coldstandby,locked,enabled,null,StandbyStatusException", makeString(se));
+ }
- logger.info("??? StateTransition testcase 320");
- se = st.getEndingState(LOCKED, ENABLED, FAILED, PROVIDINGSERVICE, DEMOTE);
- assertEquals("coldstandby,locked,enabled,null,", makeString(se));
+ @Test
+ public void test416() throws StateTransitionException {
+ assertEquals("coldstandby,locked,disabled,null,",
+ makeString(LOCKED, DISABLED, "null", PROVIDINGSERVICE, DEMOTE));
- logger.info("??? StateTransition testcase 321");
- se = st.getEndingState(LOCKED, ENABLED, DEPENDENCY, "null", DEMOTE);
- assertEquals("coldstandby,locked,enabled,null,", makeString(se));
+ }
- logger.info("??? StateTransition testcase 322");
- se = st.getEndingState(LOCKED, ENABLED, DEPENDENCY, "null", UNLOCK);
- assertEquals("null,unlocked,enabled,null,", makeString(se));
+ @Test
+ public void test417() throws StateTransitionException {
+ assertEquals("coldstandby,locked,disabled,failed,", makeString(LOCKED, DISABLED, FAILED, "null", DEMOTE));
- logger.info("??? StateTransition testcase 323");
- se = st.getEndingState(LOCKED, ENABLED, DEPENDENCY, "null", DISABLE_FAILED);
- assertEquals("null,locked,disabled,failed,", makeString(se));
+ }
- logger.info("??? StateTransition testcase 324");
- se = st.getEndingState(LOCKED, ENABLED, DEPENDENCY, "null", ENABLE_NOT_FAILED);
- assertEquals("null,locked,enabled,null,", makeString(se));
+ @Test
+ public void test418() throws StateTransitionException {
+ assertEquals("null,unlocked,disabled,failed,", makeString(LOCKED, DISABLED, FAILED, "null", UNLOCK));
- logger.info("??? StateTransition testcase 325");
- se = st.getEndingState(LOCKED, ENABLED, DEPENDENCY, "null", DISABLE_DEPENDENCY);
- assertEquals("null,locked,disabled,dependency,", makeString(se));
+ }
- logger.info("??? StateTransition testcase 326");
- se = st.getEndingState(LOCKED, ENABLED, DEPENDENCY, "null", ENABLE_NO_DEPENDENCY);
- assertEquals("null,locked,enabled,null,", makeString(se));
+ @Test
+ public void test419() throws StateTransitionException {
+ assertEquals("null,locked,disabled,failed,", makeString(LOCKED, DISABLED, FAILED, "null", DISABLE_FAILED));
- logger.info("??? StateTransition testcase 327");
- se = st.getEndingState(LOCKED, ENABLED, DEPENDENCY, "null", PROMOTE);
- assertEquals("coldstandby,locked,enabled,null,StandbyStatusException", makeString(se));
+ }
- logger.info("??? StateTransition testcase 328");
- se = st.getEndingState(LOCKED, ENABLED, DEPENDENCY, "null", DEMOTE);
- assertEquals("coldstandby,locked,enabled,null,", makeString(se));
+ @Test
+ public void test420() throws StateTransitionException {
+ assertEquals("null,locked,enabled,null,", makeString(LOCKED, DISABLED, FAILED, "null", ENABLE_NOT_FAILED));
- logger.info("??? StateTransition testcase 329");
- se = st.getEndingState(LOCKED, ENABLED, DEPENDENCY, COLDSTANDBY, DEMOTE);
- assertEquals("coldstandby,locked,enabled,null,", makeString(se));
+ }
- logger.info("??? StateTransition testcase 330");
- se = st.getEndingState(LOCKED, ENABLED, DEPENDENCY, COLDSTANDBY, UNLOCK);
- assertEquals("hotstandby,unlocked,enabled,null,", makeString(se));
+ @Test
+ public void test421() throws StateTransitionException {
+ assertEquals("null,locked,disabled,dependency,failed,",
+ makeString(LOCKED, DISABLED, FAILED, "null", DISABLE_DEPENDENCY));
- logger.info("??? StateTransition testcase 331");
- se = st.getEndingState(LOCKED, ENABLED, DEPENDENCY, COLDSTANDBY, DISABLE_FAILED);
- assertEquals("coldstandby,locked,disabled,failed,", makeString(se));
+ }
- logger.info("??? StateTransition testcase 332");
- se = st.getEndingState(LOCKED, ENABLED, DEPENDENCY, COLDSTANDBY, ENABLE_NOT_FAILED);
- assertEquals("coldstandby,locked,enabled,null,", makeString(se));
+ @Test
+ public void test422() throws StateTransitionException {
+ assertEquals("null,locked,disabled,failed,",
+ makeString(LOCKED, DISABLED, FAILED, "null", ENABLE_NO_DEPENDENCY));
- logger.info("??? StateTransition testcase 333");
- se = st.getEndingState(LOCKED, ENABLED, DEPENDENCY, COLDSTANDBY, DISABLE_DEPENDENCY);
- assertEquals("coldstandby,locked,disabled,dependency,", makeString(se));
+ }
- logger.info("??? StateTransition testcase 334");
- se = st.getEndingState(LOCKED, ENABLED, DEPENDENCY, COLDSTANDBY, ENABLE_NO_DEPENDENCY);
- assertEquals("coldstandby,locked,enabled,null,", makeString(se));
+ @Test
+ public void test423() throws StateTransitionException {
+ assertEquals("coldstandby,locked,disabled,failed,StandbyStatusException",
+ makeString(LOCKED, DISABLED, FAILED, "null", PROMOTE));
- logger.info("??? StateTransition testcase 335");
- se = st.getEndingState(LOCKED, ENABLED, DEPENDENCY, COLDSTANDBY, PROMOTE);
- assertEquals("coldstandby,locked,enabled,null,StandbyStatusException", makeString(se));
+ }
- logger.info("??? StateTransition testcase 336");
- se = st.getEndingState(LOCKED, ENABLED, DEPENDENCY, COLDSTANDBY, DEMOTE);
- assertEquals("coldstandby,locked,enabled,null,", makeString(se));
+ @Test
+ public void test424() throws StateTransitionException {
+ assertEquals("coldstandby,locked,disabled,failed,", makeString(LOCKED, DISABLED, FAILED, "null", DEMOTE));
- logger.info("??? StateTransition testcase 337");
- se = st.getEndingState(LOCKED, ENABLED, DEPENDENCY, HOTSTANDBY, DEMOTE);
- assertEquals("coldstandby,locked,enabled,null,", makeString(se));
+ }
- logger.info("??? StateTransition testcase 338");
- se = st.getEndingState(LOCKED, ENABLED, DEPENDENCY, HOTSTANDBY, UNLOCK);
- assertEquals("hotstandby,unlocked,enabled,null,", makeString(se));
+ @Test
+ public void test425() throws StateTransitionException {
+ assertEquals("coldstandby,locked,disabled,failed,", makeString(LOCKED, DISABLED, FAILED, COLDSTANDBY, DEMOTE));
- logger.info("??? StateTransition testcase 339");
- se = st.getEndingState(LOCKED, ENABLED, DEPENDENCY, HOTSTANDBY, DISABLE_FAILED);
- assertEquals("coldstandby,locked,disabled,failed,", makeString(se));
+ }
- logger.info("??? StateTransition testcase 340");
- se = st.getEndingState(LOCKED, ENABLED, DEPENDENCY, HOTSTANDBY, ENABLE_NOT_FAILED);
- assertEquals("coldstandby,locked,enabled,null,", makeString(se));
+ @Test
+ public void test426() throws StateTransitionException {
+ assertEquals("coldstandby,unlocked,disabled,failed,",
+ makeString(LOCKED, DISABLED, FAILED, COLDSTANDBY, UNLOCK));
- logger.info("??? StateTransition testcase 341");
- se = st.getEndingState(LOCKED, ENABLED, DEPENDENCY, HOTSTANDBY, DISABLE_DEPENDENCY);
- assertEquals("coldstandby,locked,disabled,dependency,", makeString(se));
+ }
- logger.info("??? StateTransition testcase 342");
- se = st.getEndingState(LOCKED, ENABLED, DEPENDENCY, HOTSTANDBY, ENABLE_NO_DEPENDENCY);
- assertEquals("coldstandby,locked,enabled,null,", makeString(se));
+ @Test
+ public void test427() throws StateTransitionException {
+ assertEquals("coldstandby,locked,disabled,failed,",
+ makeString(LOCKED, DISABLED, FAILED, COLDSTANDBY, DISABLE_FAILED));
- logger.info("??? StateTransition testcase 343");
- se = st.getEndingState(LOCKED, ENABLED, DEPENDENCY, HOTSTANDBY, PROMOTE);
- assertEquals("coldstandby,locked,enabled,null,StandbyStatusException", makeString(se));
+ }
- logger.info("??? StateTransition testcase 344");
- se = st.getEndingState(LOCKED, ENABLED, DEPENDENCY, HOTSTANDBY, DEMOTE);
- assertEquals("coldstandby,locked,enabled,null,", makeString(se));
+ @Test
+ public void test428() throws StateTransitionException {
+ assertEquals("coldstandby,locked,enabled,null,",
+ makeString(LOCKED, DISABLED, FAILED, COLDSTANDBY, ENABLE_NOT_FAILED));
- logger.info("??? StateTransition testcase 345");
- se = st.getEndingState(LOCKED, ENABLED, DEPENDENCY, PROVIDINGSERVICE, DEMOTE);
- assertEquals("coldstandby,locked,enabled,null,", makeString(se));
+ }
- logger.info("??? StateTransition testcase 346");
- se = st.getEndingState(LOCKED, ENABLED, DEPENDENCY, PROVIDINGSERVICE, UNLOCK);
- assertEquals("hotstandby,unlocked,enabled,null,", makeString(se));
+ @Test
+ public void test429() throws StateTransitionException {
+ assertEquals("coldstandby,locked,disabled,dependency,failed,",
+ makeString(LOCKED, DISABLED, FAILED, COLDSTANDBY, DISABLE_DEPENDENCY));
- logger.info("??? StateTransition testcase 347");
- se = st.getEndingState(LOCKED, ENABLED, DEPENDENCY, PROVIDINGSERVICE, DISABLE_FAILED);
- assertEquals("coldstandby,locked,disabled,failed,", makeString(se));
+ }
- logger.info("??? StateTransition testcase 348");
- se = st.getEndingState(LOCKED, ENABLED, DEPENDENCY, PROVIDINGSERVICE, ENABLE_NOT_FAILED);
- assertEquals("coldstandby,locked,enabled,null,", makeString(se));
+ @Test
+ public void test430() throws StateTransitionException {
+ assertEquals("coldstandby,locked,disabled,failed,",
+ makeString(LOCKED, DISABLED, FAILED, COLDSTANDBY, ENABLE_NO_DEPENDENCY));
- logger.info("??? StateTransition testcase 349");
- se = st.getEndingState(LOCKED, ENABLED, DEPENDENCY, PROVIDINGSERVICE, DISABLE_DEPENDENCY);
- assertEquals("coldstandby,locked,disabled,dependency,", makeString(se));
+ }
- logger.info("??? StateTransition testcase 350");
- se = st.getEndingState(LOCKED, ENABLED, DEPENDENCY, PROVIDINGSERVICE, ENABLE_NO_DEPENDENCY);
- assertEquals("coldstandby,locked,enabled,null,", makeString(se));
+ @Test
+ public void test431() throws StateTransitionException {
+ assertEquals("coldstandby,locked,disabled,failed,StandbyStatusException",
+ makeString(LOCKED, DISABLED, FAILED, COLDSTANDBY, PROMOTE));
- logger.info("??? StateTransition testcase 351");
- se = st.getEndingState(LOCKED, ENABLED, DEPENDENCY, PROVIDINGSERVICE, PROMOTE);
- assertEquals("coldstandby,locked,enabled,null,StandbyStatusException", makeString(se));
+ }
- logger.info("??? StateTransition testcase 352");
- se = st.getEndingState(LOCKED, ENABLED, DEPENDENCY, PROVIDINGSERVICE, DEMOTE);
- assertEquals("coldstandby,locked,enabled,null,", makeString(se));
+ @Test
+ public void test432() throws StateTransitionException {
+ assertEquals("coldstandby,locked,disabled,failed,", makeString(LOCKED, DISABLED, FAILED, COLDSTANDBY, DEMOTE));
- logger.info("??? StateTransition testcase 353");
- se = st.getEndingState(LOCKED, ENABLED, DEPENDENCY_FAILED, "null", DEMOTE);
- assertEquals("coldstandby,locked,enabled,null,", makeString(se));
+ }
- logger.info("??? StateTransition testcase 354");
- se = st.getEndingState(LOCKED, ENABLED, DEPENDENCY_FAILED, "null", UNLOCK);
- assertEquals("null,unlocked,enabled,null,", makeString(se));
+ @Test
+ public void test433() throws StateTransitionException {
+ assertEquals("coldstandby,locked,disabled,failed,", makeString(LOCKED, DISABLED, FAILED, HOTSTANDBY, DEMOTE));
- logger.info("??? StateTransition testcase 355");
- se = st.getEndingState(LOCKED, ENABLED, DEPENDENCY_FAILED, "null", DISABLE_FAILED);
- assertEquals("null,locked,disabled,failed,", makeString(se));
+ }
- logger.info("??? StateTransition testcase 356");
- se = st.getEndingState(LOCKED, ENABLED, DEPENDENCY_FAILED, "null", ENABLE_NOT_FAILED);
- assertEquals("null,locked,enabled,null,", makeString(se));
+ @Test
+ public void test434() throws StateTransitionException {
+ assertEquals("coldstandby,unlocked,disabled,failed,", makeString(LOCKED, DISABLED, FAILED, HOTSTANDBY, UNLOCK));
- logger.info("??? StateTransition testcase 357");
- se = st.getEndingState(LOCKED, ENABLED, DEPENDENCY_FAILED, "null", DISABLE_DEPENDENCY);
- assertEquals("null,locked,disabled,dependency,", makeString(se));
+ }
- logger.info("??? StateTransition testcase 358");
- se = st.getEndingState(LOCKED, ENABLED, DEPENDENCY_FAILED, "null", ENABLE_NO_DEPENDENCY);
- assertEquals("null,locked,enabled,null,", makeString(se));
+ @Test
+ public void test435() throws StateTransitionException {
+ assertEquals("coldstandby,locked,disabled,failed,",
+ makeString(LOCKED, DISABLED, FAILED, HOTSTANDBY, DISABLE_FAILED));
- logger.info("??? StateTransition testcase 359");
- se = st.getEndingState(LOCKED, ENABLED, DEPENDENCY_FAILED, "null", PROMOTE);
- assertEquals("coldstandby,locked,enabled,null,StandbyStatusException", makeString(se));
+ }
- logger.info("??? StateTransition testcase 360");
- se = st.getEndingState(LOCKED, ENABLED, DEPENDENCY_FAILED, "null", DEMOTE);
- assertEquals("coldstandby,locked,enabled,null,", makeString(se));
+ @Test
+ public void test436() throws StateTransitionException {
+ assertEquals("coldstandby,locked,enabled,null,",
+ makeString(LOCKED, DISABLED, FAILED, HOTSTANDBY, ENABLE_NOT_FAILED));
- logger.info("??? StateTransition testcase 361");
- se = st.getEndingState(LOCKED, ENABLED, DEPENDENCY_FAILED, COLDSTANDBY, DEMOTE);
- assertEquals("coldstandby,locked,enabled,null,", makeString(se));
+ }
- logger.info("??? StateTransition testcase 362");
- se = st.getEndingState(LOCKED, ENABLED, DEPENDENCY_FAILED, COLDSTANDBY, UNLOCK);
- assertEquals("hotstandby,unlocked,enabled,null,", makeString(se));
+ @Test
+ public void test437() throws StateTransitionException {
+ assertEquals("coldstandby,locked,disabled,dependency,failed,",
+ makeString(LOCKED, DISABLED, FAILED, HOTSTANDBY, DISABLE_DEPENDENCY));
- logger.info("??? StateTransition testcase 363");
- se = st.getEndingState(LOCKED, ENABLED, DEPENDENCY_FAILED, COLDSTANDBY, DISABLE_FAILED);
- assertEquals("coldstandby,locked,disabled,failed,", makeString(se));
+ }
- logger.info("??? StateTransition testcase 364");
- se = st.getEndingState(LOCKED, ENABLED, DEPENDENCY_FAILED, COLDSTANDBY, ENABLE_NOT_FAILED);
- assertEquals("coldstandby,locked,enabled,null,", makeString(se));
+ @Test
+ public void test438() throws StateTransitionException {
+ assertEquals("coldstandby,locked,disabled,failed,",
+ makeString(LOCKED, DISABLED, FAILED, HOTSTANDBY, ENABLE_NO_DEPENDENCY));
- logger.info("??? StateTransition testcase 365");
- se = st.getEndingState(LOCKED, ENABLED, DEPENDENCY_FAILED, COLDSTANDBY, DISABLE_DEPENDENCY);
- assertEquals("coldstandby,locked,disabled,dependency,", makeString(se));
+ }
- logger.info("??? StateTransition testcase 366");
- se = st.getEndingState(LOCKED, ENABLED, DEPENDENCY_FAILED, COLDSTANDBY, ENABLE_NO_DEPENDENCY);
- assertEquals("coldstandby,locked,enabled,null,", makeString(se));
+ @Test
+ public void test439() throws StateTransitionException {
+ assertEquals("coldstandby,locked,disabled,failed,StandbyStatusException",
+ makeString(LOCKED, DISABLED, FAILED, HOTSTANDBY, PROMOTE));
- logger.info("??? StateTransition testcase 367");
- se = st.getEndingState(LOCKED, ENABLED, DEPENDENCY_FAILED, COLDSTANDBY, PROMOTE);
- assertEquals("coldstandby,locked,enabled,null,StandbyStatusException", makeString(se));
+ }
- logger.info("??? StateTransition testcase 368");
- se = st.getEndingState(LOCKED, ENABLED, DEPENDENCY_FAILED, COLDSTANDBY, DEMOTE);
- assertEquals("coldstandby,locked,enabled,null,", makeString(se));
+ @Test
+ public void test440() throws StateTransitionException {
+ assertEquals("coldstandby,locked,disabled,failed,", makeString(LOCKED, DISABLED, FAILED, HOTSTANDBY, DEMOTE));
- logger.info("??? StateTransition testcase 369");
- se = st.getEndingState(LOCKED, ENABLED, DEPENDENCY_FAILED, HOTSTANDBY, DEMOTE);
- assertEquals("coldstandby,locked,enabled,null,", makeString(se));
+ }
- logger.info("??? StateTransition testcase 370");
- se = st.getEndingState(LOCKED, ENABLED, DEPENDENCY_FAILED, HOTSTANDBY, UNLOCK);
- assertEquals("hotstandby,unlocked,enabled,null,", makeString(se));
+ @Test
+ public void test441() throws StateTransitionException {
+ assertEquals("coldstandby,locked,disabled,failed,",
+ makeString(LOCKED, DISABLED, FAILED, PROVIDINGSERVICE, DEMOTE));
- logger.info("??? StateTransition testcase 371");
- se = st.getEndingState(LOCKED, ENABLED, DEPENDENCY_FAILED, HOTSTANDBY, DISABLE_FAILED);
- assertEquals("coldstandby,locked,disabled,failed,", makeString(se));
+ }
- logger.info("??? StateTransition testcase 372");
- se = st.getEndingState(LOCKED, ENABLED, DEPENDENCY_FAILED, HOTSTANDBY, ENABLE_NOT_FAILED);
- assertEquals("coldstandby,locked,enabled,null,", makeString(se));
+ @Test
+ public void test442() throws StateTransitionException {
+ assertEquals("coldstandby,unlocked,disabled,failed,",
+ makeString(LOCKED, DISABLED, FAILED, PROVIDINGSERVICE, UNLOCK));
- logger.info("??? StateTransition testcase 373");
- se = st.getEndingState(LOCKED, ENABLED, DEPENDENCY_FAILED, HOTSTANDBY, DISABLE_DEPENDENCY);
- assertEquals("coldstandby,locked,disabled,dependency,", makeString(se));
+ }
- logger.info("??? StateTransition testcase 374");
- se = st.getEndingState(LOCKED, ENABLED, DEPENDENCY_FAILED, HOTSTANDBY, ENABLE_NO_DEPENDENCY);
- assertEquals("coldstandby,locked,enabled,null,", makeString(se));
+ @Test
+ public void test443() throws StateTransitionException {
+ assertEquals("coldstandby,locked,disabled,failed,",
+ makeString(LOCKED, DISABLED, FAILED, PROVIDINGSERVICE, DISABLE_FAILED));
- logger.info("??? StateTransition testcase 375");
- se = st.getEndingState(LOCKED, ENABLED, DEPENDENCY_FAILED, HOTSTANDBY, PROMOTE);
- assertEquals("coldstandby,locked,enabled,null,StandbyStatusException", makeString(se));
+ }
- logger.info("??? StateTransition testcase 376");
- se = st.getEndingState(LOCKED, ENABLED, DEPENDENCY_FAILED, HOTSTANDBY, DEMOTE);
- assertEquals("coldstandby,locked,enabled,null,", makeString(se));
+ @Test
+ public void test444() throws StateTransitionException {
+ assertEquals("coldstandby,locked,enabled,null,",
+ makeString(LOCKED, DISABLED, FAILED, PROVIDINGSERVICE, ENABLE_NOT_FAILED));
- logger.info("??? StateTransition testcase 377");
- se = st.getEndingState(LOCKED, ENABLED, DEPENDENCY_FAILED, PROVIDINGSERVICE, DEMOTE);
- assertEquals("coldstandby,locked,enabled,null,", makeString(se));
+ }
- logger.info("??? StateTransition testcase 378");
- se = st.getEndingState(LOCKED, ENABLED, DEPENDENCY_FAILED, PROVIDINGSERVICE, UNLOCK);
- assertEquals("hotstandby,unlocked,enabled,null,", makeString(se));
+ @Test
+ public void test445() throws StateTransitionException {
+ assertEquals("coldstandby,locked,disabled,dependency,failed,",
+ makeString(LOCKED, DISABLED, FAILED, PROVIDINGSERVICE, DISABLE_DEPENDENCY));
- logger.info("??? StateTransition testcase 379");
- se = st.getEndingState(LOCKED, ENABLED, DEPENDENCY_FAILED, PROVIDINGSERVICE, DISABLE_FAILED);
- assertEquals("coldstandby,locked,disabled,failed,", makeString(se));
+ }
- logger.info("??? StateTransition testcase 380");
- se = st.getEndingState(LOCKED, ENABLED, DEPENDENCY_FAILED, PROVIDINGSERVICE, ENABLE_NOT_FAILED);
- assertEquals("coldstandby,locked,enabled,null,", makeString(se));
+ @Test
+ public void test446() throws StateTransitionException {
+ assertEquals("coldstandby,locked,disabled,failed,",
+ makeString(LOCKED, DISABLED, FAILED, PROVIDINGSERVICE, ENABLE_NO_DEPENDENCY));
- logger.info("??? StateTransition testcase 381");
- se = st.getEndingState(LOCKED, ENABLED, DEPENDENCY_FAILED, PROVIDINGSERVICE,
- DISABLE_DEPENDENCY);
- assertEquals("coldstandby,locked,disabled,dependency,", makeString(se));
-
- logger.info("??? StateTransition testcase 382");
- se = st.getEndingState(LOCKED, ENABLED, DEPENDENCY_FAILED, PROVIDINGSERVICE,
- ENABLE_NO_DEPENDENCY);
- assertEquals("coldstandby,locked,enabled,null,", makeString(se));
+ }
- logger.info("??? StateTransition testcase 383");
- se = st.getEndingState(LOCKED, ENABLED, DEPENDENCY_FAILED, PROVIDINGSERVICE, PROMOTE);
- assertEquals("coldstandby,locked,enabled,null,StandbyStatusException", makeString(se));
+ @Test
+ public void test447() throws StateTransitionException {
+ assertEquals("coldstandby,locked,disabled,failed,StandbyStatusException",
+ makeString(LOCKED, DISABLED, FAILED, PROVIDINGSERVICE, PROMOTE));
- logger.info("??? StateTransition testcase 384");
- se = st.getEndingState(LOCKED, ENABLED, DEPENDENCY_FAILED, PROVIDINGSERVICE, DEMOTE);
- assertEquals("coldstandby,locked,enabled,null,", makeString(se));
+ }
- logger.info("??? StateTransition testcase 385");
- se = st.getEndingState(LOCKED, DISABLED, "null", "null", DEMOTE);
- assertEquals("coldstandby,locked,disabled,null,", makeString(se));
+ @Test
+ public void test448() throws StateTransitionException {
+ assertEquals("coldstandby,locked,disabled,failed,",
+ makeString(LOCKED, DISABLED, FAILED, PROVIDINGSERVICE, DEMOTE));
- logger.info("??? StateTransition testcase 386");
- se = st.getEndingState(LOCKED, DISABLED, "null", "null", UNLOCK);
- assertEquals("null,unlocked,disabled,null,", makeString(se));
+ }
- logger.info("??? StateTransition testcase 387");
- se = st.getEndingState(LOCKED, DISABLED, "null", "null", DISABLE_FAILED);
- assertEquals("null,locked,disabled,failed,", makeString(se));
+ @Test
+ public void test449() throws StateTransitionException {
+ assertEquals("coldstandby,locked,disabled,dependency,",
+ makeString(LOCKED, DISABLED, DEPENDENCY, "null", DEMOTE));
- logger.info("??? StateTransition testcase 388");
- se = st.getEndingState(LOCKED, DISABLED, "null", "null", ENABLE_NOT_FAILED);
- assertEquals("null,locked,enabled,null,", makeString(se));
+ }
- logger.info("??? StateTransition testcase 389");
- se = st.getEndingState(LOCKED, DISABLED, "null", "null", DISABLE_DEPENDENCY);
- assertEquals("null,locked,disabled,dependency,", makeString(se));
+ @Test
+ public void test450() throws StateTransitionException {
+ assertEquals("null,unlocked,disabled,dependency,", makeString(LOCKED, DISABLED, DEPENDENCY, "null", UNLOCK));
- logger.info("??? StateTransition testcase 390");
- se = st.getEndingState(LOCKED, DISABLED, "null", "null", ENABLE_NO_DEPENDENCY);
- assertEquals("null,locked,enabled,null,", makeString(se));
+ }
- logger.info("??? StateTransition testcase 391");
- se = st.getEndingState(LOCKED, DISABLED, "null", "null", PROMOTE);
- assertEquals("coldstandby,locked,disabled,null,StandbyStatusException", makeString(se));
+ @Test
+ public void test451() throws StateTransitionException {
+ assertEquals("null,locked,disabled,dependency,failed,",
+ makeString(LOCKED, DISABLED, DEPENDENCY, "null", DISABLE_FAILED));
- logger.info("??? StateTransition testcase 392");
- se = st.getEndingState(LOCKED, DISABLED, "null", "null", DEMOTE);
- assertEquals("coldstandby,locked,disabled,null,", makeString(se));
+ }
- logger.info("??? StateTransition testcase 393");
- se = st.getEndingState(LOCKED, DISABLED, "null", COLDSTANDBY, DEMOTE);
- assertEquals("coldstandby,locked,disabled,null,", makeString(se));
+ @Test
+ public void test452() throws StateTransitionException {
+ assertEquals("null,locked,disabled,dependency,",
+ makeString(LOCKED, DISABLED, DEPENDENCY, "null", ENABLE_NOT_FAILED));
- logger.info("??? StateTransition testcase 394");
- se = st.getEndingState(LOCKED, DISABLED, "null", COLDSTANDBY, UNLOCK);
- assertEquals("coldstandby,unlocked,disabled,null,", makeString(se));
+ }
- logger.info("??? StateTransition testcase 395");
- se = st.getEndingState(LOCKED, DISABLED, "null", COLDSTANDBY, DISABLE_FAILED);
- assertEquals("coldstandby,locked,disabled,failed,", makeString(se));
+ @Test
+ public void test453() throws StateTransitionException {
+ assertEquals("null,locked,disabled,dependency,",
+ makeString(LOCKED, DISABLED, DEPENDENCY, "null", DISABLE_DEPENDENCY));
- logger.info("??? StateTransition testcase 396");
- se = st.getEndingState(LOCKED, DISABLED, "null", COLDSTANDBY, ENABLE_NOT_FAILED);
- assertEquals("coldstandby,locked,enabled,null,", makeString(se));
+ }
- logger.info("??? StateTransition testcase 397");
- se = st.getEndingState(LOCKED, DISABLED, "null", COLDSTANDBY, DISABLE_DEPENDENCY);
- assertEquals("coldstandby,locked,disabled,dependency,", makeString(se));
+ @Test
+ public void test454() throws StateTransitionException {
+ assertEquals("null,locked,enabled,null,",
+ makeString(LOCKED, DISABLED, DEPENDENCY, "null", ENABLE_NO_DEPENDENCY));
- logger.info("??? StateTransition testcase 398");
- se = st.getEndingState(LOCKED, DISABLED, "null", COLDSTANDBY, ENABLE_NO_DEPENDENCY);
- assertEquals("coldstandby,locked,enabled,null,", makeString(se));
+ }
- logger.info("??? StateTransition testcase 399");
- se = st.getEndingState(LOCKED, DISABLED, "null", COLDSTANDBY, PROMOTE);
- assertEquals("coldstandby,locked,disabled,null,StandbyStatusException", makeString(se));
+ @Test
+ public void test455() throws StateTransitionException {
+ assertEquals("coldstandby,locked,disabled,dependency,StandbyStatusException",
+ makeString(LOCKED, DISABLED, DEPENDENCY, "null", PROMOTE));
- logger.info("??? StateTransition testcase 400");
- se = st.getEndingState(LOCKED, DISABLED, "null", COLDSTANDBY, DEMOTE);
- assertEquals("coldstandby,locked,disabled,null,", makeString(se));
+ }
- logger.info("??? StateTransition testcase 401");
- se = st.getEndingState(LOCKED, DISABLED, "null", HOTSTANDBY, DEMOTE);
- assertEquals("coldstandby,locked,disabled,null,", makeString(se));
+ @Test
+ public void test456() throws StateTransitionException {
+ assertEquals("coldstandby,locked,disabled,dependency,",
+ makeString(LOCKED, DISABLED, DEPENDENCY, "null", DEMOTE));
- logger.info("??? StateTransition testcase 402");
- se = st.getEndingState(LOCKED, DISABLED, "null", HOTSTANDBY, UNLOCK);
- assertEquals("coldstandby,unlocked,disabled,null,", makeString(se));
+ }
- logger.info("??? StateTransition testcase 403");
- se = st.getEndingState(LOCKED, DISABLED, "null", HOTSTANDBY, DISABLE_FAILED);
- assertEquals("coldstandby,locked,disabled,failed,", makeString(se));
+ @Test
+ public void test457() throws StateTransitionException {
+ assertEquals("coldstandby,locked,disabled,dependency,",
+ makeString(LOCKED, DISABLED, DEPENDENCY, COLDSTANDBY, DEMOTE));
- logger.info("??? StateTransition testcase 404");
- se = st.getEndingState(LOCKED, DISABLED, "null", HOTSTANDBY, ENABLE_NOT_FAILED);
- assertEquals("coldstandby,locked,enabled,null,", makeString(se));
+ }
- logger.info("??? StateTransition testcase 405");
- se = st.getEndingState(LOCKED, DISABLED, "null", HOTSTANDBY, DISABLE_DEPENDENCY);
- assertEquals("coldstandby,locked,disabled,dependency,", makeString(se));
+ @Test
+ public void test458() throws StateTransitionException {
+ assertEquals("coldstandby,unlocked,disabled,dependency,",
+ makeString(LOCKED, DISABLED, DEPENDENCY, COLDSTANDBY, UNLOCK));
- logger.info("??? StateTransition testcase 406");
- se = st.getEndingState(LOCKED, DISABLED, "null", HOTSTANDBY, ENABLE_NO_DEPENDENCY);
- assertEquals("coldstandby,locked,enabled,null,", makeString(se));
+ }
- logger.info("??? StateTransition testcase 407");
- se = st.getEndingState(LOCKED, DISABLED, "null", HOTSTANDBY, PROMOTE);
- assertEquals("coldstandby,locked,disabled,null,StandbyStatusException", makeString(se));
+ @Test
+ public void test459() throws StateTransitionException {
+ assertEquals("coldstandby,locked,disabled,dependency,failed,",
+ makeString(LOCKED, DISABLED, DEPENDENCY, COLDSTANDBY, DISABLE_FAILED));
- logger.info("??? StateTransition testcase 408");
- se = st.getEndingState(LOCKED, DISABLED, "null", HOTSTANDBY, DEMOTE);
- assertEquals("coldstandby,locked,disabled,null,", makeString(se));
+ }
- logger.info("??? StateTransition testcase 409");
- se = st.getEndingState(LOCKED, DISABLED, "null", PROVIDINGSERVICE, DEMOTE);
- assertEquals("coldstandby,locked,disabled,null,", makeString(se));
+ @Test
+ public void test460() throws StateTransitionException {
+ assertEquals("coldstandby,locked,disabled,dependency,",
+ makeString(LOCKED, DISABLED, DEPENDENCY, COLDSTANDBY, ENABLE_NOT_FAILED));
- logger.info("??? StateTransition testcase 410");
- se = st.getEndingState(LOCKED, DISABLED, "null", PROVIDINGSERVICE, UNLOCK);
- assertEquals("coldstandby,unlocked,disabled,null,", makeString(se));
+ }
- logger.info("??? StateTransition testcase 411");
- se = st.getEndingState(LOCKED, DISABLED, "null", PROVIDINGSERVICE, DISABLE_FAILED);
- assertEquals("coldstandby,locked,disabled,failed,", makeString(se));
+ @Test
+ public void test461() throws StateTransitionException {
+ assertEquals("coldstandby,locked,disabled,dependency,",
+ makeString(LOCKED, DISABLED, DEPENDENCY, COLDSTANDBY, DISABLE_DEPENDENCY));
- logger.info("??? StateTransition testcase 412");
- se = st.getEndingState(LOCKED, DISABLED, "null", PROVIDINGSERVICE, ENABLE_NOT_FAILED);
- assertEquals("coldstandby,locked,enabled,null,", makeString(se));
+ }
- logger.info("??? StateTransition testcase 413");
- se = st.getEndingState(LOCKED, DISABLED, "null", PROVIDINGSERVICE, DISABLE_DEPENDENCY);
- assertEquals("coldstandby,locked,disabled,dependency,", makeString(se));
+ @Test
+ public void test462() throws StateTransitionException {
+ assertEquals("coldstandby,locked,enabled,null,",
+ makeString(LOCKED, DISABLED, DEPENDENCY, COLDSTANDBY, ENABLE_NO_DEPENDENCY));
- logger.info("??? StateTransition testcase 414");
- se = st.getEndingState(LOCKED, DISABLED, "null", PROVIDINGSERVICE, ENABLE_NO_DEPENDENCY);
- assertEquals("coldstandby,locked,enabled,null,", makeString(se));
+ }
- logger.info("??? StateTransition testcase 415");
- se = st.getEndingState(LOCKED, DISABLED, "null", PROVIDINGSERVICE, PROMOTE);
- assertEquals("coldstandby,locked,disabled,null,StandbyStatusException", makeString(se));
+ @Test
+ public void test463() throws StateTransitionException {
+ assertEquals("coldstandby,locked,disabled,dependency,StandbyStatusException",
+ makeString(LOCKED, DISABLED, DEPENDENCY, COLDSTANDBY, PROMOTE));
- logger.info("??? StateTransition testcase 416");
- se = st.getEndingState(LOCKED, DISABLED, "null", PROVIDINGSERVICE, DEMOTE);
- assertEquals("coldstandby,locked,disabled,null,", makeString(se));
+ }
- logger.info("??? StateTransition testcase 417");
- se = st.getEndingState(LOCKED, DISABLED, FAILED, "null", DEMOTE);
- assertEquals("coldstandby,locked,disabled,failed,", makeString(se));
+ @Test
+ public void test464() throws StateTransitionException {
+ assertEquals("coldstandby,locked,disabled,dependency,",
+ makeString(LOCKED, DISABLED, DEPENDENCY, COLDSTANDBY, DEMOTE));
- logger.info("??? StateTransition testcase 418");
- se = st.getEndingState(LOCKED, DISABLED, FAILED, "null", UNLOCK);
- assertEquals("null,unlocked,disabled,failed,", makeString(se));
+ }
- logger.info("??? StateTransition testcase 419");
- se = st.getEndingState(LOCKED, DISABLED, FAILED, "null", DISABLE_FAILED);
- assertEquals("null,locked,disabled,failed,", makeString(se));
+ @Test
+ public void test465() throws StateTransitionException {
+ assertEquals("coldstandby,locked,disabled,dependency,",
+ makeString(LOCKED, DISABLED, DEPENDENCY, HOTSTANDBY, DEMOTE));
- logger.info("??? StateTransition testcase 420");
- se = st.getEndingState(LOCKED, DISABLED, FAILED, "null", ENABLE_NOT_FAILED);
- assertEquals("null,locked,enabled,null,", makeString(se));
+ }
- logger.info("??? StateTransition testcase 421");
- se = st.getEndingState(LOCKED, DISABLED, FAILED, "null", DISABLE_DEPENDENCY);
- assertEquals("null,locked,disabled,dependency,failed,", makeString(se));
+ @Test
+ public void test466() throws StateTransitionException {
+ assertEquals("coldstandby,unlocked,disabled,dependency,",
+ makeString(LOCKED, DISABLED, DEPENDENCY, HOTSTANDBY, UNLOCK));
- logger.info("??? StateTransition testcase 422");
- se = st.getEndingState(LOCKED, DISABLED, FAILED, "null", ENABLE_NO_DEPENDENCY);
- assertEquals("null,locked,disabled,failed,", makeString(se));
+ }
- logger.info("??? StateTransition testcase 423");
- se = st.getEndingState(LOCKED, DISABLED, FAILED, "null", PROMOTE);
- assertEquals("coldstandby,locked,disabled,failed,StandbyStatusException", makeString(se));
+ @Test
+ public void test467() throws StateTransitionException {
+ assertEquals("coldstandby,locked,disabled,dependency,failed,",
+ makeString(LOCKED, DISABLED, DEPENDENCY, HOTSTANDBY, DISABLE_FAILED));
- logger.info("??? StateTransition testcase 424");
- se = st.getEndingState(LOCKED, DISABLED, FAILED, "null", DEMOTE);
- assertEquals("coldstandby,locked,disabled,failed,", makeString(se));
+ }
- logger.info("??? StateTransition testcase 425");
- se = st.getEndingState(LOCKED, DISABLED, FAILED, COLDSTANDBY, DEMOTE);
- assertEquals("coldstandby,locked,disabled,failed,", makeString(se));
+ @Test
+ public void test468() throws StateTransitionException {
+ assertEquals("coldstandby,locked,disabled,dependency,",
+ makeString(LOCKED, DISABLED, DEPENDENCY, HOTSTANDBY, ENABLE_NOT_FAILED));
- logger.info("??? StateTransition testcase 426");
- se = st.getEndingState(LOCKED, DISABLED, FAILED, COLDSTANDBY, UNLOCK);
- assertEquals("coldstandby,unlocked,disabled,failed,", makeString(se));
+ }
- logger.info("??? StateTransition testcase 427");
- se = st.getEndingState(LOCKED, DISABLED, FAILED, COLDSTANDBY, DISABLE_FAILED);
- assertEquals("coldstandby,locked,disabled,failed,", makeString(se));
+ @Test
+ public void test469() throws StateTransitionException {
+ assertEquals("coldstandby,locked,disabled,dependency,",
+ makeString(LOCKED, DISABLED, DEPENDENCY, HOTSTANDBY, DISABLE_DEPENDENCY));
- logger.info("??? StateTransition testcase 428");
- se = st.getEndingState(LOCKED, DISABLED, FAILED, COLDSTANDBY, ENABLE_NOT_FAILED);
- assertEquals("coldstandby,locked,enabled,null,", makeString(se));
+ }
- logger.info("??? StateTransition testcase 429");
- se = st.getEndingState(LOCKED, DISABLED, FAILED, COLDSTANDBY, DISABLE_DEPENDENCY);
- assertEquals("coldstandby,locked,disabled,dependency,failed,", makeString(se));
+ @Test
+ public void test470() throws StateTransitionException {
+ assertEquals("coldstandby,locked,enabled,null,",
+ makeString(LOCKED, DISABLED, DEPENDENCY, HOTSTANDBY, ENABLE_NO_DEPENDENCY));
- logger.info("??? StateTransition testcase 430");
- se = st.getEndingState(LOCKED, DISABLED, FAILED, COLDSTANDBY, ENABLE_NO_DEPENDENCY);
- assertEquals("coldstandby,locked,disabled,failed,", makeString(se));
+ }
- logger.info("??? StateTransition testcase 431");
- se = st.getEndingState(LOCKED, DISABLED, FAILED, COLDSTANDBY, PROMOTE);
- assertEquals("coldstandby,locked,disabled,failed,StandbyStatusException", makeString(se));
+ @Test
+ public void test471() throws StateTransitionException {
+ assertEquals("coldstandby,locked,disabled,dependency,StandbyStatusException",
+ makeString(LOCKED, DISABLED, DEPENDENCY, HOTSTANDBY, PROMOTE));
- logger.info("??? StateTransition testcase 432");
- se = st.getEndingState(LOCKED, DISABLED, FAILED, COLDSTANDBY, DEMOTE);
- assertEquals("coldstandby,locked,disabled,failed,", makeString(se));
+ }
- logger.info("??? StateTransition testcase 433");
- se = st.getEndingState(LOCKED, DISABLED, FAILED, HOTSTANDBY, DEMOTE);
- assertEquals("coldstandby,locked,disabled,failed,", makeString(se));
+ @Test
+ public void test472() throws StateTransitionException {
+ assertEquals("coldstandby,locked,disabled,dependency,",
+ makeString(LOCKED, DISABLED, DEPENDENCY, HOTSTANDBY, DEMOTE));
- logger.info("??? StateTransition testcase 434");
- se = st.getEndingState(LOCKED, DISABLED, FAILED, HOTSTANDBY, UNLOCK);
- assertEquals("coldstandby,unlocked,disabled,failed,", makeString(se));
+ }
- logger.info("??? StateTransition testcase 435");
- se = st.getEndingState(LOCKED, DISABLED, FAILED, HOTSTANDBY, DISABLE_FAILED);
- assertEquals("coldstandby,locked,disabled,failed,", makeString(se));
+ @Test
+ public void test473() throws StateTransitionException {
+ assertEquals("coldstandby,locked,disabled,dependency,",
+ makeString(LOCKED, DISABLED, DEPENDENCY, PROVIDINGSERVICE, DEMOTE));
- logger.info("??? StateTransition testcase 436");
- se = st.getEndingState(LOCKED, DISABLED, FAILED, HOTSTANDBY, ENABLE_NOT_FAILED);
- assertEquals("coldstandby,locked,enabled,null,", makeString(se));
+ }
- logger.info("??? StateTransition testcase 437");
- se = st.getEndingState(LOCKED, DISABLED, FAILED, HOTSTANDBY, DISABLE_DEPENDENCY);
- assertEquals("coldstandby,locked,disabled,dependency,failed,", makeString(se));
+ @Test
+ public void test474() throws StateTransitionException {
+ assertEquals("coldstandby,unlocked,disabled,dependency,",
+ makeString(LOCKED, DISABLED, DEPENDENCY, PROVIDINGSERVICE, UNLOCK));
- logger.info("??? StateTransition testcase 438");
- se = st.getEndingState(LOCKED, DISABLED, FAILED, HOTSTANDBY, ENABLE_NO_DEPENDENCY);
- assertEquals("coldstandby,locked,disabled,failed,", makeString(se));
+ }
- logger.info("??? StateTransition testcase 439");
- se = st.getEndingState(LOCKED, DISABLED, FAILED, HOTSTANDBY, PROMOTE);
- assertEquals("coldstandby,locked,disabled,failed,StandbyStatusException", makeString(se));
+ @Test
+ public void test475() throws StateTransitionException {
+ assertEquals("coldstandby,locked,disabled,dependency,failed,",
+ makeString(LOCKED, DISABLED, DEPENDENCY, PROVIDINGSERVICE, DISABLE_FAILED));
- logger.info("??? StateTransition testcase 440");
- se = st.getEndingState(LOCKED, DISABLED, FAILED, HOTSTANDBY, DEMOTE);
- assertEquals("coldstandby,locked,disabled,failed,", makeString(se));
+ }
- logger.info("??? StateTransition testcase 441");
- se = st.getEndingState(LOCKED, DISABLED, FAILED, PROVIDINGSERVICE, DEMOTE);
- assertEquals("coldstandby,locked,disabled,failed,", makeString(se));
+ @Test
+ public void test476() throws StateTransitionException {
+ assertEquals("coldstandby,locked,disabled,dependency,",
+ makeString(LOCKED, DISABLED, DEPENDENCY, PROVIDINGSERVICE, ENABLE_NOT_FAILED));
- logger.info("??? StateTransition testcase 442");
- se = st.getEndingState(LOCKED, DISABLED, FAILED, PROVIDINGSERVICE, UNLOCK);
- assertEquals("coldstandby,unlocked,disabled,failed,", makeString(se));
+ }
- logger.info("??? StateTransition testcase 443");
- se = st.getEndingState(LOCKED, DISABLED, FAILED, PROVIDINGSERVICE, DISABLE_FAILED);
- assertEquals("coldstandby,locked,disabled,failed,", makeString(se));
+ @Test
+ public void test477() throws StateTransitionException {
+ assertEquals("coldstandby,locked,disabled,dependency,",
+ makeString(LOCKED, DISABLED, DEPENDENCY, PROVIDINGSERVICE, DISABLE_DEPENDENCY));
- logger.info("??? StateTransition testcase 444");
- se = st.getEndingState(LOCKED, DISABLED, FAILED, PROVIDINGSERVICE, ENABLE_NOT_FAILED);
- assertEquals("coldstandby,locked,enabled,null,", makeString(se));
+ }
- logger.info("??? StateTransition testcase 445");
- se = st.getEndingState(LOCKED, DISABLED, FAILED, PROVIDINGSERVICE, DISABLE_DEPENDENCY);
- assertEquals("coldstandby,locked,disabled,dependency,failed,", makeString(se));
+ @Test
+ public void test478() throws StateTransitionException {
+ assertEquals("coldstandby,locked,enabled,null,",
+ makeString(LOCKED, DISABLED, DEPENDENCY, PROVIDINGSERVICE, ENABLE_NO_DEPENDENCY));
- logger.info("??? StateTransition testcase 446");
- se = st.getEndingState(LOCKED, DISABLED, FAILED, PROVIDINGSERVICE, ENABLE_NO_DEPENDENCY);
- assertEquals("coldstandby,locked,disabled,failed,", makeString(se));
+ }
- logger.info("??? StateTransition testcase 447");
- se = st.getEndingState(LOCKED, DISABLED, FAILED, PROVIDINGSERVICE, PROMOTE);
- assertEquals("coldstandby,locked,disabled,failed,StandbyStatusException", makeString(se));
+ @Test
+ public void test479() throws StateTransitionException {
+ assertEquals("coldstandby,locked,disabled,dependency,StandbyStatusException",
+ makeString(LOCKED, DISABLED, DEPENDENCY, PROVIDINGSERVICE, PROMOTE));
- logger.info("??? StateTransition testcase 448");
- se = st.getEndingState(LOCKED, DISABLED, FAILED, PROVIDINGSERVICE, DEMOTE);
- assertEquals("coldstandby,locked,disabled,failed,", makeString(se));
+ }
- logger.info("??? StateTransition testcase 449");
- se = st.getEndingState(LOCKED, DISABLED, DEPENDENCY, "null", DEMOTE);
- assertEquals("coldstandby,locked,disabled,dependency,", makeString(se));
+ @Test
+ public void test480() throws StateTransitionException {
+ assertEquals("coldstandby,locked,disabled,dependency,",
+ makeString(LOCKED, DISABLED, DEPENDENCY, PROVIDINGSERVICE, DEMOTE));
- logger.info("??? StateTransition testcase 450");
- se = st.getEndingState(LOCKED, DISABLED, DEPENDENCY, "null", UNLOCK);
- assertEquals("null,unlocked,disabled,dependency,", makeString(se));
+ }
- logger.info("??? StateTransition testcase 451");
- se = st.getEndingState(LOCKED, DISABLED, DEPENDENCY, "null", DISABLE_FAILED);
- assertEquals("null,locked,disabled,dependency,failed,", makeString(se));
+ @Test
+ public void test481() throws StateTransitionException {
+ assertEquals("coldstandby,locked,disabled,dependency,failed,",
+ makeString(LOCKED, DISABLED, DEPENDENCY_FAILED, "null", DEMOTE));
- logger.info("??? StateTransition testcase 452");
- se = st.getEndingState(LOCKED, DISABLED, DEPENDENCY, "null", ENABLE_NOT_FAILED);
- assertEquals("null,locked,disabled,dependency,", makeString(se));
+ }
- logger.info("??? StateTransition testcase 453");
- se = st.getEndingState(LOCKED, DISABLED, DEPENDENCY, "null", DISABLE_DEPENDENCY);
- assertEquals("null,locked,disabled,dependency,", makeString(se));
+ @Test
+ public void test482() throws StateTransitionException {
+ assertEquals("null,unlocked,disabled,dependency,failed,",
+ makeString(LOCKED, DISABLED, DEPENDENCY_FAILED, "null", UNLOCK));
- logger.info("??? StateTransition testcase 454");
- se = st.getEndingState(LOCKED, DISABLED, DEPENDENCY, "null", ENABLE_NO_DEPENDENCY);
- assertEquals("null,locked,enabled,null,", makeString(se));
+ }
- logger.info("??? StateTransition testcase 455");
- se = st.getEndingState(LOCKED, DISABLED, DEPENDENCY, "null", PROMOTE);
- assertEquals("coldstandby,locked,disabled,dependency,StandbyStatusException", makeString(se));
+ @Test
+ public void test483() throws StateTransitionException {
+ assertEquals("null,locked,disabled,dependency,failed,",
+ makeString(LOCKED, DISABLED, DEPENDENCY_FAILED, "null", DISABLE_FAILED));
- logger.info("??? StateTransition testcase 456");
- se = st.getEndingState(LOCKED, DISABLED, DEPENDENCY, "null", DEMOTE);
- assertEquals("coldstandby,locked,disabled,dependency,", makeString(se));
+ }
- logger.info("??? StateTransition testcase 457");
- se = st.getEndingState(LOCKED, DISABLED, DEPENDENCY, COLDSTANDBY, DEMOTE);
- assertEquals("coldstandby,locked,disabled,dependency,", makeString(se));
+ @Test
+ public void test484() throws StateTransitionException {
+ assertEquals("null,locked,disabled,dependency,",
+ makeString(LOCKED, DISABLED, DEPENDENCY_FAILED, "null", ENABLE_NOT_FAILED));
- logger.info("??? StateTransition testcase 458");
- se = st.getEndingState(LOCKED, DISABLED, DEPENDENCY, COLDSTANDBY, UNLOCK);
- assertEquals("coldstandby,unlocked,disabled,dependency,", makeString(se));
+ }
- logger.info("??? StateTransition testcase 459");
- se = st.getEndingState(LOCKED, DISABLED, DEPENDENCY, COLDSTANDBY, DISABLE_FAILED);
- assertEquals("coldstandby,locked,disabled,dependency,failed,", makeString(se));
+ @Test
+ public void test485() throws StateTransitionException {
+ assertEquals("null,locked,disabled,dependency,failed,",
+ makeString(LOCKED, DISABLED, DEPENDENCY_FAILED, "null", DISABLE_DEPENDENCY));
- logger.info("??? StateTransition testcase 460");
- se = st.getEndingState(LOCKED, DISABLED, DEPENDENCY, COLDSTANDBY, ENABLE_NOT_FAILED);
- assertEquals("coldstandby,locked,disabled,dependency,", makeString(se));
+ }
- logger.info("??? StateTransition testcase 461");
- se = st.getEndingState(LOCKED, DISABLED, DEPENDENCY, COLDSTANDBY, DISABLE_DEPENDENCY);
- assertEquals("coldstandby,locked,disabled,dependency,", makeString(se));
+ @Test
+ public void test486() throws StateTransitionException {
+ assertEquals("null,locked,disabled,failed,",
+ makeString(LOCKED, DISABLED, DEPENDENCY_FAILED, "null", ENABLE_NO_DEPENDENCY));
- logger.info("??? StateTransition testcase 462");
- se = st.getEndingState(LOCKED, DISABLED, DEPENDENCY, COLDSTANDBY, ENABLE_NO_DEPENDENCY);
- assertEquals("coldstandby,locked,enabled,null,", makeString(se));
+ }
- logger.info("??? StateTransition testcase 463");
- se = st.getEndingState(LOCKED, DISABLED, DEPENDENCY, COLDSTANDBY, PROMOTE);
- assertEquals("coldstandby,locked,disabled,dependency,StandbyStatusException", makeString(se));
+ @Test
+ public void test487() throws StateTransitionException {
+ assertEquals("coldstandby,locked,disabled,dependency,failed,StandbyStatusException",
+ makeString(LOCKED, DISABLED, DEPENDENCY_FAILED, "null", PROMOTE));
- logger.info("??? StateTransition testcase 464");
- se = st.getEndingState(LOCKED, DISABLED, DEPENDENCY, COLDSTANDBY, DEMOTE);
- assertEquals("coldstandby,locked,disabled,dependency,", makeString(se));
+ }
- logger.info("??? StateTransition testcase 465");
- se = st.getEndingState(LOCKED, DISABLED, DEPENDENCY, HOTSTANDBY, DEMOTE);
- assertEquals("coldstandby,locked,disabled,dependency,", makeString(se));
+ @Test
+ public void test488() throws StateTransitionException {
+ assertEquals("coldstandby,locked,disabled,dependency,failed,",
+ makeString(LOCKED, DISABLED, DEPENDENCY_FAILED, "null", DEMOTE));
- logger.info("??? StateTransition testcase 466");
- se = st.getEndingState(LOCKED, DISABLED, DEPENDENCY, HOTSTANDBY, UNLOCK);
- assertEquals("coldstandby,unlocked,disabled,dependency,", makeString(se));
+ }
- logger.info("??? StateTransition testcase 467");
- se = st.getEndingState(LOCKED, DISABLED, DEPENDENCY, HOTSTANDBY, DISABLE_FAILED);
- assertEquals("coldstandby,locked,disabled,dependency,failed,", makeString(se));
+ @Test
+ public void test489() throws StateTransitionException {
+ assertEquals("coldstandby,locked,disabled,dependency,failed,",
+ makeString(LOCKED, DISABLED, DEPENDENCY_FAILED, COLDSTANDBY, DEMOTE));
- logger.info("??? StateTransition testcase 468");
- se = st.getEndingState(LOCKED, DISABLED, DEPENDENCY, HOTSTANDBY, ENABLE_NOT_FAILED);
- assertEquals("coldstandby,locked,disabled,dependency,", makeString(se));
+ }
- logger.info("??? StateTransition testcase 469");
- se = st.getEndingState(LOCKED, DISABLED, DEPENDENCY, HOTSTANDBY, DISABLE_DEPENDENCY);
- assertEquals("coldstandby,locked,disabled,dependency,", makeString(se));
+ @Test
+ public void test490() throws StateTransitionException {
+ assertEquals("coldstandby,unlocked,disabled,dependency,failed,",
+ makeString(LOCKED, DISABLED, DEPENDENCY_FAILED, COLDSTANDBY, UNLOCK));
- logger.info("??? StateTransition testcase 470");
- se = st.getEndingState(LOCKED, DISABLED, DEPENDENCY, HOTSTANDBY, ENABLE_NO_DEPENDENCY);
- assertEquals("coldstandby,locked,enabled,null,", makeString(se));
+ }
- logger.info("??? StateTransition testcase 471");
- se = st.getEndingState(LOCKED, DISABLED, DEPENDENCY, HOTSTANDBY, PROMOTE);
- assertEquals("coldstandby,locked,disabled,dependency,StandbyStatusException", makeString(se));
+ @Test
+ public void test491() throws StateTransitionException {
+ assertEquals("coldstandby,locked,disabled,dependency,failed,",
+ makeString(LOCKED, DISABLED, DEPENDENCY_FAILED, COLDSTANDBY, DISABLE_FAILED));
- logger.info("??? StateTransition testcase 472");
- se = st.getEndingState(LOCKED, DISABLED, DEPENDENCY, HOTSTANDBY, DEMOTE);
- assertEquals("coldstandby,locked,disabled,dependency,", makeString(se));
+ }
- logger.info("??? StateTransition testcase 473");
- se = st.getEndingState(LOCKED, DISABLED, DEPENDENCY, PROVIDINGSERVICE, DEMOTE);
- assertEquals("coldstandby,locked,disabled,dependency,", makeString(se));
+ @Test
+ public void test492() throws StateTransitionException {
+ assertEquals("coldstandby,locked,disabled,dependency,",
+ makeString(LOCKED, DISABLED, DEPENDENCY_FAILED, COLDSTANDBY, ENABLE_NOT_FAILED));
- logger.info("??? StateTransition testcase 474");
- se = st.getEndingState(LOCKED, DISABLED, DEPENDENCY, PROVIDINGSERVICE, UNLOCK);
- assertEquals("coldstandby,unlocked,disabled,dependency,", makeString(se));
+ }
- logger.info("??? StateTransition testcase 475");
- se = st.getEndingState(LOCKED, DISABLED, DEPENDENCY, PROVIDINGSERVICE, DISABLE_FAILED);
- assertEquals("coldstandby,locked,disabled,dependency,failed,", makeString(se));
+ @Test
+ public void test493() throws StateTransitionException {
+ assertEquals("coldstandby,locked,disabled,dependency,failed,",
+ makeString(LOCKED, DISABLED, DEPENDENCY_FAILED, COLDSTANDBY, DISABLE_DEPENDENCY));
- logger.info("??? StateTransition testcase 476");
- se = st.getEndingState(LOCKED, DISABLED, DEPENDENCY, PROVIDINGSERVICE, ENABLE_NOT_FAILED);
- assertEquals("coldstandby,locked,disabled,dependency,", makeString(se));
+ }
- logger.info("??? StateTransition testcase 477");
- se = st.getEndingState(LOCKED, DISABLED, DEPENDENCY, PROVIDINGSERVICE, DISABLE_DEPENDENCY);
- assertEquals("coldstandby,locked,disabled,dependency,", makeString(se));
+ @Test
+ public void test494() throws StateTransitionException {
+ assertEquals("coldstandby,locked,disabled,failed,",
+ makeString(LOCKED, DISABLED, DEPENDENCY_FAILED, COLDSTANDBY, ENABLE_NO_DEPENDENCY));
- logger.info("??? StateTransition testcase 478");
- se = st.getEndingState(LOCKED, DISABLED, DEPENDENCY, PROVIDINGSERVICE, ENABLE_NO_DEPENDENCY);
- assertEquals("coldstandby,locked,enabled,null,", makeString(se));
+ }
- logger.info("??? StateTransition testcase 479");
- se = st.getEndingState(LOCKED, DISABLED, DEPENDENCY, PROVIDINGSERVICE, PROMOTE);
- assertEquals("coldstandby,locked,disabled,dependency,StandbyStatusException", makeString(se));
+ @Test
+ public void test495() throws StateTransitionException {
+ assertEquals("coldstandby,locked,disabled,dependency,failed,StandbyStatusException",
+ makeString(LOCKED, DISABLED, DEPENDENCY_FAILED, COLDSTANDBY, PROMOTE));
- logger.info("??? StateTransition testcase 480");
- se = st.getEndingState(LOCKED, DISABLED, DEPENDENCY, PROVIDINGSERVICE, DEMOTE);
- assertEquals("coldstandby,locked,disabled,dependency,", makeString(se));
+ }
- logger.info("??? StateTransition testcase 481");
- se = st.getEndingState(LOCKED, DISABLED, DEPENDENCY_FAILED, "null", DEMOTE);
- assertEquals("coldstandby,locked,disabled,dependency,failed,", makeString(se));
+ @Test
+ public void test496() throws StateTransitionException {
+ assertEquals("coldstandby,locked,disabled,dependency,failed,",
+ makeString(LOCKED, DISABLED, DEPENDENCY_FAILED, COLDSTANDBY, DEMOTE));
- logger.info("??? StateTransition testcase 482");
- se = st.getEndingState(LOCKED, DISABLED, DEPENDENCY_FAILED, "null", UNLOCK);
- assertEquals("null,unlocked,disabled,dependency,failed,", makeString(se));
+ }
- logger.info("??? StateTransition testcase 483");
- se = st.getEndingState(LOCKED, DISABLED, DEPENDENCY_FAILED, "null", DISABLE_FAILED);
- assertEquals("null,locked,disabled,dependency,failed,", makeString(se));
+ @Test
+ public void test497() throws StateTransitionException {
+ assertEquals("coldstandby,locked,disabled,dependency,failed,",
+ makeString(LOCKED, DISABLED, DEPENDENCY_FAILED, HOTSTANDBY, DEMOTE));
- logger.info("??? StateTransition testcase 484");
- se = st.getEndingState(LOCKED, DISABLED, DEPENDENCY_FAILED, "null", ENABLE_NOT_FAILED);
- assertEquals("null,locked,disabled,dependency,", makeString(se));
+ }
- logger.info("??? StateTransition testcase 485");
- se = st.getEndingState(LOCKED, DISABLED, DEPENDENCY_FAILED, "null", DISABLE_DEPENDENCY);
- assertEquals("null,locked,disabled,dependency,failed,", makeString(se));
+ @Test
+ public void test498() throws StateTransitionException {
+ assertEquals("coldstandby,unlocked,disabled,dependency,failed,",
+ makeString(LOCKED, DISABLED, DEPENDENCY_FAILED, HOTSTANDBY, UNLOCK));
- logger.info("??? StateTransition testcase 486");
- se = st.getEndingState(LOCKED, DISABLED, DEPENDENCY_FAILED, "null", ENABLE_NO_DEPENDENCY);
- assertEquals("null,locked,disabled,failed,", makeString(se));
+ }
- logger.info("??? StateTransition testcase 487");
- se = st.getEndingState(LOCKED, DISABLED, DEPENDENCY_FAILED, "null", PROMOTE);
- assertEquals("coldstandby,locked,disabled,dependency,failed,StandbyStatusException", makeString(se));
+ @Test
+ public void test499() throws StateTransitionException {
+ assertEquals("coldstandby,locked,disabled,dependency,failed,",
+ makeString(LOCKED, DISABLED, DEPENDENCY_FAILED, HOTSTANDBY, DISABLE_FAILED));
- logger.info("??? StateTransition testcase 488");
- se = st.getEndingState(LOCKED, DISABLED, DEPENDENCY_FAILED, "null", DEMOTE);
- assertEquals("coldstandby,locked,disabled,dependency,failed,", makeString(se));
+ }
- logger.info("??? StateTransition testcase 489");
- se = st.getEndingState(LOCKED, DISABLED, DEPENDENCY_FAILED, COLDSTANDBY, DEMOTE);
- assertEquals("coldstandby,locked,disabled,dependency,failed,", makeString(se));
+ @Test
+ public void test500() throws StateTransitionException {
+ assertEquals("coldstandby,locked,disabled,dependency,",
+ makeString(LOCKED, DISABLED, DEPENDENCY_FAILED, HOTSTANDBY, ENABLE_NOT_FAILED));
- logger.info("??? StateTransition testcase 490");
- se = st.getEndingState(LOCKED, DISABLED, DEPENDENCY_FAILED, COLDSTANDBY, UNLOCK);
- assertEquals("coldstandby,unlocked,disabled,dependency,failed,", makeString(se));
+ }
- logger.info("??? StateTransition testcase 491");
- se = st.getEndingState(LOCKED, DISABLED, DEPENDENCY_FAILED, COLDSTANDBY, DISABLE_FAILED);
- assertEquals("coldstandby,locked,disabled,dependency,failed,", makeString(se));
+ @Test
+ public void test501() throws StateTransitionException {
+ assertEquals("coldstandby,locked,disabled,dependency,failed,",
+ makeString(LOCKED, DISABLED, DEPENDENCY_FAILED, HOTSTANDBY, DISABLE_DEPENDENCY));
- logger.info("??? StateTransition testcase 492");
- se = st.getEndingState(LOCKED, DISABLED, DEPENDENCY_FAILED, COLDSTANDBY, ENABLE_NOT_FAILED);
- assertEquals("coldstandby,locked,disabled,dependency,", makeString(se));
+ }
- logger.info("??? StateTransition testcase 493");
- se = st.getEndingState(LOCKED, DISABLED, DEPENDENCY_FAILED, COLDSTANDBY, DISABLE_DEPENDENCY);
- assertEquals("coldstandby,locked,disabled,dependency,failed,", makeString(se));
+ @Test
+ public void test502() throws StateTransitionException {
+ assertEquals("coldstandby,locked,disabled,failed,",
+ makeString(LOCKED, DISABLED, DEPENDENCY_FAILED, HOTSTANDBY, ENABLE_NO_DEPENDENCY));
- logger.info("??? StateTransition testcase 494");
- se = st.getEndingState(LOCKED, DISABLED, DEPENDENCY_FAILED, COLDSTANDBY, ENABLE_NO_DEPENDENCY);
- assertEquals("coldstandby,locked,disabled,failed,", makeString(se));
+ }
- logger.info("??? StateTransition testcase 495");
- se = st.getEndingState(LOCKED, DISABLED, DEPENDENCY_FAILED, COLDSTANDBY, PROMOTE);
- assertEquals("coldstandby,locked,disabled,dependency,failed,StandbyStatusException", makeString(se));
+ @Test
+ public void test503() throws StateTransitionException {
+ assertEquals("coldstandby,locked,disabled,dependency,failed,StandbyStatusException",
+ makeString(LOCKED, DISABLED, DEPENDENCY_FAILED, HOTSTANDBY, PROMOTE));
- logger.info("??? StateTransition testcase 496");
- se = st.getEndingState(LOCKED, DISABLED, DEPENDENCY_FAILED, COLDSTANDBY, DEMOTE);
- assertEquals("coldstandby,locked,disabled,dependency,failed,", makeString(se));
+ }
- logger.info("??? StateTransition testcase 497");
- se = st.getEndingState(LOCKED, DISABLED, DEPENDENCY_FAILED, HOTSTANDBY, DEMOTE);
- assertEquals("coldstandby,locked,disabled,dependency,failed,", makeString(se));
+ @Test
+ public void test504() throws StateTransitionException {
+ assertEquals("coldstandby,locked,disabled,dependency,failed,",
+ makeString(LOCKED, DISABLED, DEPENDENCY_FAILED, HOTSTANDBY, DEMOTE));
- logger.info("??? StateTransition testcase 498");
- se = st.getEndingState(LOCKED, DISABLED, DEPENDENCY_FAILED, HOTSTANDBY, UNLOCK);
- assertEquals("coldstandby,unlocked,disabled,dependency,failed,", makeString(se));
+ }
- logger.info("??? StateTransition testcase 499");
- se = st.getEndingState(LOCKED, DISABLED, DEPENDENCY_FAILED, HOTSTANDBY, DISABLE_FAILED);
- assertEquals("coldstandby,locked,disabled,dependency,failed,", makeString(se));
+ @Test
+ public void test505() throws StateTransitionException {
+ assertEquals("coldstandby,locked,disabled,dependency,failed,",
+ makeString(LOCKED, DISABLED, DEPENDENCY_FAILED, PROVIDINGSERVICE, DEMOTE));
- logger.info("??? StateTransition testcase 500");
- se = st.getEndingState(LOCKED, DISABLED, DEPENDENCY_FAILED, HOTSTANDBY, ENABLE_NOT_FAILED);
- assertEquals("coldstandby,locked,disabled,dependency,", makeString(se));
+ }
- logger.info("??? StateTransition testcase 501");
- se = st.getEndingState(LOCKED, DISABLED, DEPENDENCY_FAILED, HOTSTANDBY, DISABLE_DEPENDENCY);
- assertEquals("coldstandby,locked,disabled,dependency,failed,", makeString(se));
+ @Test
+ public void test506() throws StateTransitionException {
+ assertEquals("coldstandby,unlocked,disabled,dependency,failed,",
+ makeString(LOCKED, DISABLED, DEPENDENCY_FAILED, PROVIDINGSERVICE, UNLOCK));
- logger.info("??? StateTransition testcase 502");
- se = st.getEndingState(LOCKED, DISABLED, DEPENDENCY_FAILED, HOTSTANDBY, ENABLE_NO_DEPENDENCY);
- assertEquals("coldstandby,locked,disabled,failed,", makeString(se));
+ }
- logger.info("??? StateTransition testcase 503");
- se = st.getEndingState(LOCKED, DISABLED, DEPENDENCY_FAILED, HOTSTANDBY, PROMOTE);
- assertEquals("coldstandby,locked,disabled,dependency,failed,StandbyStatusException", makeString(se));
+ @Test
+ public void test507() throws StateTransitionException {
+ assertEquals("coldstandby,locked,disabled,dependency,failed,",
+ makeString(LOCKED, DISABLED, DEPENDENCY_FAILED, PROVIDINGSERVICE, DISABLE_FAILED));
- logger.info("??? StateTransition testcase 504");
- se = st.getEndingState(LOCKED, DISABLED, DEPENDENCY_FAILED, HOTSTANDBY, DEMOTE);
- assertEquals("coldstandby,locked,disabled,dependency,failed,", makeString(se));
+ }
- logger.info("??? StateTransition testcase 505");
- se = st.getEndingState(LOCKED, DISABLED, DEPENDENCY_FAILED, PROVIDINGSERVICE, DEMOTE);
- assertEquals("coldstandby,locked,disabled,dependency,failed,", makeString(se));
+ @Test
+ public void test508() throws StateTransitionException {
+ assertEquals("coldstandby,locked,disabled,dependency,",
+ makeString(LOCKED, DISABLED, DEPENDENCY_FAILED, PROVIDINGSERVICE, ENABLE_NOT_FAILED));
- logger.info("??? StateTransition testcase 506");
- se = st.getEndingState(LOCKED, DISABLED, DEPENDENCY_FAILED, PROVIDINGSERVICE, UNLOCK);
- assertEquals("coldstandby,unlocked,disabled,dependency,failed,", makeString(se));
+ }
- logger.info("??? StateTransition testcase 507");
- se = st.getEndingState(LOCKED, DISABLED, DEPENDENCY_FAILED, PROVIDINGSERVICE, DISABLE_FAILED);
- assertEquals("coldstandby,locked,disabled,dependency,failed,", makeString(se));
+ @Test
+ public void test509() throws StateTransitionException {
+ assertEquals("coldstandby,locked,disabled,dependency,failed,",
+ makeString(LOCKED, DISABLED, DEPENDENCY_FAILED, PROVIDINGSERVICE, DISABLE_DEPENDENCY));
- logger.info("??? StateTransition testcase 508");
- se = st.getEndingState(LOCKED, DISABLED, DEPENDENCY_FAILED, PROVIDINGSERVICE,
- ENABLE_NOT_FAILED);
- assertEquals("coldstandby,locked,disabled,dependency,", makeString(se));
+ }
- logger.info("??? StateTransition testcase 509");
- se = st.getEndingState(LOCKED, DISABLED, DEPENDENCY_FAILED, PROVIDINGSERVICE,
- DISABLE_DEPENDENCY);
- assertEquals("coldstandby,locked,disabled,dependency,failed,", makeString(se));
+ @Test
+ public void test510() throws StateTransitionException {
+ assertEquals("coldstandby,locked,disabled,failed,",
+ makeString(LOCKED, DISABLED, DEPENDENCY_FAILED, PROVIDINGSERVICE, ENABLE_NO_DEPENDENCY));
- logger.info("??? StateTransition testcase 510");
- se = st.getEndingState(LOCKED, DISABLED, DEPENDENCY_FAILED, PROVIDINGSERVICE,
- ENABLE_NO_DEPENDENCY);
- assertEquals("coldstandby,locked,disabled,failed,", makeString(se));
+ }
- logger.info("??? StateTransition testcase 511");
- se = st.getEndingState(LOCKED, DISABLED, DEPENDENCY_FAILED, PROVIDINGSERVICE, PROMOTE);
- assertEquals("coldstandby,locked,disabled,dependency,failed,StandbyStatusException", makeString(se));
+ @Test
+ public void test511() throws StateTransitionException {
+ assertEquals("coldstandby,locked,disabled,dependency,failed,StandbyStatusException",
+ makeString(LOCKED, DISABLED, DEPENDENCY_FAILED, PROVIDINGSERVICE, PROMOTE));
- logger.info("??? StateTransition testcase 512");
- se = st.getEndingState(LOCKED, DISABLED, DEPENDENCY_FAILED, PROVIDINGSERVICE, DEMOTE);
- assertEquals("coldstandby,locked,disabled,dependency,failed,", makeString(se));
+ }
- logger.info("\n\nStateTransitionTest: Exit\n\n");
+ @Test
+ public void test512() throws StateTransitionException {
+ assertEquals("coldstandby,locked,disabled,dependency,failed,",
+ makeString(LOCKED, DISABLED, DEPENDENCY_FAILED, PROVIDINGSERVICE, DEMOTE));
}
/**
- * Converts a state element to a comma-separated string.
- *
- * @param se element to be converted
- * @return a string representing the element
+ * Converts a transition to a string.
*/
- private String makeString(StateElement se) {
+ private String makeString(String adminState, String opState, String availStatus, String standbyStatus,
+ String actionName) throws StateTransitionException {
+ StateTransition st = new StateTransition();
+ StateElement se = st.getEndingState(adminState, opState, availStatus, standbyStatus, actionName);
if (se == null) {
return null;
}
diff --git a/policy-endpoints/src/test/java/org/onap/policy/common/endpoints/event/comm/bus/internal/BusTopicParamsTest.java b/policy-endpoints/src/test/java/org/onap/policy/common/endpoints/event/comm/bus/internal/BusTopicParamsTest.java
index c00f2b56..93e5067e 100644
--- a/policy-endpoints/src/test/java/org/onap/policy/common/endpoints/event/comm/bus/internal/BusTopicParamsTest.java
+++ b/policy-endpoints/src/test/java/org/onap/policy/common/endpoints/event/comm/bus/internal/BusTopicParamsTest.java
@@ -2,7 +2,7 @@
* ============LICENSE_START=======================================================
* policy-endpoints
* ================================================================================
- * Copyright (C) 2018-2019 AT&T Intellectual Property. All rights reserved.
+ * Copyright (C) 2018-2020 AT&T Intellectual Property. All rights reserved.
* ================================================================================
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -41,7 +41,7 @@ public class BusTopicParamsTest extends TopicTestBase {
}
@Test
- public void test() {
+ public void testGetters() {
BusTopicParams params = makeBuilder().build();
assertEquals(addProps, params.getAdditionalProps());
@@ -69,11 +69,19 @@ public class BusTopicParamsTest extends TopicTestBase {
assertEquals(MY_EFFECTIVE_TOPIC, params.getEffectiveTopic());
assertEquals(true, params.isUseHttps());
assertEquals(MY_USERNAME, params.getUserName());
+ }
+ @Test
+ public void testBooleanGetters() {
// ensure that booleans are independent of each other
testBoolean("true:false:false", (bldr, flag) -> bldr.allowSelfSignedCerts(flag));
testBoolean("false:true:false", (bldr, flag) -> bldr.managed(flag));
testBoolean("false:false:true", (bldr, flag) -> bldr.useHttps(flag));
+ }
+
+ @Test
+ public void testValidators() {
+ BusTopicParams params = makeBuilder().build();
// test validity methods
assertTrue(params.isAdditionalPropsValid());
@@ -94,8 +102,10 @@ public class BusTopicParamsTest extends TopicTestBase {
assertFalse(params.isServersInvalid());
assertFalse(params.isTopicInvalid());
assertTrue(params.isUserNameValid());
+ }
- // test inverted validity
+ @Test
+ public void testInvertedValidators() {
assertFalse(makeBuilder().additionalProps(null).build().isAdditionalPropsValid());
assertTrue(makeBuilder().aftEnvironment("").build().isAftEnvironmentInvalid());
assertFalse(makeBuilder().apiKey("").build().isApiKeyValid());
diff --git a/policy-endpoints/src/test/java/org/onap/policy/common/endpoints/event/comm/bus/internal/TopicBaseTest.java b/policy-endpoints/src/test/java/org/onap/policy/common/endpoints/event/comm/bus/internal/TopicBaseTest.java
index 67b84ea8..0f09b12e 100644
--- a/policy-endpoints/src/test/java/org/onap/policy/common/endpoints/event/comm/bus/internal/TopicBaseTest.java
+++ b/policy-endpoints/src/test/java/org/onap/policy/common/endpoints/event/comm/bus/internal/TopicBaseTest.java
@@ -194,9 +194,15 @@ public class TopicBaseTest extends TopicTestBase {
assertTrue(base.unlock());
assertEquals(1, base.startCount);
assertEquals(1, base.stopCount);
+ }
+
+ /**
+ * Tests lock/unlock when the stop/start methods return false.
+ */
+ @Test
+ public void testLock_testUnlock_FalseReturns() {
// lock, but stop returns false
- base = new TopicBaseImpl(servers, MY_TOPIC);
base.stopReturn = false;
assertFalse(base.lock());
assertTrue(base.isLocked());
@@ -207,9 +213,15 @@ public class TopicBaseTest extends TopicTestBase {
assertFalse(base.unlock());
assertFalse(base.isLocked());
assertTrue(base.unlock());
+ }
+
+ /**
+ * Tests lock/unlock when the start method throws an exception.
+ */
+ @Test
+ public void testLock_testUnlock_Exception() {
// lock & re-lock, but start throws an exception
- base = new TopicBaseImpl(servers, MY_TOPIC);
base.startEx = true;
assertTrue(base.lock());
assertFalse(base.unlock());
diff --git a/utils-test/pom.xml b/utils-test/pom.xml
index f1fd8444..86800055 100644
--- a/utils-test/pom.xml
+++ b/utils-test/pom.xml
@@ -33,6 +33,9 @@
<properties>
<powermock.version>2.0.4</powermock.version>
+
+ <!-- this whole module is test code -->
+ <sonar.tests>src/main,src/test</sonar.tests>
</properties>
<dependencies>
diff --git a/utils/src/test/java/org/onap/policy/common/utils/properties/BeanConfiguratorTest.java b/utils/src/test/java/org/onap/policy/common/utils/properties/BeanConfiguratorTest.java
index 07e0795f..5fb92f8e 100644
--- a/utils/src/test/java/org/onap/policy/common/utils/properties/BeanConfiguratorTest.java
+++ b/utils/src/test/java/org/onap/policy/common/utils/properties/BeanConfiguratorTest.java
@@ -2,7 +2,7 @@
* ============LICENSE_START=======================================================
* ONAP - Common Modules
* ================================================================================
- * Copyright (C) 2019 AT&T Intellectual Property. All rights reserved.
+ * Copyright (C) 2019-2020 AT&T Intellectual Property. All rights reserved.
* ================================================================================
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -80,6 +80,10 @@ public class BeanConfiguratorTest {
@Test
public void testConfigureFromProperties() throws PropertyException {
+ testStringValueNoDefault();
+ }
+
+ private void testStringValueNoDefault() throws PropertyException {
props.setProperty(THE_VALUE, STRING_VALUE);
PlainStringConfig cfg = new PlainStringConfig();
@@ -177,11 +181,7 @@ public class BeanConfiguratorTest {
@Test
public void testSetValueObjectFieldProperties_FieldSet() throws PropertyException {
- props.setProperty(THE_VALUE, STRING_VALUE);
- PlainStringConfig cfg = new PlainStringConfig();
- beancfg.configureFromProperties(cfg, props);
-
- assertEquals(STRING_VALUE, cfg.value);
+ testStringValueNoDefault();
}
@Test
@@ -500,11 +500,7 @@ public class BeanConfiguratorTest {
@Test
public void testGetStringValue() throws PropertyException {
- props.setProperty(THE_VALUE, STRING_VALUE);
- PlainStringConfig cfg = new PlainStringConfig();
- beancfg.configureFromProperties(cfg, props);
-
- assertEquals(STRING_VALUE, cfg.value);
+ testStringValueNoDefault();
}
@Test
@@ -721,12 +717,7 @@ public class BeanConfiguratorTest {
@Test
public void testGetPropValue_Prop_NoDefault() throws PropertyException {
- props.setProperty(THE_VALUE, STRING_VALUE);
-
- PlainStringConfig cfg = new PlainStringConfig();
- beancfg.configureFromProperties(cfg, props);
-
- assertEquals(STRING_VALUE, cfg.value);
+ testStringValueNoDefault();
}
@Test