This repository was archived by the owner on Jul 17, 2023. It is now read-only.
File tree Expand file tree Collapse file tree
src/test/java/com/google/cloud/iam/admin/v1/it Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- <?xml version =" 1.0" ?>
1+ <?xml version =' 1.0' encoding = ' UTF-8 ' ?>
22<project xmlns =" http://maven.apache.org/POM/4.0.0" xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance" xsi : schemaLocation =" http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" >
33 <modelVersion >4.0.0</modelVersion >
44 <groupId >com.google.cloud</groupId >
Original file line number Diff line number Diff line change 1- <?xml version =" 1.0" ?>
1+ <?xml version =' 1.0' encoding = ' UTF-8 ' ?>
22<project xmlns =" http://maven.apache.org/POM/4.0.0" xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance" xsi : schemaLocation =" http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" >
33 <modelVersion >4.0.0</modelVersion >
44 <groupId >com.google.cloud</groupId >
112112 </plugin >
113113 </plugins >
114114 </build >
115- </project >
115+ </project >
Original file line number Diff line number Diff line change 1616
1717package com .google .cloud .iam .admin .v1 .it ;
1818
19+ import static org .junit .Assert .assertEquals ;
20+ import static org .junit .Assert .assertTrue ;
21+ import static org .junit .Assume .assumeNotNull ;
22+
1923import com .google .cloud .iam .admin .v1 .IAMClient ;
2024import com .google .iam .admin .v1 .ProjectName ;
2125import com .google .iam .admin .v1 .ServiceAccount ;
26+ import java .io .IOException ;
2227import org .junit .AfterClass ;
2328import org .junit .BeforeClass ;
2429import org .junit .Test ;
2530
26- import static org .junit .Assert .assertEquals ;
27- import static org .junit .Assert .assertTrue ;
28- import static org .junit .Assume .assumeNotNull ;
29-
30- import java .io .IOException ;
31-
3231public class ITSystemTest {
3332 private static IAMClient client ;
3433 private static String PROJECT_ID = System .getenv ("GOOGLE_CLOUD_PROJECT" );
@@ -48,7 +47,8 @@ public void listServiceAccounts() {
4847 assumeNotNull (PROJECT_ID );
4948
5049 int count = 0 ;
51- for (ServiceAccount serviceAccount : client .listServiceAccounts (ProjectName .of (PROJECT_ID )).iterateAll ()) {
50+ for (ServiceAccount serviceAccount :
51+ client .listServiceAccounts (ProjectName .of (PROJECT_ID )).iterateAll ()) {
5252 assertEquals (PROJECT_ID , serviceAccount .getProjectId ());
5353 count += 1 ;
5454 }
Original file line number Diff line number Diff line change 8585 <dependency >
8686 <groupId >com.google.cloud</groupId >
8787 <artifactId >google-cloud-shared-dependencies</artifactId >
88- <version >2.1 .0</version >
88+ <version >2.3 .0</version >
8989 <type >pom</type >
9090 <scope >import</scope >
9191 </dependency >
You can’t perform that action at this time.
0 commit comments