spring-web 5.0.9.RELEASE -> 5.1.2.RELEASE
String org.springframework.http.HttpStatus.toString()
return Integer.toString(this.value)//spring-web 5.0.9.RELEASE
return Integer.toString(this.value) + " " + name();//spring-web
5.1.2.RELEASE
Issue-ID: POLICY-1261
Change-Id: I24bd1f1568c49108288ebdd741d93db09545856b
Signed-off-by: Hengye <yehui.wang@est.tech>
*
* @see TestCase#setUp()
*/
*
* @see TestCase#setUp()
*/
public void setUp() throws Exception {
try {
policyEngine = new PolicyEngine("Test/config_pass.properties");
public void setUp() throws Exception {
try {
policyEngine = new PolicyEngine("Test/config_pass.properties");
*
* @see TestCase#tearDown()
*/
*
* @see TestCase#tearDown()
*/
public void tearDown() throws Exception {
super.tearDown();
// Add additional tear down code here
public void tearDown() throws Exception {
super.tearDown();
// Add additional tear down code here
@Test
public final void testCreatePolicyNullPolicyName() {
@Test
public final void testCreatePolicyNullPolicyName() {
- response.setResponseMessage("PE500 - Process Flow Issue: :500:");
+ response.setResponseMessage("PE500 - Process Flow Issue: :500 INTERNAL_SERVER_ERROR:");
policyParameters.setPolicyName(null);
try {
result = policyEngine.createPolicy(policyParameters);
policyParameters.setPolicyName(null);
try {
result = policyEngine.createPolicy(policyParameters);
@Test
public final void testCreatePolicyNullPolicyScope() {
@Test
public final void testCreatePolicyNullPolicyScope() {
- response.setResponseMessage("PE500 - Process Flow Issue: :500:");
+ response.setResponseMessage("PE500 - Process Flow Issue: :500 INTERNAL_SERVER_ERROR:");
policyParameters.setPolicyName("test");
try {
result = policyEngine.createPolicy(policyParameters);
policyParameters.setPolicyName("test");
try {
result = policyEngine.createPolicy(policyParameters);
@Test
public final void testCreatePolicyNullPolicyConfigBody() {
@Test
public final void testCreatePolicyNullPolicyConfigBody() {
- response.setResponseMessage("PE500 - Process Flow Issue: :500:");
+ response.setResponseMessage("PE500 - Process Flow Issue: :500 INTERNAL_SERVER_ERROR:");
policyParameters.setConfigBody(null);
try {
result = policyEngine.createPolicy(policyParameters);
policyParameters.setConfigBody(null);
try {
result = policyEngine.createPolicy(policyParameters);
@Test
public final void testUpdatePolicyNullPolicyName() {
@Test
public final void testUpdatePolicyNullPolicyName() {
- response.setResponseMessage("PE500 - Process Flow Issue: :500:");
+ response.setResponseMessage("PE500 - Process Flow Issue: :500 INTERNAL_SERVER_ERROR:");
policyParameters.setPolicyName(null);
try {
result = policyEngine.updatePolicy(policyParameters);
policyParameters.setPolicyName(null);
try {
result = policyEngine.updatePolicy(policyParameters);
@Test
public final void testUpdatePolicyNullPolicyScope() {
@Test
public final void testUpdatePolicyNullPolicyScope() {
- response.setResponseMessage("PE500 - Process Flow Issue: :500:");
+ response.setResponseMessage("PE500 - Process Flow Issue: :500 INTERNAL_SERVER_ERROR:");
policyParameters.setPolicyName("test");
try {
result = policyEngine.updatePolicy(policyParameters);
policyParameters.setPolicyName("test");
try {
result = policyEngine.updatePolicy(policyParameters);
@Test
public final void testUpdatePolicyNullPolicyConfigBody() {
@Test
public final void testUpdatePolicyNullPolicyConfigBody() {
- response.setResponseMessage("PE500 - Process Flow Issue: :500:");
+ response.setResponseMessage("PE500 - Process Flow Issue: :500 INTERNAL_SERVER_ERROR:");
policyParameters.setConfigBody(null);
try {
result = policyEngine.createPolicy(policyParameters);
policyParameters.setConfigBody(null);
try {
result = policyEngine.createPolicy(policyParameters);
*
* @see TestCase#setUp()
*/
*
* @see TestCase#setUp()
*/
public void setUp() throws Exception {
try {
policyEngine = new PolicyEngine("Test/config_pass.properties");
public void setUp() throws Exception {
try {
policyEngine = new PolicyEngine("Test/config_pass.properties");
*
* @see TestCase#tearDown()
*/
*
* @see TestCase#tearDown()
*/
public void tearDown() throws Exception {
super.tearDown();
// Add additional tear down code here
public void tearDown() throws Exception {
super.tearDown();
// Add additional tear down code here
@Test
public final void testCreatePolicyNullPolicyName() {
@Test
public final void testCreatePolicyNullPolicyName() {
- response.setResponseMessage("PE500 - Process Flow Issue: :500:");
+ response.setResponseMessage("PE500 - Process Flow Issue: :500 INTERNAL_SERVER_ERROR:");
policyParameters.setPolicyName(null);
try {
result = policyEngine.createPolicy(policyParameters);
policyParameters.setPolicyName(null);
try {
result = policyEngine.createPolicy(policyParameters);
@Test
public final void testCreatePolicyNullPolicyScope() {
@Test
public final void testCreatePolicyNullPolicyScope() {
- response.setResponseMessage("PE500 - Process Flow Issue: :500:");
+ response.setResponseMessage("PE500 - Process Flow Issue: :500 INTERNAL_SERVER_ERROR:");
policyParameters.setPolicyName("test");
try {
result = policyEngine.createPolicy(policyParameters);
policyParameters.setPolicyName("test");
try {
result = policyEngine.createPolicy(policyParameters);
@Test
public final void testCreatePolicyNullOnapName() {
@Test
public final void testCreatePolicyNullOnapName() {
- response.setResponseMessage("PE500 - Process Flow Issue: :500:");
+ response.setResponseMessage("PE500 - Process Flow Issue: :500 INTERNAL_SERVER_ERROR:");
policyParameters.setOnapName(null);
try {
result = policyEngine.createPolicy(policyParameters);
policyParameters.setOnapName(null);
try {
result = policyEngine.createPolicy(policyParameters);
@Test
public final void testUpdatePolicyNullPolicyName() {
@Test
public final void testUpdatePolicyNullPolicyName() {
- response.setResponseMessage("PE500 - Process Flow Issue: :500:");
+ response.setResponseMessage("PE500 - Process Flow Issue: :500 INTERNAL_SERVER_ERROR:");
policyParameters.setPolicyName(null);
try {
result = policyEngine.updatePolicy(policyParameters);
policyParameters.setPolicyName(null);
try {
result = policyEngine.updatePolicy(policyParameters);
@Test
public final void testUpdatePolicyNullPolicyScope() {
@Test
public final void testUpdatePolicyNullPolicyScope() {
- response.setResponseMessage("PE500 - Process Flow Issue: :500:");
+ response.setResponseMessage("PE500 - Process Flow Issue: :500 INTERNAL_SERVER_ERROR:");
policyParameters.setPolicyName("test");
try {
result = policyEngine.updatePolicy(policyParameters);
policyParameters.setPolicyName("test");
try {
result = policyEngine.updatePolicy(policyParameters);
@Test
public final void testUpdatePolicyNullOnapName() {
@Test
public final void testUpdatePolicyNullOnapName() {
- response.setResponseMessage("PE500 - Process Flow Issue: :500:");
+ response.setResponseMessage("PE500 - Process Flow Issue: :500 INTERNAL_SERVER_ERROR:");
policyParameters.setOnapName(null);
try {
result = policyEngine.updatePolicy(policyParameters);
policyParameters.setOnapName(null);
try {
result = policyEngine.updatePolicy(policyParameters);