Examples of description()


Examples of org.testng.annotations.BeforeTest.description()

          new String[0], new String[0],
          false, false,
          false, true,
          bs.alwaysRun(),
          bs.dependsOnGroups(), bs.dependsOnMethods(),
          bs.description(), bs.enabled(), bs.groups(),
          bs.inheritGroups(), null);
    }
   
    return result;
  }
View Full Code Here

Examples of org.testng.annotations.Configuration.description()

    result.setGroups(join(c.groups(), findInheritedStringArray(cls, Test.class, "groups")));
    result.setDependsOnGroups(c.dependsOnGroups());
    result.setDependsOnMethods(c.dependsOnMethods());
    result.setAlwaysRun(c.alwaysRun());   
    result.setInheritGroups(c.inheritGroups());   
    result.setDescription(c.description());

    return result;
  }
 
  private IAnnotation createConfigurationTag(Class cls, Annotation a,
View Full Code Here

Examples of org.testng.annotations.Test.description()

    result.setSuccessPercentage(test.successPercentage());
    result.setDataProvider(test.dataProvider());
    result.setDataProviderClass(test.dataProviderClass() != Object.class ?
        test.dataProviderClass() : null);
    result.setAlwaysRun(test.alwaysRun());
    result.setDescription(test.description());
    result.setExpectedExceptions(test.expectedExceptions());
    result.setSuiteName(test.suiteName());
    result.setTestName(test.testName());
    result.setSequential(test.sequential());
   
View Full Code Here

Examples of org.vfny.geoserver.wms.responses.featureInfo.FeatureTemplate.description()

        try {
            SimpleFeature f = (SimpleFeature) i.next();
           
            FeatureTemplate template = new FeatureTemplate();
            try {
                template.description( f );   
            }
            catch ( Exception e ) {
                e.printStackTrace();
                fail("template threw exception on null value");
            }
View Full Code Here

Examples of org.weakref.jmx.Managed.description()

        if (thisNameList != null) {
            for (Method method : clazz.getMethods()) {
                Managed configAnnotation = method.getAnnotation(Managed.class);
                if (configAnnotation != null) {
                    for (String thisName : thisNameList) {
                        builder.add(new InspectorRecord(thisName, method.getName(), configAnnotation.description(), getType(method)));
                    }
                }
            }
        }
    }
View Full Code Here

Examples of restx.exceptions.ErrorCode.description()

                ImmutableMap<String, Object> ctx = ImmutableMap.<String, Object>builder()
                        .put("package", pack)
                        .put("descriptor", descriptor)
                        .put("errorStatus", String.valueOf(errorCode.status().getCode()))
                        .put("errorCode", errorCode.code())
                        .put("description", errorCode.description())
                        .put("fields", Joiner.on("\n").join(fields)).build();


                generateJavaClass(pack + "." + descriptor, errorDescriptorTpl, ctx, elem);
            } catch (Exception e) {
View Full Code Here

Examples of ru.tehkode.permissions.commands.Command.description()

      Command command = commands.get(i).getMethodAnnotation();
      String commandName = String.format("/%s %s", command.name(), command.syntax()).replace("<", ChatColor.BOLD.toString() + ChatColor.RED + "<").replace(">", ">" + ChatColor.RESET + ChatColor.GOLD.toString()).replace("[", ChatColor.BOLD.toString() + ChatColor.BLUE + "[").replace("]", "]" + ChatColor.RESET + ChatColor.GOLD.toString());


      sender.sendMessage(ChatColor.GOLD + commandName);
      sender.sendMessage(ChatColor.AQUA + "    " + command.description());
    }
  }

  @Command(name = "pex",
      syntax = "version",
View Full Code Here

Examples of ru.yandex.strictweb.ajaxtools.annotation.Arguments.description()

  @Test
  public void doTest() throws Exception {
    for(Method method: this.getClass().getDeclaredMethods()) {
      Arguments nc = method.getAnnotation(Arguments.class);
      if(nc != null) {
        JsonRePresentation rep = new JsonRePresentation(entityFinder).reset(new StringReader(nc.description()));
       
        Class<?>[] parameterTypes = method.getParameterTypes();
        Type[] genericParameterTypes = method.getGenericParameterTypes();

        Object[] params = new Object[parameterTypes.length];
View Full Code Here

Examples of se.llbit.chunky.world.Block.description()

            Block block = ray.getCurrentBlock();
            g.drawString(String.format("target: %.2f m", ray.distance), 5, height-18);
            g.drawString(String.format("[0x%08X] %s (%s)",
                ray.currentMaterial,
                block,
                block.description(ray.getBlockData())),
                5, height-5);
          }
          Vector3d pos = camera.getPosition();
          g.drawString(String.format("(%.1f, %.1f, %.1f)",
              pos.x, pos.y, pos.z), 5, 11);
View Full Code Here

Examples of uk.co.badgersinfoil.metaas.impl.parser.javadoc.JavadocParser.description()

  }

  private static LinkedListTree parseDescription(String description) {
    try {
      JavadocParser parser = parserOn(description);
      LinkedListTree desc = (LinkedListTree)parser.description().getTree();
      LinkedListToken after = (LinkedListToken)parser.getTokenStream().LT(1);
      if (!isEOF(after)) {
        throw new SyntaxException("trailing content after description: "+ActionScriptFactory.str(after.getText()));
      }
      trimEOF(desc);
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.