Rename toga-test to testbed.
This commit is contained in:
parent
94594abf11
commit
8a62cec575
24 changed files with 19 additions and 19 deletions
Binary file not shown.
Binary file not shown.
|
Before Width: | Height: | Size: 14 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 14 KiB |
0
test/.gitignore → testbed/.gitignore
vendored
0
test/.gitignore → testbed/.gitignore
vendored
|
|
@ -1,19 +1,19 @@
|
|||
# This project was generated using template: https://github.com/beeware/briefcase-template and branch: v0.3.12
|
||||
[tool.briefcase]
|
||||
project_name = "Toga test"
|
||||
bundle = "org.beeware"
|
||||
project_name = "Toga Testbed"
|
||||
bundle = "org.beeware.toga"
|
||||
version = "0.0.1"
|
||||
url = "https://beeware.org"
|
||||
license = "BSD license"
|
||||
author = 'Tiberius Yak'
|
||||
author_email = "tiberius@beeware.org"
|
||||
|
||||
[tool.briefcase.app.toga-test]
|
||||
formal_name = "Toga test"
|
||||
description = "Toga test"
|
||||
icon = "src/toga_test/resources/toga_test"
|
||||
[tool.briefcase.app.testbed]
|
||||
formal_name = "Toga Testbed"
|
||||
description = "A testbed for Toga visual tests"
|
||||
icon = "src/testbed/resources/testbed"
|
||||
sources = [
|
||||
'src/toga_test',
|
||||
'src/testbed',
|
||||
]
|
||||
test_sources = [
|
||||
'tests',
|
||||
|
|
@ -27,18 +27,18 @@ test_requires = [
|
|||
]
|
||||
|
||||
|
||||
[tool.briefcase.app.toga-test.macOS]
|
||||
[tool.briefcase.app.testbed.macOS]
|
||||
requires = [
|
||||
'../cocoa',
|
||||
'std-nslog~=1.0.0'
|
||||
]
|
||||
|
||||
[tool.briefcase.app.toga-test.linux]
|
||||
[tool.briefcase.app.testbed.linux]
|
||||
requires = [
|
||||
'../gtk',
|
||||
]
|
||||
|
||||
[tool.briefcase.app.toga-test.linux.appimage]
|
||||
[tool.briefcase.app.testbed.linux.appimage]
|
||||
system_requires = [
|
||||
'gir1.2-webkit-3.0',
|
||||
'libcairo2-dev',
|
||||
|
|
@ -52,12 +52,12 @@ linuxdeploy_plugins = [
|
|||
'DEPLOY_GTK_VERSION=3 gtk',
|
||||
]
|
||||
|
||||
[tool.briefcase.app.toga-test.linux.flatpak]
|
||||
[tool.briefcase.app.testbed.linux.flatpak]
|
||||
flatpak_runtime = 'org.gnome.Platform'
|
||||
flatpak_runtime_version = '42'
|
||||
flatpak_sdk = 'org.gnome.Sdk'
|
||||
|
||||
[tool.briefcase.app.toga-test.windows]
|
||||
[tool.briefcase.app.testbed.windows]
|
||||
test_sources = [
|
||||
'../winforms/tests_backend',
|
||||
]
|
||||
|
|
@ -66,13 +66,13 @@ requires = [
|
|||
]
|
||||
|
||||
# Mobile deployments
|
||||
[tool.briefcase.app.toga-test.iOS]
|
||||
[tool.briefcase.app.testbed.iOS]
|
||||
requires = [
|
||||
'../iOS',
|
||||
'std-nslog~=1.0.0'
|
||||
]
|
||||
|
||||
[tool.briefcase.app.toga-test.android]
|
||||
[tool.briefcase.app.testbed.android]
|
||||
test_sources = [
|
||||
'../android/tests_backend',
|
||||
]
|
||||
|
|
@ -83,7 +83,7 @@ requires = [
|
|||
# TODO: replace with extractPackages
|
||||
build_gradle_extra_content = "android.defaultConfig.python.pyc.src false"
|
||||
|
||||
[tool.briefcase.app.toga-test.web]
|
||||
[tool.briefcase.app.testbed.web]
|
||||
requires = [
|
||||
'../web'
|
||||
]
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
from toga_test.app import main
|
||||
from testbed.app import main
|
||||
|
||||
if __name__ == "__main__":
|
||||
main().main_loop()
|
||||
|
|
@ -1,7 +1,7 @@
|
|||
import toga
|
||||
|
||||
|
||||
class TogaTest(toga.App):
|
||||
class Testbed(toga.App):
|
||||
def startup(self):
|
||||
self.main_window = toga.MainWindow(title=self.formal_name)
|
||||
self.main_window.content = toga.Box()
|
||||
|
|
@ -9,4 +9,4 @@ class TogaTest(toga.App):
|
|||
|
||||
|
||||
def main():
|
||||
return TogaTest(app_name="toga_test")
|
||||
return Testbed(app_name="testbed")
|
||||
BIN
testbed/src/testbed/resources/testbed.icns
Normal file
BIN
testbed/src/testbed/resources/testbed.icns
Normal file
Binary file not shown.
BIN
testbed/src/testbed/resources/testbed.ico
Normal file
BIN
testbed/src/testbed/resources/testbed.ico
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 361 KiB |
BIN
testbed/src/testbed/resources/testbed.png
Normal file
BIN
testbed/src/testbed/resources/testbed.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 24 KiB |
|
|
@ -6,7 +6,7 @@ from threading import Thread
|
|||
import pytest
|
||||
import tests
|
||||
|
||||
from toga_test.app import main
|
||||
from testbed.app import main
|
||||
|
||||
|
||||
def run_tests(app):
|
||||
Loading…
Reference in a new issue