Skip to content

Add tests for numeric properties in DEFINE CLASS - #2067

Merged
RobertvanderHulst merged 2 commits into
devfrom
feature/vfp-oop-property-tests
Aug 24, 2026
Merged

Add tests for numeric properties in DEFINE CLASS#2067
RobertvanderHulst merged 2 commits into
devfrom
feature/vfp-oop-property-tests

Conversation

@Irwin1985

Copy link
Copy Markdown
Contributor

I noticed there is no test anywhere that uses DEFINE CLASS, so I added a small one. This is not a fix but a guard on two facts: one reads the property through the typed object, the other through a USUAL so the access goes late bound.

@RobertvanderHulst
RobertvanderHulst merged commit 99eca37 into dev Aug 24, 2026
@RobertvanderHulst
RobertvanderHulst deleted the feature/vfp-oop-property-tests branch August 24, 2026 08:29
RobertvanderHulst added a commit that referenced this pull request Sep 1, 2026
…2072)

* [Compiler tests] - Adjusted NetCore runtime folder in automated tests runner. Also temporarily disabled C548 from running, to check if this is the culprit in making other tests fail later

* [Compiler tests]- Indeed C548 was one of the culprits, moved it last in the order of runtime tests. Also updated several XSharp runtime dlls for the tests, hopefully this will take care of the remaining problems in running the tests

* [Compiler tests] All automated tests should be now passing both compiling and runtime tests

* Fix SYSMETRIC() by going through GetSystemMetrics() (#2065)

* [VsIntegration] Fix reference resolution: marshal AddPendingReferences onto the UI thread (#2066)

* Add tests for numeric properties in DEFINE CLASS (#2067)

* Add tests for numeric properties in DEFINE CLASS

* Change to usual for late binding

* [VSIntegration] Add WinForms Designer shadow-file bridge for SDK-style projects

Redirects "View Designer" on a SDK-style .prg to an auto-generated
companion C# project instead of the unsupported out-of-process Designer
path, since it has no extensibility point for third-party languages.
Includes commands to sync Designer-added event handlers and general
property/control changes back into the real X# source.

* [VSIntegration] Update comments and Docs

* [VSIntegration] Fix ViewForm routing, auto-detect HasDesigner and its icon

* [VSIntegration] Add auto-sync-on-save, cleanup-on-close, fix reference throttle race.

* Logging Exception with stacktrace and as arror (#2071)

* [VSIntegration] Nest the shadow companion project in a Solution Folder instead of adding it at the same level as the X# project

* Implement XMLTOCURSOR() (#2070)

* Implement XMLTOCURSOR()

* Move the internal functions into an internal class

* [VSIntegration] Fix event-handler caret positioning. Fix old ShadowDesigner references that may persist. Moved all Diagnostics to X# Logging system.

* Prevent double licking on designer.prg from opening the form designer

* Generate comments in InitializeComponent

* [CodedomProvider] Fix handling of System.Single types

* Fix namespaces which are different between .net framework and .net 8

---------

Co-authored-by: cpyrgas <chris@xsharp.eu>
Co-authored-by: Irwin <rodriguez.irwin@gmail.com>
Co-authored-by: Fabrice Foray <fforay@users.noreply.github.com>
Co-authored-by: Robert van der Hulst <robert@xsharp.eu>
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

Successfully merging this pull request may close these issues.

2 participants