Class AutomatonTest


  • public class AutomatonTest
    extends java.lang.Object
    Unit tests for Automaton.
    • Constructor Detail

      • AutomatonTest

        public AutomatonTest()
    • Method Detail

      • testSimple

        public void testSimple()
      • testSequence

        public void testSequence()
      • testStar

        public void testStar()
      • testPlus

        public void testPlus()
      • testOr

        public void testOr()
      • testOptional

        public void testOptional()
      • testRepeat

        public void testRepeat()
      • checkRepeat

        private void checkRepeat​(int minRepeat,
                                 int maxRepeat,
                                 java.lang.String pattern,
                                 java.lang.String expected)
      • testRepeatComposite

        public void testRepeatComposite()
      • testResultWithLabels

        public void testResultWithLabels()
      • chars

        private static java.lang.Iterable<java.lang.Character> chars​(java.lang.String s)
        Converts a string into an iterable collection of its characters.