Package ffx.potential.utils
Class PotentialTest
java.lang.Object
ffx.utilities.FFXTest
ffx.potential.utils.PotentialTest
PotentialTest extends BaseFFXTest to include support for:
1) Creating a Groovy Binding before each test.
2) Destroying created potentials after each test.
1) Creating a Groovy Binding before each test.
2) Destroying created potentials after each test.
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
afterTest.void
beforeTest.getResourceFile
(String filename) Get a resource file from the classpath.getResourcePath
(String filename) Get a resource file from the classpath.Methods inherited from class ffx.utilities.FFXTest
afterClass, beforeClass, registerTemporaryDirectory
-
Field Details
-
potentialScript
-
binding
public groovy.lang.Binding binding
-
-
Constructor Details
-
PotentialTest
public PotentialTest()
-
-
Method Details
-
beforeTest
public void beforeTest()Description copied from class:FFXTest
beforeTest.- Overrides:
beforeTest
in classFFXTest
-
afterTest
public void afterTest()Description copied from class:FFXTest
afterTest. -
getResourcePath
Get a resource file from the classpath.- Parameters:
filename
-- Returns:
- the resource file.
-
getResourceFile
Get a resource file from the classpath.- Parameters:
filename
-- Returns:
- the resource file.
-