STREAMS-236 | Added test case to ensure that entity de-duplication works

Project: http://git-wip-us.apache.org/repos/asf/incubator-streams/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-streams/commit/0c6549bc
Tree: http://git-wip-us.apache.org/repos/asf/incubator-streams/tree/0c6549bc
Diff: http://git-wip-us.apache.org/repos/asf/incubator-streams/diff/0c6549bc

Branch: refs/heads/STREAMS-212
Commit: 0c6549bc70d20cf3106a4e8c39c5ed035b1a1f29
Parents: bd1718a
Author: Robert Douglas <[email protected]>
Authored: Tue Nov 25 17:14:53 2014 -0600
Committer: Robert Douglas <[email protected]>
Committed: Tue Nov 25 17:14:53 2014 -0600

----------------------------------------------------------------------
 .../test/java/org/apache/streams/regex/RegexUrlExtractorTest.java   | 1 +
 1 file changed, 1 insertion(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-streams/blob/0c6549bc/streams-contrib/streams-processor-regex/src/test/java/org/apache/streams/regex/RegexUrlExtractorTest.java
----------------------------------------------------------------------
diff --git 
a/streams-contrib/streams-processor-regex/src/test/java/org/apache/streams/regex/RegexUrlExtractorTest.java
 
b/streams-contrib/streams-processor-regex/src/test/java/org/apache/streams/regex/RegexUrlExtractorTest.java
index 38b8dab..344bf98 100644
--- 
a/streams-contrib/streams-processor-regex/src/test/java/org/apache/streams/regex/RegexUrlExtractorTest.java
+++ 
b/streams-contrib/streams-processor-regex/src/test/java/org/apache/streams/regex/RegexUrlExtractorTest.java
@@ -50,6 +50,7 @@ public class RegexUrlExtractorTest {
         return Arrays.asList(new Object[][]{
                 {"This is the http://t.co/foo of a standard tweet", 
Sets.newHashSet("http://t.co/foo";)},
                 {"This is the https://t.co/foo of a standard tweet", 
Sets.newHashSet("https://t.co/foo";)},
+                {"This is the https://t.co/foo of a standard tweet 
https://t.co/foo";, Sets.newHashSet("https://t.co/foo";)},
                 {"This is the http://amd.com/test of a standard tweet", 
Sets.newHashSet("http://amd.com/test";)},
                 {"This is the content of a standard tweet", Sets.newHashSet()},
                 {"This is the 
http://www.google.com/articles/awesome?with=query&params=true of a standard 
@tweet",  
Sets.newHashSet("http://www.google.com/articles/awesome?with=query&params=true";)}

Reply via email to