Class SourceTest


  • public class SourceTest
    extends java.lang.Object
    Tests for Source.
    • Field Detail

      • ROOT_PREFIX

        private static final java.lang.String ROOT_PREFIX
    • Constructor Detail

      • SourceTest

        public SourceTest()
    • Method Detail

      • getRootPrefix

        private static java.lang.String getRootPrefix()
      • testAppendWithSpaces

        public void testAppendWithSpaces()
      • testAppendHttp

        public void testAppendHttp()
      • assertAppend

        private void assertAppend​(org.apache.calcite.util.Source parent,
                                  org.apache.calcite.util.Source child,
                                  java.lang.String expected)
      • assertAppendUrl

        private void assertAppendUrl​(org.apache.calcite.util.Source parent,
                                     org.apache.calcite.util.Source child,
                                     java.lang.String expected)
      • testSpaceInUrl

        public void testSpaceInUrl()
      • testSpaceInRelativeUrl

        public void testSpaceInRelativeUrl()
      • testRelative

        public void testRelative()