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

Upgrade to Godot 4.4 #5984

Merged
merged 23 commits into from
Mar 6, 2025
Merged
Changes from all commits
Commits
Show all changes
23 commits
Select commit Hold shift + click to select a range
1ac13ac
Automatic scene upgrades for Godot 4.4
hhyyrylainen Mar 5, 2025
fc34aa6
Added all the new .uid files
hhyyrylainen Mar 5, 2025
b8a92c6
Updated gdUnit4 version
hhyyrylainen Mar 5, 2025
3ca7301
uid files and other new files in gdUnit
hhyyrylainen Mar 5, 2025
04d8975
More gdUnit stuff
hhyyrylainen Mar 5, 2025
8faf42d
Submodule update to prevent uid files
hhyyrylainen Mar 5, 2025
dcf67cc
Apparently this test folder in gdUnit4 is mandatory
hhyyrylainen Mar 5, 2025
c5b35d4
Fix trying to apply translations before the tree is ready
hhyyrylainen Mar 5, 2025
c9b3210
Fixed the custom colour picker for 4.4
hhyyrylainen Mar 5, 2025
c421790
Apparently resaving this file caused changes
hhyyrylainen Mar 5, 2025
4b6bcb7
Fixed compound cloud plane not working
hhyyrylainen Mar 5, 2025
84acb6c
Removed this one gdUnit file that caused errors and seems not required
hhyyrylainen Mar 5, 2025
9016005
Reminder to update the CI images for 4.4
hhyyrylainen Mar 5, 2025
bdf7e06
Also fixed the background plane graphics
hhyyrylainen Mar 5, 2025
d07da75
Removing more gdUnit stuff
hhyyrylainen Mar 5, 2025
420e80b
Bump version to 0.8.2-alpha
hhyyrylainen Mar 5, 2025
8619615
Update Godot version in the scripts
hhyyrylainen Mar 5, 2025
3f90230
Fixed patch map no longer scrolling to the initial patch
hhyyrylainen Mar 5, 2025
825b8bc
Fix the version when exported
hhyyrylainen Mar 5, 2025
496c238
Specify a 4-part version in the Godot project
hhyyrylainen Mar 5, 2025
be7a44b
Now maybe finally specify the version correctly as four parts
hhyyrylainen Mar 5, 2025
a86dc89
Split the build step in two to maybe make CI finally pass
hhyyrylainen Mar 5, 2025
9f2a06b
Disabled CI builds for now
hhyyrylainen Mar 6, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
32 changes: 18 additions & 14 deletions CIConfiguration.yml
Original file line number Diff line number Diff line change
@@ -2,15 +2,15 @@ version: 1

