Skip to content

Disabled testserver tests #291

@tjprescott

Description

@tjprescott

These tests have been written, but commented out with FIXME

  • AutoRestPagingTest.test_listWithQueryParams200: Causes flood of calls to the testserver
  • AutoRestValidationTest.test_apiVersionValidation: See (Modeler4 does not honor apiVersion in swagger and synthesizes its own autorest#3762)
  • AutoRestSwaggerBatArrayTest.test_putFloatValid200: Float not serialized correctly.
  • AutoRestSwaggerBatDictionaryTest.test_putFloatValid: Float not serialized correctly.
  • AutoRestSwaggerBatDictionaryTest.test_getStringInvalid: Requires workaround behavior where non-string values get turned into string values.
  • AutoRestSwaggerBatDictionaryTest.test_putDateTimeRfc1123Valid: Seemingly dead end trying to get 10/12/1492 to serialize as a Wednesday like testserver expects. iOS keeps serializing it as a Friday due to so discrepancies between Julian and Gregorian dates (see: https://stackoverflow.com/questions/10524266/calendric-calculations-in-ios-broken-before-1577-julian-gregorian)
  • AutoRestSwaggerBatDictionaryTest.test_getNull: Dictionary response is not nullable.
  • AutoRestSwaggerBatDictionaryTest.test_getArrayItemEmpty: Empty item deserializes as an empty Dictionary instead of nil.
  • AutoRestSwaggerBatDictionaryTest.test_getDictionaryNull: Dictionary response is not nullable.
  • AutoRestParameterizedHostTest.test_get_emptyFailed: Used to pass but now causes a runtime crash.
  • AutoRestUrlPathsTest.test_Paths_byteNull_404: Used to pass but now causes a runtime crash.

Issued fixed in PR #318

  • AutoRestSwaggerBatDictionaryTest.test_getDictionaryValid: Dictionaries difficult to generically deserialize.
  • AutoRestSwaggerBatDictionaryTest.test_putDictionaryValid: Dictionaries difficult to generically serialize.
  • AutoRestSwaggerBatDictionaryTest.test_dictionaryItemNull: Dictionaries difficult to generically deserialize.
  • AutoRestSwaggerBatDictionaryTest.test_dictionaryItemEmpty: Dictionaries difficult to generically deserialize.
  • AutoRestSwaggerBatDictionaryTest.test_complexValid: Dictionary not equatable.
  • AutoRestSwaggerBatDictionaryTest.test_complexItemNull: Dictionary not equatable.
  • AutoRestSwaggerBatDictionaryTest.test_complexItemEmpty: Dictionary not equatable.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions