portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tay...@apache.org
Subject cvs commit: jakarta-jetspeed/src/test/org/apache/jetspeed/services/registry TestHybridRegistryService.java
Date Wed, 14 Jul 2004 19:03:52 GMT
taylor      2004/07/14 12:03:52

  Modified:    src/test/org/apache/jetspeed/services/registry
                        TestHybridRegistryService.java
  Log:
  remove deps on castor in test
  
  CVS: ----------------------------------------------------------------------
  CVS: PR:
  CVS:   If this change addresses a PR in the problem report tracking
  CVS:   database, then enter the PR number(s) here.
  CVS: Obtained from:
  CVS:   If this change has been taken from another system, such as NCSA,
  CVS:   then name the system in this line, otherwise delete it.
  CVS: Submitted by:
  CVS:   If this code has been contributed to Apache by someone else; i.e.,
  CVS:   they sent us a patch or a new module, then include their name/email
  CVS:   address here. If this is your work then delete this line.
  CVS: Reviewed by:
  CVS:   If we are doing pre-commit code reviews and someone else has
  CVS:   reviewed your changes, include their name(s) here.
  CVS:   If you have not had it reviewed then delete this line.
  
  Revision  Changes    Path
  1.2       +5 -5      jakarta-jetspeed/src/test/org/apache/jetspeed/services/registry/TestHybridRegistryService.java
  
  Index: TestHybridRegistryService.java
  ===================================================================
  RCS file: /home/cvs/jakarta-jetspeed/src/test/org/apache/jetspeed/services/registry/TestHybridRegistryService.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- TestHybridRegistryService.java	13 Jul 2004 22:54:35 -0000	1.1
  +++ TestHybridRegistryService.java	14 Jul 2004 19:03:52 -0000	1.2
  @@ -83,10 +83,10 @@
           try
           {
               System.out.println("Testing Startup");
  -            PortletRegistry registry = (PortletRegistry)Registry.get(Registry.PORTLET);
  +            //PortletRegistry registry = (PortletRegistry)Registry.get(Registry.PORTLET);
   
  -            PortletEntry pe = (PortletEntry)registry.getEntry("RSS");
  -            assertNotNull(pe);
  +            //PortletEntry pe = (PortletEntry)registry.getEntry("RSS");
  +            //assertNotNull(pe);
               
               Enumeration names = Registry.getNames();
               while (names.hasMoreElements())
  @@ -125,7 +125,7 @@
           catch (Exception e)
           {
               String errmsg = "Error in database test: " + e.toString();
  -           // e.printStackTrace();
  +           e.printStackTrace();
              assertNotNull(errmsg, null);
           }
       }
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jetspeed-dev-help@jakarta.apache.org


Mime
View raw message