Skip to content

Commit

Permalink
Onboard 2.19.0 Release
Browse files Browse the repository at this point in the history
Signed-off-by: Prudhvi Godithi <[email protected]>
  • Loading branch information
prudhvigodithi committed Jan 28, 2025
1 parent 7a7e8b2 commit 6757179
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,13 @@ public enum ReleaseInputs {
VERSION_2_16_0("2.16.0", "closed", "2.16", false),
VERSION_2_17_0("2.17.0", "closed", "2.17", true),
VERSION_2_18_0("2.18.0", "closed", "2.18", true),
VERSION_2_19_0("2.19.0", "open", "2.x", true),
VERSION_1_3_15("1.3.15", "closed", "1.3", false),
VERSION_1_3_16("1.3.16", "closed", "1.3", false),
VERSION_1_3_17("1.3.17", "closed", "1.3", false),
VERSION_1_3_18("1.3.18", "closed", "1.3", true),
VERSION_1_3_18("1.3.18", "closed", "1.3", false),
VERSION_1_3_19("1.3.19", "closed", "1.3", true),
VERSION_1_3_20("1.3.20", "open", "1.3", true);
VERSION_1_3_20("1.3.20", "closed", "1.3", true);

private final String version;
private final String state;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ public void testGetVersion() {
assertEquals("2.16.0", ReleaseInputs.VERSION_2_16_0.getVersion());
assertEquals("2.17.0", ReleaseInputs.VERSION_2_17_0.getVersion());
assertEquals("2.18.0", ReleaseInputs.VERSION_2_18_0.getVersion());
assertEquals("2.19.0", ReleaseInputs.VERSION_2_19_0.getVersion());
assertEquals("1.3.15", ReleaseInputs.VERSION_1_3_15.getVersion());
assertEquals("1.3.16", ReleaseInputs.VERSION_1_3_16.getVersion());
assertEquals("1.3.17", ReleaseInputs.VERSION_1_3_17.getVersion());
Expand All @@ -43,12 +44,13 @@ public void testGetState() {
assertEquals("closed", ReleaseInputs.VERSION_2_16_0.getState());
assertEquals("closed", ReleaseInputs.VERSION_2_17_0.getState());
assertEquals("closed", ReleaseInputs.VERSION_2_18_0.getState());
assertEquals("open", ReleaseInputs.VERSION_2_19_0.getState());
assertEquals("closed", ReleaseInputs.VERSION_1_3_15.getState());
assertEquals("closed", ReleaseInputs.VERSION_1_3_16.getState());
assertEquals("closed", ReleaseInputs.VERSION_1_3_17.getState());
assertEquals("closed", ReleaseInputs.VERSION_1_3_18.getState());
assertEquals("closed", ReleaseInputs.VERSION_1_3_19.getState());
assertEquals("open", ReleaseInputs.VERSION_1_3_20.getState());
assertEquals("closed", ReleaseInputs.VERSION_1_3_20.getState());
}

@Test
Expand All @@ -61,6 +63,7 @@ public void testGetBranch() {
assertEquals("2.16", ReleaseInputs.VERSION_2_16_0.getBranch());
assertEquals("2.17", ReleaseInputs.VERSION_2_17_0.getBranch());
assertEquals("2.18", ReleaseInputs.VERSION_2_18_0.getBranch());
assertEquals("2.x", ReleaseInputs.VERSION_2_19_0.getBranch());
assertEquals("1.3", ReleaseInputs.VERSION_1_3_15.getBranch());
assertEquals("1.3", ReleaseInputs.VERSION_1_3_16.getBranch());
assertEquals("1.3", ReleaseInputs.VERSION_1_3_17.getBranch());
Expand All @@ -82,15 +85,15 @@ public void testGetTrack() {
assertEquals(false, ReleaseInputs.VERSION_1_3_15.getTrack());
assertEquals(false, ReleaseInputs.VERSION_1_3_16.getTrack());
assertEquals(false, ReleaseInputs.VERSION_1_3_17.getTrack());
assertEquals(true, ReleaseInputs.VERSION_1_3_18.getTrack());
assertEquals(false, ReleaseInputs.VERSION_1_3_18.getTrack());
assertEquals(true, ReleaseInputs.VERSION_1_3_19.getTrack());
assertEquals(true, ReleaseInputs.VERSION_1_3_20.getTrack());
}

@Test
public void testGetAllReleaseInputs() {
ReleaseInputs[] releaseInputs = ReleaseInputs.getAllReleaseInputs();
assertEquals(14, releaseInputs.length);
assertEquals(15, releaseInputs.length);
assertEquals(ReleaseInputs.VERSION_3_0_0, releaseInputs[0]);
assertEquals(ReleaseInputs.VERSION_2_12_0, releaseInputs[1]);
assertEquals(ReleaseInputs.VERSION_2_13_0, releaseInputs[2]);
Expand All @@ -99,12 +102,13 @@ public void testGetAllReleaseInputs() {
assertEquals(ReleaseInputs.VERSION_2_16_0, releaseInputs[5]);
assertEquals(ReleaseInputs.VERSION_2_17_0, releaseInputs[6]);
assertEquals(ReleaseInputs.VERSION_2_18_0, releaseInputs[7]);
assertEquals(ReleaseInputs.VERSION_1_3_15, releaseInputs[8]);
assertEquals(ReleaseInputs.VERSION_1_3_16, releaseInputs[9]);
assertEquals(ReleaseInputs.VERSION_1_3_17, releaseInputs[10]);
assertEquals(ReleaseInputs.VERSION_1_3_18, releaseInputs[11]);
assertEquals(ReleaseInputs.VERSION_1_3_19, releaseInputs[12]);
assertEquals(ReleaseInputs.VERSION_1_3_20, releaseInputs[13]);
assertEquals(ReleaseInputs.VERSION_2_19_0, releaseInputs[8]);
assertEquals(ReleaseInputs.VERSION_1_3_15, releaseInputs[9]);
assertEquals(ReleaseInputs.VERSION_1_3_16, releaseInputs[10]);
assertEquals(ReleaseInputs.VERSION_1_3_17, releaseInputs[11]);
assertEquals(ReleaseInputs.VERSION_1_3_18, releaseInputs[12]);
assertEquals(ReleaseInputs.VERSION_1_3_19, releaseInputs[13]);
assertEquals(ReleaseInputs.VERSION_1_3_20, releaseInputs[14]);
}

}

0 comments on commit 6757179

Please sign in to comment.