<feed xmlns='http://www.w3.org/2005/Atom'>
<title>qt-labs/qtdotnet.git/tests/Test_Qt.DotNet.Project/Test_Qt.DotNet.Project.csproj, branch dev</title>
<subtitle>Qt/.NET enables the integration of Qt with .NET libraries and applications.
</subtitle>
<link rel='alternate' type='text/html' href='https://code.qt.io/cgit/qt-labs/qtdotnet.git/'/>
<entry>
<title>Tests: Expose complex user-defined types to QML</title>
<updated>2025-12-01T18:09:25+00:00</updated>
<author>
<name>Karsten Heimrich</name>
<email>karsten.heimrich@qt.io</email>
</author>
<published>2025-12-01T12:19:49+00:00</published>
<link rel='alternate' type='text/html' href='https://code.qt.io/cgit/qt-labs/qtdotnet.git/commit/?id=ddb96a69eafadd8834a7c20db6ef2c52de26a9d3'/>
<id>ddb96a69eafadd8834a7c20db6ef2c52de26a9d3</id>
<content type='text'>
Change-Id: I8882068d8711f596817bce2d5a71cd6ccf4a49c3
Reviewed-by: Miguel Costa &lt;miguel.costa@qt.io&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Change-Id: I8882068d8711f596817bce2d5a71cd6ccf4a49c3
Reviewed-by: Miguel Costa &lt;miguel.costa@qt.io&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Tests: Share Qt native test setup and inject CMake sources</title>
<updated>2025-12-01T18:09:20+00:00</updated>
<author>
<name>Karsten Heimrich</name>
<email>karsten.heimrich@qt.io</email>
</author>
<published>2025-11-28T16:20:10+00:00</published>
<link rel='alternate' type='text/html' href='https://code.qt.io/cgit/qt-labs/qtdotnet.git/commit/?id=2900226485ab15db899783a8c2a50dbde55d1436'/>
<id>2900226485ab15db899783a8c2a50dbde55d1436</id>
<content type='text'>
This refactors the Qt/.NET native test harnesses to use shared setup
code on both the C++ and managed sides, and hooks additional sources
into the generated CMake project.

- Introduce QtTestSetupBase (C++) to encapsulate common host bootstrap:
  locating the managed test assembly, running the app (sync/async),
  waiting for readiness, initializing the Qt/.NET adapter and
  finalizing/unloading the host.
- Add BridgeExitCode enum (C++) and mirror it as ExitCode (C#) with
  ExitCodeHelper so managed tests can report bridge infrastructure
  failures with descriptive messages. QTest keeps using exit code 1
  for test failures; bridge errors use 101+.
- Add QtQuickTestSetup (C++), a reusable QtQuickTest setup class with
  overridable hooks (before/after applicationAvailable, qmlEngineAvailable
  and cleanupTestCase) and centralized Ready/Finalize handling.
- Introduce ManagedTestBase (C#) to DRY TempProject creation, native
  build, and configuration for QtTest/QtQuickTest, including CMake
  injection and shared header/source replacement.
- Update Test_QtTest and Test_QtQuickTest to inherit from
  ManagedTestBase, removing duplicated TempProject and build/run
  boilerplate.
- Add CMake.InjectQtSourcesTargets helper (C#) to inject native
  headers/sources into the generated CMakeLists.txt via an MSBuild
  CodeTaskFactory task that patches the qt_add_executable() source list.
- Extend the test .csproj to copy the shared C++ setup files to the
  output so they can be picked up by ReplaceGeneratedFiles.
- Dump the build output to the test output pane if the C++ build fails.

Change-Id: Ic1c96c89c9378caf06b7ca23ebadf32c23d2bc6f
Reviewed-by: Miguel Costa &lt;miguel.costa@qt.io&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This refactors the Qt/.NET native test harnesses to use shared setup
code on both the C++ and managed sides, and hooks additional sources
into the generated CMake project.

- Introduce QtTestSetupBase (C++) to encapsulate common host bootstrap:
  locating the managed test assembly, running the app (sync/async),
  waiting for readiness, initializing the Qt/.NET adapter and
  finalizing/unloading the host.
- Add BridgeExitCode enum (C++) and mirror it as ExitCode (C#) with
  ExitCodeHelper so managed tests can report bridge infrastructure
  failures with descriptive messages. QTest keeps using exit code 1
  for test failures; bridge errors use 101+.
- Add QtQuickTestSetup (C++), a reusable QtQuickTest setup class with
  overridable hooks (before/after applicationAvailable, qmlEngineAvailable
  and cleanupTestCase) and centralized Ready/Finalize handling.
- Introduce ManagedTestBase (C#) to DRY TempProject creation, native
  build, and configuration for QtTest/QtQuickTest, including CMake
  injection and shared header/source replacement.
- Update Test_QtTest and Test_QtQuickTest to inherit from
  ManagedTestBase, removing duplicated TempProject and build/run
  boilerplate.
- Add CMake.InjectQtSourcesTargets helper (C#) to inject native
  headers/sources into the generated CMakeLists.txt via an MSBuild
  CodeTaskFactory task that patches the qt_add_executable() source list.
- Extend the test .csproj to copy the shared C++ setup files to the
  output so they can be picked up by ReplaceGeneratedFiles.
- Dump the build output to the test output pane if the C++ build fails.

Change-Id: Ic1c96c89c9378caf06b7ca23ebadf32c23d2bc6f
Reviewed-by: Miguel Costa &lt;miguel.costa@qt.io&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Add build- and run-time test framework</title>
<updated>2025-11-28T15:17:35+00:00</updated>
<author>
<name>Miguel Costa</name>
<email>miguel.costa@qt.io</email>
</author>
<published>2025-11-17T15:33:37+00:00</published>
<link rel='alternate' type='text/html' href='https://code.qt.io/cgit/qt-labs/qtdotnet.git/commit/?id=0890c47cf9ed34dba56b86ad05b27d66321593ec'/>
<id>0890c47cf9ed34dba56b86ad05b27d66321593ec</id>
<content type='text'>
Change-Id: I23b2ca722baeaeb634259037663e75ff9242e461
Reviewed-by: Karsten Heimrich &lt;karsten.heimrich@qt.io&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Change-Id: I23b2ca722baeaeb634259037663e75ff9242e461
Reviewed-by: Karsten Heimrich &lt;karsten.heimrich@qt.io&gt;
</pre>
</div>
</content>
</entry>
</feed>
