Examples of tag()


Examples of org.apache.jorphan.util.XMLBuffer.tag()

    }

    try {
      xmlBuffer.openTag("operation"); // $NON-NLS-1$
      final String testType = getTest();
      xmlBuffer.tag("opertype", testType); // $NON-NLS-1$
      log.debug("performing test: " + testType);
      if (testType.equals(UNBIND)) {
        res.setSamplerData("Unbind");
        xmlBuffer.tag("baseobj",getRootdn()); // $NON-NLS-1$
        xmlBuffer.tag("binddn",getUserDN()); // $NON-NLS-1$
View Full Code Here

Examples of org.apache.maven.scm.provider.ScmProvider.tag()

        descriptor.setScmCommentPrefix( "[my prefix]" );

        ScmFileSet fileSet = new ScmFileSet( rootProject.getFile().getParentFile() );

        ScmProvider scmProviderMock = mock( ScmProvider.class );
        when( scmProviderMock.tag( isA( ScmRepository.class ),
                                   argThat( new IsScmFileSetEquals( fileSet ) ),
                                   eq( "release-label" ),
                                   argThat( new IsScmTagParametersEquals( new ScmTagParameters( "[my prefix] copy for tag release-label" ) ) ) ) ).
                                   thenReturn( new TagScmResult( "...",
                                                                 Collections.singletonList( new ScmFile( getPath (rootProject
View Full Code Here

Examples of org.apache.maven.scm.provider.accurev.command.tag.AccuRevTagCommand.tag()

    protected TagScmResult tag( ScmProviderRepository repository, ScmFileSet fileSet, CommandParameters parameters )
        throws ScmException
    {

        AccuRevTagCommand command = new AccuRevTagCommand( getLogger() );
        return command.tag( repository, fileSet, parameters );

    }

    @Override
    protected StatusScmResult status( ScmProviderRepository repository, ScmFileSet fileSet, CommandParameters parameters )
View Full Code Here

Examples of org.codehaus.jparsec.Tokens.Fragment.tag()

        TokenizerMaps.SCIENTIFIC_NOTATION.map("0E0"));
  }

  private void assertFragment(Object tag, Map<String, Fragment> map) {
    Fragment fragment = map.map("foo");
    assertEquals(tag, fragment.tag());
    assertEquals("foo", fragment.text());
    assertEquals(tag.toString(), map.toString());
  }
}
View Full Code Here

Examples of org.constretto.annotation.ConfigurationSource.tag()

        String tag = ConfigurationValue.DEFAULT_TAG;
        String basePath = "";
        Map<String, String> properties = new HashMap<String, String>();
        if (configurationObject.getClass().isAnnotationPresent(ConfigurationSource.class)) {
            ConfigurationSource configurationAnnotation = configurationObject.getClass().getAnnotation(ConfigurationSource.class);
            tag = configurationAnnotation.tag();
            if (tag.equals("")) {
                tag = ConfigurationValue.DEFAULT_TAG;
            }
            basePath = configurationAnnotation.basePath();
        }
View Full Code Here

Examples of org.constretto.model.ConfigurationValue.tag()

    private ConfigurationValue resolveMatch(List<ConfigurationValue> values) {
        ConfigurationValue bestMatch = null;
        for (ConfigurationValue configurationNode : values) {
            if (ConfigurationValue.DEFAULT_TAG.equals(configurationNode.tag())) {
                if (bestMatch == null || bestMatch.tag().equals(ConfigurationValue.DEFAULT_TAG)) {
                    bestMatch = configurationNode;
                }
            } else if (currentTags.contains(configurationNode.tag())) {
                if (bestMatch == null) {
                    bestMatch = configurationNode;
View Full Code Here

Examples of org.constretto.model.TaggedPropertySet.tag()

    public Collection<TaggedPropertySet> parseConfiguration() {
        Map<String, TaggedPropertySet> propertySets = new HashMap<String, TaggedPropertySet>();
        for (Object configurationObject : configurationObjects) {
            TaggedPropertySet taggedPropertySet = createPropertySetForObject(configurationObject);
            if (propertySets.containsKey(taggedPropertySet.tag())) {
                TaggedPropertySet orginialSet = propertySets.get(taggedPropertySet.tag());
                orginialSet.getProperties().putAll(taggedPropertySet.getProperties());
                propertySets.put(taggedPropertySet.tag(), orginialSet);
            } else {
                propertySets.put(taggedPropertySet.tag(), taggedPropertySet);
View Full Code Here

Examples of org.eclipse.jetty.xml.XmlAppendable.tag()

        webappAttr.put("metadata-complete","true");
        webappAttr.put("version","3.1");

        out.openTag("web-app",webappAttr);
        if (_webApp.getDisplayName() != null)
            out.tag("display-name",_webApp.getDisplayName());
       
        // Set some special context parameters

        // The location of the war file on disk
        String resourceBase = _webApp.getBaseResource().getFile().getCanonicalFile().getAbsoluteFile().toURI().toString();
View Full Code Here

Examples of org.eclipse.jgit.api.Git.tag()

        git = RepoUtil.createRepositoryWithMaster(newDir());
        JGitFlowInitCommand initCommand = new JGitFlowInitCommand();
        JGitFlow flow = initCommand.setDirectory(git.getRepository().getWorkTree()).call();

        git.tag().setName(flow.getVersionTagPrefix() + "1.0").call();

        flow.releaseStart("1.0").call();
    }

    @Test(expected = TagExistsException.class)
View Full Code Here

Examples of org.eclipse.jgit.lib.Tag.tag()

    t.setObjId(emptyId);
    t.setType("blob");
    t.setTag("test020");
    t.setAuthor(new PersonIdent(author, 1154236443000L, -4 * 60));
    t.setMessage("test020 tagged\n");
    t.tag();
    assertEquals("6759556b09fbb4fd8ae5e315134481cc25d46954", t.getTagId().name());

    Tag mapTag = db.mapTag("test020");
    assertEquals("blob", mapTag.getType());
    assertEquals("test020 tagged\n", mapTag.getMessage());
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.