Package net.sf.pmr.agilePlanning.domain.story

Examples of net.sf.pmr.agilePlanning.domain.story.MockStory$PreMock


      Iteration iteration = new IterationImpl();
     
      iteration.setStories(new HashSet<Story>());
     
      // mock de story
      MockStory mockStory1 = new MockStory();
      MockStory mockStory2 = new MockStory();
     
      // l'ordre d'appel n'est pas important
      MockCore.startBlock();
     
      mockStory1.expectDaysCompleted(2);
      iteration.getStories().add(mockStory1);
      mockStory2.expectDaysCompleted(3);
      iteration.getStories().add(mockStory2);
     
      MockCore.endBlock();
     
      // appel de la méthode
View Full Code Here


      Iteration iteration = new IterationImpl();
     
      iteration.setStories(new HashSet<Story>());
     
      // mock de story
      MockStory mockStory1 = new MockStory();
      MockStory mockStory2 = new MockStory();
     
      // l'ordre d'appel n'est pas important
      MockCore.startBlock();
     
      mockStory1.expectDaysRemaining(1);
      iteration.getStories().add(mockStory1);
      mockStory2.expectDaysRemaining(2);
      iteration.getStories().add(mockStory2);
     
      MockCore.endBlock();
     
      // appel de la méthode
View Full Code Here

      Iteration iteration = new IterationImpl();
     
      iteration.setStories(new HashSet<Story>());
     
      // mock de story
      MockStory mockStory1 = new MockStory();
      MockStory mockStory2 = new MockStory();
     
      // l'ordre d'appel n'est pas important
      MockCore.startBlock();
     
      mockStory1.expectDaysRemaining(1);
      mockStory1.expectDaysCompleted(1);
      iteration.getStories().add(mockStory1);
      mockStory2.expectDaysRemaining(5);
      mockStory2.expectDaysCompleted(1);
      iteration.getStories().add(mockStory2);
     
      MockCore.endBlock();
     
     
View Full Code Here

      Release release = new ReleaseImpl();
   
      // création de la liste de story
      Set stories = new HashSet<Story>();
     
      MockStory mockStory1 = new MockStory();
      MockStory mockStory2 = new MockStory();

      // l'ordre n'est pas important
      MockCore.startBlock();
      mockStory1.expectWarning(false);
      mockStory2.expectWarning(false);
     
      MockCore.endBlock();
     
      stories.add(mockStory1);
      stories.add(mockStory2);
View Full Code Here

TOP

Related Classes of net.sf.pmr.agilePlanning.domain.story.MockStory$PreMock

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.