Home
last modified time | relevance | path

Searched refs:expected (Results 1 – 25 of 44) sorted by relevance

12

/development/tools/logblame/
Dtest_logs.py11 expected = [ logs.LogLine(None, "03-29 00:46:58.872", "1000", "1815", "1816", "I", "",
16 check_parsing(expected, text)
21 expected = [ logs.LogLine(None, "03-29 00:46:58.872", "1000", "1815", "1816", "I", "",
25 check_parsing(expected, text)
31 expected = [ logs.LogLine(None, "03-29 00:46:58.872", "1000", "1815", "1816", "I", "abcd",
38 check_parsing(expected, text)
43 expected = [ logs.LogLine(None, "03-29 00:46:58.872", "1000", "1815", "1816", "I", "abcd",
51 check_parsing(expected, text)
56 expected = [ logs.LogLine(None, "03-29 00:46:58.872", "1000", "1815", "1816", "I", "abcd",
63 check_parsing(expected, text)
[all …]
Dtest_ps.py17 expected = [
25 if actual != expected:
27 print expected
55 expected = [
62 if actual != expected:
64 print expected
Dtest_analyze.py6 def test_ParseDuration(s, expected): argument
8 if actual != expected:
9 raise Exception("expected %s, actual %s" % (expected, actual))
/development/tools/winscope/src/viewers/common/
Dproperties_tree_generator_test.ts25 const expected: PropertiesTreeNode = { constant
30 expect(actual).toEqual(expected);
37 const expected: PropertiesTreeNode = { constant
42 expect(actual).toEqual(expected);
49 const expected: PropertiesTreeNode = { constant
54 expect(actual).toEqual(expected);
61 const expected: PropertiesTreeNode = { constant
66 expect(actual).toEqual(expected);
73 const expected: PropertiesTreeNode = { constant
78 expect(actual).toEqual(expected);
[all …]
Dtree_generator_test.ts55 const expected: HierarchyTreeNode = new HierarchyTreeBuilder() constant
80 expect(generator.generateTree()).toEqual(expected);
84 const expected: HierarchyTreeNode = new HierarchyTreeBuilder() constant
118 expect(tree).toEqual(expected);
148 const expected: HierarchyTreeNode = new HierarchyTreeBuilder() constant
191 expect(newDiffTree).toEqual(expected);
/development/tools/checkcolor/src/test/java/com/google/checkcolor/lint/
DHardcodedColorDetectorTest.java57 …String expected = "res/layout/selector.xml:4: Error: Using hardcoded colors is not allowed [Hardco…
68 assertEquals(expected, result);
73 …String expected = "res/layout/layout_battery.xml:13: Error: Using hardcoded colors is not allowed …
106 assertEquals(expected, result);
111 …String expected = "res/values/pxsp.xml:6: Error: Using hardcoded colors is not allowed [HardcodedC…
127 assertEquals(expected, result);
132 …String expected = "res/values/colors.xml:3: Error: Using hardcoded colors is not allowed [Hardcode…
167 assertEquals(expected, result);
172 …String expected = "res/values/colors.xml:3: Error: Using hardcoded colors is not allowed [Hardcode…
181 assertEquals(expected, result);
[all …]
/development/tools/winscope/src/parsers/
Dparser_surface_flinger_dump_test.ts38 const expected = [new Timestamp(TimestampType.ELAPSED, 0n)]; constant
39 expect(parser.getTimestamps(TimestampType.ELAPSED)).toEqual(expected);
43 const expected = [new Timestamp(TimestampType.REAL, 0n)]; constant
44 expect(parser.getTimestamps(TimestampType.REAL)).toEqual(expected);
67 const expected = [new Timestamp(TimestampType.ELAPSED, 0n)]; constant
68 expect(parser.getTimestamps(TimestampType.ELAPSED)).toEqual(expected);
Dparser_transitions_wm_test.ts40 const expected = [ constant
45 expect(timestamps.slice(0, 3)).toEqual(expected);
49 const expected = [ constant
59 expect(timestamps.slice(0, 3)).toEqual(expected);
Dparser_transitions_shell_test.ts40 const expected = [ constant
45 expect(timestamps.slice(0, 3)).toEqual(expected);
49 const expected = [ constant
59 expect(timestamps.slice(0, 3)).toEqual(expected);
Dparser_window_manager_dump_test.ts34 const expected = [new Timestamp(TimestampType.ELAPSED, 0n)]; constant
35 expect(parser.getTimestamps(TimestampType.ELAPSED)).toEqual(expected);
39 const expected = [new Timestamp(TimestampType.REAL, 0n)]; constant
40 expect(parser.getTimestamps(TimestampType.REAL)).toEqual(expected);
Dparser_window_manager_test.ts35 const expected = [ constant
40 expect(parser.getTimestamps(TimestampType.ELAPSED)!.slice(0, 3)).toEqual(expected);
44 const expected = [ constant
49 expect(parser.getTimestamps(TimestampType.REAL)!.slice(0, 3)).toEqual(expected);
77 const expected = [ constant
82 expect(parser.getTimestamps(TimestampType.ELAPSED)).toEqual(expected);
Dtraces_parser_transitions_test.ts42 const expected = [ constant
47 expect(timestamps.slice(0, 3)).toEqual(expected);
51 const expected = [ constant
61 expect(timestamps.slice(0, 3)).toEqual(expected);
Dtraces_parser_cujs_test.ts39 const expected = [ constant
44 expect(timestamps.slice(0, 3)).toEqual(expected);
48 const expected = [ constant
58 expect(timestamps.slice(0, 3)).toEqual(expected);
Dparser_view_capture_test.ts35 const expected = [ constant
40 expect(parser.getTimestamps(TimestampType.ELAPSED)!.slice(0, 3)).toEqual(expected);
44 const expected = [ constant
49 expect(parser.getTimestamps(TimestampType.REAL)!.slice(0, 3)).toEqual(expected);
Dparser_transactions_test.ts38 const expected = [ constant
43 expect(timestamps.slice(0, 3)).toEqual(expected);
51 const expected = [ constant
56 expect(timestamps.slice(0, 3)).toEqual(expected);
97 const expected = [ constant
102 expect(timestamps.slice(0, 3)).toEqual(expected);
Dparser_input_method_service_test.ts36 const expected = [new Timestamp(TimestampType.ELAPSED, 16578752896n)]; constant
37 expect(parser.getTimestamps(TimestampType.ELAPSED)).toEqual(expected);
41 const expected = [new Timestamp(TimestampType.REAL, 1659107091180519857n)]; constant
42 expect(parser.getTimestamps(TimestampType.REAL)).toEqual(expected);
Dparser_screen_recording_test.ts40 const expected = [ constant
45 expect(timestamps.slice(0, 3)).toEqual(expected);
53 const expected = [ constant
58 expect(timestamps.slice(0, 3)).toEqual(expected);
Dparser_accessibility_test.ts34 const expected = [ constant
39 expect(parser.getTimestamps(TimestampType.ELAPSED)!.slice(0, 3)).toEqual(expected);
43 const expected = [ constant
48 expect(parser.getTimestamps(TimestampType.REAL)!.slice(0, 3)).toEqual(expected);
Dparser_screen_recording_legacy_test.ts40 let expected = [ variable
45 expect(timestamps.slice(0, 3)).toEqual(expected);
47 expected = [
52 expect(timestamps.slice(timestamps.length - 3, timestamps.length)).toEqual(expected);
Dparser_input_method_clients_test.ts38 const expected = [ constant
43 expect(parser.getTimestamps(TimestampType.ELAPSED)!.slice(0, 3)).toEqual(expected);
47 const expected = [ constant
52 expect(parser.getTimestamps(TimestampType.REAL)!.slice(0, 3)).toEqual(expected);
Dparser_protolog_test.ts61 const expected = [ constant
66 expect(timestamps.slice(0, 3)).toEqual(expected);
73 const expected = [ constant
78 expect(timestamps.slice(0, 3)).toEqual(expected);
/development/samples/ApiDemos/tests/src/com/example/android/apis/os/
DMorseCodeConverterTest.java46 private void assertArraysEqual(long[] expected, long[] actual) { in assertArraysEqual() argument
47 assertEquals("Unexpected array length.", expected.length, actual.length); in assertArraysEqual()
48 for (int i = 0; i < expected.length; i++) { in assertArraysEqual()
49 long expectedLong = expected[i]; in assertArraysEqual()
/development/tools/repo_diff/service/repodiff/mappers/
Dmappers_test.go17 expected := e.DiffRow{
29 assert.Equal(t, expected, *diffRow, "Entities should be identical")
37 expected := e.CommitRow{
45 assert.Equal(t, expected, *commitRow, "Entities should be identical")
58 expected := []interface{}{
64 assert.Equal(t, expected, cols, "Columns should be equal")
/development/tools/mkstubs/tests/com/android/mkstubs/sourcer/
DTestHelper.java29 public void assertSourceEquals(String expected, String actual) { in assertSourceEquals() argument
30 String en = expected.replaceAll("[\\s]+", " ").trim(); in assertSourceEquals()
34 … String.format("Source comparison failure: expected:<%s> but was:<%s>", expected, actual), in assertSourceEquals()
/development/tools/repo_diff/service/repodiff/interactors/
Dstrings_test.go66 expected := []string{
70 assert.Equal(t, expected, diff, "Discard of s2 from s1")
84 expected := []string{
91 assert.Equal(t, expected, union, "Union of s2 and s1")

12