Skip to content

Commit

Permalink
Onboard 2.18.0 release (#77)
Browse files Browse the repository at this point in the history
Signed-off-by: Prudhvi Godithi <[email protected]>
  • Loading branch information
prudhvigodithi authored Sep 20, 2024
1 parent acf026b commit d8b52e6
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ public enum ReleaseInputs {
VERSION_2_15_0("2.15.0", "closed", "2.15", true),
VERSION_2_16_0("2.16.0", "closed", "2.16", true),
VERSION_2_17_0("2.17.0", "closed", "2.17", true),
VERSION_2_18_0("2.18.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),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ public void testGetVersion() {
assertEquals("2.15.0", ReleaseInputs.VERSION_2_15_0.getVersion());
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("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 @@ -32,6 +33,7 @@ public void testGetState() {
assertEquals("closed", ReleaseInputs.VERSION_2_15_0.getState());
assertEquals("closed", ReleaseInputs.VERSION_2_16_0.getState());
assertEquals("closed", ReleaseInputs.VERSION_2_17_0.getState());
assertEquals("open", ReleaseInputs.VERSION_2_18_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());
Expand All @@ -48,6 +50,7 @@ public void testGetBranch() {
assertEquals("2.15", ReleaseInputs.VERSION_2_15_0.getBranch());
assertEquals("2.16", ReleaseInputs.VERSION_2_16_0.getBranch());
assertEquals("2.17", ReleaseInputs.VERSION_2_17_0.getBranch());
assertEquals("2.x", ReleaseInputs.VERSION_2_18_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 @@ -64,6 +67,7 @@ public void testGetTrack() {
assertEquals(true, ReleaseInputs.VERSION_2_15_0.getTrack());
assertEquals(true, ReleaseInputs.VERSION_2_16_0.getTrack());
assertEquals(true, ReleaseInputs.VERSION_2_17_0.getTrack());
assertEquals(true, ReleaseInputs.VERSION_2_18_0.getTrack());
assertEquals(false, ReleaseInputs.VERSION_1_3_15.getTrack());
assertEquals(false, ReleaseInputs.VERSION_1_3_16.getTrack());
assertEquals(false, ReleaseInputs.VERSION_1_3_17.getTrack());
Expand All @@ -74,19 +78,20 @@ public void testGetTrack() {
@Test
public void testGetAllReleaseInputs() {
ReleaseInputs[] releaseInputs = ReleaseInputs.getAllReleaseInputs();
assertEquals(12, releaseInputs.length);
assertEquals(13, 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]);
assertEquals(ReleaseInputs.VERSION_2_14_0, releaseInputs[3]);
assertEquals(ReleaseInputs.VERSION_2_15_0, releaseInputs[4]);
assertEquals(ReleaseInputs.VERSION_2_16_0, releaseInputs[5]);
assertEquals(ReleaseInputs.VERSION_2_17_0, releaseInputs[6]);
assertEquals(ReleaseInputs.VERSION_1_3_15, releaseInputs[7]);
assertEquals(ReleaseInputs.VERSION_1_3_16, releaseInputs[8]);
assertEquals(ReleaseInputs.VERSION_1_3_17, releaseInputs[9]);
assertEquals(ReleaseInputs.VERSION_1_3_18, releaseInputs[10]);
assertEquals(ReleaseInputs.VERSION_1_3_19, releaseInputs[11]);
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]);
}

}

0 comments on commit d8b52e6

Please sign in to comment.