jobs:
build:
image: thrive/godot-ci:v26
image: thrive/godot-ci:v27
cache:
loadFrom:
- v11-{Branch}-build
- v11-master-build
writeTo: v11-{Branch}-build
- v12-{Branch}-build
- v12-master-build
writeTo: v12-{Branch}-build
shared:
.git/lfs: v7-lfs
.import: v12-import
.import: v13-import
builds: v7-builds
native_libs: v1-native
system:
@@ -28,15 +28,19 @@ jobs:
- run:
name: Download native libraries
# This doesn't fetch or install debug variants as they aren't strictly necessary for packaging
command: dotnet run --project Scripts -- native Fetch --debug false
- run:
name: Create builds
command: dotnet run --project Scripts -- package --dehydrated
- run:
name: Upload devbuilds
command: dotnet run --project Scripts -- upload
command: dotnet run --project Scripts -- native Fetch Install --debug false
# BUILD DISABLED FOR NOW AS GODOT 4.4 SEEMS TO GET STUCK IMPORTING FONTS
#- run:
# name: Create build (Linux)
# command: dotnet run --project Scripts -- package --dehydrated Linux
#- run:
# name: Create build (Windows)
# command: dotnet run --project Scripts -- package --dehydrated Windows
#- run:
# name: Upload devbuilds
# command: dotnet run --project Scripts -- upload
jetbrains:
image: thrive/godot-ci:v26
image: thrive/godot-ci:v27
cache:
loadFrom:
- v9-{Branch}-jetbrains
@@ -93,7 +97,7 @@ jobs:
rm -f cleanup_diff.patch
fi
format_test:
image: thrive/godot-ci:v26
image: thrive/godot-ci:v27
cache:
loadFrom:
- v9-{Branch}-format
2 changes: 1 addition & 1 deletion RevolutionaryGamesCommon
1 change: 1 addition & 0 deletions Scripts/BuildInfoWriter.cs.uid
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
uid://2w88cwcgrv0w
1 change: 1 addition & 0 deletions Scripts/CSharpTranslationExtractor.cs.uid
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
uid://bdth57bql2mv7
1 change: 1 addition & 0 deletions Scripts/Cleanup.cs.uid
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
uid://7clmvvfs56xy
1 change: 1 addition & 0 deletions Scripts/CodeChecks.cs.uid
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
uid://cdu8cqny2gx2h
1 change: 1 addition & 0 deletions Scripts/ContainerTool.cs.uid
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
uid://jtovr6afllyn
1 change: 1 addition & 0 deletions Scripts/CreditsUpdater.cs.uid
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
uid://cvjey73cphvr2
1 change: 1 addition & 0 deletions Scripts/DehydratedInfo.cs.uid
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
uid://3hfkr78hyi2x
1 change: 1 addition & 0 deletions Scripts/Dehydration.cs.uid
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
uid://c1bngo05haxjg
1 change: 1 addition & 0 deletions Scripts/FileGenerator.cs.uid
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
uid://dtfttfdlw0n8l
1 change: 1 addition & 0 deletions Scripts/FileTypeToGenerate.cs.uid
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
uid://b0hjhhtdoncqo
1 change: 1 addition & 0 deletions Scripts/GodotProjectCompiler.cs.uid
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
uid://c1nmh6dhok4vo
1 change: 1 addition & 0 deletions Scripts/GodotProjectValidMaker.cs.uid
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
uid://cx8dbnjd4pvht
1 change: 1 addition & 0 deletions Scripts/GodotSceneTranslationExtractor.cs.uid
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
uid://c8gjet5a3bsn8
1 change: 1 addition & 0 deletions Scripts/GodotTemplateInstaller.cs.uid
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
uid://xx3nsh14s6lu
2 changes: 1 addition & 1 deletion Scripts/GodotVersion.cs
Original file line number Diff line number Diff line change
@@ -5,7 +5,7 @@ public class GodotVersion
/// <summary>
/// The Godot version we use. UPDATE THIS IF WE UPDATE THE GODOT VERSION
/// </summary>
public const string GODOT_VERSION = "4.3";
public const string GODOT_VERSION = "4.4";

