Skip to content
This repository has been archived by the owner on Sep 27, 2023. It is now read-only.

Commit

Permalink
chore: update gapic-generator-java to 0.0.8 (#270)
Browse files Browse the repository at this point in the history
Committer: @miraleung
PiperOrigin-RevId: 346126713

Source-Author: Google APIs <noreply@google.com>
Source-Date: Mon Dec 7 10:39:38 2020 -0800
Source-Repo: googleapis/googleapis
Source-Sha: b8b2f8c288cec1f673bf10aa5008819c1576bf2e
Source-Link: googleapis/googleapis@b8b2f8c
  • Loading branch information
yoshi-automation committed Dec 8, 2020
1 parent 5a584bb commit 7ae81a5
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
Expand Up @@ -98,7 +98,7 @@ public void createReservationTest() throws Exception {

LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]");
Reservation reservation = Reservation.newBuilder().build();
String reservationId = "reservation_id266209902";
String reservationId = "reservationId1116965383";

Reservation actualResponse = client.createReservation(parent, reservation, reservationId);
Assert.assertEquals(expectedResponse, actualResponse);
Expand All @@ -124,7 +124,7 @@ public void createReservationExceptionTest() throws Exception {
try {
LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]");
Reservation reservation = Reservation.newBuilder().build();
String reservationId = "reservation_id266209902";
String reservationId = "reservationId1116965383";
client.createReservation(parent, reservation, reservationId);
Assert.fail("No exception raised");
} catch (InvalidArgumentException e) {
Expand All @@ -144,7 +144,7 @@ public void createReservationTest2() throws Exception {

String parent = "parent-995424086";
Reservation reservation = Reservation.newBuilder().build();
String reservationId = "reservation_id266209902";
String reservationId = "reservationId1116965383";

Reservation actualResponse = client.createReservation(parent, reservation, reservationId);
Assert.assertEquals(expectedResponse, actualResponse);
Expand All @@ -170,7 +170,7 @@ public void createReservationExceptionTest2() throws Exception {
try {
String parent = "parent-995424086";
Reservation reservation = Reservation.newBuilder().build();
String reservationId = "reservation_id266209902";
String reservationId = "reservationId1116965383";
client.createReservation(parent, reservation, reservationId);
Assert.fail("No exception raised");
} catch (InvalidArgumentException e) {
Expand Down Expand Up @@ -1437,7 +1437,7 @@ public void moveAssignmentTest2() throws Exception {

AssignmentName name =
AssignmentName.of("[PROJECT]", "[LOCATION]", "[RESERVATION]", "[ASSIGNMENT]");
String destinationId = "destination_id912984812";
String destinationId = "destinationId306545097";

Assignment actualResponse = client.moveAssignment(name, destinationId);
Assert.assertEquals(expectedResponse, actualResponse);
Expand All @@ -1462,7 +1462,7 @@ public void moveAssignmentExceptionTest2() throws Exception {
try {
AssignmentName name =
AssignmentName.of("[PROJECT]", "[LOCATION]", "[RESERVATION]", "[ASSIGNMENT]");
String destinationId = "destination_id912984812";
String destinationId = "destinationId306545097";
client.moveAssignment(name, destinationId);
Assert.fail("No exception raised");
} catch (InvalidArgumentException e) {
Expand Down Expand Up @@ -1527,7 +1527,7 @@ public void moveAssignmentTest4() throws Exception {
mockReservationService.addResponse(expectedResponse);

String name = "name3373707";
String destinationId = "destination_id912984812";
String destinationId = "destinationId306545097";

Assignment actualResponse = client.moveAssignment(name, destinationId);
Assert.assertEquals(expectedResponse, actualResponse);
Expand All @@ -1551,7 +1551,7 @@ public void moveAssignmentExceptionTest4() throws Exception {

try {
String name = "name3373707";
String destinationId = "destination_id912984812";
String destinationId = "destinationId306545097";
client.moveAssignment(name, destinationId);
Assert.fail("No exception raised");
} catch (InvalidArgumentException e) {
Expand Down
4 changes: 2 additions & 2 deletions synth.metadata
Expand Up @@ -11,8 +11,8 @@
"git": {
"name": "googleapis",
"remote": "https://github.com/googleapis/googleapis.git",
"sha": "7be2c821dd88109038c55c89f7dd48f092eeab9d",
"internalRef": "345476969"
"sha": "b8b2f8c288cec1f673bf10aa5008819c1576bf2e",
"internalRef": "346126713"
}
},
{
Expand Down

0 comments on commit 7ae81a5

Please sign in to comment.