Uploaded image for project: 'Flink'
  1. Flink
  2. FLINK-19915

wrong comments of cep test

    XMLWordPrintableJSON

Details

    Description

      // code placeholder
      
      @Test
      public void testNFACompilerPatternEndsWithNotFollowedBy() {
      
         // adjust the rule
         expectedException.expect(MalformedPatternException.class);
         expectedException.expectMessage("NotFollowedBy is not supported as a last part of a Pattern!");
      
         Pattern<Event, ?> invalidPattern = Pattern.<Event>begin("start").where(new TestFilter())
            .followedBy("middle").where(new TestFilter())
            .notFollowedBy("end").where(new TestFilter());
      
         // here we must have an exception because of the two "start" patterns with the same name.
         compile(invalidPattern, false);
      }
      
      

       

       

      // here we must have an exception because of the two "start" patterns with the same name.

      It is not right

      Attachments

        Issue Links

          Activity

            People

              jackylau Jacky Lau
              jackylau Jacky Lau
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: