1 // Created on: 2000-05-18
2 // Created by: Peter KURNEV
3 // Copyright (c) 2000-2014 OPEN CASCADE SAS
5 // This file is part of Open CASCADE Technology software library.
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.
13 // Alternatively, this file may be used under the terms of Open CASCADE
14 // commercial license or contractual agreement.
17 #include <BOPTest.hxx>
18 #include <BRepTest.hxx>
20 #include <Draw_Interpretor.hxx>
21 #include <GeometryTest.hxx>
22 #include <GeomliteTest.hxx>
23 #include <HLRTest.hxx>
24 #include <MeshTest.hxx>
26 //=======================================================================
27 //function : AllCommands
29 //=======================================================================
30 void BOPTest::AllCommands(Draw_Interpretor& theCommands)
32 static Standard_Boolean done = Standard_False;
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);
49 //=======================================================================
52 //=======================================================================
53 void BOPTest::Factory(Draw_Interpretor& theCommands)
55 static Standard_Boolean FactoryDone = Standard_False;
56 if (FactoryDone) return;
58 FactoryDone = Standard_True;
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);