Package org.eclipse.handly.junit
Class NoJobsWorkspaceTestCase
java.lang.Object
junit.framework.Assert
junit.framework.TestCase
org.eclipse.handly.junit.WorkspaceTestCase
org.eclipse.handly.junit.NoJobsWorkspaceTestCase
- All Implemented Interfaces:
junit.framework.Test
A
WorkspaceTestCase that suspends execution of all jobs
in its setUp() method and resumes execution of jobs in its
tearDown() method. It ensures that no jobs will execute
while a test is running.- Since:
- 1.7
-
Constructor Summary
ConstructorsConstructorDescriptionNo-arg constructor to enable serialization.Constructs a test case with the given name. -
Method Summary
Methods inherited from class org.eclipse.handly.junit.WorkspaceTestCase
buildWorkspace, cleanUpWorkspace, getProject, getWorkspace, getWorkspaceRoot, resumeJobs, setAutoBuilding, setUpProject, suspendJobs, waitForBuildCompletionMethods inherited from class junit.framework.TestCase
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, countTestCases, createResult, fail, fail, failNotEquals, failNotSame, failSame, format, getName, run, run, runBare, runTest, setName, toString
-
Constructor Details
-
NoJobsWorkspaceTestCase
public NoJobsWorkspaceTestCase()No-arg constructor to enable serialization. This method is not intended to be used by mere mortals without calling setName(). -
NoJobsWorkspaceTestCase
Constructs a test case with the given name.
-
-
Method Details
-
setUp
Description copied from class:WorkspaceTestCaseTurns auto-build off, cleans up the workspace.- Overrides:
setUpin classWorkspaceTestCase- Throws:
Exception
-
tearDown
Description copied from class:WorkspaceTestCaseCleans up the workspace.- Overrides:
tearDownin classWorkspaceTestCase- Throws:
Exception
-