Rebrand project and refresh title presentation
This commit is contained in:
parent
17fef2c5d4
commit
7ae20789a9
138 changed files with 1511 additions and 1498 deletions
|
|
@ -1,36 +1,36 @@
|
|||
extends SceneTree
|
||||
|
||||
const PROJECT_PATH := "/tmp/netfishing"
|
||||
const INSTALL_PATH := "/opt/NETfishing"
|
||||
const PROJECT_PATH := "/tmp/straywild"
|
||||
const INSTALL_PATH := "/opt/straywild"
|
||||
|
||||
|
||||
func _initialize() -> void:
|
||||
var root_to_create: String = OS.get_environment("NETFISHING_TEST_CREATE_ROOT")
|
||||
var root_to_create: String = OS.get_environment("straywild_TEST_CREATE_ROOT")
|
||||
if not root_to_create.is_empty():
|
||||
_create_validation_root(root_to_create)
|
||||
return
|
||||
var failures: PackedStringArray = []
|
||||
_expect(
|
||||
"external temporary directory",
|
||||
"/tmp/NETfishing-test-data",
|
||||
"/tmp/straywild-test-data",
|
||||
PlayerDataRoot.PATH_ALLOWED,
|
||||
failures,
|
||||
)
|
||||
_expect(
|
||||
"external trailing slash",
|
||||
"/tmp/NETfishing-test-data/",
|
||||
"/tmp/straywild-test-data/",
|
||||
PlayerDataRoot.PATH_ALLOWED,
|
||||
failures,
|
||||
)
|
||||
_expect(
|
||||
"similar project-name sibling",
|
||||
"/tmp/netfishing-data",
|
||||
"/tmp/straywild-data",
|
||||
PlayerDataRoot.PATH_ALLOWED,
|
||||
failures,
|
||||
)
|
||||
_expect(
|
||||
"documents directory",
|
||||
"/home/player/Documents/NETfishing",
|
||||
"/home/player/Documents/straywild",
|
||||
PlayerDataRoot.PATH_ALLOWED,
|
||||
failures,
|
||||
)
|
||||
|
|
@ -55,7 +55,7 @@ func _initialize() -> void:
|
|||
)
|
||||
_expect_with_references(
|
||||
"empty project reference",
|
||||
"/tmp/NETfishing-test-data",
|
||||
"/tmp/straywild-test-data",
|
||||
"",
|
||||
INSTALL_PATH,
|
||||
PlayerDataRoot.PATH_ALLOWED,
|
||||
|
|
@ -63,7 +63,7 @@ func _initialize() -> void:
|
|||
)
|
||||
_expect_with_references(
|
||||
"root project reference",
|
||||
"/tmp/NETfishing-test-data",
|
||||
"/tmp/straywild-test-data",
|
||||
"/",
|
||||
INSTALL_PATH,
|
||||
PlayerDataRoot.PATH_ALLOWED,
|
||||
|
|
@ -71,9 +71,9 @@ func _initialize() -> void:
|
|||
)
|
||||
_expect_with_references(
|
||||
"Windows component and case normalization",
|
||||
"C:\\Games\\NETfishing Data",
|
||||
"C:\\Games\\NETfishing",
|
||||
"C:\\Program Files\\NETfishing",
|
||||
"C:\\Games\\straywild Data",
|
||||
"C:\\Games\\straywild",
|
||||
"C:\\Program Files\\straywild",
|
||||
PlayerDataRoot.PATH_ALLOWED,
|
||||
failures,
|
||||
true,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue