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/BobModTests.java | 34 ++++++++++++++++++++++++++++++++++
1 files changed, 34 insertions(+), 0 deletions(-)
diff --git a/opends/tests/integration-tests-testng/src/server/org/opends/server/integration/bob/BobModTests.java b/opends/tests/integration-tests-testng/src/server/org/opends/server/integration/bob/BobModTests.java
index f7de3ac..a19f1fd 100644
--- a/opends/tests/integration-tests-testng/src/server/org/opends/server/integration/bob/BobModTests.java
+++ b/opends/tests/integration-tests-testng/src/server/org/opends/server/integration/bob/BobModTests.java
@@ -31,12 +31,34 @@
import org.opends.server.tools.*;
import java.io.*;
+/*
+ Place suite-specific test information here.
+ #@TestSuiteName Bob Modify Tests
+ #@TestSuitePurpose Test the modify functionality for OpenDS
+ #@TestSuiteID Modify Tests
+ #@TestSuiteGroup Bob
+ #@TestGroup Bob/BobModifyTests
+ #@TestScript BobModTests.java
+ #@TestHTMLLink blahblah
+*/
/**
* This class contains the TestNG tests for the Bob modifies.
*/
@Test
public class BobModTests extends BobTests
{
+/*
+ Place test-specific test information here.
+ The tag, TestMarker, be the same as the marker, TestSuiteName.
+ #@TestMarker Bob Modify Tests
+ #@TestName Bob Modify 1
+ #@TestID BobModify1
+ #@TestPreamble
+ #@TestSteps Client calls static method LDAPModify.mainModify()
+ with the filename to the appropriate ldif file.
+ #@TestPostamble
+ #@TestResult Success if OpenDS returns 0
+*/
/**
* Replace a small jpeg photo in 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 Modify Tests
+ #@TestName Bob Modify 2
+ #@TestID BobModify2
+ #@TestPreamble
+ #@TestSteps Client calls static method LDAPModify.mainModify()
+ with the filename to the appropriate ldif file.
+ #@TestPostamble
+ #@TestResult Success if OpenDS returns 0
+*/
/**
* Replace a large jpeg photo in an existing entry.
*
--
Gitblit v1.10.0