pgAdmin 4 commit: Improve code coverage and API test cases for Domain a

From: Akshay Joshi <akshay(dot)joshi(at)enterprisedb(dot)com>
To: pgadmin-hackers(at)lists(dot)postgresql(dot)org
Subject: pgAdmin 4 commit: Improve code coverage and API test cases for Domain a
Date: 2020-06-26 09:35:49
Message-ID: E1joklx-00013a-MY@gothos.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-hackers

Improve code coverage and API test cases for Domain and Domain Constraints. Fixes #5326

Branch
------
master

Details
-------
https://git.postgresql.org/gitweb?p=pgadmin4.git;a=commitdiff;h=8e28e0a32b4c3a8bb7f3e149977afb34a0aebb24
Author: Satish V <satish(dot)v(at)enterprisedb(dot)com>

Modified Files
--------------
docs/en_US/release_notes.rst | 1 +
docs/en_US/release_notes_4_24.rst | 19 +
.../schemas/domains/domain_constraints/__init__.py | 1 +
.../domains/domain_constraints/tests/__init__.py | 15 +
.../tests/domain_constraints_test_data.json | 550 ++++++++++++++++++++
.../tests/test_domain_constraints_add.py | 104 ++++
.../tests/test_domain_constraints_delete.py | 113 ++++
.../test_domain_constraints_delete_multiple.py | 115 +++++
.../tests/test_domain_constraints_dependents.py | 107 ++++
.../tests/test_domain_constraints_get.py | 135 +++++
.../tests/test_domain_constraints_msql.py | 114 +++++
.../tests/test_domain_constraints_node.py | 139 +++++
.../tests/test_domain_constraints_put.py | 116 +++++
.../tests/test_domain_constraints_sql.py | 118 +++++
.../domains/domain_constraints/tests/utils.py | 221 ++++++++
.../schemas/domains/tests/domain_test_data.json | 567 +++++++++++++++++++++
.../schemas/domains/tests/test_domain_add.py | 85 +--
.../schemas/domains/tests/test_domain_delete.py | 64 ++-
.../domains/tests/test_domain_delete_multiple.py | 44 +-
.../tests/test_domain_dependent_dependency.py | 77 +++
.../schemas/domains/tests/test_domain_get.py | 73 ++-
.../domains/tests/test_domain_get_collations.py | 83 +++
.../schemas/domains/tests/test_domain_get_node.py | 93 ++++
.../domains/tests/test_domain_get_types_func.py | 89 ++++
.../schemas/domains/tests/test_domain_msql.py | 81 +++
.../schemas/domains/tests/test_domain_put.py | 67 ++-
.../schemas/domains/tests/test_domain_sql.py | 160 +++---
.../databases/schemas/domains/tests/utils.py | 7 +-
28 files changed, 3169 insertions(+), 189 deletions(-)

Browse pgadmin-hackers by date

  From Date Subject
Next Message Akshay Joshi 2020-06-26 09:37:07 Re: Patch for SonarQube code scan.
Previous Message Nikhil Mohite 2020-06-26 09:05:38 Re: Patch for SonarQube code scan.