]> SALOME platform Git repositories - modules/shaper.git/commitdiff
Salome HOME
Remove examples and tests based on the obsolete API
authormpv <mpv@opencascade.com>
Fri, 11 Nov 2016 16:08:39 +0000 (19:08 +0300)
committermpv <mpv@opencascade.com>
Fri, 11 Nov 2016 16:08:39 +0000 (19:08 +0300)
src/PythonAPI/CMakeLists.txt
src/PythonAPI/Test/TestMakeBrick3.py [deleted file]
src/PythonAPI/examples/MakeBrick3.py [deleted file]

index 16ce02a1b126e1a9f9ad232e8ff32ba3fd0cfb00..a28227ccbc3db35355c2b8d70cfa3a3c87f11482 100644 (file)
@@ -39,6 +39,5 @@ ADD_UNIT_TESTS(
 
   TestMakeBrick1.py
   TestMakeBrick2.py
-  TestMakeBrick3.py
   TestPlatine.py
   )
diff --git a/src/PythonAPI/Test/TestMakeBrick3.py b/src/PythonAPI/Test/TestMakeBrick3.py
deleted file mode 100644 (file)
index bbdb4a9..0000000
+++ /dev/null
@@ -1,6 +0,0 @@
-import unittest
-
-import examples.MakeBrick3
-
-if __name__ == "__main__":
-    unittest.main()
diff --git a/src/PythonAPI/examples/MakeBrick3.py b/src/PythonAPI/examples/MakeBrick3.py
deleted file mode 100644 (file)
index 898e83b..0000000
+++ /dev/null
@@ -1,25 +0,0 @@
-# Creation of a box using the end-user API
-# Author: Daniel Brunier-Coulin
-# -----------------------------
-
-import model
-import extension
-
-
-# Initialisation
-
-model.begin()
-mypartset = model.moduleDocument()
-
-
-# Creating a new Part
-
-mypart = model.addPart(mypartset).document()
-
-
-# Creating the base of the box
-
-extension.addBoxScript( mypart, 10, 20, 30 )
-model.end()
-
-assert(model.checkPythonDump())
\ No newline at end of file