0024002: Overall code and build procedure refactoring -- automatic
[occt.git] / src / BOPTest / BOPTest.cxx
CommitLineData
b311480e 1// Created on: 2000-05-18
2// Created by: Peter KURNEV
973c2be1 3// Copyright (c) 2000-2014 OPEN CASCADE SAS
b311480e 4//
973c2be1 5// This file is part of Open CASCADE Technology software library.
b311480e 6//
d5f74e42 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
973c2be1 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.
b311480e 12//
973c2be1 13// Alternatively, this file may be used under the terms of Open CASCADE
14// commercial license or contractual agreement.
7fd59977 15
42cf5bc1 16
17#include <BOPTest.hxx>
18#include <BRepTest.hxx>
7fd59977 19#include <DBRep.hxx>
20#include <Draw_Interpretor.hxx>
7fd59977 21#include <GeometryTest.hxx>
42cf5bc1 22#include <GeomliteTest.hxx>
7fd59977 23#include <HLRTest.hxx>
42cf5bc1 24#include <MeshTest.hxx>
7fd59977 25
26//=======================================================================
27//function : AllCommands
28//purpose :
29//=======================================================================
b311480e 30void BOPTest::AllCommands(Draw_Interpretor& theCommands)
7fd59977 31{
32 static Standard_Boolean done = Standard_False;
33 if (done) return;
7fd59977 34 done = Standard_True;
4e57c75e 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);
49b0c452 42 BOPTest::APICommands (theCommands);
43 BOPTest::OptionCommands (theCommands);
7fd59977 44}
4e57c75e 45//=======================================================================
46//function : Factory
47//purpose :
48//=======================================================================
49 void BOPTest::Factory(Draw_Interpretor& theCommands)
7fd59977 50{
51 static Standard_Boolean FactoryDone = Standard_False;
52 if (FactoryDone) return;
53
54 FactoryDone = Standard_True;
7fd59977 55
4e57c75e 56 DBRep::BasicCommands(theCommands);
57 GeomliteTest::AllCommands(theCommands);
58 GeometryTest::AllCommands(theCommands);
59 BRepTest::AllCommands(theCommands);
60 MeshTest::Commands(theCommands);
4e57c75e 61 HLRTest::Commands(theCommands);
62 BOPTest::AllCommands(theCommands);
7fd59977 63}