Examples of type()


Examples of org.salamandra.web.core.transformer.node.binder.annotation.AParam.type()

                          for (Annotation ref : aValue) {
                           
                            Method mv = ref.annotationType().getDeclaredMethod("value");
                            Object v = mv.invoke(ref);
                           
                            params.addParameter(aParam.type(), v);
              }
                        }
                  }
        }
      }
View Full Code Here

Examples of org.seleniuminspector.html.InputInspector.type()

        PopupLayerInspector popupLayer = popupLayer("formID:setLeftTop");

        popupLayer.assertVisible(false);
        InputInspector leftCoordinateInput = new InputInspector("leftCoodinate");
        leftCoordinateInput.type("100");
        InputInspector topCoordinateInput = new InputInspector("topCoodinate");
        topCoordinateInput.type("200");
        ElementInspector topLeftButton = element("setPopupLayerTopLeft");
        topLeftButton.click();
View Full Code Here

Examples of org.seleniuminspector.html.TextAreaInspector.type()

        testAppFunctionalPage("/requests/JSFC_2257.jsf");

        ElementInspector dmf = element("dfm0");
        dmf.assertElementExists(false);
        TextAreaInspector textArea = new TextAreaInspector("fm:ta");
        textArea.type("Some text");
        ElementInspector button = element("fm:bt");
        button.clickAndWait();
        textArea.assertValue("Some text");
        for (int i = 0; i < "Some text".length(); i++)
            textArea.keyPress(Keys.BACK_SPACE);
View Full Code Here

Examples of org.seleniuminspector.openfaces.InputTextInspector.type()

        // fill by empty values
        first.clear();
        second.clear();
        first.type("val1");
        first.assertValue("val1");
        second.type("val2");
        second.assertValue("val2");
        submit.clickAndWait();
        value.assertText("val1");
        value2.assertText("val2");
        first.assertValue("val1");
View Full Code Here

Examples of org.sgx.yuigwt.yui.charts.CartesianChartConfig.type()

    chart1.boundingBox().getNode("parentNode").getNode("parentNode").
      append("<p>a default chart with custom axes</p>");
   
    //now a second chart of type columns and a custom legend style. use the same config object
    chartConfig.type(ChartBase.TYPE_COLUMN);
    chartConfig.render("#chart2");
    chartConfig.legend(ChartLegendConfig.create().position("left"));
    CartesianChart chart2 = Y.newChart(chartConfig).cast().cast();
    chart2.boundingBox().getNode("parentNode").getNode("parentNode").
      append("<p>A <b>column</b> chart with custom axes and legend style</p>");
View Full Code Here

Examples of org.sonar.api.batch.fs.internal.DeprecatedDefaultInputFile.type()

    InputFileBuilder builder = new InputFileBuilder("struts", new PathResolver(),
      langDetection, statusDetection, fs, analysisMode);
    DeprecatedDefaultInputFile inputFile = builder.create(srcFile);
    inputFile = builder.complete(inputFile, InputFile.Type.MAIN);

    assertThat(inputFile.type()).isEqualTo(InputFile.Type.MAIN);
    assertThat(inputFile.file()).isEqualTo(srcFile.getAbsoluteFile());
    assertThat(inputFile.absolutePath()).isEqualTo(PathUtils.sanitize(srcFile.getAbsolutePath()));
    assertThat(inputFile.language()).isEqualTo("java");
    assertThat(inputFile.key()).isEqualTo("struts:src/main/java/foo/Bar.java");
    assertThat(inputFile.relativePath()).isEqualTo("src/main/java/foo/Bar.java");
View Full Code Here

Examples of org.sonar.api.batch.sensor.test.internal.DefaultTestCaseExecution.type()

    value.putUTF(t.name());
    putUTFOrNull(value, t.message());
    putUTFOrNull(value, t.stackTrace());
    Long durationInMs = t.durationInMs();
    value.put(durationInMs != null ? durationInMs.longValue() : -1);
    value.put(t.type().ordinal());
    value.put(t.status().ordinal());
  }

  private void putUTFOrNull(Value value, @Nullable String utfOrNull) {
    if (utfOrNull != null) {
View Full Code Here

Examples of org.sonar.api.server.debt.DebtRemediationFunction.type()

    DebtRemediationFunction debtRemediationFunction = subCharacteristic != null ? def.debtRemediationFunction() : null;
    boolean hasDebt = subCharacteristic != null && debtRemediationFunction != null;
    if (hasDebt) {
      return mergeDebtDefinitions(def, dto,
        subCharacteristic.getId(),
        debtRemediationFunction.type().name(),
        debtRemediationFunction.coefficient(),
        debtRemediationFunction.offset(),
        def.effortToFixDescription());
    }
    return mergeDebtDefinitions(def, dto, null, null, null, null, null);
View Full Code Here

Examples of org.sonar.api.server.debt.internal.DefaultDebtRemediationFunction.type()

public class DefaultDebtRemediationFunctionTest {

  @Test
  public void create_linear() {
    DebtRemediationFunction function = new DefaultDebtRemediationFunction(DebtRemediationFunction.Type.LINEAR, "10h", null);
    assertThat(function.type()).isEqualTo(DefaultDebtRemediationFunction.Type.LINEAR);
    assertThat(function.coefficient()).isEqualTo("10h");
    assertThat(function.offset()).isNull();
  }

  @Test
View Full Code Here

Examples of org.sonar.api.server.rule.RuleParamType.type()

  private String validateParam(RuleParamDto ruleParam, @Nullable String value) {
    if (value != null) {
      RuleParamType ruleParamType = RuleParamType.parse(ruleParam.getType());
      if (ruleParamType.multiple()) {
        List<String> values = newArrayList(Splitter.on(",").split(value));
        typeValidations.validate(values, ruleParamType.type(), ruleParamType.values());
      } else {
        typeValidations.validate(value, ruleParamType.type(), ruleParamType.values());
      }
    }
    return value;
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.