/// <summary>
/// The full name of the version. Don't edit this!
1 change: 1 addition & 0 deletions Scripts/GodotVersion.cs.uid
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
uid://bdyiq5bdvkq83
1 change: 1 addition & 0 deletions Scripts/HtmlReader.cs.uid
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
uid://dpptpry30psu3
1 change: 1 addition & 0 deletions Scripts/ImageType.cs.uid
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
uid://dg1h0k3phuafa
1 change: 1 addition & 0 deletions Scripts/JsonTranslationExtractor.cs.uid
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
uid://bq0h6xftp13b5
1 change: 1 addition & 0 deletions Scripts/LocalizationCheck.cs.uid
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
uid://bjq6jaeutj0us
1 change: 1 addition & 0 deletions Scripts/LocalizationUpdate.cs.uid
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
uid://cvgrlb72444qx
1 change: 1 addition & 0 deletions Scripts/NativeLibs.cs.uid
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
uid://cwyeev77rgjw
1 change: 1 addition & 0 deletions Scripts/PackageTool.cs.uid
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
uid://ddmaxrk1bquyd
1 change: 1 addition & 0 deletions Scripts/Program.cs.uid
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
uid://ctthbtgs1gnfj
1 change: 1 addition & 0 deletions Scripts/SteamBuild.cs.uid
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
uid://da1knpppgxif0
1 change: 1 addition & 0 deletions Scripts/SteamBuildCheck.cs.uid
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
uid://b0xbgdget6f4i
1 change: 1 addition & 0 deletions Scripts/TranslationProgressTool.cs.uid
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
uid://cn6k7t5ghcayc
1 change: 1 addition & 0 deletions Scripts/Uploader.cs.uid
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
uid://6wrsc5x8n3ho
1 change: 1 addition & 0 deletions Scripts/WikiUpdater.cs.uid
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
uid://ytmbubqxqihc
8 changes: 4 additions & 4 deletions Thrive.csproj
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
<?xml version="1.0" encoding="utf-8"?>
<Project Sdk="Godot.NET.Sdk/4.3.0">
<Project Sdk="Godot.NET.Sdk/4.4.0">
<PropertyGroup>
<TreatWarningsAsErrors>false</TreatWarningsAsErrors>
<TargetFramework>net9.0</TargetFramework>
<TargetFramework Condition=" '$(GodotTargetPlatform)' == 'android' ">net7.0</TargetFramework>
<TargetFramework Condition=" '$(GodotTargetPlatform)' == 'android' ">net8.0</TargetFramework>
<TargetFramework Condition=" '$(GodotTargetPlatform)' == 'ios' ">net8.0</TargetFramework>
<EnableDynamicLoading>true</EnableDynamicLoading>
<LangVersion>12.0</LangVersion>
<Nullable>enable</Nullable>
<Company>Revolutionary Games Studio</Company>
<Version>0.8.1.1</Version>
<!--<InformationalVersion>-rc1</InformationalVersion>-->
<Version>0.8.2.0</Version>
<InformationalVersion>-alpha</InformationalVersion>
<CopyLocalLockFileAssemblies>true</CopyLocalLockFileAssemblies>
</PropertyGroup>
<!-- Ignore the subproject source files -->
1 change: 1 addition & 0 deletions ThriveScriptsShared/BuildInfo.cs.uid
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
uid://dkav330xvgxv5
1 change: 1 addition & 0 deletions ThriveScriptsShared/EmbeddedThriveIcon.cs.uid
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
uid://cbmgfvioityn4
1 change: 1 addition & 0 deletions ThriveScriptsShared/GameWiki.cs.uid
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
uid://bhxh82ov7edx8
1 change: 1 addition & 0 deletions ThriveScriptsShared/IRegistryAssignable.cs.uid
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
uid://bvup1u4vf7exd
1 change: 1 addition & 0 deletions ThriveScriptsShared/IRegistryType.cs.uid
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
uid://dv1tjgkpxcyxs
1 change: 1 addition & 0 deletions ThriveScriptsShared/InvalidRegistryDataException.cs.uid
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
uid://dprpnmwrq5540
1 change: 1 addition & 0 deletions ThriveScriptsShared/Stage.cs.uid
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
uid://dpmahu6wwh11
1 change: 1 addition & 0 deletions ThriveScriptsShared/ThriveScriptConstants.cs.uid
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
uid://dxi17nwyht5n1
1 change: 1 addition & 0 deletions ThriveScriptsShared/TranslationsInfo.cs.uid
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
uid://wlxmj324ugxa
1 change: 1 addition & 0 deletions ThriveScriptsShared/VersionPatchNotes.cs.uid
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
uid://dtbw7r361b0rd
2 changes: 1 addition & 1 deletion addons/gdUnit4/plugin.cfg
Original file line number Diff line number Diff line change
@@ -3,5 +3,5 @@
name="gdUnit4"
description="Unit Testing Framework for Godot Scripts"
author="Mike Schulze"
version="4.5.0"
version="5.0.0"
script="plugin.gd"
57 changes: 48 additions & 9 deletions addons/gdUnit4/plugin.gd
Original file line number Diff line number Diff line change
@@ -1,31 +1,35 @@
@tool
extends EditorPlugin

