Config, SystemTest

0 views
Skip to first unread message

William la Forge

unread,
Dec 24, 2009, 9:01:14 PM12/24/09
to Alex Alex, AgileWikiDevelopers
Alex,

I've reviewed your updates to Config and made only a few very minor changes. The code looks solid.

I also made a small change to SystemTest which takes advantage of the most recent changes--the rolon role is now defined using Config:

  val config:Config = new Config(properties)
  
  config.role("rolon")
  
  config.role("journalEntry")
  config.include("rolon")
  config.op(new _UserUuid)
  config.op(new _SetUserUuid)

This looks so much better than the old code:

  properties.put("role1.name","rolon")

  properties.put("role2.name","journalEntry")
  properties.put("role2.1.include","rolon")
  properties.put("role2.2.type",classOf[_UserUuid].getName)
  properties.put("role2.2.class",classOf[_UserUuid].getName)
  properties.put("role2.3.type",classOf[_SetUserUuid].getName)
  properties.put("role2.3.class",classOf[_SetUserUuid].getName)

Bill
Reply all
Reply to author
Forward
0 new messages