public abstract class AbstractDpkgPluginTest extends Object
The abstract superclass of all tests.
| Constructor and Description |
|---|
AbstractDpkgPluginTest() |
| Modifier and Type | Method and Description |
|---|---|
protected static net.sourceforge.javadpkg.control.Architecture |
createArchitecture(String architecture)
Creates an architecture.
|
protected static net.sourceforge.javadpkg.control.PackageName |
createPackageName(String name)
Creates a package name.
|
protected static net.sourceforge.javadpkg.control.PackageVersion |
createPackageVersion(String version)
Creates a package version.
|
void |
setUp()
Performs some preparations before each test is performed.
|
static void |
setUpBeforeClass()
Performs some preparations before all tests are performed.
|
void |
tearDown()
Performs some clean-up after each test is performed.
|
static void |
tearDownAfterClass()
Performs some clean-up after all tests have been performed.
|
public static void setUpBeforeClass()
throws Exception
Performs some preparations before all tests are performed.
Exception - If an error occurs.public static void tearDownAfterClass()
throws Exception
Performs some clean-up after all tests have been performed.
Exception - If an error occurs.public void setUp()
throws Exception
Performs some preparations before each test is performed.
Exception - If an error occurs.public void tearDown()
throws Exception
Performs some clean-up after each test is performed.
Exception - If an error occurs.protected static net.sourceforge.javadpkg.control.PackageName createPackageName(String name)
Creates a package name.
name - The name.protected static net.sourceforge.javadpkg.control.PackageVersion createPackageVersion(String version)
Creates a package version.
version - The version.protected static net.sourceforge.javadpkg.control.Architecture createArchitecture(String architecture)
Creates an architecture.
architecture - The architecture.Copyright © 2015–2018. All rights reserved.