Home
last modified time | relevance | path

Searched refs:setMessage (Results 1 – 25 of 168) sorted by relevance

1234567

/external/apache-harmony/logging/src/test/java/org/apache/harmony/logging/tests/java/util/logging/
DFormatterTest.java61 r.setMessage(pattern); in testFormatMessage()
72 r.setMessage(MSG); in testFormatMessage()
76 r.setMessage(pattern); in testFormatMessage()
80 r.setMessage(pattern); in testFormatMessage()
84 r.setMessage(pattern); in testFormatMessage()
90 r.setMessage("msg"); in testLocalizedFormatMessage()
97 r.setMessage("pattern"); in testLocalizedFormatMessage()
104 r.setMessage("pattern{0,number}"); in testLocalizedFormatMessage()
112 r.setMessage("msg"); in testLocalizedFormatMessage()
117 r.setMessage("msg without locale"); in testLocalizedFormatMessage()
[all …]
DSimpleFormatterTest.java62 lr.setMessage("msg"); in testLocalizedFormat()
70 lr.setMessage("msg"); in testLocalizedFormat()
80 lr.setMessage(MSG + " {0,number}");
DXMLFormatterTest.java58 lr.setMessage("pattern"); in testLocalFormat()
64 lr.setMessage("msg"); in testLocalFormat()
70 lr.setMessage("pattern {0, number}"); in testLocalFormat()
76 lr.setMessage("bad key"); in testLocalFormat()
/external/cldr/tools/java/org/unicode/cldr/test/
DCheckNumbers.java136 .setMessage("Error in creating UnicodeSet {0}; {1}; {2}", in handleCheck()
148 … .setMessage("Minimum grouping digits can only contain Western digits [0-9].")); in handleCheck()
153 .setMessage("Minimum grouping digits cannot be greater than 4.")); in handleCheck()
158 .setMessage("Minimum grouping digits cannot be less than 1.")); in handleCheck()
163 … .setMessage("Minimum grouping digits > 2 is rare. Please double check this.")); in handleCheck()
170 .setMessage("Minimum grouping digits must be a numeric value.")); in handleCheck()
181 .setMessage("Invalid numbering system: " + value)); in handleCheck()
195 ….setMessage("Invalid timeSeparator: " + value + "; must match what is used in Hm time pattern: " +… in handleCheck()
217 .setMessage("Negative format must contain ASCII minus sign (-).")); in handleCheck()
228 .setMessage("Currency formatting pattern must contain a currency symbol.")); in handleCheck()
[all …]
DCheckDates.java219 .setMessage(message); in setCldrFileToCheck()
248 .setMessage("DateOrder.getOrderingInfo fails"); in setCldrFileToCheck()
330 .setMessage("The ordering of date fields is inconsistent with others: {0}", in handleCheck()
345 ….setMessage("Abbreviated value \"{0}\" can't be longer than the corresponding wide value \"{1}\"",… in handleCheck()
375 … .setMessage("Inconsistent use of periods in abbreviations for this section."); in handleCheck()
389 ….setMessage("Narrow value \"{0}\" shouldn't be longer than the corresponding abbreviated value \"{… in handleCheck()
401 ….setMessage("Narrow value \"{0}\" can't be longer than the corresponding abbreviated value \"{1}\"… in handleCheck()
413 ….setMessage("Abbreviated value \"{0}\" can't be longer than the corresponding wide value \"{1}\"",… in handleCheck()
426 .setMessage(failure)); in handleCheck()
511 …checkStatus.setMessage("The date value “{0}” is the same as what is used for a different item: {1}… in handleCheck()
[all …]
DCheckExemplars.java143 … .setMessage("Most languages allow <i>some<i> auxiliary characters, so review this.")); in setCldrFileToCheck()
187 … .setMessage("Auxiliary characters also exist in main: \u200E{0}\u200E", in handleCheck()
212 … .setMessage("Punctuation exemplar characters are missing quotation marks for this locale: {0}", in handleCheck()
229 … .setMessage("Index exemplars include characters not in main or auxiliary exemplars: {0}", in handleCheck()
255 .setMessage( in handleCheck()
276 .setMessage("ParseLenient sample not in value: {0} ∌ {1}", us, sampleValue); in checkParse()
290 .setMessage(e.toString() + (e.getMessage() == null ? "" : ": " + e.getMessage())); in checkParse()
348 … .setMessage("{0} exemplars contain multiple scripts: {1}", new Object[] { title, scripts })); in checkMixedScripts()
360 ….setMessage("This field must be a set of the form [a b c-d ...]: {0}", new Object[] { e.getMessage… in checkExemplar()
375 … .setMessage("Internal Error: formatting not working for {0}", new Object[] { exemplar1 })); in checkExemplar()
[all …]
DCheckZones.java46 .setMessage("Checking zones: " + e.getMessage())); in setCldrFileToCheck()
84 .setMessage("Multiple metazone mappings between {1} and {0}", in handleCheck()
90 .setMessage("No metazone mapping between {0} and {1}", in handleCheck()
97 .setMessage("Zone {0} has no metazone mapping between 1970-01-01 and {1}", in handleCheck()
103 .setMessage("Zone {0} has no metazone mapping between {1} and present.", in handleCheck()
161 .setMessage("Formatted value (if removed): \"{0}\"", in handleGetExamples()
DCheckUnits.java58 .setMessage("The gender value for this locale must be one of: {0}", genders)); in handleCheck()
94 ….setMessage("Invalid unit pattern, must have min " + min + " and max " + max + " distinct placehol… in handleCheck()
110 .setMessage(message)); in handleCheck()
131 ….setMessage("Mismatched component: «{0}» produces «{1}», but the explicit translation is «{2}». Se… in handleCheck()
156 .setMessage("The hour indicator should be either h or hh for duration.")); in handleCheck()
161 .setMessage("The minutes symbol (m or mm) is missing.")); in handleCheck()
166 .setMessage("The seconds symbol (ss) is missing.")); in handleCheck()
DCheckMetazones.java38 … .setMessage("Metazone name contains digits - translate only the name")); // the message; can be in handleCheck()
48 … .setMessage("Extra metazone string - should only contain standard value for a non-DST metazone")); in handleCheck()
DCheckPlaceHolders.java35 .setMessage("Invalid placeholder in value \"" + value + "\"")); in handleCheck()
43 .setMessage("Invalid placeholder in value \"" + value + "\"")); in handleCheck()
DCheckQuotes.java41 ….setMessage("Use of ASCII quote marks (' \") is discouraged. Use primes for units (′ ″) and curly … in handleCheck()
49 ….setMessage("Invalid delimiter. See https://sites.google.com/site/cldr/translation/characters for … in handleCheck()
DCheckForExemplars.java199 … .setMessage("No Exemplar Characters: {0}", new Object[] { this.getClass().getName() }); in setCldrFileToCheck()
260 .setMessage("Could not get exemplar set: " + iae.toString())); in safeGetExemplars()
308 .setMessage( in handleCheck()
460 .setMessage("This item must not start or end with whitespace, or be empty.")); in handleCheck()
520 ….setMessage("Placeholders {0} should be strictly increasing, starting at zero.", distinctPlacehold… in checkAndReplacePlaceholders()
537 .setMessage("Duplicate placeholders: {0}.", Joiner.on(", ").join(errors))); in checkAndReplacePlaceholders()
545 ….setMessage("Need at least {0} placeholder(s), but only have {1}. Placeholders are: {2}", minimum,… in checkAndReplacePlaceholders()
550 ….setMessage("Need no more than {0} placeholders, but have too many with {1}.", countDistinctPlaceh… in checkAndReplacePlaceholders()
699 .setMessage( in addMissingMessage()
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javaparser_new_src/expected_output/
Dcom_github_javaparser_ast_stmt_AssertStmt.txt3 …Line 47) setMessage(msg) ==> com.github.javaparser.ast.stmt.AssertStmt.setMessage(com.github.javap…
5 …Line 54) setMessage(msg) ==> com.github.javaparser.ast.stmt.AssertStmt.setMessage(com.github.javap…
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javaparser_src/proper_source/com/github/javaparser/ast/stmt/
DAssertStmt.java46 setMessage(msg); in AssertStmt()
54 setMessage(msg); in AssertStmt()
79 public void setMessage(final Expression msg) { in setMessage() method in AssertStmt
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javaparser_new_src/javaparser-core/com/github/javaparser/ast/stmt/
DAssertStmt.java47 setMessage(msg); in AssertStmt()
54 setMessage(msg); in AssertStmt()
80 public AssertStmt setMessage(final Expression msg) { in setMessage() method in AssertStmt
/external/cldr/tools/cldr-unittest/src/org/unicode/cldr/unittest/
DCheckResult.java50 public CheckResult setMessage(String msg, Object[] args) { in setMessage() method in CheckResult
95 result.setMessage(msgSuccess, objSuccess); in create()
97 result.setMessage(msgFail, objFail); in create()
/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/ast/stmt/
DAssertStmt.java72 setMessage(message); in AssertStmt()
119 public AssertStmt setMessage(final Expression message) { in setMessage() method in AssertStmt
147 return setMessage((Expression) null); in removeMessage()
173 setMessage((Expression) replacementNode); in replace()
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
DShadowAlertDialogTest.java47 builder.setTitle("title").setMessage("message"); in testBuilder()
66 .setMessage(null); in nullTitleAndMessageAreOkay()
103 builder.setTitle("title").setMessage("message"); in testSetMessageAfterCreation()
109 alert.setMessage("new message"); in testSetMessageAfterCreation()
112 alert.setMessage(null); in testSetMessageAfterCreation()
119 builder.setTitle("title").setMessage(R.string.hello); in shouldSetMessageFromResourceId()
295 .setMessage("Another dialog") in shouldNotExplodeWhenNestingAlerts()
301 .setMessage("A dialog") in shouldNotExplodeWhenNestingAlerts()
DShadowProgressDialogTest.java39 dialog.setMessage(message); in shouldPutTheMessageIntoTheView()
87 dialog.setMessage(message); in horizontalStyle_shouldGetMessage()
98 dialog.setMessage(message); in spinnerStyle_shouldGetMessage()
/external/dagger2/javatests/dagger/grpc/functional/server/
DFriendlyBarista.java61 response.setMessage("All yours!"); in clientStreamingGetCoffee()
88 responseObserver.onNext(CoffeeResponse.newBuilder().setMessage("We're done.").build()); in bidiStreamingGetCoffee()
104 return CoffeeResponse.newBuilder().addAllCup(types).setMessage(message).build();
/external/protobuf/java/core/src/test/java/com/google/protobuf/
DSingleFieldBuilderV3Test.java74 builder.setMessage(TestAllTypes.newBuilder().setOptionalInt32(0).build()); in testSetMessage()
96 builder.setMessage(TestAllTypes.newBuilder().setOptionalInt32(0).build()); in testClear()
124 builder.setMessage(TestAllTypes.newBuilder().setOptionalInt32(10).buildPartial()); in testMerge()
/external/grpc-grpc-java/examples/src/test/java/io/grpc/examples/routeguide/
DRouteGuideServerTest.java210 RouteNote n1 = RouteNote.newBuilder().setLocation(p1).setMessage("m1").build(); in routeChat()
211 RouteNote n2 = RouteNote.newBuilder().setLocation(p2).setMessage("m2").build(); in routeChat()
212 RouteNote n3 = RouteNote.newBuilder().setLocation(p1).setMessage("m3").build(); in routeChat()
213 RouteNote n4 = RouteNote.newBuilder().setLocation(p2).setMessage("m4").build(); in routeChat()
214 RouteNote n5 = RouteNote.newBuilder().setLocation(p1).setMessage("m5").build(); in routeChat()
215 RouteNote n6 = RouteNote.newBuilder().setLocation(p1).setMessage("m6").build(); in routeChat()
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javaparser_src/expected_output/
Dcom_github_javaparser_ast_stmt_AssertStmt.txt9 Line 46) setMessage(msg) ==> void
15 Line 54) setMessage(msg) ==> void
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowAlertController.java50 public void setMessage(CharSequence message) { in setMessage() method in ShadowAlertController
52 directlyOn(realAlertController, AlertController.class).setMessage(message); in setMessage()
/external/protobuf/java/compatibility_tests/v2.5.0/tests/src/main/java/com/google/protobuf/test/
DWireFormatTest.java343 .setMessage( in testParseMessageSetWithFlag()
351 .setMessage( in testParseMessageSetWithFlag()
359 .setMessage(ByteString.copyFromUtf8("bar")) in testParseMessageSetWithFlag()
408 .setMessage( in testParseMessageSetExtensionWithFlag()
447 .setMessage( in testMergeLazyMessageSetExtensionWithFlag()

1234567