View Javadoc

1   package org.ogf.saga.namespace.base;
2   
3   import org.junit.Test;
4   import org.ogf.saga.namespace.abstracts.AbstractData;
5   
6   /* ***************************************************
7   * *** Centre de Calcul de l'IN2P3 - Lyon (France) ***
8   * ***             http://cc.in2p3.fr/             ***
9   * ***************************************************
10  * File:   AbstractNSEntryReadTest
11  * Author: Sylvain Reynaud (sreynaud@in2p3.fr)
12  * Date:   2 juil. 2007
13  * ***************************************************
14  * Description:                                      */
15  /**
16   *
17   */
18  public abstract class ReadBaseTest extends AbstractData {
19      public ReadBaseTest(String protocol) throws Exception {
20          super(protocol);
21      }
22  
23      @Test
24      public void test_isDirectory() throws Exception {
25          assertFalse(m_file.isDir());
26      }
27  
28      @Test
29      public void test_isEntry() throws Exception {
30      	assertTrue(m_file.isEntry());
31      }
32  }