Class DescriptorUtilsTest


  • public class DescriptorUtilsTest
    extends java.lang.Object
    Tests uncovered aspects of DescriptorUtils.
    Author:
    Holger Eichelberger, SSE
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void testCreateStandaloneCommandArgs()
      Tests creating standalone command line arguments.
      void testReadFromClasspath()
      Tests reading a service deployment descriptor from classpath.
      void testResourceLoader()
      Tries loading a resource from BOOT-INF/classes (in resources folder), descriptor comes via services.environment.spring.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • DescriptorUtilsTest

        public DescriptorUtilsTest()
    • Method Detail

      • testReadFromClasspath

        public void testReadFromClasspath()
                                   throws java.util.concurrent.ExecutionException
        Tests reading a service deployment descriptor from classpath.
        Throws:
        java.util.concurrent.ExecutionException - shall not occur
      • testCreateStandaloneCommandArgs

        public void testCreateStandaloneCommandArgs()
                                             throws java.util.concurrent.ExecutionException
        Tests creating standalone command line arguments.
        Throws:
        java.util.concurrent.ExecutionException - shall not occur
      • testResourceLoader

        public void testResourceLoader()
        Tries loading a resource from BOOT-INF/classes (in resources folder), descriptor comes via services.environment.spring.