mirror of
https://github.com/apache/olingo-odata4.git
synced 2025-03-06 16:49:09 +00:00
[OLINGO-684] Make OAuth tests sequential
This commit is contained in:
parent
0090e02075
commit
a6b8f29491
@ -100,21 +100,44 @@ public class OAuth2TestITCase extends AbstractTestITCase {
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testOAuth() {
|
||||
try {
|
||||
readAsAtom();
|
||||
} catch (Exception e) {
|
||||
System.out.println("failed for readAsAtom");
|
||||
}
|
||||
|
||||
try {
|
||||
readAsFullJSON();
|
||||
} catch (Exception e) {
|
||||
System.out.println("failed for readAsFullJSON");
|
||||
}
|
||||
|
||||
try {
|
||||
readAsJSON();
|
||||
} catch (Exception e) {
|
||||
System.out.println("failed for readAsJSON");
|
||||
}
|
||||
|
||||
try {
|
||||
createAndDelete();
|
||||
} catch (Exception e) {
|
||||
System.out.println("failed for createAndDelete");
|
||||
}
|
||||
}
|
||||
|
||||
public void readAsAtom() {
|
||||
read(getLocalClient(), ODataFormat.ATOM);
|
||||
}
|
||||
|
||||
@Test
|
||||
public void readAsFullJSON() {
|
||||
read(getLocalClient(), ODataFormat.JSON_FULL_METADATA);
|
||||
}
|
||||
|
||||
@Test
|
||||
public void readAsJSON() {
|
||||
read(getEdmClient(), ODataFormat.JSON);
|
||||
}
|
||||
|
||||
@Test
|
||||
public void createAndDelete() {
|
||||
createAndDeleteOrder(testOAuth2ServiceRootURL, ODataFormat.JSON, 1002);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user