class documentation

class ProgramGraphTest(absltest.TestCase): (source)

View In Hierarchy

Undocumented

Method analyze_get_program_graph Undocumented
Method assertEdge Asserts that an edge of type edge_type exists from n1 to n2 in graph.
Method assertNoEdge Asserts that no edge of type edge_type exists from n1 to n2 in graph.
Method test_ast_acyclic Undocumented
Method test_calls_edges Undocumented
Method test_computed_from_edges Undocumented
Method test_formal_arg_name_edges Undocumented
Method test_get_program_graph_test_components Undocumented
Method test_last_lexical_use_edges_function_call Undocumented
Method test_last_read_edges_assignments Undocumented
Method test_last_read_last_write_edges_repeated_identifier Undocumented
Method test_last_write_edges_function_call Undocumented
Method test_neighbors_children_consistent Undocumented
Method test_reconstruct_missing_ast Undocumented
Method test_remove Undocumented
Method test_returns_to_edges Undocumented
Method test_roundtrip_ast Undocumented
Method test_syntax_information Undocumented
Method test_walk_ast_descendants Undocumented
def analyze_get_program_graph(self, program_generator, start=0): (source)

Undocumented

def assertEdge(self, graph, n1, n2, edge_type): (source)

Asserts that an edge of type edge_type exists from n1 to n2 in graph.

def assertNoEdge(self, graph, n1, n2, edge_type): (source)

Asserts that no edge of type edge_type exists from n1 to n2 in graph.

def test_ast_acyclic(self): (source)

Undocumented

def test_calls_edges(self): (source)

Undocumented

def test_computed_from_edges(self): (source)

Undocumented

def test_formal_arg_name_edges(self): (source)

Undocumented

def test_get_program_graph_test_components(self): (source)

Undocumented

def test_last_lexical_use_edges_function_call(self): (source)

Undocumented

def test_last_read_edges_assignments(self): (source)

Undocumented

def test_last_read_last_write_edges_repeated_identifier(self): (source)

Undocumented

def test_last_write_edges_function_call(self): (source)

Undocumented

def test_neighbors_children_consistent(self): (source)

Undocumented

def test_reconstruct_missing_ast(self): (source)

Undocumented

def test_remove(self): (source)

Undocumented

def test_returns_to_edges(self): (source)

Undocumented

def test_roundtrip_ast(self): (source)

Undocumented

def test_syntax_information(self): (source)

Undocumented

def test_walk_ast_descendants(self): (source)

Undocumented