updated pom and test file

This commit is contained in:
Massimiliano Assante 2019-12-03 18:27:14 +01:00
parent 2ce495afb2
commit 2c0614a7d0
2 changed files with 8 additions and 1 deletions

View File

@ -35,7 +35,7 @@
<dependency>
<groupId>org.gcube.distribution</groupId>
<artifactId>maven-portal-bom</artifactId>
<version>LATEST</version>
<version>3.6.0</version>
<type>pom</type>
<scope>import</scope>
</dependency>

View File

@ -55,6 +55,13 @@ public class MessageParserTest {
public static final String TEST_LUCA_8 = "Hello this link \"https://virtuoso.parthenos.d4science.org/sparql?default-graph-uri=&query=SELECT+%3Ftype+%28COUNT%28%3Ftype%29+as+%3FtypeCount%29++%0D%0A%09%09%09%09%09WHERE+%7B%5B%5D+a+%3Ftype%7D%0D%0A%09%09%09%09%09GROUP+BY+%3Ftype&format=text%2Fhtml&timeout=0&debug=on\" is a SPARQL query ";
@Test
public void test13() {
SocialMessageParser messageParser = new SocialMessageParser(TEST_13);
logger.debug(messageParser.getParsedMessage());
}
@Test
public void test() {
String message = "Prova #Pippo Pollo http://google) <a href=\"/test\">Luca</a> https://www.linkedin.com/feed/update/urn:li:activity:6488779074213801984 :) ";