-// Copyright (C) 2007-2016 CEA/DEN, EDF R&D, OPEN CASCADE
+// Copyright (C) 2007-2021 CEA/DEN, EDF R&D, OPEN CASCADE
//
// This library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
//
// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
//
+
// Author: Guillaume Boulant (EDF/R&D)
#include "SALOME_KernelServices.hxx"
LOG("TEST_Corba: orb ERROR");
return false;
}
- SALOME_NamingService * ns = KERNEL::getNamingService();
+ SALOME_NamingService_Abstract * ns = KERNEL::getNamingService();
if ( ns == NULL ) {
LOG("TEST_Corba: ns ERROR");
return false;
for (int i=0; i<10; i++) {
try {
int pid = salomeLauncher->getPID();
+ SALOME_UNUSED(pid); // unused in release mode
LOG("["<<i<<"] SALOME launcher PID = " << pid);
}
catch (const SALOME::SALOME_Exception & ex) {
-int main (int argc, char * argv[]) {
+int main () {
TEST_corba();
TEST_getLifeCycleCORBA();
TEST_getStudy();