3
I Use This!
Inactive

Commits : Listings

Analyzed 1 day ago. based on code collected 1 day ago.
Sep 04, 2024 — Sep 04, 2025
Commit Message Contributor Files Modified Lines Added Lines Removed Code Location Date
* qm/test/base.py (base.dtds): Change version number for result DTD. (write_results): Remove. (save_results): Likewise. (_test_results_from_dom): Likewise. (_resource_results_from_dom): Likewise. (load_results): Adjust. (_result_from_dom): Likewise. (_count_outcomes): Rename to ... (count_outcomes): ... this. (summarize_test_stats): Remove. (summarize_relative_test_stats): Likewise. (summarize_test_suite_stats): Likewise. (summarize_results): Likewise. (run_test): Indicate that the new result is for a test. (set_up_resource): Indicate that the new result is for a resource. (clean_up_resource): Likewise. * qm/test/cmdline.py (Command.__ExecuteSummarize): Use TextResultStream. (Command.__ExecuteRun): Likewise. Use XMLResultStream. (Command.__ProgressCallback): Remove. (Command.__SummarizeResults): Remove. (Command.__WriteResults): Remove. * qm/test/file_database.py: Tweak documentation. * qm/test/result.py (Result.RESOURCE): New constant. (Result.TEST): Likewise. (Result.kinds): New variable. (Result.__init__): Add kind parameter. (Result.GetKind): New method. (Result.MakeDomNode): Write out kind attribute. * qm/test/result_stream.py: New file. * qm/test/run.py (TestRun.__init__): Take result_streams, not progress_function, as a parameter. (TestRun.AddTestResult): Call __ReportResult, not __ProgressMessage. (TestRun.AddResourceResult): Likewise. (TestRun.__ReportResult): New function. (TestRun.__ProgressMessage): Remove. (test_run): Take result_streams, not message_function, as a parameter. * qm/test/text_result_stream.py: New file. * qm/test/xml_result_stream.py: Likewise. * qm/test/web/run.py (TestResultsPage): Inherit from ResultStream. (TestResultsPage.__init__): Adjust. (TestResultsPage.WriteResult): New method. (TestResultsPage.Summarize): Likewise. (handle_run_tests): Adjust. * qm/test/web/show.py: Fix typo. * qm/test/web/web.py: Likewise. * share/xml/CATALOG: Update result.dtd version. * share/xml/result.dtd: Remove test-results and resource-results elements. More... almost 24 years ago
* qm/test/base.py (InstanceBase): Tweak documentation. (InstanceBase.GetClass): Use TestDescriptor, not Test, and ResourceDescriptor, not Resource. (Test): Rename to TestDescriptor. (Resource): Rename to ResourceDescriptor. (make_new_test): Adjust. (make_new_resource): Likewise. * qm/test/xmldb.py (Database.__ParseTestDescriptor): Likweise. (Database.__ParseResourceDescriptor): Likewise. * qm/test/web/show.py (handle_sumbit): Likewise. More... almost 24 years ago
Use 'arguments' not 'fields' in test classes. Change API for 'Run' method in tests. * qm/test/base.py: Import qm.test.result. (standard_test_class_names): Remove. (standard_resource_class_names): Likewise. (InstanceBase.__MakeItem): Use 'arguments', not 'fields'. (Test.Run): Take result parameter. (Resource.SetUp): Likewise. (Resource.CleanUp): Likewise. (Resource.__Do): Likewise. (Result): Remove. (ResultWrapper): Remove. (make_result_for_exception): Likewise. (make_new_test): Use arguments, not fields. (make_new_resource): Likewise. (write_results): Adjust documentation. (save_results): Likewise. (load_results): Likewise. (_test_results_from_dom): Likewise. (_result_from_dom): Construct a Result, not a ResultWrapper. (split_results_by_expected_outcome): Adjust documentation. (summarize_relative_test_stats): Likewise. (summarize_test_suite_stats): Likewise. (summarize_results): Likewise. (run_test): Adjust for new API. (set_up_resource): Likewise. (clean_up_resource): Likewise. * qm/test/cmdline.py (Command): Adjust documentation. (Command.__SummarizeResults): Tweak. * qm/test/result.py: New file. * qm/test/run.py (TestRun): Adjustments throughout to use Result instead of ResultWrapper. * qm/test/test.py: New file. * qm/test/xmldb.py (Database.__GetArgumentsFromDomNode): Use arguments, not fields. (Database.__MakeDomNodeForItem): Likewise. * qm/test/command.py: Adjustments throughout. * qm/test/file.py: Likewise. * qm/test/python.py: Likewise. * qm/test/temporary.py: Likewise. * qm/test/web/run.py (TestResultsPage.__init__): Adjust documentation. (TestResultsPage.FormatResult): Likewise. * qm/test/web/show.py (ShowPage.AddPrerequisitePage): Tweak. (handle_submit): Likewise. More... almost 24 years ago
* qm/test/base.py (InstanceBase.GetClass): Use get_extension_class. (load_databse): Likewise. (get_extension_directories): Add kind parameter. (get_extension_class_names_in_directory): New function. (get_extension_class_names): Likewise. (get_extension_class): Likewise. (get_test_class): Likewise. (get_resource_class): Likewise. (get_class): Remove. (make_new_test): Use get_test_class. (make_new_resource): Use get_resource_class. (__loaded_classes): Remove. (__builtin_class_path): Likewise. (extension_kinds): New variable. (__class_caches): Likewise. * qm/test/database.py (GetTestClasses): Use get_extension_class_names. (GetResourceClasses): Likewise. * qm/test/run.py (SubprocessTarget.__init__): Fix typo in comment. * qm/test/xmldb.py (Database.__ParseTestDocument): Use get_test_class. (Database.__ParseResourceDocument): Use get_resource_class. * qm/test/classes/__init__.py: Remove. * qm/test/classes/classes.qmc: New file. * qm/test/web/show.py (handle_show): Use get_extension_class. (handle_submit): Likewise. * share/xml/CATALOG: Add class-directory.dtd. * share/xml/class-directory.dtd: New file. More... almost 24 years ago
* qm/label.py (MakeRelativeTo): Rename to ... (AsAbsolute): ... this. (UnmakeRelativeTo): Rename to ... (AsRelative): ... this. * qm/test/base.py (Suite.IsImplicit): Update comment. (ResultWrapper.AsStructuredText): Fix thinko. * qm/test/database.py (Database.GetSuite): Update documentation. (Database.HasSuite): Likewise. (Database.GetSubdirectories): New method. (Database.GetTestClasses): Fix typo. (Database.GetResourceClasses): Fix typo. * qm/test/file_database.py (FileDatabase.GetSubdirectories): New method. (FileDatabase._GetLabels): Use AsAbsolute, not MakeRelativeTo. * qm/test/web/dir.py (DirItem): Remove. (DirPage.__init__): Store subdirectories, tests, suites, and resources. (handle_dir): Use the 'id' attribute to figure out which directory to display. * qm/test/web/show.py (NewItemPage.__init__): Use Database.GetResourceClasses. * qm/test/web/web.py (FormatId): Handle '.' specially. (make_server): Register 'show-dir'. * qm/test/share/dtml/test/dir.dtml: Rework for hierarchical directory display. * qm/share/dtml/test/suite.dtml: Remove bogus commentary about implicit suites. More... almost 24 years ago
* qm/label.py (to_path): Add extension parameter. * qm/test/base.py (Suite.GetTestIds): Revise documentation. (Suite.GetSuiteIds): Likewise. * qm/test/database.py (NoSuchTestError.__str__): Fix typo. (NoSuchSuiteError.__str__): Likewise. (NoSuchResourceError.__str__): Likewise. (Database): Update documentation. (Database.GetTestIds): Add scan_subdirs parameter. (Database.GetSuite): Update documentation. (Database.HasSuite): Likewise. (Database.GetSuiteIds): Add scan_subdirs parameter. (Database.GetResourceIds): Likewise. * qm/test/directory_suite.py: New file. * qm/test/file_database.py: Likewise. * qm/test/xmldb.py (test_file_extension): Remove. (suite_file_extension): Likewise. (resource_file_extension): Likewise. (Database): Inherit from FileDatabase. (Database.__init__): Adjust accordingly. (Database.GetTest): Rename and modify to become ... (Database._GetTestFromPath): ... this. (Database.GetTestIds): Remove. (Database.GetSuite): Rename and modify to become ... (Database._GetSuiteFromPath): ... this. (Database.GetSuiteIds): Remove. (Database.GetResource): Rename and modify to become ... (Database._GetResourceFromPath): ... this. (Database.GetResourceIds): Remove. (DirectorySuite): Remove. (AttachmentStore.__init__): Add database parameter. (AttachmentStore.__MakeDataFilePath): Use it to get the spellings of the various attachments. More... almost 24 years ago
* qm/test/xmldb.py (Database.__init__): Pass the attachment store down to the base class. (Database.GetAttachmentStore): Remove. (Database.__GetArgumentsFromDomNode): Use GetAttachmentStore to access the attachment store. More... almost 24 years ago
* README.sources: Fix typo. More... almost 24 years ago
* qm/structured_text.py (HtmlFormatter.FinishDefinedTerm): Write the <dd> tag corresponding to the beginning of the definition itself. * qm/test/base.py (ResultWrapper.AsStructuredText): New method. (summarize_results): Use it. * qm/test/web/run.py (TestResultsPage.ShouldShowProperty): Remove. (TestResultsPage.FormatProperty): Remove. (TestResultsPage.FormatResult): New method. * share/dtml/test/results.dtml: Update accordingly. More... almost 24 years ago
* qm/test/base.py (Database.__init__): New method. (Database.GetPath): Return the stored value. * qm/test/cmdline.py (Command.Execute): Convert the database path to an absolute path, if it isn't already one. * qm/test/xmldb.py (Database.__init__): Call the base class initializer. Don't store path. (Database.GetClassPaths): Use GetPath, not __path, to retrieve the database path. (Database.GetPath): Remove. More... almost 24 years ago
* Makefile.in (SUBDIRS): Add doc. (install): Change invocation of install.py. (clean): New target. * configure.in (AC_OUTPUT): Add qm/setup_path.py. * configure: Regenerated. * install.py: Rework generation of scripts. * standard.mk.in (.PHONY): Add clean. * doc/manual/Makefile.in (clean::): New rule. * qm/Makefile.in (setup_path.py): Remove rule. (SCRIPTS): Simplify. * qm/attachment.py: Fix formatting. * qm/qm.sh: New file. * qm/test/qmtest-remote.in: Rename to ... * qm/test/qmtest-remote.py: ... this. * qm/test/qmtest.in: Rename to ... * qm/test/qmtest.py: ... this. * qm/track/qmtrack.in: Rename to ... * qm/track/qmtrack.py: ... this. * sgmlop/Makefile.in (clean): Use double-colon rule. * zope-dtml/ExtensionClass/Makefile.in (clean): Likewise. More... almost 24 years ago
* README: Mention test suite. More... almost 24 years ago
* unit.qms/test.qms/classes.qms/scripttest3.qmt: Update. * unit.qms/track.qms/export.qms/export1.qmt: Remove obsolete test. * unit.qms/track.qms/export.qms/export2.qmt: Likewise. * unit.qms/track.qms/export.qms/setup_idb.qmt: Likewise. * unit.qms/track.qms/export.qms/idb.qma: Remove action. More... almost 24 years ago
* qm/web.py (WebServer.__init__): Document meaning of using 0 as the port. (WebServer.Bind): Handle port 0 specially. * qm/test/cmdline.py (Command.__ExecuteServer): Use port 0 as the default port and 127.0.0.1 as the default address for the web server. * qm/test/web/web.py (make_server): Do not provide a default argument for address. More... almost 24 years ago
* qm/attachment.py: Attempt to fix formatting. More... almost 24 years ago
* qm/fields.py (Field.GetValueFromDomNode): Rename store parameter to attachment_store. Likewise for all subclasses. (from_dom_node): Likewise. Pass it recursively. * qm/track/memory_issue_store.py (IssueStore.UpdateIssueClass): Fix brackets. (open): Add attachment_store parameter. * qm/track/issue_database.py (AttachmentStore.__init__): Call base class __init__. (AttachmentStore.Store): Accept None for issue. (AttachmentStore.Adopt): Remove. (AttachmentStore.StoreFromFile): New method. (_IssueDatabase.UpdateIssueClass): New function. (open): Open the attachment store first, and pass it to the issue store open function. * qm/track/issue.py (get_issues_from_dom_node): Add attachment_store parameter. (_get_field_values_from_dom_node): Likewise. (get_issue_from_dom_node): Likewise. (get_issue_difference_from_dom_node): Likewise. (get_histories_from_dom_node): Likewise. (get_history_from_dom_node): Likewise. (load_issue_histories): Likewise. * qm/track/issue_class.py (from_dom_node): Likewise. (load): Likewise. * qm/track/cmdline.py (Command.__PerformCreate): Use correct module for Issue. (Command.__PerformConfigureIdb): Call web_server.Run directly. * qm/track/web/web.py (store_attachment_data): New function. * qm/track/web/issue_class.py (handle_submit_field): Call store_attachment_data for attachment field default values. (handle_new_class): Use idb.GetConfiguration. * qm/track/web/show.py (handle_new): Likewise. Use correct module for Issue. (handle_submit): Likewise. (_store_attachment_data): Remove. More... almost 24 years ago
* README.sources: Clarify blank lines. * qm/track/test.py: Remove. * qm/track/web/issue_class.py: Remove spurious import. More... almost 24 years ago
* qm/test/classes/command.py (ShellCommandTest): Fix typo in comment. More... almost 24 years ago
* qm/test/classes/command.py (CommandTest): Fix typo in comment. More... almost 24 years ago
* qm/fields.py (SetField.GetValueFromDomNode): Correct thinko. More... almost 24 years ago
* doc/manual/test-reference.xml: Add section on writing database classes. More... almost 24 years ago
Fix typo More... almost 24 years ago
* qm/test/base.py (load_database): Rework. (get_extension_directories): New function. (get_class): Use it. (get_database_class): New function. * share/xml/tdb-configuration.dtd: New file. * share/xml/CATALOG: Add it. More... almost 24 years ago
* qm/common.py (rmdir_recursively): Remove the directory itself. More... almost 24 years ago
* qm/attachment.py (TemporaryAttachmentStore): Derived from AttachmentStore. Add all_stores variable. (AttachmentStore.__init__): Add the new store to all_stores. (AttachmentStore.GetIndex): New method. (TemporaryAttachmentStore.__init__): Initialize the base class. (TemporaryAttachmentStore.Add): Close the file after the data has been written out. (Attachment): Include a reference to the associated attachment store. (Attachment.__init__): Take an attachment store as a parameter. (Attachment.__cmp__): Compare the attachment store along with the other fields. (AttachmentWrapper): Remove. (from_dom_node): Add attachment store parameter. (get_attachment_store): New function. * qm/common.py (make_unique_tag): Return something more likely to be unique. (_unique_tag): New variable. * qm/fields.py (Field.FromDecodeValue): Adjust comment. (UploadAttachmentPage.__init__): Fix typo in comment. Put the attachment store into the context for the DTML page. (AttachmentField.FromEncodeValue): Encode the attachment store. (AttachmentField.FormDecodeValue): Decode the attachment store value. * qm/test/base.py (InstanceBase.__MakeItem): Remove special handling for attachments. (Database.WriteTest): Update comments. * qm/test/web/show.py (_retrieve_attachment_data): Remove. (handle_submit): Remove special handling for attachments. Remove temporary attachments when they are no longer needed. * qm/test/web/web.py (make_server): Fix typo in comment. * qm/track/server.py (_make_server): Fix typo in comment. * share/dtml/attachment.dtml: Encode the attachment store when returning information to the server. More... almost 24 years ago
* qm/test/cmdline.py (Command.__SummarizeResults): Only show resource results section if there are some failing. More... almost 24 years ago
* qm/test/cmdline.py (Command.divider): Always show non-relative stats in full format. * tests/unit.qms/track.qms/export.qms/export2.qmt: Fix. More... almost 24 years ago
* qm/fields.py (Field): Rename __attributes to __properties throughout. (Field.GetAttribute): Rename to... (Field.GetProperty): ... this. (Field.SetAttribute): Rename to... (Field.SetProperty): ... this. (Field.GetAttributeNames): Rename to ... (Field.GetPropertyNames): ... this. (Field.IsAttribute): Rename to... (Field.IsProperty): ... this. Adjust accordingly throughout. * qm/track/issue_class.py (StateField.GetStateModel): Use GetProperty. (StateField.SetStateModel): Use SetProperty. * qm/test/base.py (ContextWrapper): Rename attributes to properties throughout. * qm/test/web/show.py (ShowPage.FormatFieldValue): Use IsAttribute. * qm/test/classes/file.py (SubstitutionField.__init__): Rename attributes to properties. (SubstitutionField): Rename path_attribute to path_property throughout. * qm/track/cmdline.py (Command.__PrintResults): Likewise. * qm/track/triggers/notification.py (_NotifyTrigger.__MakeMessage): Likewise. * qm/track/web/show.py (ShowPage.IsShowField): Likewise. (ShowPage.FormatFieldValue): Likewise. * qm/track/web/summary.py (DisplayOptionsPage.__init__): Likewise. * qm/track/web/issue_class.py (handle_submit_subscription): Use SetProperty. * share/dtml/track/issue-class.dtml: Use IsAttribute. * share/dtml/track/subscription.dtml: Likewise. * share/dtml/test/show.dtml: Likewise. * share/diagnostics/test.txt (context attribute cannot be deleted): Rename to ... (context property cannot be deleted): ... this. More... almost 24 years ago
* qm/test/classes/file.py (SubstitutionField.class_name): New attribute. (SubstitutionField.GetHelp): Fix link in help text. More... almost 24 years ago
* qm/track/issue_class.py (IssueClass.__init__): Adjust field descriptions. * qm/track/cmdline.py (Command.GetIdbPath): Fix exception. (run_command): Handle IdbError. * qm/track/qmtrack.in: Load diagnostics. * qm/track/server.py: Remove obsolete import. * qm/track/web/query.py: Likewise. * qm/test/classes/command.py (ExecTest.fields): Fix description of exit_code field. * share/dtml/track/show.dtml: Show brief field descriptions when editing. * share/dtml/test/show.dtml: Fix indentation. * share/diagnostics/track.txt (idb locked): Adjust. More... almost 24 years ago