Home
last modified time | relevance | path

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

12

/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.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.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.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.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.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/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.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.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-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.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/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/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.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.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.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/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.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/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/android_icu4j/src/main/tests/android/icu/dev/test/format/
DMessageRegressionTest.java818 String argName = "something_stupid"; in testBugTestsWithNamesArguments() local
819 … MessageFormat mf = new MessageFormat("{"+ argName + "}, {" + argName + "}, {" + argName + "}"); in testBugTestsWithNamesArguments()
824 if (!objs.get(argName).toString().equals("z")) in testBugTestsWithNamesArguments()
825 errln("argument0: \"" + objs.get(argName) + "\""); in testBugTestsWithNamesArguments()
827 mf.applyPattern("{" + argName + ",number,#.##}, {" + argName + ",number,#.#}"); in testBugTestsWithNamesArguments()
829 oldobjs.put(argName, new Double(3.1415)); in testBugTestsWithNamesArguments()
838 if (((Number)newobjs.get(argName)).doubleValue() != 3.1) // was (Double) [alan] in testBugTestsWithNamesArguments()
839 errln( "newobjs.get(argName) = " + newobjs.get(argName)); in testBugTestsWithNamesArguments()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
DMessageRegressionTest.java817 String argName = "something_stupid"; in testBugTestsWithNamesArguments() local
818 … MessageFormat mf = new MessageFormat("{"+ argName + "}, {" + argName + "}, {" + argName + "}"); in testBugTestsWithNamesArguments()
823 if (!objs.get(argName).toString().equals("z")) in testBugTestsWithNamesArguments()
824 errln("argument0: \"" + objs.get(argName) + "\""); in testBugTestsWithNamesArguments()
826 mf.applyPattern("{" + argName + ",number,#.##}, {" + argName + ",number,#.#}"); in testBugTestsWithNamesArguments()
828 oldobjs.put(argName, new Double(3.1415)); in testBugTestsWithNamesArguments()
837 if (((Number)newobjs.get(argName)).doubleValue() != 3.1) // was (Double) [alan] in testBugTestsWithNamesArguments()
838 errln( "newobjs.get(argName) = " + newobjs.get(argName)); in testBugTestsWithNamesArguments()
/external/messageformat/java/com/ibm/icu/simple/
DMessageFormat.java502 private boolean argNameMatches(int partIndex, String argName, int argNumber) { in argNameMatches() argument
505 msgPattern.partSubstringMatches(part, argName) : in argNameMatches()
1554 String argName=msgPattern.getSubstring(part); in format() local
1568 argId = argName; in format()
1571 if(argName.equals(nameValuePairs[nvIndex].toString())) { in format()
1582 argId = argName; in format()
1583 if(argsMap!=null && argsMap.containsKey(argName)) { in format()
1584 arg=argsMap.get(argName); in format()
1594 dest.append("{"+argName+"}"); in format()
1651 new PluralSelectorContext(i, argName, number, offset); in format()
[all …]

12