google-code-export / umple

Automatically exported from code.google.com/p/umple
1 stars 0 forks source link

Assert testing not checking for empty arrays/null ArrayLists #634

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Currently, many of the test methods (AssertFailedParse and 
AssertHasWarningsParse namely) are checking for errors in the ParseResults 
before checking if there are even any errors to analyse. 

To reproduce the issue, in UmpleParserTest, you can do something like

{{{
@Test
public void testAFile()
{
  assertHasWarningsParse("###_SomeFileThatDoesNotProduceWarnings.ump");
}
}}}

Original issue reported on code.google.com by alexwith...@gmail.com on 20 Sep 2014 at 8:39

GoogleCodeExporter commented 9 years ago
See also issue 636

Original comment by TimothyCLethbridge on 21 Sep 2014 at 1:51