const GdUnitTools := preload("res://addons/gdUnit4/src/core/GdUnitTools.gd")
const GdUnitTestDiscoverGuard := preload("res://addons/gdUnit4/src/core/discovery/GdUnitTestDiscoverGuard.gd")
const GdUnitConsole := preload("res://addons/gdUnit4/src/ui/GdUnitConsole.gd")

# We need to define manually the slot id's, to be downwards compatible
const CONTEXT_SLOT_FILESYSTEM = 1 # EditorContextMenuPlugin.CONTEXT_SLOT_FILESYSTEM
const CONTEXT_SLOT_SCRIPT_EDITOR = 2 # EditorContextMenuPlugin.CONTEXT_SLOT_SCRIPT_EDITOR

var _gd_inspector: Control
var _gd_console: GdUnitConsole
var _gd_console: Control
var _gd_filesystem_context_menu: Variant
var _gd_scripteditor_context_menu: Variant
var _guard: GdUnitTestDiscoverGuard


func _enter_tree() -> void:
if check_running_in_test_env():
@warning_ignore("return_value_discarded")
CmdConsole.new().prints_warning("It was recognized that GdUnit4 is running in a test environment, therefore the GdUnit4 plugin will not be executed!")
GdUnitCSIMessageWriter.new().prints_warning("It was recognized that GdUnit4 is running in a test environment, therefore the GdUnit4 plugin will not be executed!")
return
if Engine.get_version_info().hex < 0x40200:
prints("GdUnit4 plugin requires a minimum of Godot 4.2.x Version!")

if Engine.get_version_info().hex < 0x40300:
prints("The GdUnit4 plugin requires Godot version 4.3 or higher to run.")
return
GdUnitSettings.setup()
# Install the GdUnit Inspector
_gd_inspector = (load("res://addons/gdUnit4/src/ui/GdUnitInspector.tscn") as PackedScene).instantiate()
_add_context_menus()
add_control_to_dock(EditorPlugin.DOCK_SLOT_LEFT_UR, _gd_inspector)
# Install the GdUnit Console
_gd_console = (load("res://addons/gdUnit4/src/ui/GdUnitConsole.tscn") as PackedScene).instantiate()
var control := add_control_to_bottom_panel(_gd_console, "gdUnitConsole")
@warning_ignore("unsafe_method_access")
await _gd_console.setup_update_notification(control)
if GdUnit4CSharpApiLoader.is_mono_supported():
prints("GdUnit4Net version '%s' loaded." % GdUnit4CSharpApiLoader.version())
@@ -42,10 +46,13 @@ func _exit_tree() -> void:
if is_instance_valid(_gd_inspector):
remove_control_from_docks(_gd_inspector)
_gd_inspector.free()
_remove_context_menus()
if is_instance_valid(_gd_console):
remove_control_from_bottom_panel(_gd_console)
_gd_console.free()
GdUnitTools.dispose_all(true)
var gdUnitTools := load("res://addons/gdUnit4/src/core/GdUnitTools.gd")
@warning_ignore("unsafe_method_access")
gdUnitTools.dispose_all(true)
prints("Unload GdUnit4 Plugin success")


@@ -55,6 +62,38 @@ func check_running_in_test_env() -> bool:
return DisplayServer.get_name() == "headless" or args.has("--selftest") or args.has("--add") or args.has("-a") or args.has("--quit-after") or args.has("--import")


func _add_context_menus() -> void:
if Engine.get_version_info().hex >= 0x40400:
# With Godot 4.4 we have to use the 'add_context_menu_plugin' to register editor context menus
_gd_filesystem_context_menu = _create_context_menu("res://addons/gdUnit4/src/ui/menu/EditorFileSystemContextMenuHandlerV44.gdx")
call_deferred("add_context_menu_plugin", CONTEXT_SLOT_FILESYSTEM, _gd_filesystem_context_menu)
# the CONTEXT_SLOT_SCRIPT_EDITOR is adding to the script panel instead of script editor see https://github.com/godotengine/godot/pull/100556
#_gd_scripteditor_context_menu = _preload("res://addons/gdUnit4/src/ui/menu/ScriptEditorContextMenuHandlerV44.gdx")
#call_deferred("add_context_menu_plugin", CONTEXT_SLOT_SCRIPT_EDITOR, _gd_scripteditor_context_menu)
# so we use the old hacky way to add the context menu
_gd_inspector.add_child(preload("res://addons/gdUnit4/src/ui/menu/ScriptEditorContextMenuHandler.gd").new())
else:
# TODO Delete it if the minimum requirement for the plugin is set to Godot 4.4.
_gd_inspector.add_child(preload("res://addons/gdUnit4/src/ui/menu/EditorFileSystemContextMenuHandler.gd").new())
_gd_inspector.add_child(preload("res://addons/gdUnit4/src/ui/menu/ScriptEditorContextMenuHandler.gd").new())


