Kaydet (Commit) 7758cc48 authored tarafından Jens-Heiner Rechtien's avatar Jens-Heiner Rechtien

INTEGRATION: CWS vistaready01 (1.4.22); FILE MERGED

2006/12/08 12:52:19 lla 1.4.22.1: #i72391# bring tests up to date
üst 5f57a5a1
...@@ -4,9 +4,9 @@ ...@@ -4,9 +4,9 @@
* *
* $RCSfile: TestProxySet.cxx,v $ * $RCSfile: TestProxySet.cxx,v $
* *
* $Revision: 1.4 $ * $Revision: 1.5 $
* *
* last change: $Author: obo $ $Date: 2006-09-17 01:49:18 $ * last change: $Author: hr $ $Date: 2007-01-02 16:13:28 $
* *
* The Contents of this file are made available subject to * The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1. * the terms of GNU Lesser General Public License Version 2.1.
...@@ -61,8 +61,8 @@ ...@@ -61,8 +61,8 @@
#include <cppuhelper/servicefactory.hxx> #include <cppuhelper/servicefactory.hxx>
#endif #endif
#ifndef _RTL_USTRING_ #ifndef _RTL_USTRING_HXX_
#include <rtl/ustring> #include <rtl/ustring.hxx>
#endif #endif
#ifndef _SAL_TYPES_H_ #ifndef _SAL_TYPES_H_
...@@ -118,7 +118,8 @@ Reference< XMultiServiceFactory > g_xFactory; ...@@ -118,7 +118,8 @@ Reference< XMultiServiceFactory > g_xFactory;
//-------------------------------------------------------------- //--------------------------------------------------------------
int SAL_CALL main(int nArgc, char* Argv[], char* Env[] ) // int SAL_CALL main(int nArgc, char* Argv[], char* Env[] )
int SAL_CALL main(int, char*, char* )
{ {
//------------------------------------------------- //-------------------------------------------------
// get the global service-manager // get the global service-manager
...@@ -196,6 +197,10 @@ int SAL_CALL main(int nArgc, char* Argv[], char* Env[] ) ...@@ -196,6 +197,10 @@ int SAL_CALL main(int nArgc, char* Argv[], char* Env[] )
proxyBypass = xProxySettings->getProxyBypassAddress( ); proxyBypass = xProxySettings->getProxyBypassAddress( );
sal_Bool bProxyEnabled = xProxySettings->isProxyEnabled( ); sal_Bool bProxyEnabled = xProxySettings->isProxyEnabled( );
if (bProxyEnabled)
{
printf("Test ProxyEnabled true\n");
}
printf( "Test of SOProxySettings successful\n" ); printf( "Test of SOProxySettings successful\n" );
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment