Class ManageTagGitHubActionTest
java.lang.Object
me.julb.applications.github.actions.ManageTagGitHubActionTest
@ExtendWith(org.mockito.junit.jupiter.MockitoExtension.class)
class ManageTagGitHubActionTest
extends Object
Test class for
ManageTagGitHubAction
class. - Author:
- Julb.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(package private) void
setUp()
(package private) void
Test method.(package private) void
Test method.(package private) void
Test method.(package private) void
Test method.(package private) void
Test method.(package private) void
Test method.(package private) void
Test method.(package private) void
Test method.(package private) void
Test method.(package private) void
Test method.(package private) void
Test method.(package private) void
Test method.(package private) void
Test method.(package private) void
Test method.(package private) void
Test method.(package private) void
Test method.(package private) void
Test method.(package private) void
Test method.(package private) void
Test method.(package private) void
Test method.(package private) void
Test method.(package private) void
Test method.(package private) void
Test method.(package private) void
Test method.(package private) void
Test method.(package private) void
Test method.(package private) void
Test method.(package private) void
Test method.
-
Constructor Details
-
ManageTagGitHubActionTest
ManageTagGitHubActionTest()
-
-
Method Details
-
setUp
- Throws:
Exception
-
whenGetInputName_thenReturnValue
Test method.- Throws:
Exception
-
whenGetInputNameNotProvided_thenFail
@Test void whenGetInputNameNotProvided_thenFail()Test method. -
whenGetInputStateProvided_thenReturnValue
Test method.- Throws:
Exception
-
whenGetInputStateNotProvided_thenReturnDefaultValue
Test method.- Throws:
Exception
-
whenGetInputFromProvided_thenReturnValue
Test method.- Throws:
Exception
-
whenGetInputFromNotProvided_thenReturnDefaultValue
Test method.- Throws:
Exception
-
whenExecuteCreateTagNotExists_thenTagCreated
Test method.- Throws:
Exception
-
whenExecuteCreateTagAlreadyExists_thenTagUpdated
Test method.- Throws:
Exception
-
whenExecuteDeleteTagAlreadyExists_thenTagDeleted
Test method.- Throws:
Exception
-
whenExecuteDeleteTagNotExists_thenTagDeleted
Test method.- Throws:
Exception
-
whenConnectApi_thenVerifyOK
Test method.- Throws:
Exception
-
whenGetTagGHRefExist_thenReturnRef
Test method.- Throws:
Exception
-
whenGetTagGHRefDoesNotExist_thenReturnEmpty
Test method.- Throws:
Exception
-
whenGetTagGHRefRepoHasNoTags_thenReturnEmpty
Test method.- Throws:
Exception
-
whenGetTagGHRefNull_thenThrowNullPointerException
Test method.- Throws:
Exception
-
whenGetAnyGHRefExist_thenReturnRef
Test method.- Throws:
Exception
-
whenGetAnyGHRefDoesNotExist_thenReturnEmpty
Test method.- Throws:
Exception
-
whenGetAnyGHRefNull_thenThrowNullPointerException
Test method.- Throws:
Exception
-
whenCreateGHRefPresentExistingTag_thenUpdateExistingTag
Test method.- Throws:
Exception
-
whenCreateGHRefEmptyExistingTag_thenCreateTag
Test method.- Throws:
Exception
-
whenCreateGHRefNull_thenThrowNullPointerException
Test method.- Throws:
Exception
-
whenDeleteGHRefPresent_thenDeleteGhRef
Test method.- Throws:
Exception
-
whenDeleteGHRefEmpty_thenLogMessage
@Test void whenDeleteGHRefEmpty_thenLogMessage()Test method. -
whenDeleteGHRefNull_thenThrowNullPointerException
Test method.- Throws:
Exception
-
whenBranchRefNamePresent_thenReturnRefValue
@Test void whenBranchRefNamePresent_thenReturnRefValue()Test method. -
whenBranchRefNameNull_thenThrowNullPointerException
Test method.- Throws:
Exception
-
whenTagRefNamePresent_thenReturnRefValue
@Test void whenTagRefNamePresent_thenReturnRefValue()Test method. -
whenTagRefNameNull_thenThrowNullPointerException
Test method.- Throws:
Exception
-