Skip to content

Commit

Permalink
feat: serenity-rest-assured updated rest core and tests, renamed some…
Browse files Browse the repository at this point in the history
… classes
  • Loading branch information
YamStranger committed Apr 20, 2016
1 parent ae9e4a8 commit a608efe
Show file tree
Hide file tree
Showing 104 changed files with 1,134 additions and 1,798 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package net.serenitybdd.rest.staging;
package net.serenitybdd.rest;

import com.jayway.restassured.http.ContentType;
import org.apache.commons.lang3.ObjectUtils;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package net.serenitybdd.rest.staging;
package net.serenitybdd.rest;

/**
* User: YamStranger
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package net.serenitybdd.rest.staging;
package net.serenitybdd.rest;

import com.google.gson.JsonParser;
import org.apache.commons.lang3.StringUtils;
Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package net.serenitybdd.rest.staging;
package net.serenitybdd.rest;

import com.jayway.restassured.authentication.*;
import com.jayway.restassured.config.LogConfig;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
package net.serenitybdd.rest.staging;
package net.serenitybdd.rest;

import com.jayway.restassured.authentication.AuthenticationScheme;
import com.jayway.restassured.config.LogConfig;
import com.jayway.restassured.config.RestAssuredConfig;
import com.jayway.restassured.config.SSLConfig;
import com.jayway.restassured.filter.Filter;
import com.jayway.restassured.filter.log.LogDetail;
import com.jayway.restassured.mapper.ObjectMapper;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package net.serenitybdd.rest.staging;
package net.serenitybdd.rest;

import com.jayway.restassured.response.Response;
import com.jayway.restassured.specification.RequestSender;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,6 @@

import java.util.Map;

/**
* Created by john on 18/05/2015.
*/
public class RestStepListener implements StepListener {

@Override
Expand All @@ -28,7 +25,7 @@ public void testSuiteStarted(Story story) {

@Override
public void testSuiteFinished() {
SerenityRest.clearQueryData();

}

@Override
Expand All @@ -38,12 +35,12 @@ public void testStarted(String description) {

@Override
public void testFinished(TestOutcome result) {
SerenityRest.clearQueryData();

}

@Override
public void testRetried() {
SerenityRest.clearQueryData();

}

@Override
Expand Down Expand Up @@ -88,22 +85,22 @@ public void stepFinished() {

@Override
public void testFailed(TestOutcome testOutcome, Throwable cause) {
SerenityRest.clearQueryData();

}

@Override
public void testIgnored() {
SerenityRest.clearQueryData();

}

@Override
public void testSkipped() {
SerenityRest.clearQueryData();

}

@Override
public void testPending() {
SerenityRest.clearQueryData();

}

@Override
Expand Down Expand Up @@ -133,11 +130,11 @@ public void exampleStarted(Map<String, String> data) {

@Override
public void exampleFinished() {
SerenityRest.clearQueryData();

}

@Override
public void assumptionViolated(String message) {
SerenityRest.clearQueryData();

}
}
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package net.serenitybdd.rest.staging;
package net.serenitybdd.rest;

import com.jayway.restassured.authentication.*;
import com.jayway.restassured.config.RestAssuredConfig;
Expand Down
Loading

0 comments on commit a608efe

Please sign in to comment.