Warnings on vc14 were eliminated
[occt.git] / src / BOPTest / BOPTest.cxx
1 // Created on: 2000-05-18
2 // Created by: Peter KURNEV
3 // Copyright (c) 2000-2014 OPEN CASCADE SAS
4 //
5 // This file is part of Open CASCADE Technology software library.
6 //
7 // This library is free software; you can redistribute it and/or modify it under
8 // the terms of the GNU Lesser General Public License version 2.1 as published
9 // by the Free Software Foundation, with special exception defined in the file
10 // OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
11 // distribution for complete text of the license and disclaimer of any warranty.
12 //
13 // Alternatively, this file may be used under the terms of Open CASCADE
14 // commercial license or contractual agreement.
15
16
17 #include <BOPTest.hxx>
18 #include <BRepTest.hxx>
19 #include <DBRep.hxx>
20 #include <Draw_Interpretor.hxx>
21 #include <GeometryTest.hxx>
22 #include <GeomliteTest.hxx>
23 #include <HLRTest.hxx>
24 #include <MeshTest.hxx>
25
26 //=======================================================================
27 //function : AllCommands
28 //purpose  : 
29 //=======================================================================
30 void  BOPTest::AllCommands(Draw_Interpretor& theCommands)
31 {
32   static Standard_Boolean done = Standard_False;
33   if (done) return;
34   done = Standard_True;
35   //
36   BOPTest::BOPCommands       (theCommands);
37   BOPTest::CheckCommands     (theCommands);
38   BOPTest::LowCommands       (theCommands);
39   BOPTest::TolerCommands     (theCommands);
40   BOPTest::ObjCommands       (theCommands);
41   BOPTest::PartitionCommands (theCommands);
42   BOPTest::APICommands       (theCommands);
43   BOPTest::OptionCommands    (theCommands);
44   BOPTest::HistoryCommands   (theCommands);
45   BOPTest::DebugCommands     (theCommands);
46   BOPTest::CellsCommands     (theCommands);
47   BOPTest::UtilityCommands   (theCommands);
48 }
49 //=======================================================================
50 //function : Factory
51 //purpose  : 
52 //=======================================================================
53   void BOPTest::Factory(Draw_Interpretor& theCommands)
54 {
55   static Standard_Boolean FactoryDone = Standard_False;
56   if (FactoryDone) return;
57
58   FactoryDone = Standard_True;
59
60   DBRep::BasicCommands(theCommands);
61   GeomliteTest::AllCommands(theCommands);
62   GeometryTest::AllCommands(theCommands);
63   BRepTest::AllCommands(theCommands);
64   MeshTest::Commands(theCommands);
65   HLRTest::Commands(theCommands);
66   BOPTest::AllCommands(theCommands);
67 }