git://source.jalview.org
/
jalview.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
JAL-1270 JUnit to TestNG refactoring
[jalview.git]
/
test
/
MCview
/
AtomTest.java
diff --git
a/test/MCview/AtomTest.java
b/test/MCview/AtomTest.java
index
8c271b3
..
f337535
100644
(file)
--- a/
test/MCview/AtomTest.java
+++ b/
test/MCview/AtomTest.java
@@
-1,9
+1,8
@@
package MCview;
package MCview;
-import static org.junit.Assert.assertEquals;
-import static org.junit.Assert.fail;
-
-import org.junit.Test;
+import static org.testng.AssertJUnit.assertEquals;
+import org.testng.annotations.Test;
+import org.testng.Assert;
public class AtomTest
{
public class AtomTest
{
@@
-54,7
+53,7
@@
public class AtomTest
{
new Atom(
"ATOM 34N NE2 GLN A 48 22.290 8.595 17.680 1.00 14.30 N");
{
new Atom(
"ATOM 34N NE2 GLN A 48 22.290 8.595 17.680 1.00 14.30 N");
- fail("Expected exception");
+ Assert.fail("Expected exception");
} catch (NumberFormatException e)
{
// expected
} catch (NumberFormatException e)
{
// expected