Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

System.Console.Tests fail on Android #37465

Closed
64 tasks
mdh1418 opened this issue Jun 4, 2020 · 2 comments · Fixed by #57220
Closed
64 tasks

System.Console.Tests fail on Android #37465

mdh1418 opened this issue Jun 4, 2020 · 2 comments · Fixed by #57220

Comments

@mdh1418
Copy link
Member

mdh1418 commented Jun 4, 2020

Several tests from System.Console.Tests fail on Android

System.Console.Tests

  • TermInfo.TermInfoVerification(termToTest: "screen", expectedForeground: "\x1b[30m", expectedBackground: "\x1b[40m", colorValue: 0)
  • TermInfo.TermInfoVerification(termToTest: "mach-color", expectedForeground: "\x1b[312m", expectedBackground: "\x1b[412m", colorValue: 12)
  • TermInfo.TermInfoVerification(termToTest: "screen", expectedForeground: "\x1b[39m", expectedBackground: "\x1b[49m", colorValue: 9)
  • TermInfo.TermInfoVerification(termToTest: "Eterm", expectedForeground: "\x1b[30m", expectedBackground: "\x1b[40m", colorValue: 0)
  • TermInfo.TermInfoVerification(termToTest: "xterm-256color", expectedForeground: "\x1b[90m", expectedBackground: "\x1b[100m", colorValue: 8)
  • TermInfo.TermInfoVerification(termToTest: "wsvt25", expectedForeground: "\x1b[34m", expectedBackground: "\x1b[44m", colorValue: 4)
  • TermInfo.TermInfoVerification(termToTest: "xterm-256color", expectedForeground: "\x1b[30m", expectedBackground: "\x1b[40m", colorValue: 0)
  • TermInfo.TermInfoVerification(termToTest: "mach-color", expectedForeground: "\x1b[35m", expectedBackground: "\x1b[45m", colorValue: 5)
  • TermInfo.TermInfoVerification(termToTest: "Eterm", expectedForeground: "\x1b[33m", expectedBackground: "\x1b[43m", colorValue: 3)
  • TermInfo.TermInfoVerification(termToTest: "screen", expectedForeground: "\x1b[32m", expectedBackground: "\x1b[42m", colorValue: 2)
  • TermInfo.TermInfoVerification(termToTest: "xterm-256color", expectedForeground: "\x1b[31m", expectedBackground: "\x1b[41m", colorValue: 1)
  • TermInfo.TermInfoVerification(termToTest: "Eterm", expectedForeground: "\x1b[310m", expectedBackground: "\x1b[410m", colorValue: 10)
  • TermInfo.TermInfoVerification(termToTest: "wsvt25", expectedForeground: "\x1b[311m", expectedBackground: "\x1b[411m", colorValue: 11)
  • TermInfo.TermInfoVerification(termToTest: "mach-color", expectedForeground: "\x1b[30m", expectedBackground: "\x1b[40m", colorValue: 0)
  • TermInfo.TermInfoVerification(termToTest: "wsvt25", expectedForeground: "\x1b[30m", expectedBackground: "\x1b[40m", colorValue: 0)
  • TermInfo.VerifyInstalledTermInfosParse
  • TermInfo.TryingToLoadTermThatDoesNotExistDoesNotThrow
  • TermInfo.VerifyTermInfoSupportsNewAndLegacyNcurses
