You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@streams.apache.org by re...@apache.org on 2015/01/07 01:23:28 UTC
[4/5] incubator-streams git commit: STREAMS-264 | Ignoring all Link
Expansion tests that depend on external resources
STREAMS-264 | Ignoring all Link Expansion tests that depend on external resources
Project: http://git-wip-us.apache.org/repos/asf/incubator-streams/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-streams/commit/de67ac52
Tree: http://git-wip-us.apache.org/repos/asf/incubator-streams/tree/de67ac52
Diff: http://git-wip-us.apache.org/repos/asf/incubator-streams/diff/de67ac52
Branch: refs/heads/master
Commit: de67ac52a16ae7b93422d4f66b3865909acbcde7
Parents: 94c7bef
Author: Robert Douglas <rd...@w2ogroup.com>
Authored: Tue Jan 6 17:51:58 2015 -0600
Committer: Robert Douglas <rd...@w2ogroup.com>
Committed: Tue Jan 6 17:51:58 2015 -0600
----------------------------------------------------------------------
.../org/apache/streams/urls/TestLinkUnwinderProcessor.java | 8 ++++++++
1 file changed, 8 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-streams/blob/de67ac52/streams-contrib/streams-processor-urls/src/test/java/org/apache/streams/urls/TestLinkUnwinderProcessor.java
----------------------------------------------------------------------
diff --git a/streams-contrib/streams-processor-urls/src/test/java/org/apache/streams/urls/TestLinkUnwinderProcessor.java b/streams-contrib/streams-processor-urls/src/test/java/org/apache/streams/urls/TestLinkUnwinderProcessor.java
index a554008..c267d5a 100644
--- a/streams-contrib/streams-processor-urls/src/test/java/org/apache/streams/urls/TestLinkUnwinderProcessor.java
+++ b/streams-contrib/streams-processor-urls/src/test/java/org/apache/streams/urls/TestLinkUnwinderProcessor.java
@@ -26,6 +26,7 @@ import org.apache.streams.core.StreamsDatum;
import org.apache.streams.jackson.StreamsJacksonMapper;
import org.apache.streams.jackson.StreamsJacksonModule;
import org.apache.streams.pojo.json.Activity;
+import org.junit.Ignore;
import org.junit.Test;
import java.util.List;
@@ -47,6 +48,7 @@ public class TestLinkUnwinderProcessor {
assertEquals("Should be 400", LinkDetails.LinkStatus.MALFORMED_URL, details.getLinkStatus());
}
+ @Ignore
@Test
public void testLinkResolverSerializability() {
LinkResolver resolver = new LinkResolver("http://bit.ly/1cX5Rh4");
@@ -67,36 +69,42 @@ public class TestLinkUnwinderProcessor {
LinkResolverProcessor clone = SerializationUtils.clone(processor);
}
+ @Ignore
@Test
public void testActivityLinkUnwinderProcessorBitly() throws Exception{
testActivityUnwinderHelper(Lists.newArrayList("http://bit.ly/1cX5Rh4"), Lists.newArrayList("http://www.wcgworld.com/"));
testStringActivityUnwinderHelper(Lists.newArrayList("http://bit.ly/1cX5Rh4"), Lists.newArrayList("http://www.wcgworld.com/"));
}
+ @Ignore
@Test
public void testActivityLinkUnwinderProcessorTdotCo() throws Exception{
testActivityUnwinderHelper(Lists.newArrayList("http://t.co/lLFgFynv2G"), Lists.newArrayList("http://www.holmesreport.com/latest"));
testStringActivityUnwinderHelper(Lists.newArrayList("http://t.co/lLFgFynv2G"), Lists.newArrayList("http://www.holmesreport.com/latest"));
}
+ @Ignore
@Test
public void testActivityLinkUnwinderProcessorGoogle() throws Exception{
testActivityUnwinderHelper(Lists.newArrayList("http://goo.gl/wSrHDA"), Lists.newArrayList("http://www.wcgworld.com/"));
testStringActivityUnwinderHelper(Lists.newArrayList("http://goo.gl/wSrHDA"), Lists.newArrayList("http://www.wcgworld.com/"));
}
+ @Ignore
@Test
public void testActivityLinkUnwinderProcessorOwly() throws Exception{
testActivityUnwinderHelper(Lists.newArrayList("http://ow.ly/u4Kte"), Lists.newArrayList("http://www.wcgworld.com/"));
testStringActivityUnwinderHelper(Lists.newArrayList("http://ow.ly/u4Kte"), Lists.newArrayList("http://www.wcgworld.com/"));
}
+ @Ignore
@Test
public void testActivityLinkUnwinderProcessorGoDaddy() throws Exception{
testActivityUnwinderHelper(Lists.newArrayList("http://x.co/3yapt"), Lists.newArrayList("http://www.wcgworld.com/"));
testStringActivityUnwinderHelper(Lists.newArrayList("http://x.co/3yapt"), Lists.newArrayList("http://www.wcgworld.com/"));
}
+ @Ignore
@Test
public void testActivityLinkUnwinderProcessorMulti() throws Exception{
// changed these tests because the processor now guarantees each result returned only once