func _remove_context_menus() -> void:
if is_instance_valid(_gd_filesystem_context_menu):
call_deferred("remove_context_menu_plugin", _gd_filesystem_context_menu)
if is_instance_valid(_gd_scripteditor_context_menu):
call_deferred("remove_context_menu_plugin", _gd_scripteditor_context_menu)


func _create_context_menu(script_path: String) -> Variant:
var context_menu_script := GDScript.new()
context_menu_script.source_code = FileAccess.get_file_as_string(script_path)
var err := context_menu_script.reload(true)
if err != OK:
push_error("Can't create context menu %s, error: %s" % [script_path, error_string(err)])
return context_menu_script.new()


func _on_resource_saved(resource: Resource) -> void:
if resource is Script:
await _guard.discover(resource as Script)
1 change: 1 addition & 0 deletions addons/gdUnit4/plugin.gd.uid
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
uid://datb6vterv2uj
Empty file modified addons/gdUnit4/runtest.sh
100644 → 100755
Empty file.
1 change: 1 addition & 0 deletions addons/gdUnit4/src/Comparator.gd.uid
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
uid://bgdyec75cc62x
1 change: 1 addition & 0 deletions addons/gdUnit4/src/Fuzzers.gd.uid
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
uid://dju8uolt7ybyd
1 change: 1 addition & 0 deletions addons/gdUnit4/src/GdUnitArrayAssert.gd.uid
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
uid://ckifogv3dwmdb
1 change: 1 addition & 0 deletions addons/gdUnit4/src/GdUnitAssert.gd.uid
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
uid://dfh4xrbgqy1ib
1 change: 1 addition & 0 deletions addons/gdUnit4/src/GdUnitAwaiter.gd.uid
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
uid://dlnupbqh3awem
1 change: 1 addition & 0 deletions addons/gdUnit4/src/GdUnitBoolAssert.gd.uid
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
uid://m77m6cgwbc0v
1 change: 1 addition & 0 deletions addons/gdUnit4/src/GdUnitConstants.gd.uid
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
uid://bo1o3ccpw2qj7
1 change: 1 addition & 0 deletions addons/gdUnit4/src/GdUnitDictionaryAssert.gd.uid
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
uid://e5qxgie5ggqt
1 change: 1 addition & 0 deletions addons/gdUnit4/src/GdUnitFailureAssert.gd.uid
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
uid://ca8tpof5rbhpb
1 change: 1 addition & 0 deletions addons/gdUnit4/src/GdUnitFileAssert.gd.uid
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
uid://r78rv34plpim
1 change: 1 addition & 0 deletions addons/gdUnit4/src/GdUnitFloatAssert.gd.uid
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
uid://uywenhvudrtg
1 change: 1 addition & 0 deletions addons/gdUnit4/src/GdUnitFuncAssert.gd.uid
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
uid://cgx51k5beshjx
1 change: 1 addition & 0 deletions addons/gdUnit4/src/GdUnitGodotErrorAssert.gd.uid
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
uid://cpatrn6pkald0
1 change: 1 addition & 0 deletions addons/gdUnit4/src/GdUnitIntAssert.gd.uid
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
uid://hjf2ppyjyvjg
40 changes: 26 additions & 14 deletions addons/gdUnit4/src/GdUnitObjectAssert.gd
Original file line number Diff line number Diff line change
@@ -3,47 +3,59 @@ class_name GdUnitObjectAssert
extends GdUnitAssert


