Skip to content

Commit 268d4f8

Browse files
authored
Merge pull request #91 from Integration-Automation/dev
Dev
2 parents 5f7275d + 18858ed commit 268d4f8

File tree

7 files changed

+7
-13
lines changed

7 files changed

+7
-13
lines changed

dev.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ build-backend = "setuptools.build_meta"
66

77
[project]
88
name = "je_load_density_dev"
9-
version = "0.0.71"
9+
version = "0.0.73"
1010
authors = [
1111
{ name = "JE-Chen", email = "[email protected]" },
1212
]

je_load_density/gui/language_wrapper/traditional_chinese.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# Main
33
"application_name": "LoadDensity",
44
# Widget
5-
"url": "連結: ",
5+
"url": "URL: ",
66
"test_time": "測試時間: ",
77
"user_count": "測試使用者總數: ",
88
"spawn_rate": "產生速率: ",

je_load_density/gui/execute_thread.py renamed to je_load_density/gui/load_density_gui_thread.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
from je_load_density.wrapper.start_wrapper.start_test import start_test
33

44

5-
class LoadDensityThread(QThread):
5+
class LoadDensityGUIThread(QThread):
66

77
def __init__(self):
88
super().__init__()

je_load_density/gui/main_widget.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@
44
from PySide6.QtGui import QIntValidator
55
from PySide6.QtWidgets import QWidget, QFormLayout, QLineEdit, QComboBox, QPushButton, QTextEdit, QVBoxLayout, QLabel
66

7-
from je_load_density.gui.execute_thread import LoadDensityThread
7+
from je_load_density.gui.load_density_gui_thread import LoadDensityGUIThread
88
from je_load_density.gui.language_wrapper.multi_language_wrapper import language_wrapper
9-
from je_load_density.log_to_ui_filter import InterceptAllFilter, locust_log_queue
9+
from je_load_density.gui.log_to_ui_filter import InterceptAllFilter, locust_log_queue
1010

1111

1212
class LoadDensityWidget(QWidget):
@@ -61,7 +61,7 @@ def __init__(self, parent=None):
6161
self.setLayout(main_layout)
6262

6363
def run_load_density(self):
64-
self.run_load_density_thread = LoadDensityThread()
64+
self.run_load_density_thread = LoadDensityGUIThread()
6565
self.run_load_density_thread.url = self.url_input.text()
6666
self.run_load_density_thread.test_time = int(self.test_time_input.text())
6767
self.run_load_density_thread.user_count = int(self.user_count_input.text())

je_load_density/gui/main_window.py

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,3 @@ def __init__(self):
2323
self.load_density_widget = LoadDensityWidget()
2424
self.setCentralWidget(self.load_density_widget)
2525

26-
27-
if __name__ == "__main__":
28-
app = QApplication(sys.argv)
29-
window = LoadDensityUI()
30-
window.show()
31-
sys.exit(app.exec())

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ build-backend = "setuptools.build_meta"
66

77
[project]
88
name = "je_load_density"
9-
version = "0.0.59"
9+
version = "0.0.60"
1010
authors = [
1111
{ name = "JE-Chen", email = "[email protected]" },
1212
]

0 commit comments

Comments
 (0)