Class SnapshotFlowTest
java.lang.Object
com.e1c.g5.v8.dt.internal.snapshot.SnapshotFlowTest
Tests for
ISnapshotFlow
and properties of ISnapshotOperation
it produces.-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final DerivedDataManagerMock
protected final IDerivedDataManagerProvider
protected final IDtProjectManager
protected final IDtSnapshotManager
protected final ISnapshotManager
protected final WorkspaceOrchestratorMock
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected static org.eclipse.core.resources.IProject
makeProject
(String name) Creates a newIProject
mock with the given name.void
void
void
void
void
void
void
void
void
-
Field Details
-
dtProjectManager
-
derivedDataManagerMock
-
derivedDataManagerProvider
-
workspaceOrchestrator
-
snapshotManager
-
dtSnapshotManager
-
-
Constructor Details
-
SnapshotFlowTest
public SnapshotFlowTest()
-
-
Method Details
-
testEmptyFlow
- Throws:
InterruptedException
-
testEmptyOperationExclusivityAcquired
public void testEmptyOperationExclusivityAcquired() -
testEmptyOperationExclusivityNotAcquired
public void testEmptyOperationExclusivityNotAcquired() -
testCancelFlowExclusivityAcquired
public void testCancelFlowExclusivityAcquired() -
testCancelFlowExclusivityNotAcquired
public void testCancelFlowExclusivityNotAcquired() -
testFinishSchedulingReleasesUnaffectedProjects
public void testFinishSchedulingReleasesUnaffectedProjects() -
testScheduleCreation
public void testScheduleCreation() -
testScheduleRestoration
public void testScheduleRestoration() -
testScheduleCreationAndRestoration
public void testScheduleCreationAndRestoration() -
makeProject
Creates a newIProject
mock with the given name. The project is accessible and open.- Parameters:
name
- the project name, cannot benull
- Returns:
- the new project mock, never
null
-