Searched refs:expect (Results 1 - 25 of 441) sorted by relevance

1234567891011>>

/external/antlr/antlr-3.4/gunit/src/main/java/org/antlr/gunit/
H A DReturnTest.java61 String expect = retval.getText();
63 if ( expect.charAt(0)=='"' && expect.charAt(expect.length()-1)=='"' ) {
64 expect = expect.substring(1, expect.length()-1);
67 return expect;
/external/chromium-trace/trace-viewer/tracing/third_party/gl-matrix/spec/gl-matrix/
H A Dvec4-spec.js31 it("should return a 4 element array initialized to 0s", function() { expect(result).toBeEqualish([0, 0, 0, 0]); });
36 it("should return a 4 element array initialized to the values in vecA", function() { expect(result).toBeEqualish(vecA); });
41 it("should return a 4 element array initialized to the values passed", function() { expect(result).toBeEqualish([1, 2, 3, 4]); });
46 it("should place values into out", function() { expect(out).toBeEqualish([1, 2, 3, 4]); });
47 it("should return out", function() { expect(result).toBe(out); });
52 it("should place values into out", function() { expect(out).toBeEqualish([1, 2, 3, 4]); });
53 it("should return out", function() { expect(result).toBe(out); });
60 it("should place values into out", function() { expect(out).toBeEqualish([6, 8, 10, 12]); });
61 it("should return out", function() { expect(result).toBe(out); });
62 it("should not modify vecA", function() { expect(vec
[all...]
H A Dvec2-spec.js30 it("should return a 2 element array initialized to 0s", function() { expect(result).toBeEqualish([0, 0]); });
35 it("should return a 2 element array initialized to the values in vecA", function() { expect(result).toBeEqualish(vecA); });
40 it("should return a 2 element array initialized to the values passed", function() { expect(result).toBeEqualish([1, 2]); });
45 it("should place values into out", function() { expect(out).toBeEqualish([1, 2]); });
46 it("should return out", function() { expect(result).toBe(out); });
51 it("should place values into out", function() { expect(out).toBeEqualish([1, 2]); });
52 it("should return out", function() { expect(result).toBe(out); });
59 it("should place values into out", function() { expect(out).toBeEqualish([4, 6]); });
60 it("should return out", function() { expect(result).toBe(out); });
61 it("should not modify vecA", function() { expect(vec
[all...]
H A Dmat2-spec.js42 it("should return a 4 element array initialized to a 2x2 identity matrix", function() { expect(result).toBeEqualish(identity); });
47 it("should return a 4 element array initialized to the values in matA", function() { expect(result).toBeEqualish(matA); });
52 it("should place values into out", function() { expect(out).toBeEqualish(matA); });
53 it("should return out", function() { expect(result).toBe(out); });
58 it("should place values into out", function() { expect(result).toBeEqualish(identity); });
59 it("should return out", function() { expect(result).toBe(out); });
66 it("should place values into out", function() { expect(out).toBeEqualish([1, 3, 2, 4]); });
67 it("should return out", function() { expect(result).toBe(out); });
68 it("should not modify matA", function() { expect(matA).toBeEqualish([1, 2, 3, 4]); });
74 it("should place values into matA", function() { expect(mat
[all...]
H A Dquat-spec.js45 it("should return out", function() { expect(result).toBe(out); });
47 expect(result).toBeEqualish([0, 0.707106, 0, 0.707106]);
56 it("should return out", function() { expect(result).toBe(out); });
58 expect(result).toBeEqualish([0, 0, 0, 1]);
69 expect(result).toBeEqualish([0,0,0,-1]);
78 it("should return out", function() { expect(result).toBe(out); });
80 expect(result).toBeEqualish([1, 0, 0, 0]);
90 it("should return out", function() { expect(result).toBe(out); });
93 expect(vec).toBeEqualish([0, 1, 0]);
102 it("should return out", function() { expect(resul
[all...]
H A Dmat3-spec.js55 it("should return out", function() { expect(result).toBe(out); });
66 expect(result).toBeEqualish([1, 0, 0,
79 expect(result).toBeEqualish([0.5, 0, 0,
95 it("should return out", function() { expect(result).toBe(out); });
98 expect(vec3.transformMat3([], [0,0,-1], out)).toBeEqualish(vec3.transformQuat([], [0,0,-1], q));
102 expect(vec3.transformMat3([], [0,0,-1], out)).toBeEqualish([1,0,0]);
113 it("should return out", function() { expect(result).toBe(out); });
116 expect(out).toBeEqualish([ 1, 2, 3,
124 it("should return out", function() { expect(result).toBe(out); });
126 expect(ou
[all...]
H A Dvec3-spec.js33 it("should return the rotated vector", function(){ expect(result).toBeEqualish([0, -1, 0]); });
37 it("should return the rotated vector", function(){ expect(result).toBeEqualish([2, 3, 0]); });
44 it("should return the rotated vector", function(){ expect(result).toBeEqualish([-1, 0, 0]); });
48 it("should return the rotated vector", function(){ expect(result).toBeEqualish([-6, 3, 10]); });
55 it("should return the rotated vector", function(){ expect(result).toBeEqualish([0, -1, 0]); });
59 it("should return the rotated vector", function(){ expect(result).toBeEqualish([0, -6, -5]); });
71 expect(out).toBeEqualish([1, 2, 3]);
74 it("should return out", function() { expect(result).toBe(out); });
83 expect(out).toBeEqualish([ 4, -4, -4 ]);
86 it("should return out", function() { expect(resul
[all...]
H A Dmat2d-spec.js54 it("should return a 6 element array initialized to a 2x3 identity matrix", function() { expect(result).toBeEqualish(identity); });
59 it("should return a 6 element array initialized to the values in matA", function() { expect(result).toBeEqualish(matA); });
64 it("should place values into out", function() { expect(out).toBeEqualish(matA); });
65 it("should return out", function() { expect(result).toBe(out); });
70 it("should place values into out", function() { expect(result).toBeEqualish(identity); });
71 it("should return out", function() { expect(result).toBe(out); });
78 it("should place values into out", function() { expect(out).toBeEqualish([ -2, 1, 1.5, -0.5, 1, -2 ]); });
79 it("should return out", function() { expect(result).toBe(out); });
80 it("should not modify matA", function() { expect(matA).toBeEqualish(oldA); });
86 it("should place values into matA", function() { expect(mat
[all...]
/external/lldb/test/pexpect-2.4/examples/
H A Dftp.py13 child.expect('(?i)name .*: ')
15 child.expect('(?i)password')
17 child.expect('ftp> ')
19 child.expect('ftp> ')
21 child.expect('ftp> ')
23 child.expect('ftp> ')
25 child.expect('ftp> ')
/external/lldb/test/functionalities/data-formatter/data-formatter-smart-array/
H A DTestDataFormatterSmartArray.py43 self.expect("thread list", STOPPED_DUE_TO_BREAKPOINT,
59 self.expect("frame variable data",
64 self.expect("frame variable strptr",
68 self.expect("frame variable other.strptr",
74 self.expect("frame variable strarr",
78 self.expect("frame variable other.strarr",
82 self.expect("p strarr",
86 self.expect("p other.strarr",
93 self.expect("frame variable strptr",
97 self.expect("fram
[all...]
/external/lldb/test/functionalities/abbreviation/
H A DTestAbbreviations.py16 self.expect("ap script",
27 self.expect("gurp target create",
30 self.expect("gurp",
35 self.expect("h",
45 self.expect("t",
50 self.expect("com sou ./change_prompt.lldb",
53 self.expect("settings show prompt",
58 self.expect("settings show prompt",
62 self.expect("lo li",
66 self.expect("s
[all...]
/external/lldb/test/functionalities/data-formatter/data-formatter-stl/libcxx/map/
H A DTestDataFormatterLibccMap.py42 self.expect("thread list", STOPPED_DUE_TO_BREAKPOINT,
58 self.expect('image list',substrs=['libc++.1.dylib','libc++abi.dylib'])
62 self.expect('frame variable ii',
68 self.expect('frame variable ii',
79 self.expect('frame variable ii',
90 self.expect("frame variable ii",
99 self.expect("p ii",
109 self.expect("frame variable ii[0]",
112 self.expect("frame variable ii[3]",
124 #self.expect("expressio
[all...]
/external/lldb/test/functionalities/data-formatter/data-formatter-stl/libcxx/multimap/
H A DTestDataFormatterLibccMultiMap.py42 self.expect("thread list", STOPPED_DUE_TO_BREAKPOINT,
58 self.expect('image list',substrs=['libc++.1.dylib','libc++abi.dylib'])
62 self.expect('frame variable ii',
68 self.expect('frame variable ii',
79 self.expect('frame variable ii',
90 self.expect("frame variable ii",
99 self.expect("p ii",
109 self.expect("frame variable ii[0]",
112 self.expect("frame variable ii[3]",
124 #self.expect("expressio
[all...]
/external/lldb/test/functionalities/data-formatter/data-formatter-synth/
H A DTestDataFormatterSynth.py43 self.expect("thread list", STOPPED_DUE_TO_BREAKPOINT,
59 self.expect("frame variable int_bag",
65 self.expect('frame variable int_bag',
69 self.expect("frame variable int_bag", matching=False,
74 self.expect("frame variable int_bag --synthetic-type false --no-summary-depth=1",
80 self.expect("frame variable int_bag --raw-output",
87 self.expect('frame variable int_bag',
94 self.expect('frame variable int_bag',
100 self.expect("frame variable int_bag --no-summary-depth=1",
106 self.expect("fram
[all...]
/external/lldb/test/functionalities/data-formatter/rdar-3534688/
H A DTestFormattersOneIsSingular.py45 self.expect("thread list", STOPPED_DUE_TO_BREAKPOINT,
60 self.expect('frame variable key',
62 self.expect('frame variable key', matching=False,
64 self.expect('frame variable value',
66 self.expect('frame variable value', matching=False,
68 self.expect('frame variable dict',
70 self.expect('frame variable dict', matching=False,
72 self.expect('frame variable mutable_bag_ref',
74 self.expect('frame variable mutable_bag_ref', matching=False,
76 self.expect('fram
[all...]
/external/lldb/test/functionalities/data-formatter/data-formatter-script/
H A DTestDataFormatterScript.py43 self.expect("thread list", STOPPED_DUE_TO_BREAKPOINT,
61 self.expect("frame variable one",
65 self.expect("frame variable two",
71 self.expect("frame variable three",
77 self.expect("frame variable two",
86 self.expect("frame variable two",
89 self.expect("frame variable twoptr",
95 self.expect("frame variable two",
99 self.expect("frame variable twoptr",
106 self.expect("fram
[all...]
/external/lldb/test/functionalities/data-formatter/data-formatter-stl/libstdcpp/vector/
H A DTestDataFormatterStdVector.py47 self.expect("thread list", STOPPED_DUE_TO_BREAKPOINT,
64 self.expect("frame variable numbers",
70 self.expect("frame variable numbers",
78 self.expect("frame variable numbers",
86 self.expect("p numbers",
97 self.expect('frame variable numbers',
103 self.expect('frame variable numbers',
112 self.expect("frame variable numbers",
123 self.expect("p numbers",
135 self.expect("fram
[all...]
/external/lldb/test/expression_command/persistent_variables/
H A DTestPersistentVariables.py26 self.expect("expression $i == i",
29 self.expect("expression $i + 1",
32 self.expect("expression $i + 3",
35 self.expect("expression $2 + $1",
38 self.expect("expression $3",
41 self.expect("expression $2",
44 self.expect("expression (int)-2",
47 self.expect("expression $4 > (int)31",
50 self.expect("expression (long)$4",
/external/lldb/test/functionalities/data-formatter/data-formatter-stl/libcxx/vector/
H A DTestDataFormatterLibcxxVector.py46 self.expect("thread list", STOPPED_DUE_TO_BREAKPOINT,
63 self.expect("frame variable numbers",
69 self.expect("frame variable numbers",
77 self.expect("frame variable numbers",
85 self.expect("p numbers",
96 self.expect('frame variable numbers',
100 self.expect('frame variable numbers',
109 self.expect("frame variable numbers",
120 self.expect("p numbers",
132 self.expect("fram
[all...]
/external/lldb/test/functionalities/command_script/
H A DTestCommandScript.py28 self.expect("file " + exe,
55 self.expect('welcome Enrico',
58 self.expect("help welcome",
62 self.expect("help",
66 self.expect("help -a",
70 self.expect("help -u", matching=False,
76 self.expect('welcome Enrico', matching=False, error=True,
79 self.expect('targetname',
82 self.expect('targetname fail', error=True,
85 self.expect('comman
[all...]
/external/lldb/test/lang/objc/objc-new-syntax/
H A DTestObjCNewSyntax.py53 self.expect("thread list", STOPPED_DUE_TO_BREAKPOINT,
58 self.expect("breakpoint list -f", BREAKPOINT_HIT_ONCE,
67 self.expect("expr --object-description -- immutable_array[0]", VARIABLES_DISPLAYED_CORRECTLY,
70 self.expect("expr --object-description -- mutable_array[0]", VARIABLES_DISPLAYED_CORRECTLY,
73 self.expect("expr --object-description -- mutable_array[0] = @\"bar\"", VARIABLES_DISPLAYED_CORRECTLY,
76 self.expect("expr --object-description -- mutable_array[0]", VARIABLES_DISPLAYED_CORRECTLY,
79 self.expect("expr --object-description -- immutable_dictionary[@\"key\"]", VARIABLES_DISPLAYED_CORRECTLY,
82 self.expect("expr --object-description -- mutable_dictionary[@\"key\"]", VARIABLES_DISPLAYED_CORRECTLY,
85 self.expect("expr --object-description -- mutable_dictionary[@\"key\"] = @\"object\"", VARIABLES_DISPLAYED_CORRECTLY,
88 self.expect("exp
[all...]
/external/lldb/test/lang/objc/rdar-11355592/
H A DTestRdar11355592.py50 self.expect("frame variable my_string", substrs = ['const char *'])
51 self.expect("frame variable my_string --dynamic-type run-target", substrs = ['const char *'])
53 self.expect("expr my_string", substrs = ['const char *'])
54 self.expect("expr -d run -- my_string", substrs = ['const char *'])
56 self.expect("frame variable my_foolie", substrs = ['FoolMeOnce *'])
57 self.expect("frame variable my_foolie --dynamic-type run-target", substrs = ['FoolMeOnce *'])
59 self.expect("expr my_foolie", substrs = ['FoolMeOnce *'])
60 self.expect("expr -d run -- my_foolie", substrs = ['FoolMeOnce *'])
64 self.expect("frame variable my_string", substrs = ['const char *'])
65 self.expect("fram
[all...]
/external/lldb/test/functionalities/data-formatter/data-formatter-stl/libstdcpp/list/
H A DTestDataFormatterStdList.py46 self.expect("thread list", STOPPED_DUE_TO_BREAKPOINT,
66 self.expect("frame variable numbers_list --raw", matching=False,
69 self.expect("frame variable &numbers_list._M_impl._M_node --raw", matching=False,
73 self.expect("frame variable numbers_list",
77 self.expect("p numbers_list",
83 self.expect("frame variable numbers_list",
90 self.expect("frame variable numbers_list",
103 self.expect("frame variable numbers_list",
115 self.expect("p numbers_list",
128 self.expect("fram
[all...]
/external/lldb/test/functionalities/data-formatter/data-formatter-stl/libcxx/multiset/
H A DTestDataFormatterLibcxxMultiSet.py42 self.expect("thread list", STOPPED_DUE_TO_BREAKPOINT,
58 self.expect('image list',substrs=['libc++.1.dylib','libc++abi.dylib'])
60 self.expect("frame variable ii",substrs = ["size=0","{}"])
62 self.expect("frame variable ii",substrs = ["size=6","[0] = 0","[1] = 1", "[2] = 2", "[3] = 3", "[4] = 4", "[5] = 5"])
64 self.expect("frame variable ii",substrs = ["size=7","[2] = 2", "[3] = 3", "[6] = 6"])
65 self.expect("p ii",substrs = ["size=7","[2] = 2", "[3] = 3", "[6] = 6"])
66 self.expect("frame variable ii[2]",substrs = [" = 2"])
68 self.expect("frame variable ii",substrs = ["size=0","{}"])
70 self.expect("frame variable ii",substrs = ["size=0","{}"])
71 self.expect("fram
[all...]
/external/lldb/test/functionalities/data-formatter/data-formatter-stl/libcxx/set/
H A DTestDataFormatterLibcxxSet.py42 self.expect("thread list", STOPPED_DUE_TO_BREAKPOINT,
58 self.expect('image list',substrs=['libc++.1.dylib','libc++abi.dylib'])
60 self.expect("frame variable ii",substrs = ["size=0","{}"])
62 self.expect("frame variable ii",substrs = ["size=6","[0] = 0","[1] = 1", "[2] = 2", "[3] = 3", "[4] = 4", "[5] = 5"])
64 self.expect("frame variable ii",substrs = ["size=7","[2] = 2", "[3] = 3", "[6] = 6"])
65 self.expect("frame variable ii[2]",substrs = [" = 2"])
66 self.expect("p ii",substrs = ["size=7","[2] = 2", "[3] = 3", "[6] = 6"])
68 self.expect("frame variable ii",substrs = ["size=0","{}"])
70 self.expect("frame variable ii",substrs = ["size=0","{}"])
71 self.expect("fram
[all...]

Completed in 1773 milliseconds

1234567891011>>