You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jcs-dev@jakarta.apache.org by hc...@apache.org on 2005/01/27 12:09:11 UTC

cvs commit: jakarta-turbine-jcs/sandbox/yajcache/test/org/apache/jcs/yajcache/file FileContentTypeTest.java

hchar       2005/01/27 03:09:11

  Modified:    sandbox/yajcache/test/org/apache/jcs/yajcache/file
                        FileContentTypeTest.java
  Log:
  assert
  
  Revision  Changes    Path
  1.3       +2 -2      jakarta-turbine-jcs/sandbox/yajcache/test/org/apache/jcs/yajcache/file/FileContentTypeTest.java
  
  Index: FileContentTypeTest.java
  ===================================================================
  RCS file: /home/cvs/jakarta-turbine-jcs/sandbox/yajcache/test/org/apache/jcs/yajcache/file/FileContentTypeTest.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- FileContentTypeTest.java	24 Jan 2005 10:42:14 -0000	1.2
  +++ FileContentTypeTest.java	27 Jan 2005 11:09:11 -0000	1.3
  @@ -20,7 +20,7 @@
   import org.apache.commons.logging.Log;
   import org.apache.commons.logging.LogFactory;
   
  -import org.apache.jcs.yajcache.annotate.*;
  +import org.apache.jcs.yajcache.lang.annotation.*;
   
   /**
    *
  @@ -44,7 +44,7 @@
           log.debug("test fromByte with unknown type");
           try {
               CacheFileContentType.fromByte((byte)99);
  -            fail("Should never get here for unknown fileContentType");
  +            assert false;
           } catch(IllegalArgumentException ex) {
           }
       }
  
  
  

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