diff options
author | Lorraine Welch <lb2391@att.com> | 2020-02-10 22:02:12 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2020-02-10 22:02:12 +0000 |
commit | 51704c090ba14c0f388d37efa5bd3d209811b63b (patch) | |
tree | c198443217cbba94cf9bb65075a87c39368cc415 | |
parent | 703ebb2d5a683a5237d4f15d0569e653d887f387 (diff) | |
parent | 1e7176f27d5b329fcedc3bbe395513650f439bcb (diff) |
Merge "testing confirmationText method"
-rw-r--r-- | ecomp-sdk/epsdk-analytics/src/test/java/org/onap/portalsdk/analytics/model/search/SearchResultFieldTest.java | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/ecomp-sdk/epsdk-analytics/src/test/java/org/onap/portalsdk/analytics/model/search/SearchResultFieldTest.java b/ecomp-sdk/epsdk-analytics/src/test/java/org/onap/portalsdk/analytics/model/search/SearchResultFieldTest.java index 0bfa747b..0f893eb0 100644 --- a/ecomp-sdk/epsdk-analytics/src/test/java/org/onap/portalsdk/analytics/model/search/SearchResultFieldTest.java +++ b/ecomp-sdk/epsdk-analytics/src/test/java/org/onap/portalsdk/analytics/model/search/SearchResultFieldTest.java @@ -34,6 +34,22 @@ public class SearchResultFieldTest { searchResultField = new SearchResultField(); } + @Test + public void testSetConfirmationText() { + searchResultField.setConfirmationText("test"); + String expected; + expected=searchResultField.getConfirmationText(); + assertEquals(expected,"test"); + } + + @Test + public void testSetDrillDownImage() { + searchResultField.setDrillDownImage("confirm"); + String expected; + expected=searchResultField.getDrillDownImage(); + assertEquals(expected,"confirm"); + } + @Test public void testValuesWhenColumnIdIsEdit() { SearchResultColumn col = new SearchResultColumn("edit", "Column1", "10", "left", |