package jalview.gui;
-import static org.junit.Assert.assertEquals;
-import static org.junit.Assert.assertTrue;
-import static org.junit.Assert.fail;
-
+import static org.testng.AssertJUnit.assertEquals;
+import static org.testng.AssertJUnit.assertTrue;
+import org.testng.annotations.Test;
+import org.testng.Assert;
import java.awt.Component;
import java.awt.FlowLayout;
import java.awt.GridLayout;
import javax.swing.JLabel;
import javax.swing.JPanel;
-import org.junit.Test;
-
public class ProgressBarTest
{
try
{
new ProgressBar(null, null);
- fail("Expected exception");
+ Assert.fail("Expected exception");
} catch (NullPointerException e)
{
// expected
try
{
new ProgressBar(statusPanel, null);
- fail("expected exception");
+ Assert.fail("expected exception");
} catch (IllegalArgumentException e)
{
// expected