Skip to content
This repository was archived by the owner on Jul 17, 2024. It is now read-only.

Commit 002566b

Browse files
committed
feat: sync ConstraintMatchTotal API
1 parent f77d4e5 commit 002566b

File tree

1 file changed

+13
-1
lines changed

1 file changed

+13
-1
lines changed

tests/test_solution_manager.py

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -249,7 +249,18 @@ def test_score_manager_constraint_ref():
249249
'getJustificationList', # deprecated
250250
'getJustification', # built-in constructor and properties with @dataclass
251251
'getScore', # built-in constructor and properties with @dataclass
252-
}
252+
},
253+
'ConstraintMatchTotal': {
254+
'getConstraintRef', # built-in constructor and properties with @dataclass
255+
'composeConstraintId', # deprecated
256+
'getConstraintPackage', # deprecated
257+
'getConstraintName', # deprecated
258+
'getConstraintId', # deprecated
259+
'getConstraintMatchCount', # built-in constructor and properties with @dataclass
260+
'getConstraintMatchSet', # built-in constructor and properties with @dataclass
261+
'getConstraintWeight', # built-in constructor and properties with @dataclass
262+
'getScore', # built-in constructor and properties with @dataclass
263+
},
253264
}
254265

255266

@@ -260,6 +271,7 @@ def test_has_all_methods():
260271
(ConstraintAnalysis, JavaConstraintAnalysis),
261272
(ScoreExplanation, JavaScoreExplanation),
262273
(ConstraintMatch, JavaConstraintMatch),
274+
(ConstraintMatchTotal, JavaConstraintMatchTotal),
263275
(ConstraintRef, JavaConstraintRef),
264276
(Indictment, JavaIndictment)):
265277
type_name = python_type.__name__

0 commit comments

Comments
 (0)