Remove @Disabled on LifeCycleListenerNestedTest
This commit is contained in:
parent
4c1843f2fb
commit
eb8152094d
|
@ -17,7 +17,6 @@ import java.util.ArrayList;
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
|
||||||
import org.hamcrest.Matcher;
|
import org.hamcrest.Matcher;
|
||||||
import org.junit.jupiter.api.Disabled;
|
|
||||||
import org.junit.jupiter.api.Test;
|
import org.junit.jupiter.api.Test;
|
||||||
|
|
||||||
import static org.hamcrest.MatcherAssert.assertThat;
|
import static org.hamcrest.MatcherAssert.assertThat;
|
||||||
|
@ -28,7 +27,6 @@ import static org.hamcrest.Matchers.is;
|
||||||
* Testing for LifeCycleListener events on nested components
|
* Testing for LifeCycleListener events on nested components
|
||||||
* during runtime.
|
* during runtime.
|
||||||
*/
|
*/
|
||||||
@Disabled
|
|
||||||
public class LifeCycleListenerNestedTest
|
public class LifeCycleListenerNestedTest
|
||||||
{
|
{
|
||||||
// Set this true to use test-specific workaround.
|
// Set this true to use test-specific workaround.
|
||||||
|
@ -78,12 +76,10 @@ public class LifeCycleListenerNestedTest
|
||||||
Bar other = (Bar)obj;
|
Bar other = (Bar)obj;
|
||||||
if (id == null)
|
if (id == null)
|
||||||
{
|
{
|
||||||
if (other.id != null)
|
return other.id == null;
|
||||||
return false;
|
|
||||||
}
|
}
|
||||||
else if (!id.equals(other.id))
|
else
|
||||||
return false;
|
return id.equals(other.id);
|
||||||
return true;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
@ -93,7 +89,7 @@ public class LifeCycleListenerNestedTest
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public static enum LifeCycleEvent
|
public enum LifeCycleEvent
|
||||||
{
|
{
|
||||||
STARTING,
|
STARTING,
|
||||||
STARTED,
|
STARTED,
|
||||||
|
|
Loading…
Reference in New Issue