View Javadoc
1   /**
2    * BSD-style license; for more info see http://pmd.sourceforge.net/license.html
3    */
4   package net.sourceforge.pmd.util.database;
5   
6   import java.io.InputStream;
7   
8   import org.junit.Assert;
9   import org.junit.Test;
10  
11  /**
12   *
13   * @author sturton
14   */
15  public class ResourceLoaderTest {
16  
17      /**
18       * Test of getResourceStream method, of class ResourceLoader.
19       */
20      @Test
21      public void testGetResourceStream() throws Exception {
22          System.out.println("getResourceStream");
23          String path = "";
24          ResourceLoader instance = new ResourceLoader();
25          InputStream expResult = null;
26          InputStream result = instance.getResourceStream(path);
27          Assert.assertNotNull(result);
28          // assertEquals(expResult, result);
29          // TODO review the generated test code and remove the default call to
30          // fail.
31          // fail("The test case is a prototype.");
32      }
33  }