From 0ce8469ee3813c1346652a5d9a5f9bcf86c15ed1 Mon Sep 17 00:00:00 2001
From: el_kaboing <el_kaboing@localhost>
Date: Wed, 20 Sep 2006 21:34:26 +0000
Subject: [PATCH] Some initial blocks of comments to parse out Test Specifications for the Integration Tests from the test code.
---
opends/tests/integration-tests-testng/src/server/org/opends/server/integration/bob/BobAddTests.java | 34 ++++++++++++++++++++++++++++++++++
1 files changed, 34 insertions(+), 0 deletions(-)
diff --git a/opends/tests/integration-tests-testng/src/server/org/opends/server/integration/bob/BobAddTests.java b/opends/tests/integration-tests-testng/src/server/org/opends/server/integration/bob/BobAddTests.java
index 58a70a5..2f88167 100644
--- a/opends/tests/integration-tests-testng/src/server/org/opends/server/integration/bob/BobAddTests.java
+++ b/opends/tests/integration-tests-testng/src/server/org/opends/server/integration/bob/BobAddTests.java
@@ -31,12 +31,34 @@
import org.opends.server.tools.*;
import java.io.*;
+/*
+ Place suite-specific test information here.
+ #@TestSuiteName Bob Add Tests
+ #@TestSuitePurpose Test the add functionality for OpenDS
+ #@TestSuiteID Add Tests
+ #@TestSuiteGroup Bob
+ #@TestGroup Bob/BobAddTests
+ #@TestScript BobAddTests.java
+ #@TestHTMLLink blahblah
+*/
/**
* This class contains the TestNG tests for the Bob adds.
*/
@Test
public class BobAddTests extends BobTests
{
+/*
+ Place test-specific test information here.
+ The tag, TestMarker, be the same as the marker, TestSuiteName.
+ #@TestMarker Bob Add Tests
+ #@TestName Bob Add 1
+ #@TestID BobAdd1
+ #@TestPreamble
+ #@TestSteps Client calls static method LDAPModify.mainModify()
+ with the filename to the appropriate ldif file.
+ #@TestPostamble
+ #@TestResult Success if OpenDS returns 0
+*/
/**
* Add a small jpeg photo to an existing entry.
*
@@ -67,6 +89,18 @@
compareExitCode(retCode, expCode);
}
+/*
+ Place test-specific test information here.
+ The tag, TestMarker, be the same as the marker, TestSuiteName.
+ #@TestMarker Bob Add Tests
+ #@TestName Bob Add 2
+ #@TestID BobAdd2
+ #@TestPreamble
+ #@TestSteps Client calls static method LDAPModify.mainModify()
+ with the filename to the appropriate ldif file.
+ #@TestPostamble
+ #@TestResult Success if OpenDS returns 0
+*/
/**
* Add a large jpeg photo to an existing entry.
*
--
Gitblit v1.10.0