File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
modelarmor/src/test/java/modelarmor Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -87,7 +87,7 @@ private static String randomId() {
87
87
}
88
88
89
89
@ Test
90
- public void testGetModelArmorTemplate () throws Exception {
90
+ public void testGetModelArmorTemplate () throws IOException {
91
91
CreateTemplate .createTemplate (PROJECT_ID , LOCATION_ID , TEST_TEMPLATE_ID );
92
92
Template retrievedTemplate = GetTemplate .getTemplate (PROJECT_ID , LOCATION_ID , TEST_TEMPLATE_ID );
93
93
@@ -96,7 +96,7 @@ public void testGetModelArmorTemplate() throws Exception {
96
96
}
97
97
98
98
@ Test
99
- public void testListModelArmorTemplates () throws Exception {
99
+ public void testListModelArmorTemplates () throws IOException {
100
100
CreateTemplate .createTemplate (PROJECT_ID , LOCATION_ID , TEST_TEMPLATE_ID );
101
101
102
102
ListTemplates .listTemplates (PROJECT_ID , LOCATION_ID );
@@ -111,7 +111,7 @@ public void testListModelArmorTemplates() throws Exception {
111
111
}
112
112
113
113
@ Test
114
- public void testListTemplatesWithFilter () throws Exception {
114
+ public void testListTemplatesWithFilter () throws IOException {
115
115
CreateTemplate .createTemplate (PROJECT_ID , LOCATION_ID , TEST_TEMPLATE_ID );
116
116
String filter = "name=\" projects/" + PROJECT_ID + "/locations/" + LOCATION_ID + "/"
117
117
+ TEST_TEMPLATE_ID + "\" " ;
You can’t perform that action at this time.
0 commit comments