1 /*
2 * Created on 2003-6-10 15:02:27 by joel guo
3 *
4 * vTradEx Information Technology Inc.
5 */
6 package com.cyclops.dbdigger.util;
7 import com.cyclops.dbdigger.DBDiggerTestCase;
8 import com.cyclops.dbdigger.schema.torque.TorqueSchema;
9 /*** Add description <font color="red">HERE</font>!
10 *
11 * @author <a href="mailto:joeblack.guo@vtradex.com">joel guo</a>
12 * @since 2003-6-10 15:02:27
13 */
14 public class ResourceScannerTest extends DBDiggerTestCase {
15 /*** Method testScan()
16 * @throws Exception ServiceException could be thrown out
17 */
18 public void testScan() throws Exception {
19 TorqueSchema ts =
20 (TorqueSchema) getPlexusContainer()
21 .getComponentRepository()
22 .lookup(
23 TorqueSchema.ROLE);
24 assertEquals(1, ts.getShemaResources().length);
25 }
26 }
This page was automatically generated by Maven