Home
last modified time | relevance | path

Searched refs:argName (Results 1 – 25 of 33) sorted by relevance

12

/external/mockftpserver/tags/2.0.2/src/main/java/org/mockftpserver/core/util/
DAssert.java37 public static void isNull(Object arg, String argName) { in isNull() argument
39 throw new AssertFailedException("The value for \"" + argName + "\" must be null"); in isNull()
49 public static void notNull(Object arg, String argName) { in notNull() argument
51 throw new AssertFailedException("The value of \"" + argName + "\" is null"); in notNull()
84 public static void notNullOrEmpty(Collection collection, String argName) { in notNullOrEmpty() argument
85 notNull(collection, argName); in notNullOrEmpty()
87 throw new AssertFailedException("The \"" + argName + "\" Collection is empty"); in notNullOrEmpty()
98 public static void notNullOrEmpty(Map map, String argName) { in notNullOrEmpty() argument
99 notNull(map, argName); in notNullOrEmpty()
101 throw new AssertFailedException("The \"" + argName + "\" Map is empty"); in notNullOrEmpty()
[all …]
/external/mockftpserver/tags/2.4/src/main/java/org/mockftpserver/core/util/
DAssert.java37 public static void isNull(Object arg, String argName) { in isNull() argument
39 throw new AssertFailedException("The value for \"" + argName + "\" must be null"); in isNull()
49 public static void notNull(Object arg, String argName) { in notNull() argument
51 throw new AssertFailedException("The value of \"" + argName + "\" is null"); in notNull()
84 public static void notNullOrEmpty(Collection collection, String argName) { in notNullOrEmpty() argument
85 notNull(collection, argName); in notNullOrEmpty()
87 throw new AssertFailedException("The \"" + argName + "\" Collection is empty"); in notNullOrEmpty()
98 public static void notNullOrEmpty(Map map, String argName) { in notNullOrEmpty() argument
99 notNull(map, argName); in notNullOrEmpty()
101 throw new AssertFailedException("The \"" + argName + "\" Map is empty"); in notNullOrEmpty()
[all …]
/external/mockftpserver/tags/2.3/src/main/java/org/mockftpserver/core/util/
DAssert.java37 public static void isNull(Object arg, String argName) { in isNull() argument
39 throw new AssertFailedException("The value for \"" + argName + "\" must be null"); in isNull()
49 public static void notNull(Object arg, String argName) { in notNull() argument
51 throw new AssertFailedException("The value of \"" + argName + "\" is null"); in notNull()
84 public static void notNullOrEmpty(Collection collection, String argName) { in notNullOrEmpty() argument
85 notNull(collection, argName); in notNullOrEmpty()
87 throw new AssertFailedException("The \"" + argName + "\" Collection is empty"); in notNullOrEmpty()
98 public static void notNullOrEmpty(Map map, String argName) { in notNullOrEmpty() argument
99 notNull(map, argName); in notNullOrEmpty()
101 throw new AssertFailedException("The \"" + argName + "\" Map is empty"); in notNullOrEmpty()
[all …]
/external/mockftpserver/tags/2.0-rc3/MockFtpServer/src/main/java/org/mockftpserver/core/util/
DAssert.java37 public static void isNull(Object arg, String argName) { in isNull() argument
39 throw new AssertFailedException("The value for \"" + argName + "\" must be null"); in isNull()
49 public static void notNull(Object arg, String argName) { in notNull() argument
51 throw new AssertFailedException("The value of \"" + argName + "\" is null"); in notNull()
84 public static void notNullOrEmpty(Collection collection, String argName) { in notNullOrEmpty() argument
85 notNull(collection, argName); in notNullOrEmpty()
87 throw new AssertFailedException("The \"" + argName + "\" Collection is empty"); in notNullOrEmpty()
98 public static void notNullOrEmpty(Map map, String argName) { in notNullOrEmpty() argument
99 notNull(map, argName); in notNullOrEmpty()
101 throw new AssertFailedException("The \"" + argName + "\" Map is empty"); in notNullOrEmpty()
[all …]
/external/mockftpserver/tags/2.0.1/src/main/java/org/mockftpserver/core/util/
DAssert.java37 public static void isNull(Object arg, String argName) { in isNull() argument
39 throw new AssertFailedException("The value for \"" + argName + "\" must be null"); in isNull()
49 public static void notNull(Object arg, String argName) { in notNull() argument
51 throw new AssertFailedException("The value of \"" + argName + "\" is null"); in notNull()
84 public static void notNullOrEmpty(Collection collection, String argName) { in notNullOrEmpty() argument
85 notNull(collection, argName); in notNullOrEmpty()
87 throw new AssertFailedException("The \"" + argName + "\" Collection is empty"); in notNullOrEmpty()
98 public static void notNullOrEmpty(Map map, String argName) { in notNullOrEmpty() argument
99 notNull(map, argName); in notNullOrEmpty()
101 throw new AssertFailedException("The \"" + argName + "\" Map is empty"); in notNullOrEmpty()
[all …]
/external/mockftpserver/tags/1.2.3/src/main/java/org/mockftpserver/core/util/
DAssert.java37 public static void isNull(Object arg, String argName) { in isNull() argument
39 throw new AssertFailedException("The value for \"" + argName + "\" must be null"); in isNull()
49 public static void notNull(Object arg, String argName) { in notNull() argument
51 throw new AssertFailedException("The value of \"" + argName + "\" is null"); in notNull()
84 public static void notNullOrEmpty(Collection collection, String argName) { in notNullOrEmpty() argument
85 notNull(collection, argName); in notNullOrEmpty()
87 throw new AssertFailedException("The \"" + argName + "\" Collection is empty"); in notNullOrEmpty()
98 public static void notNullOrEmpty(Map map, String argName) { in notNullOrEmpty() argument
99 notNull(map, argName); in notNullOrEmpty()
101 throw new AssertFailedException("The \"" + argName + "\" Map is empty"); in notNullOrEmpty()
[all …]
/external/mockftpserver/tags/2.x_Before_IDEA/src/main/java/org/mockftpserver/core/util/
DAssert.java37 public static void isNull(Object arg, String argName) { in isNull() argument
39 throw new AssertFailedException("The value for \"" + argName + "\" must be null"); in isNull()
49 public static void notNull(Object arg, String argName) { in notNull() argument
51 throw new AssertFailedException("The value of \"" + argName + "\" is null"); in notNull()
84 public static void notNullOrEmpty(Collection collection, String argName) { in notNullOrEmpty() argument
85 notNull(collection, argName); in notNullOrEmpty()
87 throw new AssertFailedException("The \"" + argName + "\" Collection is empty"); in notNullOrEmpty()
98 public static void notNullOrEmpty(Map map, String argName) { in notNullOrEmpty() argument
99 notNull(map, argName); in notNullOrEmpty()
101 throw new AssertFailedException("The \"" + argName + "\" Map is empty"); in notNullOrEmpty()
[all …]
/external/mockftpserver/tags/1.2.1/src/main/java/org/mockftpserver/core/util/
DAssert.java37 public static void isNull(Object arg, String argName) { in isNull() argument
39 throw new AssertFailedException("The value for \"" + argName + "\" must be null"); in isNull()
49 public static void notNull(Object arg, String argName) { in notNull() argument
51 throw new AssertFailedException("The value of \"" + argName + "\" is null"); in notNull()
84 public static void notNullOrEmpty(Collection collection, String argName) { in notNullOrEmpty() argument
85 notNull(collection, argName); in notNullOrEmpty()
87 throw new AssertFailedException("The \"" + argName + "\" Collection is empty"); in notNullOrEmpty()
98 public static void notNullOrEmpty(Map map, String argName) { in notNullOrEmpty() argument
99 notNull(map, argName); in notNullOrEmpty()
101 throw new AssertFailedException("The \"" + argName + "\" Map is empty"); in notNullOrEmpty()
[all …]
/external/mockftpserver/tags/2.2/src/main/java/org/mockftpserver/core/util/
DAssert.java37 public static void isNull(Object arg, String argName) { in isNull() argument
39 throw new AssertFailedException("The value for \"" + argName + "\" must be null"); in isNull()
49 public static void notNull(Object arg, String argName) { in notNull() argument
51 throw new AssertFailedException("The value of \"" + argName + "\" is null"); in notNull()
84 public static void notNullOrEmpty(Collection collection, String argName) { in notNullOrEmpty() argument
85 notNull(collection, argName); in notNullOrEmpty()
87 throw new AssertFailedException("The \"" + argName + "\" Collection is empty"); in notNullOrEmpty()
98 public static void notNullOrEmpty(Map map, String argName) { in notNullOrEmpty() argument
99 notNull(map, argName); in notNullOrEmpty()
101 throw new AssertFailedException("The \"" + argName + "\" Map is empty"); in notNullOrEmpty()
[all …]
/external/mockftpserver/tags/2.5/src/main/java/org/mockftpserver/core/util/
DAssert.java37 public static void isNull(Object arg, String argName) { in isNull() argument
39 throw new AssertFailedException("The value for \"" + argName + "\" must be null"); in isNull()
49 public static void notNull(Object arg, String argName) { in notNull() argument
51 throw new AssertFailedException("The value of \"" + argName + "\" is null"); in notNull()
84 public static void notNullOrEmpty(Collection collection, String argName) { in notNullOrEmpty() argument
85 notNull(collection, argName); in notNullOrEmpty()
87 throw new AssertFailedException("The \"" + argName + "\" Collection is empty"); in notNullOrEmpty()
98 public static void notNullOrEmpty(Map map, String argName) { in notNullOrEmpty() argument
99 notNull(map, argName); in notNullOrEmpty()
101 throw new AssertFailedException("The \"" + argName + "\" Map is empty"); in notNullOrEmpty()
[all …]
/external/mockftpserver/tags/1.1/src/main/java/org/mockftpserver/core/util/
DAssert.java37 public static void isNull(Object arg, String argName) { in isNull() argument
39 throw new AssertFailedException("The value for \"" + argName + "\" must be null"); in isNull()
49 public static void notNull(Object arg, String argName) { in notNull() argument
51 throw new AssertFailedException("The value of \"" + argName + "\" is null"); in notNull()
84 public static void notNullOrEmpty(Collection collection, String argName) { in notNullOrEmpty() argument
85 notNull(collection, argName); in notNullOrEmpty()
87 throw new AssertFailedException("The \"" + argName + "\" Collection is empty"); in notNullOrEmpty()
98 public static void notNullOrEmpty(Map map, String argName) { in notNullOrEmpty() argument
99 notNull(map, argName); in notNullOrEmpty()
101 throw new AssertFailedException("The \"" + argName + "\" Map is empty"); in notNullOrEmpty()
[all …]
/external/mockftpserver/tags/1.2.2/src/main/java/org/mockftpserver/core/util/
DAssert.java37 public static void isNull(Object arg, String argName) { in isNull() argument
39 throw new AssertFailedException("The value for \"" + argName + "\" must be null"); in isNull()
49 public static void notNull(Object arg, String argName) { in notNull() argument
51 throw new AssertFailedException("The value of \"" + argName + "\" is null"); in notNull()
84 public static void notNullOrEmpty(Collection collection, String argName) { in notNullOrEmpty() argument
85 notNull(collection, argName); in notNullOrEmpty()
87 throw new AssertFailedException("The \"" + argName + "\" Collection is empty"); in notNullOrEmpty()
98 public static void notNullOrEmpty(Map map, String argName) { in notNullOrEmpty() argument
99 notNull(map, argName); in notNullOrEmpty()
101 throw new AssertFailedException("The \"" + argName + "\" Map is empty"); in notNullOrEmpty()
[all …]
/external/mockftpserver/branches/1.x_Branch/src/main/java/org/mockftpserver/core/util/
DAssert.java37 public static void isNull(Object arg, String argName) { in isNull() argument
39 throw new AssertFailedException("The value for \"" + argName + "\" must be null"); in isNull()
49 public static void notNull(Object arg, String argName) { in notNull() argument
51 throw new AssertFailedException("The value of \"" + argName + "\" is null"); in notNull()
84 public static void notNullOrEmpty(Collection collection, String argName) { in notNullOrEmpty() argument
85 notNull(collection, argName); in notNullOrEmpty()
87 throw new AssertFailedException("The \"" + argName + "\" Collection is empty"); in notNullOrEmpty()
98 public static void notNullOrEmpty(Map map, String argName) { in notNullOrEmpty() argument
99 notNull(map, argName); in notNullOrEmpty()
101 throw new AssertFailedException("The \"" + argName + "\" Map is empty"); in notNullOrEmpty()
[all …]
/external/mockftpserver/tags/1.2.4/src/main/java/org/mockftpserver/core/util/
DAssert.java37 public static void isNull(Object arg, String argName) { in isNull() argument
39 throw new AssertFailedException("The value for \"" + argName + "\" must be null"); in isNull()
49 public static void notNull(Object arg, String argName) { in notNull() argument
51 throw new AssertFailedException("The value of \"" + argName + "\" is null"); in notNull()
84 public static void notNullOrEmpty(Collection collection, String argName) { in notNullOrEmpty() argument
85 notNull(collection, argName); in notNullOrEmpty()
87 throw new AssertFailedException("The \"" + argName + "\" Collection is empty"); in notNullOrEmpty()
98 public static void notNullOrEmpty(Map map, String argName) { in notNullOrEmpty() argument
99 notNull(map, argName); in notNullOrEmpty()
101 throw new AssertFailedException("The \"" + argName + "\" Map is empty"); in notNullOrEmpty()
[all …]
/external/mockftpserver/MockFtpServer/src/main/java/org/mockftpserver/core/util/
DAssert.java37 public static void isNull(Object arg, String argName) { in isNull() argument
39 throw new AssertFailedException("The value for \"" + argName + "\" must be null"); in isNull()
49 public static void notNull(Object arg, String argName) { in notNull() argument
51 throw new AssertFailedException("The value of \"" + argName + "\" is null"); in notNull()
84 public static void notNullOrEmpty(Collection collection, String argName) { in notNullOrEmpty() argument
85 notNull(collection, argName); in notNullOrEmpty()
87 throw new AssertFailedException("The \"" + argName + "\" Collection is empty"); in notNullOrEmpty()
98 public static void notNullOrEmpty(Map map, String argName) { in notNullOrEmpty() argument
99 notNull(map, argName); in notNullOrEmpty()
101 throw new AssertFailedException("The \"" + argName + "\" Map is empty"); in notNullOrEmpty()
[all …]
/external/mockftpserver/tags/1.0/src/main/java/org/mockftpserver/core/util/
DAssert.java37 public static void isNull(Object arg, String argName) { in isNull() argument
39 throw new AssertFailedException("The value for \"" + argName + "\" must be null"); in isNull()
49 public static void notNull(Object arg, String argName) { in notNull() argument
51 throw new AssertFailedException("The value of \"" + argName + "\" is null"); in notNull()
84 public static void notNullOrEmpty(Collection collection, String argName) { in notNullOrEmpty() argument
85 notNull(collection, argName); in notNullOrEmpty()
87 throw new AssertFailedException("The \"" + argName + "\" Collection is empty"); in notNullOrEmpty()
98 public static void notNullOrEmpty(Map map, String argName) { in notNullOrEmpty() argument
99 notNull(map, argName); in notNullOrEmpty()
101 throw new AssertFailedException("The \"" + argName + "\" Map is empty"); in notNullOrEmpty()
[all …]
/external/mockftpserver/tags/1.2/src/main/java/org/mockftpserver/core/util/
DAssert.java37 public static void isNull(Object arg, String argName) { in isNull() argument
39 throw new AssertFailedException("The value for \"" + argName + "\" must be null"); in isNull()
49 public static void notNull(Object arg, String argName) { in notNull() argument
51 throw new AssertFailedException("The value of \"" + argName + "\" is null"); in notNull()
84 public static void notNullOrEmpty(Collection collection, String argName) { in notNullOrEmpty() argument
85 notNull(collection, argName); in notNullOrEmpty()
87 throw new AssertFailedException("The \"" + argName + "\" Collection is empty"); in notNullOrEmpty()
98 public static void notNullOrEmpty(Map map, String argName) { in notNullOrEmpty() argument
99 notNull(map, argName); in notNullOrEmpty()
101 throw new AssertFailedException("The \"" + argName + "\" Map is empty"); in notNullOrEmpty()
[all …]
/external/mockftpserver/tags/2.0/src/main/java/org/mockftpserver/core/util/
DAssert.java37 public static void isNull(Object arg, String argName) { in isNull() argument
39 throw new AssertFailedException("The value for \"" + argName + "\" must be null"); in isNull()
49 public static void notNull(Object arg, String argName) { in notNull() argument
51 throw new AssertFailedException("The value of \"" + argName + "\" is null"); in notNull()
84 public static void notNullOrEmpty(Collection collection, String argName) { in notNullOrEmpty() argument
85 notNull(collection, argName); in notNullOrEmpty()
87 throw new AssertFailedException("The \"" + argName + "\" Collection is empty"); in notNullOrEmpty()
98 public static void notNullOrEmpty(Map map, String argName) { in notNullOrEmpty() argument
99 notNull(map, argName); in notNullOrEmpty()
101 throw new AssertFailedException("The \"" + argName + "\" Map is empty"); in notNullOrEmpty()
[all …]
/external/mockftpserver/tags/2.1/src/main/java/org/mockftpserver/core/util/
DAssert.java37 public static void isNull(Object arg, String argName) { in isNull() argument
39 throw new AssertFailedException("The value for \"" + argName + "\" must be null"); in isNull()
49 public static void notNull(Object arg, String argName) { in notNull() argument
51 throw new AssertFailedException("The value of \"" + argName + "\" is null"); in notNull()
84 public static void notNullOrEmpty(Collection collection, String argName) { in notNullOrEmpty() argument
85 notNull(collection, argName); in notNullOrEmpty()
87 throw new AssertFailedException("The \"" + argName + "\" Collection is empty"); in notNullOrEmpty()
98 public static void notNullOrEmpty(Map map, String argName) { in notNullOrEmpty() argument
99 notNull(map, argName); in notNullOrEmpty()
101 throw new AssertFailedException("The \"" + argName + "\" Map is empty"); in notNullOrEmpty()
[all …]
/external/mockftpserver/tags/2.0-rc1/MockFtpServer/src/main/java/org/mockftpserver/core/util/
DAssert.java37 public static void isNull(Object arg, String argName) { in isNull() argument
39 throw new AssertFailedException("The value for \"" + argName + "\" must be null"); in isNull()
49 public static void notNull(Object arg, String argName) { in notNull() argument
51 throw new AssertFailedException("The value of \"" + argName + "\" is null"); in notNull()
84 public static void notNullOrEmpty(Collection collection, String argName) { in notNullOrEmpty() argument
85 notNull(collection, argName); in notNullOrEmpty()
87 throw new AssertFailedException("The \"" + argName + "\" Collection is empty"); in notNullOrEmpty()
98 public static void notNullOrEmpty(Map map, String argName) { in notNullOrEmpty() argument
99 notNull(map, argName); in notNullOrEmpty()
101 throw new AssertFailedException("The \"" + argName + "\" Map is empty"); in notNullOrEmpty()
[all …]
/external/mockftpserver/tags/2.0-rc1/src/main/java/org/mockftpserver/core/util/
DAssert.java37 public static void isNull(Object arg, String argName) { in isNull() argument
39 throw new AssertFailedException("The value for \"" + argName + "\" must be null"); in isNull()
49 public static void notNull(Object arg, String argName) { in notNull() argument
51 throw new AssertFailedException("The value of \"" + argName + "\" is null"); in notNull()
84 public static void notNullOrEmpty(Collection collection, String argName) { in notNullOrEmpty() argument
85 notNull(collection, argName); in notNullOrEmpty()
87 throw new AssertFailedException("The \"" + argName + "\" Collection is empty"); in notNullOrEmpty()
98 public static void notNullOrEmpty(Map map, String argName) { in notNullOrEmpty() argument
99 notNull(map, argName); in notNullOrEmpty()
101 throw new AssertFailedException("The \"" + argName + "\" Map is empty"); in notNullOrEmpty()
[all …]
/external/icu/icu4j/samples/src/com/ibm/icu/samples/text/messagepattern/
DMessagePatternUtilDemo.java112 for (String argName : args) { in genCode()
114 System.out.print(argName); in genCode()
117 System.out.print(", " + argName); in genCode()
156 String argName = arg.getName(); in genCode() local
158 argName = "arg_" + argName; // Prefix for numbered argument. in genCode()
162 System.out.println(prefix + operator + " " + argName); in genCode()
169 genCodeForPlural(arg.getComplexStyle(), depth, firstResult, argName); in genCode() local
172 genCodeForSelect(arg.getComplexStyle(), depth, firstResult, argName); in genCode() local
180 String argName) { in genCodeForPlural() argument
188 String pluralNumber = offset == 0. ? argName : argName + " - " + offset; in genCodeForPlural()
[all …]
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
DMessageRegressionTest.java821 String argName = "something_stupid"; in testBugTestsWithNamesArguments() local
822 … MessageFormat mf = new MessageFormat("{"+ argName + "}, {" + argName + "}, {" + argName + "}"); in testBugTestsWithNamesArguments()
827 if (!objs.get(argName).toString().equals("z")) in testBugTestsWithNamesArguments()
828 errln("argument0: \"" + objs.get(argName) + "\""); in testBugTestsWithNamesArguments()
830 mf.applyPattern("{" + argName + ",number,#.##}, {" + argName + ",number,#.#}"); in testBugTestsWithNamesArguments()
832 oldobjs.put(argName, new Double(3.1415)); in testBugTestsWithNamesArguments()
841 if (((Number)newobjs.get(argName)).doubleValue() != 3.1) // was (Double) [alan] in testBugTestsWithNamesArguments()
842 errln( "newobjs.get(argName) = " + newobjs.get(argName)); in testBugTestsWithNamesArguments()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/
DMessageRegressionTest.java824 String argName = "something_stupid"; in testBugTestsWithNamesArguments() local
825 … MessageFormat mf = new MessageFormat("{"+ argName + "}, {" + argName + "}, {" + argName + "}"); in testBugTestsWithNamesArguments()
830 if (!objs.get(argName).toString().equals("z")) in testBugTestsWithNamesArguments()
831 errln("argument0: \"" + objs.get(argName) + "\""); in testBugTestsWithNamesArguments()
833 mf.applyPattern("{" + argName + ",number,#.##}, {" + argName + ",number,#.#}"); in testBugTestsWithNamesArguments()
835 oldobjs.put(argName, new Double(3.1415)); in testBugTestsWithNamesArguments()
844 if (((Number)newobjs.get(argName)).doubleValue() != 3.1) // was (Double) [alan] in testBugTestsWithNamesArguments()
845 errln( "newobjs.get(argName) = " + newobjs.get(argName)); in testBugTestsWithNamesArguments()
/external/icu/android_icu4j/src/main/java/android/icu/text/
DMessageFormat.java537 private boolean argNameMatches(int partIndex, String argName, int argNumber) { in argNameMatches() argument
540 msgPattern.partSubstringMatches(part, argName) : in argNameMatches()
1599 String argName=msgPattern.getSubstring(part); in format() local
1613 argId = argName; in format()
1614 if(argsMap!=null && argsMap.containsKey(argName)) { in format()
1615 arg=argsMap.get(argName); in format()
1625 dest.append("{"+argName+"}"); in format()
1703 new PluralSelectorContext(i, argName, number, offset); in format()
1971 private int findFirstPluralNumberArg(int msgStart, String argName) { in findFirstPluralNumberArg() argument
1983 if(argName.length()!=0 && (argType==ArgType.NONE || argType==ArgType.SIMPLE)) { in findFirstPluralNumberArg()
[all …]

12