Home
last modified time | relevance | path

Searched refs:message (Results 1 – 25 of 61) sorted by relevance

123

/art/test/082-inline-execute/src/junit/framework/
DAssert.java18 static public void assertTrue(String message, boolean condition) { in assertTrue() argument
20 fail(message); in assertTrue()
33 static public void assertFalse(String message, boolean condition) { in assertFalse() argument
34 assertTrue(message, !condition); in assertFalse()
46 static public void fail(String message) { in fail() argument
47 if (message == null) { in fail()
50 throw new AssertionFailedError(message); in fail()
62 static public void assertEquals(String message, Object expected, Object actual) { in assertEquals() argument
67 failNotEquals(message, expected, actual); in assertEquals()
79 static public void assertEquals(String message, String expected, String actual) { in assertEquals() argument
[all …]
DAssertionFailedError.java13 public AssertionFailedError(String message) { in AssertionFailedError() argument
14 super(defaultString(message)); in AssertionFailedError()
17 private static String defaultString(String message) { in defaultString() argument
18 return message == null ? "" : message; in defaultString()
DComparisonCompactor.java25 public String compact(String message) { in compact() argument
29 return format(message, fExpected, fActual); in compact()
36 return format(message, expected, actual); in compact()
81 private static String format(String message, Object expected, Object actual) { in format() argument
83 if (message != null && message.length() > 0) in format()
84 formatted= message+" "; in format()
DComparisonFailure.java21 public ComparisonFailure (String message, String expected, String actual) { in ComparisonFailure() argument
22 super (message); in ComparisonFailure()
/art/test/021-string2/src/junit/framework/
DAssert.java18 static public void assertTrue(String message, boolean condition) { in assertTrue() argument
20 fail(message); in assertTrue()
33 static public void assertFalse(String message, boolean condition) { in assertFalse() argument
34 assertTrue(message, !condition); in assertFalse()
46 static public void fail(String message) { in fail() argument
47 if (message == null) { in fail()
50 throw new AssertionFailedError(message); in fail()
62 static public void assertEquals(String message, Object expected, Object actual) { in assertEquals() argument
67 failNotEquals(message, expected, actual); in assertEquals()
79 static public void assertEquals(String message, String expected, String actual) { in assertEquals() argument
[all …]
DAssertionFailedError.java13 public AssertionFailedError(String message) { in AssertionFailedError() argument
14 super(defaultString(message)); in AssertionFailedError()
17 private static String defaultString(String message) { in defaultString() argument
18 return message == null ? "" : message; in defaultString()
DComparisonCompactor.java25 public String compact(String message) { in compact() argument
29 return format(message, fExpected, fActual); in compact()
36 return format(message, expected, actual); in compact()
81 private static String format(String message, Object expected, Object actual) { in format() argument
83 if (message != null && message.length() > 0) in format()
84 formatted= message+" "; in format()
DComparisonFailure.java21 public ComparisonFailure (String message, String expected, String actual) { in ComparisonFailure() argument
22 super (message); in ComparisonFailure()
/art/test/407-arrays/src/
DTestCase.java38 public static void assertEquals(String message, int expected, int actual) { in assertEquals() argument
40 throw new AssertionError(message); in assertEquals()
50 public static void assertTrue(String message, boolean condition) { in assertTrue() argument
52 throw new AssertionError(message); in assertTrue()
60 public static void assertFalse(String message, boolean condition) { in assertFalse() argument
62 throw new AssertionError(message); in assertFalse()
95 String message, Object expected, Object actual) { in assertEquals() argument
97 throw new AssertionError(message); in assertEquals()
102 String message, long expected, long actual) { in assertEquals() argument
104 throw new AssertionError(message); in assertEquals()
[all …]
/art/test/406-fields/src/
DTestCase.java38 public static void assertEquals(String message, int expected, int actual) { in assertEquals() argument
40 throw new AssertionError(message); in assertEquals()
50 public static void assertTrue(String message, boolean condition) { in assertTrue() argument
52 throw new AssertionError(message); in assertTrue()
60 public static void assertFalse(String message, boolean condition) { in assertFalse() argument
62 throw new AssertionError(message); in assertFalse()
95 String message, Object expected, Object actual) { in assertEquals() argument
97 throw new AssertionError(message); in assertEquals()
102 String message, long expected, long actual) { in assertEquals() argument
104 throw new AssertionError(message); in assertEquals()
[all …]
/art/test/414-static-fields/src/
DTestCase.java38 public static void assertEquals(String message, int expected, int actual) { in assertEquals() argument
40 throw new AssertionError(message); in assertEquals()
50 public static void assertTrue(String message, boolean condition) { in assertTrue() argument
52 throw new AssertionError(message); in assertTrue()
60 public static void assertFalse(String message, boolean condition) { in assertFalse() argument
62 throw new AssertionError(message); in assertFalse()
95 String message, Object expected, Object actual) { in assertEquals() argument
97 throw new AssertionError(message); in assertEquals()
102 String message, long expected, long actual) { in assertEquals() argument
104 throw new AssertionError(message); in assertEquals()
[all …]
/art/test/412-new-array/src/
DTestCase.java38 public static void assertEquals(String message, int expected, int actual) { in assertEquals() argument
40 throw new AssertionError(message); in assertEquals()
50 public static void assertTrue(String message, boolean condition) { in assertTrue() argument
52 throw new AssertionError(message); in assertTrue()
60 public static void assertFalse(String message, boolean condition) { in assertFalse() argument
62 throw new AssertionError(message); in assertFalse()
95 String message, Object expected, Object actual) { in assertEquals() argument
97 throw new AssertionError(message); in assertEquals()
102 String message, long expected, long actual) { in assertEquals() argument
104 throw new AssertionError(message); in assertEquals()
[all …]
/art/cmdline/
Dcmdline_parse_result.h34 static CmdlineParseResult Usage(const std::string& message) { in Usage()
35 return CmdlineParseResult(kUsage, message); in Usage()
44 static CmdlineParseResult<T> Failure(const std::string& message) { in Failure()
45 return CmdlineParseResult(kFailure, message); in Failure()
65 static CmdlineParseResult<T> OutOfRange(const std::string& message) { in OutOfRange()
66 return CmdlineParseResult(kOutOfRange, message); in OutOfRange()
Dcmdline_result.h56 CmdlineResult(Status status, const std::string& message) in CmdlineResult()
57 : status_(status), message_(message) { in CmdlineResult()
62 CmdlineResult(Status status, std::string&& message) in CmdlineResult()
63 : status_(status), message_(message) { in CmdlineResult()
/art/compiler/optimizing/
Dregister_allocator.cc152 std::ostringstream message; in ValidateIntervals() local
153 message << "Spill slot conflict at " << j; in ValidateIntervals()
154 LOG(FATAL) << message.str(); in ValidateIntervals()
177 std::ostringstream message; in ValidateIntervals() local
178 message << "Register conflict at " << j << " "; in ValidateIntervals()
180 message << "(" << defined_by->DebugName() << ")"; in ValidateIntervals()
182 message << "for "; in ValidateIntervals()
184 codegen.DumpCoreRegister(message, current->GetRegister()); in ValidateIntervals()
186 codegen.DumpFloatingPointRegister(message, current->GetRegister()); in ValidateIntervals()
192 message << std::endl; in ValidateIntervals()
[all …]
/art/test/712-varhandle-invocations/src/
DVarHandleUnitTest.java120 private void failNotEquals(String message, Object expected, Object actual) { in failNotEquals() argument
122 .append(message) in failNotEquals()
132 private void fail(String message) { in fail() argument
133 errorLog().append(message).append(" in ").append(getSourceInfo()).append('\n'); in fail()
136 private void fail(String message, String detail) { in fail() argument
138 .append(message) in fail()
146 private void fail(String message, Exception e) { in fail() argument
148 .append(message) in fail()
/art/test/036-finalizer/
Dexpected.txt1 wimp: [FinalizerTest message=wahoo, finalized=false]
7 reborn: [FinalizerTest message=wahoo, finalized=true]
12 reborn: [FinalizerTest message=nothing, finalized=false]
/art/test/098-ddmc/
Dexpected.txt2 …=Allocations[message header len: 15 entry header len: 9 stack frame len: 8 number of entries: 0 of…
14 …=Allocations[message header len: 15 entry header len: 9 stack frame len: 8 number of entries: 0 of…
23 …=Allocations[message header len: 15 entry header len: 9 stack frame len: 8 number of entries: 0 of…
/art/libartbase/base/
Dlogging.cc103 const char* message) { in LogLineLowStack() argument
114 2 /* "] " */ + strlen(message) + 1 /* terminating 0 */; in LogLineLowStack()
118 snprintf(buf, buf_size, "%s:%u] %s", file, line, message); in LogLineLowStack()
122 android_writeLog(priority, tag, message); in LogLineLowStack()
140 TEMP_FAILURE_RETRY(write(STDERR_FILENO, message, strlen(message))); in LogLineLowStack()
/art/test/036-finalizer/src/
DMain.java177 private final String message; field in Main.FinalizerTest
180 public FinalizerTest(String message) { in FinalizerTest() argument
181 this.message = message; in FinalizerTest()
185 return "[FinalizerTest message=" + message + in toString()
/art/test/156-register-dex-file-multi-loader/src/
DMain.java79 String message = cnfe.getCause().getMessage(); in main()
80 unexpected = !message.startsWith("Attempt to register dex file ") || in main()
81 !message.endsWith(" with multiple class loaders"); in main()
/art/test/647-jni-get-field-id/
Dexpected.txt26 Error message for Bad/Class: Invalid descriptor: Bad/Class.
27 Error message for Bad.Class: Invalid descriptor: Bad.Class.
28 Error message for LBad.Class;: Invalid descriptor: LBad.Class;.
/art/tools/class2greylist/src/com/android/class2greylist/
DStatus.java45 public void error(String message, Object... args) { in error() argument
47 System.err.println(String.format(Locale.US, message, args)); in error()
DAnnotatedClassContext.java45 public void reportError(String message, Object... args) { in reportError() argument
49 .format(Locale.US, message, args); in reportError()
DAnnotatedMemberContext.java50 public void reportError(String message, Object... args) { in reportError() argument
55 .format(Locale.US, message, args); in reportError()

123