Skip to Content.
Sympa Menu

grouper-dev - grouper+ldappc test data

Subject: Grouper Developers Forum

List archive

grouper+ldappc test data

Chronological Thread 
  • From: "Tom Zeller" <>
  • To: "Grouper Dev" <>
  • Subject: grouper+ldappc test data
  • Date: Thu, 15 Jan 2009 09:36:33 -0600
  • Domainkey-signature: a=rsa-sha1; c=nofws;; s=gamma; h=message-id:date:from:sender:to:subject:mime-version:content-type :x-google-sender-auth; b=Nfus1EbZrDiTI5MzqVDtk6308YWw/VPYf9j2KxiMmLdrzPc4UvBjOZYgxHG/OapVCT 3Dsj2ylugIX4GXFx8X7BuRDnFbmnYHyn0T3iY36t23rhvz4puxQqD5D2S5xOqb/KrPHV xqZm8U86fR12tEFfq0jSFX5SAbxfiibA7ahMw=

Ldappc imports data it needs for junit tests into hsql via testDb/grouper/hsqldb/grouper/script :

INSERT INTO GROUPER_ATTRIBUTES VALUES('402880f0194b1a7601194b1a8aec001b','7a8e8944-37d0-4d15-b3b3-e306481b9a57','extension','gliding')
INSERT INTO GROUPER_ATTRIBUTES VALUES('402880f0194b1a7601194b1a8aed001c','7a8e8944-37d0-4d15-b3b3-e306481b9a57','displayExtension','Gliding Club')

This seems prone to break as the grouper schema changes. I imagine this data can be moved into a class.

Ldappc also drops and recreates the grouper db it needs for tests, any advice/reminders on how to handle clearing the grouper db in between tests ? setup() and teardown() methods of a base test class ?


Archive powered by MHonArc 2.6.16.

Top of Page