cirq.testing.json.ModuleJsonTestSpec
cirq.testing.json.ModuleJsonTestSpec(
name: str,
packages: List[ModuleType],
test_data_path: pathlib.Path,
not_yet_serializable: List[str],
should_not_be_serialized: List[str],
resolver_cache: Dict[str, cirq.testing.json.ObjectFactory
],
deprecated: Dict[str, str],
custom_class_name_to_cirq_type: Dict[str, str] = dataclasses.field(default_factory=dict),
tested_elsewhere: List[str] = dataclasses.field(default_factory=list)
)
Attributes |
name
|
Dataclass field
|
packages
|
Dataclass field
|
test_data_path
|
Dataclass field
|
not_yet_serializable
|
Dataclass field
|
should_not_be_serialized
|
Dataclass field
|
resolver_cache
|
Dataclass field
|
deprecated
|
Dataclass field
|
custom_class_name_to_cirq_type
|
Dataclass field
|
tested_elsewhere
|
Dataclass field
|
Methods
all_test_data_keys
View source
all_test_data_keys() -> List[str]
find_classes_that_should_serialize
View source
find_classes_that_should_serialize() -> Set[Tuple[str, Type]]
get_all_names
View source
get_all_names() -> Iterator[str]
get_resolver_cache_types
View source
get_resolver_cache_types() -> Set[Tuple[str, Type]]
__eq__
__eq__(
other
)
Return self==value.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-06-27 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-06-27 UTC."],[],[]]