Пример #1
0
        public void prop_CreationOptions_get()
        {
            const TaskCreationOptions expected = TaskCreationOptions.None;
            var actual = new DerivedStandardTask().CreationOptions;

            Assert.Equal(expected, actual);
        }
Пример #2
0
 public void op_Run_CancellationToken()
 {
     using (var obj = new DerivedStandardTask())
     {
         obj.Run(new CancellationToken());
     }
 }
Пример #3
0
 public void ctor()
 {
     using (var obj = new DerivedStandardTask())
     {
         Assert.IsAssignableFrom <StandardTask>(obj);
     }
 }
Пример #4
0
        public void prop_CreationOptions_get()
        {
            const TaskCreationOptions expected = TaskCreationOptions.None;
            var actual = new DerivedStandardTask().CreationOptions;

            Assert.Equal(expected, actual);
        }
Пример #5
0
 public void op_Run_CancellationToken()
 {
     using (var obj = new DerivedStandardTask())
     {
         obj.Run(new CancellationToken());
     }
 }
Пример #6
0
 public void ctor()
 {
     using (var obj = new DerivedStandardTask())
     {
         Assert.IsAssignableFrom<StandardTask>(obj);
     }
 }