Examples of Story


Examples of br.com.mystudies.domain.entity.Story

  }



  private Story getStory(HttpServletRequest request){
    Story story =
      new Story(
        request.getParameter("title"),
        Priority.valueOf(request.getParameter("priority")),
        StoryStatus.BACKLOG,
        new Date(),
        Integer.valueOf(request.getParameter("points"))
View Full Code Here

Examples of business.test.Story

    public void save(Map request, Map session) {

        request.put("info", "saved OK!");

        Story story = OperatFactory.getServiceObject(StoryService.class).save("OK");
        request.put("story", story);
        request.put("group", "viewStory");


View Full Code Here

Examples of com.barrybecker4.puzzle.adventure.Story

     * Constructor
     * @param story creates a copy of this in case we cancel.
     */
    public StoryEditorDialog(Story story) {

        story_ = new Story(story);

        this.setResizable(true);
        setTitle("Story Editor");
        this.setModal( true );
        showContent();
View Full Code Here

Examples of de.biehlerjosef.unofficialeasybacklogadapter.domain.Story

  }
 
  public Story getStory(int storyId, Theme theme) {
    throwIfParametersMissing();
    String content = httpAdapter.getResult(Constants.GET_STORY, getBaseUrl(), getApiKey(), String.valueOf(storyId));
    Story story;
    Gson gson = new Gson();
    Type collectionType = new TypeToken<ArrayList<Story>>(){}.getType();
    story = gson.fromJson(content, collectionType);
   
    story.setTheme(theme);
    return story;
  }
View Full Code Here

Examples of net.caprazzi.minima.model.Story

 
  public void upgradeEntry(Entry entry) throws Exception {
   
    System.out.println("upgrading " + entry);
   
    Story story = Story.fromJson(entry.getData());
   
    story.setId(entry.getKey() + "rx");
    story.setRevision(1);
   
    if (story.getList().equals("todo"))
      story.setList(ID_LIST_TODO);
   
    else if (story.getList().equals("doing"))
      story.setList(ID_LIST_DOING);
   
    else if (story.getList().equals("done"))
      story.setList(ID_LIST_DONE);
   
   
    Meta<Story> meta = Meta.wrap("story", story);
   
    System.out.println(new String(meta.toJson()));
View Full Code Here

Examples of net.sf.pmr.agilePlanning.domain.story.Story

    /**
     * @see net.sf.pmr.keopsframework.data.DomainObjectRootAggregateMapper#addOrUpdate(java.lang.Object)
     */
    public void addOrUpdate(final DomainObject story) {

        Story storyToAddorUpdate = (Story) story;

        getHibernateTemplate().saveOrUpdate(storyToAddorUpdate);

    }
View Full Code Here

Examples of net.thucydides.core.model.Story

        addFeatureTagIfPresent(testOutcome, tags);
        return ImmutableSet.copyOf(tags);
    }

    private void addStoryTagIfPresent(TestOutcome testOutcome, Set<TestTag> tags) {
        Story story = testOutcome.getUserStory();
        if (story != null && shouldAddStoryTags()) {
            tags.add(story.asTag());
        }
    }
View Full Code Here

Examples of org.apache.stratos.manager.feature.dashbord.ui.beans.Story

    return link;
  }
 
  private static Story getStory(OMElement storyEle) {
    OMAttribute storyAttribtute = storyEle.getAttribute(new QName("title"));
    Story storyInfo = new Story();
    storyInfo.setTitle(storyAttribtute.getAttributeValue());
    OMElement storyContentEle = storyEle.getFirstChildWithName(new QName("story-content"));
    if (storyContentEle != null) {
      storyInfo.setContent(storyContentEle.getText());
    }
    OMElement storyLinkEle = storyEle.getFirstChildWithName(new QName("story-links"));
    if (storyLinkEle != null) {
      Iterator<OMElement> linkElements = storyLinkEle.getChildrenWithName(new QName("link"));
      while (linkElements.hasNext()) {
        OMElement linkEle = linkElements.next();
        storyInfo.addLink(getLink(linkEle));
      }
    }
   
    return storyInfo;
  }
View Full Code Here

Examples of org.jbehave.core.model.Story

        // Then
        assertThat(out.toString(), not(containsString("scenariosFailed")));
    }

    private void narrateAnInterestingStory() {
        Story story = new Story("/path/to/story", new Description("An interesting story"), new Narrative(
                "renovate my house", "customer", "get a loan"), new ArrayList<Scenario>());
        reporter.dryRun();
        // begin story
        reporter.beforeStory(story, false);
View Full Code Here

Examples of org.jbehave.core.model.Story

        List<String> storyPaths = new ArrayList<String>();
        Map<String, Story> stories = new HashMap<String, Story>();
        for (Class<? extends Embeddable> embeddable : embeddables) {
            String storyPath = resolver.resolve(embeddable);
            storyPaths.add(storyPath);
            Story story = new Story(storyPath);
            stories.put(storyPath, story);
            when(runner.storyOfPath(configuration, storyPath)).thenReturn(story);
        }

        // When
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.