TermInfo.TermInfoVerification(termToTest: \"screen\", expectedForeground: \"\\x1b[30m\", expectedBackground: \"\\x1b[40m\", colorValue: 0)
    System.ArgumentNullException : Value cannot be null. (Parameter 'type')
TermInfo.TermInfoVerification(termToTest: \"mach-color\", expectedForeground: \"\\x1b[312m\", expectedBackground: \"\\x1b[412m\", colorValue: 12)
    System.ArgumentNullException : Value cannot be null. (Parameter 'type')
TermInfo.TermInfoVerification(termToTest: \"screen\", expectedForeground: \"\\x1b[39m\", expectedBackground: \"\\x1b[49m\", colorValue: 9)
    System.ArgumentNullException : Value cannot be null. (Parameter 'type')
TermInfo.TermInfoVerification(termToTest: \"Eterm\", expectedForeground: \"\\x1b[30m\", expectedBackground: \"\\x1b[40m\", colorValue: 0)
    System.ArgumentNullException : Value cannot be null. (Parameter 'type')
TermInfo.TermInfoVerification(termToTest: \"xterm-256color\", expectedForeground: \"\\x1b[90m\", expectedBackground: \"\\x1b[100m\", colorValue: 8)
    System.ArgumentNullException : Value cannot be null. (Parameter 'type')
TermInfo.TermInfoVerification(termToTest: \"wsvt25\", expectedForeground: \"\\x1b[34m\", expectedBackground: \"\\x1b[44m\", colorValue: 4)
    System.ArgumentNullException : Value cannot be null. (Parameter 'type')
TermInfo.TermInfoVerification(termToTest: \"xterm-256color\", expectedForeground: \"\\x1b[30m\", expectedBackground: \"\\x1b[40m\", colorValue: 0)
    System.ArgumentNullException : Value cannot be null. (Parameter 'type')
TermInfo.TermInfoVerification(termToTest: \"mach-color\", expectedForeground: \"\\x1b[35m\", expectedBackground: \"\\x1b[45m\", colorValue: 5)
    System.ArgumentNullException : Value cannot be null. (Parameter 'type')
TermInfo.TermInfoVerification(termToTest: \"Eterm\", expectedForeground: \"\\x1b[33m\", expectedBackground: \"\\x1b[43m\", colorValue: 3)
    System.ArgumentNullException : Value cannot be null. (Parameter 'type')
TermInfo.TermInfoVerification(termToTest: \"screen\", expectedForeground: \"\\x1b[32m\", expectedBackground: \"\\x1b[42m\", colorValue: 2)
    System.ArgumentNullException : Value cannot be null. (Parameter 'type')
TermInfo.TermInfoVerification(termToTest: \"xterm-256color\", expectedForeground: \"\\x1b[31m\", expectedBackground: \"\\x1b[41m\", colorValue: 1)
    System.ArgumentNullException : Value cannot be null. (Parameter 'type')
TermInfo.TermInfoVerification(termToTest: \"Eterm\", expectedForeground: \"\\x1b[310m\", expectedBackground: \"\\x1b[410m\", colorValue: 10)
    System.ArgumentNullException : Value cannot be null. (Parameter 'type')
TermInfo.TermInfoVerification(termToTest: \"wsvt25\", expectedForeground: \"\\x1b[311m\", expectedBackground: \"\\x1b[411m\", colorValue: 11)
    System.ArgumentNullException : Value cannot be null. (Parameter 'type')
TermInfo.TermInfoVerification(termToTest: \"mach-color\", expectedForeground: \"\\x1b[30m\", expectedBackground: \"\\x1b[40m\", colorValue: 0)
    System.ArgumentNullException : Value cannot be null. (Parameter 'type')
TermInfo.TermInfoVerification(termToTest: \"wsvt25\", expectedForeground: \"\\x1b[30m\", expectedBackground: \"\\x1b[40m\", colorValue: 0)
    System.ArgumentNullException : Value cannot be null. (Parameter 'type')
TermInfo.VerifyInstalledTermInfosParse
    System.ArgumentNullException : Value cannot be null. (Parameter 'type')
TermInfo.TryingToLoadTermThatDoesNotExistDoesNotThrow
    System.ArgumentNullException : Value cannot be null. (Parameter 'type')
TermInfo.VerifyTermInfoSupportsNewAndLegacyNcurses
    System.ArgumentNullException : Value cannot be null. (Parameter 'type')

PlatformNotSupportedException

  • CancelKeyPressTests.CanAddAndRemoveHandler
  • ReadAndWrite.OutputEncodingPreamble
  • ReadAndWrite.ReadAndReadLine
  • ReadAndWrite.OutputEncoding
  • SetIn.SetInReadLine
  • SetIn.SetInThrowsOnNull
  • Color.RoundtrippingColor
  • Color.RedirectedOutputDoesNotUseAnsiSequences
  • Color.InvalidColors
  • ConsoleEncoding.TestEncoding(inputString: "This string has non ascii characters αßΓπΣσµ")
  • ConsoleEncoding.TestEncoding(inputString: "\xd800")
  • ConsoleEncoding.TestEncoding(inputString: "This is Ascii string")
  • ConsoleEncoding.TestEncoding(inputString: "This string has invalid surrogates \xd800\xd800\xd"...)
  • ConsoleEncoding.TestEncoding(inputString: "This is string have surrogates 𐀀")
  • ConsoleEncoding.TestValidEncodings
  • SyncTextReader.ReadAsync
  • SyncTextReader.ReadBlockAsync
  • SyncTextReader.ReadLineAsync
  • SyncTextReader.Read
  • SyncTextReader.ReadToEnd
  • SyncTextReader.ReadBlock
  • SyncTextReader.Peek
  • SyncTextReader.ReadToEndAsync
  • TimeOut.OpenStandardXXX_ReadTimeOut
  • TimeOut.OpenStandardXXX_WriteTimeOut
  • TimeOut.OpenStandardXXX_CanTimeOut
  • ThreadSafety.SetStandardXXXCanBeCalledConcurrently
  • ThreadSafety.ReadMayBeCalledConcurrently
  • ThreadSafety.OpenStandardXXXCanBeCalledConcurrently
  • WindowAndCursorProps.GetCursorPosition_Invoke_ReturnsExpected
  • WindowAndCursorProps.CursorVisible_SetUnixRedirected_Nop(value: False)
  • WindowAndCursorProps.CursorVisible_SetUnixRedirected_Nop(value: True)
  • WindowAndCursorProps.CursorTop_SetInvalid_ThrowsArgumentOutOfRangeException(value: -1)
  • WindowAndCursorProps.CursorTop_SetInvalid_ThrowsArgumentOutOfRangeException(value: 32768)
  • WindowAndCursorProps.CursorLeft_SetInvalid_ThrowsArgumentOutOfRangeException(value: 32768)
  • WindowAndCursorProps.CursorLeft_SetInvalid_ThrowsArgumentOutOfRangeException(value: -1)
  • WindowAndCursorProps.LargestWindowHeight_UnixGet_ReturnsExpected
  • WindowAndCursorProps.WindowHeight_GetUnix_Success
  • WindowAndCursorProps.WindowWidth_GetUnix_Success
  • WindowAndCursorProps.BufferWidth_GetUnix_ReturnsWindowWidth
  • WindowAndCursorProps.SetCursorPosition_Invoke_Success
  • WindowAndCursorProps.CursorSize_GetUnix_ReturnsExpected
  • WindowAndCursorProps.LargestWindowWidth_UnixGet_ReturnsExpected
  • WindowAndCursorProps.BufferHeight_GetUnix_ReturnsWindowHeight
  • WindowAndCursorProps.CursorTop_Set_GetReturnsExpected
  • WindowAndCursorProps.CursorLeft_Set_GetReturnsExpected
@ghost
Copy link

ghost commented Jun 4, 2020

Tagging subscribers to this area: @eiriktsarpalis
Notify danmosemsft if you want to be subscribed.

@Dotnet-GitSync-Bot Dotnet-GitSync-Bot added the untriaged New issue has not been triaged by the area owner label Jun 4, 2020
@adamsitnik
Copy link
Member

adamsitnik commented Jun 24, 2020

Hi @mdh1418

I am the new owner of System.Console area. This issue had no milestone set in an explicit way so I've set it to 6.0.0 and removed the untriaged label as it's something that we clearly need and the label was jut added by the bot.

Please feel free to move it to Future if you want or set it to 5.0.0 if you plan to solve it for 5.0.0

Thanks,
Adam

@adamsitnik adamsitnik removed the untriaged New issue has not been triaged by the area owner label Jun 24, 2020
@adamsitnik adamsitnik added this to the 6.0.0 milestone Jun 24, 2020
@marek-safar marek-safar added untriaged New issue has not been triaged by the area owner and removed untriaged New issue has not been triaged by the area owner labels Jun 24, 2020
@steveisok steveisok modified the milestones: 6.0.0, Future Jul 26, 2021
@ghost ghost added the in-pr There is an active PR which will close this issue when it is merged label Aug 11, 2021
Getting libraries tests passing on Mono/devices automation moved this from Android ToDo to Done Aug 11, 2021
@ghost ghost removed the in-pr There is an active PR which will close this issue when it is merged label Aug 11, 2021
@adamsitnik adamsitnik modified the milestones: Future, 6.0.0 Aug 12, 2021
@ghost ghost locked as resolved and limited conversation to collaborators Sep 11, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Development

Successfully merging a pull request may close this issue.

5 participants