You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by tr...@apache.org on 2004/05/31 09:12:40 UTC

cvs commit: jakarta-commons-sandbox/id/src/test/org/apache/commons/id/uuid/state ReadOnlyResourceStateImplTest.java

treilly     2004/05/31 00:12:40

  Modified:    id/src/test/org/apache/commons/id/uuid/state
                        ReadOnlyResourceStateImplTest.java
  Log:
  testStore throws Exception
  
  Revision  Changes    Path
  1.2       +6 -5      jakarta-commons-sandbox/id/src/test/org/apache/commons/id/uuid/state/ReadOnlyResourceStateImplTest.java
  
  Index: ReadOnlyResourceStateImplTest.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons-sandbox/id/src/test/org/apache/commons/id/uuid/state/ReadOnlyResourceStateImplTest.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- ReadOnlyResourceStateImplTest.java	4 Mar 2004 03:17:45 -0000	1.1
  +++ ReadOnlyResourceStateImplTest.java	31 May 2004 07:12:40 -0000	1.2
  @@ -1,12 +1,12 @@
   /*
    * Copyright 2004 The Apache Software Foundation.
  - * 
  + *
    * Licensed under the Apache License, Version 2.0 (the "License");
    * you may not use this file except in compliance with the License.
    * You may obtain a copy of the License at
  - * 
  + *
    *      http://www.apache.org/licenses/LICENSE-2.0
  - * 
  + *
    * Unless required by applicable law or agreed to in writing, software
    * distributed under the License is distributed on an "AS IS" BASIS,
    * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  @@ -121,8 +121,9 @@
   
       /**
        * <p>Test the void store method.</p>
  +     * @throws Exception a test Exception.
        */
  -    public void testStore() {
  +    public void testStore() throws Exception {
           // No operation, just make sure no exception is raised
           System.setProperty(ReadOnlyResourceStateImpl.CONFIG_FILENAME_KEY, "uuid1.state");
           ReadOnlyResourceStateImpl impl = new ReadOnlyResourceStateImpl();
  
  
  

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