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

DUnitXFiremonkeyGUI_D10Tokyo.dproj example crashes in 10.3 Rio #230

Open
MHumm opened this issue Jan 21, 2019 · 7 comments
Open

DUnitXFiremonkeyGUI_D10Tokyo.dproj example crashes in 10.3 Rio #230

MHumm opened this issue Jan 21, 2019 · 7 comments

Comments

@MHumm
Copy link

MHumm commented Jan 21, 2019

I just tried to find out how to use DUnitX with a FMX GUI runner (in order to be able to run tests on other platforms as Windows as well).

Since I couldn't find a Rio named sample project for the FMX GUI runner I tried to run the Tokyo based one.

Steps:

  1. Start 10.3 Rio RTM IDE
  2. Open DUnitXFiremonkeyGUI_D10Tokyo.dproj
  3. Press F9
  4. Get a crash in TControl.EndUpdate in the for loop: argument out of range

Stack trace:

:750fab32 KERNELBASE.RaiseException + 0x62
:006c593b TControl.EndUpdate + $3B
FMX.Controls.TControl.EndUpdate

Sorry, but the stack trace is so short.

Remark: I didn't install December update/hotfix for 10.3 Rio.

@vincentparrett
Copy link
Member

I don't use fmx so can't really help on this, did you try debugging it?

@MHumm
Copy link
Author

MHumm commented May 7, 2019

Sorry, not more than I posted. I have to retest this with Rio update 1 now as soon as I find time.

@bernd5
Copy link
Contributor

bernd5 commented Jan 8, 2021

I can confirm the crash (still in 10.4)

@EMBBlaster
Copy link
Contributor

EMBBlaster commented Jan 14, 2022

I can't open this example in D11. In fact, I can't open DUNitX.Loggers.GUIX.pas in D11 without errors.
Seems that the DUNitX.Loggers.GUIX.fmx file is not compatible with newer versions.
The version bundled with Delphi seems ok.
Not sure if only this, but see image of diff below:
image

I'm not sure how we could/would support many versions of a .fmx file... 😕

@Nashev
Copy link

Nashev commented Jul 12, 2023

On the page https://github.com/VSoftTechnologies/DUnitX in Readme it's feel like any own GUI is deprecated here, in favor of using TestInsight (https://bitbucket.org/sglienke/testinsight/wiki/Home)

@MHumm
Copy link
Author

MHumm commented Jul 12, 2023

That might well be, but it won't enable you to run the tests on an Android device I guess. So if you want to test for any specific anomalies there you're out of luck. Am I right?

@Nashev
Copy link

Nashev commented Jul 12, 2023

Seems to possible run tests on Android and simultaneously look results at Delphi IDE plugin from TestInsight: https://en.delphipraxis.net/topic/645-running-unittests-for-mobile-devices/?tab=comments#comment-4940

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants