From b325eab2ebf1732578d1a9986e616923b3078a12 Mon Sep 17 00:00:00 2001 From: Vyacheslav Boyko Date: Wed, 16 Jan 2019 16:07:01 +0300 Subject: [PATCH] commenting tests --- .../test/java/ru/bvn13/imdbspider/runner/MovieSearchTest.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/core/src/test/java/ru/bvn13/imdbspider/runner/MovieSearchTest.java b/core/src/test/java/ru/bvn13/imdbspider/runner/MovieSearchTest.java index b55f017..2ec79c6 100644 --- a/core/src/test/java/ru/bvn13/imdbspider/runner/MovieSearchTest.java +++ b/core/src/test/java/ru/bvn13/imdbspider/runner/MovieSearchTest.java @@ -61,6 +61,8 @@ public class MovieSearchTest { assertTrue("Got "+result.getMovies().size()+" movies but more than 0 expected", result.getMovies().size() > 0); Movie movie = result.getMovies().get(0); + System.out.println("Testing Movie #"+movie.getId()+", url: "+movie.getUrl()); + assertTrue("Expected ID field presence", movie.isDataTypeRetrieved(MovieDataType.ID)); assertTrue("Expected TITLE field presence", movie.isDataTypeRetrieved(MovieDataType.TITLE)); assertTrue("Expected ORIGINAL_TITLE field presence", movie.isDataTypeRetrieved(MovieDataType.ORIGINAL_TITLE));