summaryrefslogtreecommitdiff
path: root/cpp/test/IceGrid/distribution/TestI.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/test/IceGrid/distribution/TestI.cpp')
-rw-r--r--cpp/test/IceGrid/distribution/TestI.cpp41
1 files changed, 0 insertions, 41 deletions
diff --git a/cpp/test/IceGrid/distribution/TestI.cpp b/cpp/test/IceGrid/distribution/TestI.cpp
deleted file mode 100644
index bd591ac5046..00000000000
--- a/cpp/test/IceGrid/distribution/TestI.cpp
+++ /dev/null
@@ -1,41 +0,0 @@
-//
-// Copyright (c) ZeroC, Inc. All rights reserved.
-//
-
-#include <Ice/Ice.h>
-#include <TestI.h>
-
-#include <fstream>
-
-using namespace std;
-
-TestI::TestI(const Ice::PropertiesPtr& properties) :
- _properties(properties)
-{
-}
-
-string
-TestI::getServerFile(const string& path, const Ice::Current&)
-{
- string file = _properties->getProperty("ServerDistrib") + "/" + path;
- ifstream is(file.c_str());
- string content;
- if(is.good())
- {
- is >> content;
- }
- return content;
-}
-
-string
-TestI::getApplicationFile(const string& path, const Ice::Current&)
-{
- string file = _properties->getProperty("ApplicationDistrib") + "/" + path;
- ifstream is(file.c_str());
- string content;
- if(is.good())
- {
- is >> content;
- }
- return content;
-}