Home
last modified time | relevance | path

Searched refs:expectedExceptionType (Results 1 - 2 of 2) sorted by relevance

/third_party/protobuf/csharp/compatibility_tests/v3.0.0/src/Google.Protobuf.Test/
H A DJsonParserTest.cs450 public void NumberToInt32_Invalid(string jsonValue, System.Type expectedExceptionType) in NumberToInt32_Invalid() argument
453 Assert.Throws(expectedExceptionType, () => TestAllTypes.Parser.ParseJson(json)); in NumberToInt32_Invalid()
591 public void NumberToFloat_Invalid(string jsonValue, System.Type expectedExceptionType) in NumberToFloat_Invalid() argument
594 Assert.Throws(expectedExceptionType, () => TestAllTypes.Parser.ParseJson(json)); in NumberToFloat_Invalid()
/third_party/protobuf/csharp/src/Google.Protobuf.Test/
H A DJsonParserTest.cs452 public void NumberToInt32_Invalid(string jsonValue, System.Type expectedExceptionType) in NumberToInt32_Invalid() argument
455 Assert.Throws(expectedExceptionType, () => TestAllTypes.Parser.ParseJson(json)); in NumberToInt32_Invalid()
593 public void NumberToFloat_Invalid(string jsonValue, System.Type expectedExceptionType) in NumberToFloat_Invalid() argument
596 Assert.Throws(expectedExceptionType, () => TestAllTypes.Parser.ParseJson(json)); in NumberToFloat_Invalid()

Completed in 4 milliseconds