-
Notifications
You must be signed in to change notification settings - Fork 32
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[test] Unit-tests for common/k8s_utils.go (part 1 of 3) (#190)
* test: Add unit-tests to ObjectInfo (#167) * refactor: Add comment to ObjectInfo (#167) * test: Add unit-test to ReadAnnotationsFromObject (#167) * refactor: Add comment to ReadAnnotationsFromObject (#167) * test: Add unit-test to TagObjectToDelete (#167) * refactor: Add comment to TagObjectToDelete (#167) * test: Add unit-tests to IsObjectTaggedToDelete (#167) * refactor: Add comment to IsObjectTaggedToDelete (#167) * refactor: run goimporst to pass the code-style check (#167) * refactor: Rename 'Kind' fields according to CamelCase naming convention * refactor: Simplify comment to ObjectInfo (#167) * refactor: Compare maps with DeepEqual instead of looping in TestTagObjectToDelete (#167) * refactor: Clean the tests for ObjectInfo (#167) - Deleted redundant test-case (#190 (comment)) - Generalized the names of objects to 'Kubernetes object' in test-case names kudos to @guicassolato!
- Loading branch information
1 parent
a07a4db
commit cbf0d40
Showing
2 changed files
with
231 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters