|
106 | 106 | import java.util.UUID; |
107 | 107 | import java.util.concurrent.ExecutionException; |
108 | 108 | import javax.annotation.Generated; |
109 | | -import org.junit.AfterClass; |
110 | 109 | import org.junit.After; |
| 110 | +import org.junit.AfterClass; |
111 | 111 | import org.junit.Assert; |
112 | | -import org.junit.BeforeClass; |
113 | 112 | import org.junit.Before; |
| 113 | +import org.junit.BeforeClass; |
114 | 114 | import org.junit.Test; |
115 | 115 |
|
116 | 116 | @Generated("by gapic-generator-java") |
@@ -499,8 +499,7 @@ public void createBucketAsyncExceptionTest() throws Exception { |
499 | 499 | } catch (ExecutionException e) { |
500 | 500 | Assert.assertEquals(InvalidArgumentException.class, e.getCause().getClass()); |
501 | 501 | InvalidArgumentException apiException = ((InvalidArgumentException) e.getCause()); |
502 | | - Assert.assertEquals( |
503 | | - StatusCode.Code.INVALID_ARGUMENT, apiException.getStatusCode().getCode()); |
| 502 | + Assert.assertEquals(StatusCode.Code.INVALID_ARGUMENT, apiException.getStatusCode().getCode()); |
504 | 503 | } |
505 | 504 | } |
506 | 505 |
|
@@ -574,8 +573,7 @@ public void updateBucketAsyncExceptionTest() throws Exception { |
574 | 573 | } catch (ExecutionException e) { |
575 | 574 | Assert.assertEquals(InvalidArgumentException.class, e.getCause().getClass()); |
576 | 575 | InvalidArgumentException apiException = ((InvalidArgumentException) e.getCause()); |
577 | | - Assert.assertEquals( |
578 | | - StatusCode.Code.INVALID_ARGUMENT, apiException.getStatusCode().getCode()); |
| 576 | + Assert.assertEquals(StatusCode.Code.INVALID_ARGUMENT, apiException.getStatusCode().getCode()); |
579 | 577 | } |
580 | 578 | } |
581 | 579 |
|
@@ -1951,8 +1949,7 @@ public void createLinkExceptionTest() throws Exception { |
1951 | 1949 | } catch (ExecutionException e) { |
1952 | 1950 | Assert.assertEquals(InvalidArgumentException.class, e.getCause().getClass()); |
1953 | 1951 | InvalidArgumentException apiException = ((InvalidArgumentException) e.getCause()); |
1954 | | - Assert.assertEquals( |
1955 | | - StatusCode.Code.INVALID_ARGUMENT, apiException.getStatusCode().getCode()); |
| 1952 | + Assert.assertEquals(StatusCode.Code.INVALID_ARGUMENT, apiException.getStatusCode().getCode()); |
1956 | 1953 | } |
1957 | 1954 | } |
1958 | 1955 |
|
@@ -2011,8 +2008,7 @@ public void createLinkExceptionTest2() throws Exception { |
2011 | 2008 | } catch (ExecutionException e) { |
2012 | 2009 | Assert.assertEquals(InvalidArgumentException.class, e.getCause().getClass()); |
2013 | 2010 | InvalidArgumentException apiException = ((InvalidArgumentException) e.getCause()); |
2014 | | - Assert.assertEquals( |
2015 | | - StatusCode.Code.INVALID_ARGUMENT, apiException.getStatusCode().getCode()); |
| 2011 | + Assert.assertEquals(StatusCode.Code.INVALID_ARGUMENT, apiException.getStatusCode().getCode()); |
2016 | 2012 | } |
2017 | 2013 | } |
2018 | 2014 |
|
@@ -2056,8 +2052,7 @@ public void deleteLinkExceptionTest() throws Exception { |
2056 | 2052 | } catch (ExecutionException e) { |
2057 | 2053 | Assert.assertEquals(InvalidArgumentException.class, e.getCause().getClass()); |
2058 | 2054 | InvalidArgumentException apiException = ((InvalidArgumentException) e.getCause()); |
2059 | | - Assert.assertEquals( |
2060 | | - StatusCode.Code.INVALID_ARGUMENT, apiException.getStatusCode().getCode()); |
| 2055 | + Assert.assertEquals(StatusCode.Code.INVALID_ARGUMENT, apiException.getStatusCode().getCode()); |
2061 | 2056 | } |
2062 | 2057 | } |
2063 | 2058 |
|
@@ -2099,8 +2094,7 @@ public void deleteLinkExceptionTest2() throws Exception { |
2099 | 2094 | } catch (ExecutionException e) { |
2100 | 2095 | Assert.assertEquals(InvalidArgumentException.class, e.getCause().getClass()); |
2101 | 2096 | InvalidArgumentException apiException = ((InvalidArgumentException) e.getCause()); |
2102 | | - Assert.assertEquals( |
2103 | | - StatusCode.Code.INVALID_ARGUMENT, apiException.getStatusCode().getCode()); |
| 2097 | + Assert.assertEquals(StatusCode.Code.INVALID_ARGUMENT, apiException.getStatusCode().getCode()); |
2104 | 2098 | } |
2105 | 2099 | } |
2106 | 2100 |
|
@@ -3269,8 +3263,7 @@ public void copyLogEntriesExceptionTest() throws Exception { |
3269 | 3263 | } catch (ExecutionException e) { |
3270 | 3264 | Assert.assertEquals(InvalidArgumentException.class, e.getCause().getClass()); |
3271 | 3265 | InvalidArgumentException apiException = ((InvalidArgumentException) e.getCause()); |
3272 | | - Assert.assertEquals( |
3273 | | - StatusCode.Code.INVALID_ARGUMENT, apiException.getStatusCode().getCode()); |
| 3266 | + Assert.assertEquals(StatusCode.Code.INVALID_ARGUMENT, apiException.getStatusCode().getCode()); |
3274 | 3267 | } |
3275 | 3268 | } |
3276 | 3269 | } |
0 commit comments