0032208: Tests - refactor visualization tests to cover several graphic drivers
[occt.git] / tests / bugs / vis / bug27318
diff --git a/tests/bugs/vis/bug27318 b/tests/bugs/vis/bug27318
deleted file mode 100644 (file)
index d16d062..0000000
+++ /dev/null
@@ -1,37 +0,0 @@
-puts "TODO OCC27318 MacOS: Error : TEST FAILED"
-
-puts "========"
-puts "OCC27318"
-puts "========"
-puts ""
-##################################################################
-puts "Memory is not released in Select3D_SensitiveSet when destroying AIS_InteractiveContext without removing objects"
-##################################################################
-
-pload VISUALIZATION QAcommands
-
-# to measure initial memory correctly, open and close interactive context
-# to load FreeImage
-vinit
-vclose
-set aMemInit [meminfo h]
-puts "Initial mem: [expr $aMemInit   / (1024 * 1024)] MiB ([expr $aMemInit])"
-
-# create a box and display it in each interactive context. The context is
-# the only instance that references to the box. Therefore, the box must be
-# removed completely after each context's closing
-for {set anIter 0} {$anIter < 300} {incr anIter} {
-  vinit
-  OCC27318
-  vclose
-}
-
-set aMemAfter [meminfo h]
-puts "Memory after closing interactive context several times: [expr $aMemAfter   / (1024 * 1024)] MiB ([expr $aMemAfter])"
-
-set aRatio [expr $aMemAfter / double($aMemInit)]
-
-# check if the memory difference is greater than 5%
-if [expr $aRatio > 1.05] {
-    puts "Error : TEST FAILED"
-}