Thanks to visit codestin.com
Credit goes to github.com

Skip to content
This repository was archived by the owner on Jun 6, 2025. It is now read-only.
This repository was archived by the owner on Jun 6, 2025. It is now read-only.

Refactor NamedOperationCacheIT #3171

@GCHQDeveloper314

Description

@GCHQDeveloper314

Describe the new feature you'd like
Refactor of NamedOperationCacheIT.java to use JUnit correctly.

Why do you want this feature?
This class has a single @Test method which then proceeds to run multiple tests by manually calling methods. Instead, these should all be annotated as individual tests for JUnit to run itself. There are also some methods annotated as before and after which are simply run manually.

Use of com.google.common.collect.Lists should also be removed as it is unnecessary.

Metadata

Metadata

Assignees

Labels

enhancementImprovement to existing functionality/featuregood first issueSmall, lower complexity and doesn't require pre-existing Gaffer knowledgetech-debtRelates to Technical Debt

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions