We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0fa3d00 commit c2ea28dCopy full SHA for c2ea28d
Tests/OpenAttributeGraphCompatibilityTests/Graph/GraphCompatibilityTests.swift
@@ -85,4 +85,18 @@ struct GraphCompatibilityTests {
85
#expect(graph.mainUpdates == 0)
86
}
87
#endif
88
+
89
+ @Test(.disabled(if: !compatibilityTestEnabled, "Not implemented on OAG"))
90
+ func beginDeferringSubgraphInvalidation() {
91
+ let graph = Graph()
92
93
+ let wasDeferring1 = graph.beginDeferringSubgraphInvalidation()
94
+ #expect(wasDeferring1 == false)
95
96
+ let wasDeferring2 = graph.beginDeferringSubgraphInvalidation()
97
+ #expect(wasDeferring2 == true)
98
99
+ graph.endDeferringSubgraphInvalidation(wasDeferring: wasDeferring2)
100
+ graph.endDeferringSubgraphInvalidation(wasDeferring: wasDeferring1)
101
+ }
102
0 commit comments