Strabon

changeset 1024:e34e39809c55

Passed the correct arguments to assertEquals.
author Panayiotis Smeros <psmeros@di.uoa.gr>
date Thu Apr 11 13:44:17 2013 +0300 (2013-04-11)
parents bc46378b62b3
children 05312b76db52
files testsuite/src/test/java/eu/earthobservatory/runtime/postgis/Utils.java
line diff
     1.1 --- a/testsuite/src/test/java/eu/earthobservatory/runtime/postgis/Utils.java	Thu Apr 11 10:47:31 2013 +0300
     1.2 +++ b/testsuite/src/test/java/eu/earthobservatory/runtime/postgis/Utils.java	Thu Apr 11 13:44:17 2013 +0300
     1.3 @@ -152,7 +152,7 @@
     1.4  		}
     1.5  		
     1.6  		//Check if the actual result set is the same as the expected one
     1.7 -		assertEquals("Actual result set is not the same as the expected one.", expectedResults.size(), actualResults.size());
     1.8 +		assertEquals("Result set is not the expected one.", expectedResults.size(), actualResults.size());
     1.9  		Iterator<String> expectedResultsIterator = expectedResults.iterator();
    1.10  		Iterator<String> actualResultsIterator = actualResults.iterator();
    1.11  		
    1.12 @@ -163,7 +163,7 @@
    1.13  			
    1.14  			//Replace all the names of the variables with "?"
    1.15  			aResults = aResults.replaceAll("[[A-Z][a-z][0-9]]*=", "?=");
    1.16 -			assertEquals("Actual result set is not the same as the expected one.", aResults, eResults);
    1.17 +			assertEquals("Result set is not the expected one.", eResults, aResults);
    1.18  		}
    1.19  	}
    1.20