Home
last modified time | relevance | path

Searched refs:macroKey (Results 1 – 1 of 1) sorted by relevance

/external/junit-params/src/main/java/junitparams/naming/
DMacroSubstitutionNamingStrategy.java75 String macroKey = getMacroKey(macro); in lookupMacroValue() local
77 switch (Macro.parse(macroKey)) { in lookupMacroValue()
81 default: return substituteDynamicMacro(macro, macroKey, parameters); in lookupMacroValue()
85 private String substituteDynamicMacro(String macro, String macroKey, Object parameters) { in substituteDynamicMacro() argument
86 if (isMethodParameterIndex(macroKey)) { in substituteDynamicMacro()
87 int index = parseIndex(macroKey); in substituteDynamicMacro()
94 private boolean isMethodParameterIndex(String macroKey) { in isMethodParameterIndex() argument
95 return macroKey.matches("\\d+"); in isMethodParameterIndex()
98 private int parseIndex(String macroKey) { in parseIndex() argument
99 return Integer.parseInt(macroKey); in parseIndex()