Esempio n. 1
0
 public void ExecuteCast()
 {
     TestingFacade.RunMethodTest(ExecuteCast);
 }
Esempio n. 2
0
 public void ExecuteAddConvertable()
 {
     TestingFacade.RunMethodTest(ExecuteAddConvertable);
 }
Esempio n. 3
0
 public void ExecuteAssignNonNullableImplicit()
 {
     TestingFacade.RunMethodTest(ExecuteAssignNonNullableImplicit);
 }
Esempio n. 4
0
 public void ExecuteIncrementNullable()
 {
     TestingFacade.RunMethodTest(ExecuteIncrementNullable);
 }
Esempio n. 5
0
 public void CounterCondition()
 {
     TestingFacade.RunMethodTest(CounterCondition);
 }
Esempio n. 6
0
 public void ExecuteBoxNull()
 {
     TestingFacade.RunMethodTest(ExecuteBoxNull);
 }
Esempio n. 7
0
 public void UnwrapNullableImplicit()
 {
     Assert.That(
         () => TestingFacade.RunMethodTest(UnwrapNullableImplicit),
         Throws.TypeOf <InvalidCastException>().With.Message.StartsWith("Cannot convert type from 'System.Nullable`1[[System.Int32"));
 }
Esempio n. 8
0
 public void And2()
 {
     TestingFacade.RunMethodTest(And2);
 }
Esempio n. 9
0
 public void Equality1()
 {
     TestingFacade.RunMethodTest(Equality1);
 }
Esempio n. 10
0
 public void OrInAnd4()
 {
     TestingFacade.RunMethodTest(OrInAnd4);
 }
Esempio n. 11
0
 public void AndInOr5()
 {
     TestingFacade.RunMethodTest(AndInOr5);
 }
Esempio n. 12
0
 public void Or4()
 {
     TestingFacade.RunMethodTest(Or4);
 }
 public void ExecuteWithNullableArg()
 {
     TestingFacade.RunMethodTest(ExecuteWithNullableArg);
 }
 public void ExecuteWithValueTypeArg()
 {
     TestingFacade.RunMethodTest(ExecuteWithValueTypeArg);
 }
Esempio n. 15
0
 public void ExecuteUnbox()
 {
     TestingFacade.RunMethodTest(ExecuteUnbox);
 }
Esempio n. 16
0
 public void ExecuteValueType()
 {
     TestingFacade.RunMethodTest(ExecuteValueType);
 }
Esempio n. 17
0
 public void UnwrapNullableNull()
 {
     Assert.That(
         () => TestingFacade.RunMethodTest(UnwrapNullableNull),
         Throws.TypeOf <TargetInvocationException>().With.InnerException.Message.EqualTo("Nullable object must have a value."));
 }
Esempio n. 18
0
 public void UnwrapNullableValue()
 {
     TestingFacade.RunMethodTest(UnwrapNullableValue);
 }
Esempio n. 19
0
 public void IncrementNullableNonInt()
 {
     TestingFacade.RunMethodTest(ExecuteIncrementNullableNonInt);
 }
Esempio n. 20
0
 public void ExecuteCompareNullables()
 {
     TestingFacade.RunMethodTest(ExecuteCompareNullables);
 }
Esempio n. 21
0
 public void ExecuteWrapNullable()
 {
     TestingFacade.RunMethodTest(ExecuteWrapNullable);
 }
Esempio n. 22
0
 public void ExecuteAdd()
 {
     TestingFacade.RunMethodTest(ExecuteAdd);
 }
Esempio n. 23
0
 public void ExecuteConditionalInt()
 {
     TestingFacade.RunMethodTest(ExecuteConditionalInt);
 }
Esempio n. 24
0
 public void FalseVarCondition()
 {
     TestingFacade.RunMethodTest(FalseVarCondition);
 }