From 32e3035e3612b0e6f3165a5b2ba1ba71eb835ca7 Mon Sep 17 00:00:00 2001
From: Matthew Swift <matthew.swift@forgerock.com>
Date: Thu, 01 Sep 2011 07:08:50 +0000
Subject: [PATCH] OPENDJ-262: Implement pass through authentication (PTA)
---
opends/tests/unit-tests-testng/src/server/org/opends/server/extensions/LDAPPassThroughAuthenticationPolicyTestCase.java | 11 +++++++++++
1 files changed, 11 insertions(+), 0 deletions(-)
diff --git a/opends/tests/unit-tests-testng/src/server/org/opends/server/extensions/LDAPPassThroughAuthenticationPolicyTestCase.java b/opends/tests/unit-tests-testng/src/server/org/opends/server/extensions/LDAPPassThroughAuthenticationPolicyTestCase.java
index 9265c3a..36e9cc3 100644
--- a/opends/tests/unit-tests-testng/src/server/org/opends/server/extensions/LDAPPassThroughAuthenticationPolicyTestCase.java
+++ b/opends/tests/unit-tests-testng/src/server/org/opends/server/extensions/LDAPPassThroughAuthenticationPolicyTestCase.java
@@ -643,6 +643,13 @@
expectedEvents.add(expectedEvent);
return this;
}
+
+
+
+ void assertNoMoreEvents()
+ {
+ assertTrue(expectedEvents.isEmpty());
+ }
}
@@ -927,6 +934,7 @@
state.finalizeStateAfterBind();
policy.finalizeAuthenticationPolicy();
+ provider.assertNoMoreEvents();
}
@@ -976,6 +984,7 @@
state.finalizeStateAfterBind();
policy.finalizeAuthenticationPolicy();
+ provider.assertNoMoreEvents();
}
@@ -1018,6 +1027,7 @@
state.finalizeStateAfterBind();
policy.finalizeAuthenticationPolicy();
+ provider.assertNoMoreEvents();
}
@@ -1059,6 +1069,7 @@
state.finalizeStateAfterBind();
policy.finalizeAuthenticationPolicy();
+ provider.assertNoMoreEvents();
}
--
Gitblit v1.10.0