Skip to content

Conversation

@clopezno
Copy link
Owner

Comentarios de reisión de la práctica

@Test
public void testGetInstance() {
fail("Not yet implemented");
assert pool1 == null;
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Este no es un assert de JUnit, es el assert de Java.
Susutituir por el uso de assertNotNull e incluir un mensaje que describa el caso de prueba

public static void assertNotNull(java.lang.String message, java.lang.Object object)
Asserts that an object isn't null. If it is an AssertionError is thrown with the given message.

Parameters:
    message - the identifying message for the AssertionError (null okay)
    object - Object to check or null

@clopezno clopezno changed the title Revisión de la práctica Revisión de la práctica DASS02 Mar 16, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants