File tree Expand file tree Collapse file tree 6 files changed +3
-19
lines changed
src/test/java/com/gooddata Expand file tree Collapse file tree 6 files changed +3
-19
lines changed Original file line number Diff line number Diff line change @@ -40,11 +40,9 @@ public static String getProperty(String name) {
4040
4141 @ AfterSuite
4242 public static void removeProjectAndLogout () {
43- if (gd != null ) {
44- if (project != null ) {
45- gd .getProjectService ().removeProject (project );
46- }
47- gd .logout ();
43+ if (project != null ) {
44+ gd .getProjectService ().removeProject (project );
4845 }
46+ gd .logout ();
4947 }
5048}
Original file line number Diff line number Diff line change 33 */
44package com .gooddata ;
55
6- import com .gooddata .util .ResourceUtils ;
76import org .apache .http .client .HttpClient ;
87import org .apache .http .impl .client .HttpClientBuilder ;
98import com .fasterxml .jackson .databind .ObjectMapper ;
109import org .testng .annotations .AfterMethod ;
1110import org .testng .annotations .BeforeMethod ;
1211
13- import java .io .InputStream ;
14-
15- import static com .gooddata .util .Validate .notNull ;
1612import static net .jadler .Jadler .closeJadler ;
1713import static net .jadler .Jadler .initJadler ;
1814import static net .jadler .Jadler .port ;
Original file line number Diff line number Diff line change 11package com .gooddata ;
22
3- import net .javacrumbs .jsonunit .JsonAssert ;
43import net .javacrumbs .jsonunit .core .Configuration ;
5- import net .javacrumbs .jsonunit .core .Option ;
64import net .javacrumbs .jsonunit .core .internal .Diff ;
75import com .fasterxml .jackson .databind .ObjectMapper ;
86import org .hamcrest .BaseMatcher ;
Original file line number Diff line number Diff line change 44import org .springframework .web .util .UriComponentsBuilder ;
55import org .testng .annotations .Test ;
66
7- import java .util .Arrays ;
8- import java .util .Collections ;
9-
107import static java .util .Collections .singletonList ;
11- import static org .hamcrest .CoreMatchers .containsString ;
128import static org .hamcrest .CoreMatchers .is ;
139import static org .hamcrest .CoreMatchers .notNullValue ;
1410import static org .hamcrest .MatcherAssert .assertThat ;
1511import static org .hamcrest .Matchers .hasEntry ;
1612import static org .springframework .web .util .UriComponentsBuilder .fromUriString ;
17- import static org .testng .Assert .fail ;
1813
1914public class UriPageTest {
2015
Original file line number Diff line number Diff line change 11package com .gooddata .dataload .processes ;
22
33import com .fasterxml .jackson .databind .ObjectMapper ;
4- import org .hamcrest .collection .IsMapContaining ;
54import org .joda .time .DateTime ;
65import org .joda .time .DateTimeZone ;
76import org .mockito .Matchers ;
1413import java .util .Collections ;
1514
1615import static com .gooddata .JsonMatchers .serializesToJson ;
17- import static org .hamcrest .CoreMatchers .allOf ;
1816import static org .hamcrest .CoreMatchers .containsString ;
1917import static org .hamcrest .CoreMatchers .is ;
2018import static org .hamcrest .CoreMatchers .not ;
Original file line number Diff line number Diff line change 44import com .fasterxml .jackson .databind .ObjectMapper ;
55import org .joda .time .DateTime ;
66import org .joda .time .DateTimeZone ;
7- import org .hamcrest .Matchers ;
87import org .testng .annotations .Test ;
98
109import java .io .InputStream ;
You can’t perform that action at this time.
0 commit comments