knox-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kris...@apache.org
Subject [knox] branch master updated: KNOX-2024 - Fix testNameMethod test
Date Tue, 01 Oct 2019 20:44:38 GMT
This is an automated email from the ASF dual-hosted git repository.

krisden pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/knox.git


The following commit(s) were added to refs/heads/master by this push:
     new 2aa16ef  KNOX-2024 - Fix testNameMethod test
2aa16ef is described below

commit 2aa16efd71bd6dd9fd886ca1772ee3dd612da276
Author: Kevin Risden <krisden@apache.org>
AuthorDate: Tue Oct 1 15:44:14 2019 -0500

    KNOX-2024 - Fix testNameMethod test
    
    Signed-off-by: Kevin Risden <krisden@apache.org>
---
 .../apache/knox/gateway/shell/table/KnoxShellTableFilterTest.java | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/gateway-shell/src/test/java/org/apache/knox/gateway/shell/table/KnoxShellTableFilterTest.java
b/gateway-shell/src/test/java/org/apache/knox/gateway/shell/table/KnoxShellTableFilterTest.java
index b1f3736..e9fc16e 100644
--- a/gateway-shell/src/test/java/org/apache/knox/gateway/shell/table/KnoxShellTableFilterTest.java
+++ b/gateway-shell/src/test/java/org/apache/knox/gateway/shell/table/KnoxShellTableFilterTest.java
@@ -50,10 +50,10 @@ public class KnoxShellTableFilterTest {
   }
 
   @Test
-  public void testNameMethod() throws KnoxShellTableFilterException, ParseException {
-    assertEquals(TABLE.filter().name("cOlUmN iNtEgEr").greaterThan(10).getRows().size(),
1);
-    assertEquals(TABLE.filter().name("COLUMN DOUBLE").greaterThan(25d).getRows().size(),
1);
-    assertEquals(TABLE.filter().name("column string").greaterThan("text20").getRows().size(),
2);
+  public void testNameMethod() throws KnoxShellTableFilterException {
+    assertEquals(TABLE.filter().name("cOlUmN iNtEgEr").greaterThan(10).getRows().size(),
2);
+    assertEquals(TABLE.filter().name("COLUMN DOUBLE").greaterThan(25d).getRows().size(),
2);
+    assertEquals(TABLE.filter().name("column string").greaterThan("text20").getRows().size(),
3);
   }
 
   @Test


Mime
View raw message