Class YAMLExtractorTest

    • Constructor Detail

      • YAMLExtractorTest

        public YAMLExtractorTest()
    • Method Detail

      • simpleTest312

        public void simpleTest312()
                           throws Exception
        Test to validate simple yaml file for ANY23-312
        Throws:
        Exception - if there is an error asserting the test data.
      • tree2Test

        public void tree2Test()
                       throws Exception
        This test covers a typical situation when a document is a map.
        NB: Following yaml standard those 2 cases are parsed to different graphs:
        Case 1:
         ---
         key1: value1
         key2: value2
         key3: Some text  value, maybe description
         
        Case 2:
         ---
         - key1: value1
         - key2: value2
         - key3: Some text  value, maybe description
         
        Throws:
        Exception - if there is an error asserting the test data.
        See Also:
        treeTest()