Searched refs:APISchemaGraph (Results 1 - 5 of 5) sorted by relevance

/external/chromium_org/chrome/common/extensions/docs/server2/
H A Dapi_schema_graph_test.py8 from api_schema_graph import APISchemaGraph, LookupResult namespace
59 self._testAPISchema(APISchemaGraph(API_SCHEMA))
63 empty_graph = APISchemaGraph({})
83 APISchemaGraph(API_SCHEMA).Subtract(APISchemaGraph({})))
136 APISchemaGraph(API_SCHEMA).Subtract(APISchemaGraph(API_SCHEMA))
141 difference = APISchemaGraph(API_SCHEMA).Subtract(APISchemaGraph({
205 difference = APISchemaGraph(API_SCHEM
[all...]
H A Davailability_finder_test.py79 # Keep track of how many times the APISchemaGraph constructor is called.
80 original_constructor = api_schema_graph.APISchemaGraph
82 api_schema_graph.APISchemaGraph = mock_constructor
89 # We expect an APISchemaGraph to be created only when an API schema file
96 self.assertTrue(*api_schema_graph.APISchemaGraph.CheckAndReset(
99 # Ensure that the APISchemaGraph constructor is reset to be the original
101 api_schema_graph.APISchemaGraph = original_constructor
H A Djsc_view_test.py11 from api_schema_graph import APISchemaGraph namespace
58 schema_graph = APISchemaGraph()
59 api_graph = APISchemaGraph(json.loads(
H A Dapi_schema_graph.py12 '''Returned from APISchemaGraph.Lookup(), and relays whether or not
36 '''An abstract representation of a node in an APISchemaGraph.
38 underlying dictionary. So if the APISchemaGraph is:
212 '''Moves down the APISchemaGraph, following |path|.
328 class APISchemaGraph(object): class in inherits:object
343 '''Returns an APISchemaGraph instance representing keys that are in
346 return APISchemaGraph(_graph=_Subtract(self._graph, other._graph))
370 APISchemaGraph instance contains |path|.
H A Davailability_finder.py8 from api_schema_graph import APISchemaGraph namespace
386 '''Returns an APISchemaGraph annotated with each node's availability (the
397 availability_graph = APISchemaGraph()
434 version_graph = APISchemaGraph(

Completed in 133 milliseconds