Class ConfigUtilTest


  • @UnitTest
    public class ConfigUtilTest
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      ConfigUtilTest()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void testExpandProperties()
      Tests if recursive way of expanding properties works.
      • Methods inherited from class java.lang.Object

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

      • ConfigUtilTest

        public ConfigUtilTest()
    • Method Detail

      • testExpandProperties

        public void testExpandProperties()
        Tests if recursive way of expanding properties works. See PLA-10609 for details.
        Adds four test properties and checks if they were expanded properly:
        • test.property.1=test.property
        • test.property.2=${test.property.1}/some/content
        • test.property.3=${test.property.2}/some/more/content
        • test.property.4=${test.property.3} ${test.property.1} ${unresolved.property}