Class SnapshotFlowTest

java.lang.Object
com.e1c.g5.v8.dt.internal.snapshot.SnapshotFlowTest

public class SnapshotFlowTest extends Object
Tests for ISnapshotFlow and properties of ISnapshotOperation it produces.
  • Field Details

  • Constructor Details

    • SnapshotFlowTest

      public SnapshotFlowTest()
  • Method Details

    • testEmptyFlow

      public void testEmptyFlow() throws InterruptedException
      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

      protected static org.eclipse.core.resources.IProject makeProject(String name)
      Creates a new IProject mock with the given name. The project is accessible and open.
      Parameters:
      name - the project name, cannot be null
      Returns:
      the new project mock, never null