コード例 #1
0
        public void SetUp()
        {
            //
            // CREATE THE STACK.
            //
            ActivityPointStack CreatedStack = new ActivityPointStack();

            //
            // CREATE THE END POINT.
            //
            _EndPoint = new ActivityPoint();
            _EndPoint.ActivityName  = "Marker";
            _EndPoint.PointDateTime = DateTime.UtcNow;
            _EndPoint.PointType     = ActivityPointType.End;
            CreatedStack.Push(_EndPoint);

            //
            // CREATE THE START POINT.
            //
            ActivityPoint StartPoint = new ActivityPoint();

            StartPoint.ActivityName  = "Marker";
            StartPoint.PointDateTime = DateTime.UtcNow;
            StartPoint.PointType     = ActivityPointType.Start;
            CreatedStack.Push(StartPoint);

            //
            // GET THE END POINT.
            //
            _EndPoint = ActivityPointListNormalizer.GetEndPoint(StartPoint, CreatedStack);
        }
コード例 #2
0
 public void Test_Nullity()
 {
     Assert.IsNull(ActivityPointListNormalizer.GetEndPoint(_StartPoint, _Stack));
 }