]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/boost/boost/test/tree/global_fixture.hpp
import new upstream nautilus stable release 14.2.8
[ceph.git] / ceph / src / boost / boost / test / tree / global_fixture.hpp
index 7c96d34e8986b49701afd5f338c613d0af8e4799..f64ddeae2dbd608dca3350711b08d8fbb5bd8cec 100644 (file)
@@ -37,11 +37,19 @@ public:
     // Constructor
     global_configuration();
 
+    /// Unregisters the global fixture from the framework
+    ///
+    /// This is called by the framework at shutdown time
+    void unregister_from_framework();
+
     // Dtor
     virtual ~global_configuration();
 
     // Happens after the framework global observer init has been done
     virtual int     priority() { return 1; }
+
+private:
+    bool registered;
 };
 
 
@@ -56,8 +64,16 @@ public:
     // Constructor
     global_fixture();
 
+    /// Unregisters the global fixture from the framework
+    ///
+    /// This is called by the framework at shutdown time
+    void unregister_from_framework();
+
     // Dtor
     virtual ~global_fixture();
+
+private:
+    bool registered;
 };
 
 //____________________________________________________________________________//