Resource manager needs be constructed differently now that it loads
resources via a URL. git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@865 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
//
|
||||
// $Id: BundledComponentRepositoryTest.java,v 1.4 2001/12/07 01:33:29 mdb Exp $
|
||||
// $Id: BundledComponentRepositoryTest.java,v 1.5 2002/01/16 03:01:24 mdb Exp $
|
||||
|
||||
package com.threerings.cast.bundle;
|
||||
|
||||
@@ -22,7 +22,8 @@ public class BundledComponentRepositoryTest extends TestCase
|
||||
public void runTest ()
|
||||
{
|
||||
try {
|
||||
ResourceManager rmgr = new ResourceManager(null, "rsrc");
|
||||
ResourceManager rmgr = new ResourceManager(
|
||||
"rsrc", null, "config/resource/manager.properties");
|
||||
ImageManager imgr = new ImageManager(rmgr, null);
|
||||
BundledComponentRepository repo =
|
||||
new BundledComponentRepository(rmgr, imgr, "components");
|
||||
|
||||
Reference in New Issue
Block a user