예제 #1
0
 public void ExecuteCast()
 {
     TestingFacade.RunMethodTest(ExecuteCast);
 }
예제 #2
0
 public void ExecuteAddConvertable()
 {
     TestingFacade.RunMethodTest(ExecuteAddConvertable);
 }
예제 #3
0
 public void ExecuteAssignNonNullableImplicit()
 {
     TestingFacade.RunMethodTest(ExecuteAssignNonNullableImplicit);
 }
예제 #4
0
 public void ExecuteIncrementNullable()
 {
     TestingFacade.RunMethodTest(ExecuteIncrementNullable);
 }
예제 #5
0
 public void CounterCondition()
 {
     TestingFacade.RunMethodTest(CounterCondition);
 }
예제 #6
0
 public void ExecuteBoxNull()
 {
     TestingFacade.RunMethodTest(ExecuteBoxNull);
 }
예제 #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"));
 }
예제 #8
0
 public void And2()
 {
     TestingFacade.RunMethodTest(And2);
 }
예제 #9
0
 public void Equality1()
 {
     TestingFacade.RunMethodTest(Equality1);
 }
예제 #10
0
 public void OrInAnd4()
 {
     TestingFacade.RunMethodTest(OrInAnd4);
 }
예제 #11
0
 public void AndInOr5()
 {
     TestingFacade.RunMethodTest(AndInOr5);
 }
예제 #12
0
 public void Or4()
 {
     TestingFacade.RunMethodTest(Or4);
 }
 public void ExecuteWithNullableArg()
 {
     TestingFacade.RunMethodTest(ExecuteWithNullableArg);
 }
 public void ExecuteWithValueTypeArg()
 {
     TestingFacade.RunMethodTest(ExecuteWithValueTypeArg);
 }
예제 #15
0
 public void ExecuteUnbox()
 {
     TestingFacade.RunMethodTest(ExecuteUnbox);
 }
예제 #16
0
 public void ExecuteValueType()
 {
     TestingFacade.RunMethodTest(ExecuteValueType);
 }
예제 #17
0
 public void UnwrapNullableNull()
 {
     Assert.That(
         () => TestingFacade.RunMethodTest(UnwrapNullableNull),
         Throws.TypeOf <TargetInvocationException>().With.InnerException.Message.EqualTo("Nullable object must have a value."));
 }
예제 #18
0
 public void UnwrapNullableValue()
 {
     TestingFacade.RunMethodTest(UnwrapNullableValue);
 }
예제 #19
0
 public void IncrementNullableNonInt()
 {
     TestingFacade.RunMethodTest(ExecuteIncrementNullableNonInt);
 }
예제 #20
0
 public void ExecuteCompareNullables()
 {
     TestingFacade.RunMethodTest(ExecuteCompareNullables);
 }
예제 #21
0
 public void ExecuteWrapNullable()
 {
     TestingFacade.RunMethodTest(ExecuteWrapNullable);
 }
예제 #22
0
 public void ExecuteAdd()
 {
     TestingFacade.RunMethodTest(ExecuteAdd);
 }
예제 #23
0
 public void ExecuteConditionalInt()
 {
     TestingFacade.RunMethodTest(ExecuteConditionalInt);
 }
예제 #24
0
 public void FalseVarCondition()
 {
     TestingFacade.RunMethodTest(FalseVarCondition);
 }