## Verifies that the current value is equal to expected one.
## Verifies that the current object is equal to expected one.
@warning_ignore("unused_parameter")
func is_equal(expected :Variant) -> GdUnitObjectAssert:
func is_equal(expected: Variant) -> GdUnitObjectAssert:
return self


## Verifies that the current value is not equal to expected one.
## Verifies that the current object is not equal to expected one.
@warning_ignore("unused_parameter")
func is_not_equal(expected :Variant) -> GdUnitObjectAssert:
func is_not_equal(expected: Variant) -> GdUnitObjectAssert:
return self


## Verifies that the current value is null.
## Verifies that the current object is null.
func is_null() -> GdUnitObjectAssert:
return self


## Verifies that the current value is not null.
## Verifies that the current object is not null.
func is_not_null() -> GdUnitObjectAssert:
return self


## Verifies that the current value is the same as the given one.
## Verifies that the current object is the same as the given one.
@warning_ignore("unused_parameter", "shadowed_global_identifier")
func is_same(expected :Variant) -> GdUnitObjectAssert:
func is_same(expected: Variant) -> GdUnitObjectAssert:
return self


## Verifies that the current value is not the same as the given one.
## Verifies that the current object is not the same as the given one.
@warning_ignore("unused_parameter")
func is_not_same(expected :Variant) -> GdUnitObjectAssert:
func is_not_same(expected: Variant) -> GdUnitObjectAssert:
return self


## Verifies that the current value is an instance of the given type.
## Verifies that the current object is an instance of the given type.
@warning_ignore("unused_parameter")
func is_instanceof(expected :Object) -> GdUnitObjectAssert:
func is_instanceof(type: Variant) -> GdUnitObjectAssert:
return self


## Verifies that the current value is not an instance of the given type.
## Verifies that the current object is not an instance of the given type.
@warning_ignore("unused_parameter")
func is_not_instanceof(expected :Variant) -> GdUnitObjectAssert:
func is_not_instanceof(type: Variant) -> GdUnitObjectAssert:
return self


## Checks whether the current object inherits from the specified type.
@warning_ignore("unused_parameter")
func is_inheriting(type: Variant) -> GdUnitObjectAssert:
return self


## Checks whether the current object does NOT inherit from the specified type.
@warning_ignore("unused_parameter")
func is_not_inheriting(type: Variant) -> GdUnitObjectAssert:
return self
1 change: 1 addition & 0 deletions addons/gdUnit4/src/GdUnitObjectAssert.gd.uid
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
uid://bng0ubwtscofm
1 change: 1 addition & 0 deletions addons/gdUnit4/src/GdUnitResultAssert.gd.uid
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
uid://bgbjdwqs0ghvf
1 change: 1 addition & 0 deletions addons/gdUnit4/src/GdUnitSceneRunner.gd.uid
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
uid://d1wwaw1vq0vms
1 change: 1 addition & 0 deletions addons/gdUnit4/src/GdUnitSignalAssert.gd.uid
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
uid://dl4mu5dswhvhg
1 change: 1 addition & 0 deletions addons/gdUnit4/src/GdUnitStringAssert.gd.uid
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
uid://14jpidv2ulh7
2 changes: 1 addition & 1 deletion addons/gdUnit4/src/GdUnitTestSuite.gd
Original file line number Diff line number Diff line change
@@ -54,7 +54,7 @@ func __gdunit_argument_matchers() -> GDScript:


func __gdunit_object_interactions() -> GDScript:
return __lazy_load("res://addons/gdUnit4/src/core/GdUnitObjectInteractions.gd")
return __lazy_load("res://addons/gdUnit4/src/doubler/GdUnitObjectInteractions.gd")


## This function is called before a test suite starts[br]
1 change: 1 addition & 0 deletions addons/gdUnit4/src/GdUnitTestSuite.gd.uid
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
uid://c1yyw2fh8nymj
1 change: 1 addition & 0 deletions addons/gdUnit4/src/GdUnitTuple.gd.uid
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
uid://dafxpkvx0y405
Loading