[ 
https://issues.apache.org/jira/browse/SAMZA-412?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

David Chen updated SAMZA-412:
-----------------------------
    Summary: Replace usage of assert with appropriate JUnit Assert method  
(was: Use assertTrue, assertFalse, assertEquals, etc rather than assert)

> Replace usage of assert with appropriate JUnit Assert method
> ------------------------------------------------------------
>
>                 Key: SAMZA-412
>                 URL: https://issues.apache.org/jira/browse/SAMZA-412
>             Project: Samza
>          Issue Type: Test
>          Components: test
>            Reporter: David Chen
>            Assignee: David Chen
>              Labels: newbie
>         Attachments: SAMZA-412.0.patch
>
>
> I noticed that a number of tests use {{assert}} rather than JUnit's 
> {{assertTrue}}, {{assertFalse}}, {{assertEquals}}, etc. methods. From looking 
> at the [JUnit.Assert 
> Javadoc|http://junit.sourceforge.net/javadoc/org/junit/Assert.html], it 
> appears that we are currently just using the Scala {{assert}} rather than a 
> JUnit method.
> We should change all uses of {{assert}} to use one of the {{JUnit.Assert}} 
> methods.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to