From fa8b7740ab74fa5f2104b0f44cc35a960cafb76d Mon Sep 17 00:00:00 2001
From: fguigues <fguigues@localhost>
Date: Tue, 18 Mar 2008 17:22:25 +0000
Subject: [PATCH] * Fix for Issue 218 : Monitor Information Available via SNMP * Update the nbproject to include the snmp source code
---
opends/tests/unit-tests-testng/src/server/org/opends/server/TestCaseUtils.java | 10 ++++++++++
1 files changed, 10 insertions(+), 0 deletions(-)
diff --git a/opends/tests/unit-tests-testng/src/server/org/opends/server/TestCaseUtils.java b/opends/tests/unit-tests-testng/src/server/org/opends/server/TestCaseUtils.java
index d51fb48..ae47e64 100644
--- a/opends/tests/unit-tests-testng/src/server/org/opends/server/TestCaseUtils.java
+++ b/opends/tests/unit-tests-testng/src/server/org/opends/server/TestCaseUtils.java
@@ -258,6 +258,14 @@
File testClassesDir = new File(testRoot, "classes");
File testLibDir = new File(testRoot, "lib");
File testBinDir = new File(testRoot, "bin");
+
+ // Snmp resource
+ File snmpResourceDir = new File(buildRoot + File.separator + "src" +
+ File.separator + "snmp" + File.separator +
+ "resource");
+
+ File testSnmpResourceDir = new File (testConfigDir + File.separator +
+ "snmp");
if (Boolean.getBoolean(PROPERTY_COPY_CLASSES_TO_TEST_PKG)) {
copyDirectory(serverClassesDir, testClassesDir);
@@ -271,6 +279,8 @@
new File(testConfigDir, "schema"));
copyDirectory(new File(resourceDir, "MakeLDIF"),
new File(testConfigDir, "MakeLDIF"));
+ copyDirectory(new File(snmpResourceDir, "security"),
+ new File(testSnmpResourceDir, "security"));
copyFile(new File(testResourceDir, "server.keystore"),
new File(testConfigDir, "server.keystore"));
copyFile(new File(testResourceDir, "server.truststore"),
--
Gitblit v1.10.0