/external/antlr/antlr-3.4/gunit/src/main/java/org/antlr/gunit/ |
H A D | ReturnTest.java | 61 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_org/gin/test/ |
H A D | file_unittests.js | 6 "gin/test/expect", 8 ], function(expect, file) { 15 expect(isString(rootDir)).toBeTruthy(); 18 expect(noArgsNull).toBeNull(); 21 expect(Array.isArray(files)).toBeTruthy(); 24 expect(nsdNull).toBeNull(); 27 expect(isString(owners)).toBeTruthy(); 28 expect(owners.length).toBeGreaterThan(0); 31 expect(noArgsNull).toBeNull(); 34 expect(nsfNul [all...] |
/external/chromium_org/tools/gyp/test/cflags/ |
H A D | gyptest-cflags.py | 28 expect = """FOO not defined\n""" 29 test.run_built_executable('cflags', stdout=expect) 30 test.run_built_executable('cflags_host', stdout=expect) 39 expect = """FOO defined\n""" 40 test.run_built_executable('cflags', stdout=expect) 43 expect = """FOO not defined\n""" 44 test.run_built_executable('cflags_host', stdout=expect) 52 expect = """FOO not defined\n""" 53 test.run_built_executable('cflags', stdout=expect) 61 expect [all...] |
/external/chromium-trace/trace-viewer/third_party/gl-matrix/spec/gl-matrix/ |
H A D | vec3-spec.js | 30 it("should return a 3 element array initialized to 0s", function() { expect(result).toBeEqualish([0, 0, 0]); }); 35 it("should return a 3 element array initialized to the values in vecA", function() { expect(result).toBeEqualish(vecA); }); 40 it("should return a 3 element array initialized to the values passed", function() { expect(result).toBeEqualish([1, 2, 3]); }); 45 it("should place values into out", function() { expect(out).toBeEqualish([1, 2, 3]); }); 46 it("should return out", function() { expect(result).toBe(out); }); 51 it("should place values into out", function() { expect(out).toBeEqualish([1, 2, 3]); }); 52 it("should return out", function() { expect(result).toBe(out); }); 59 it("should place values into out", function() { expect(out).toBeEqualish([5, 7, 9]); }); 60 it("should return out", function() { expect(result).toBe(out); }); 61 it("should not modify vecA", function() { expect(vec [all...] |
H A D | vec4-spec.js | 30 it("should return a 4 element array initialized to 0s", function() { expect(result).toBeEqualish([0, 0, 0, 0]); }); 35 it("should return a 4 element array initialized to the values in vecA", function() { expect(result).toBeEqualish(vecA); }); 40 it("should return a 4 element array initialized to the values passed", function() { expect(result).toBeEqualish([1, 2, 3, 4]); }); 45 it("should place values into out", function() { expect(out).toBeEqualish([1, 2, 3, 4]); }); 46 it("should return out", function() { expect(result).toBe(out); }); 51 it("should place values into out", function() { expect(out).toBeEqualish([1, 2, 3, 4]); }); 52 it("should return out", function() { expect(result).toBe(out); }); 59 it("should place values into out", function() { expect(out).toBeEqualish([6, 8, 10, 12]); }); 60 it("should return out", function() { expect(result).toBe(out); }); 61 it("should not modify vecA", function() { expect(vec [all...] |
H A D | mat2d-spec.js | 54 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...] |
H A D | mat4-spec.js | 51 it("should return a 16 element array initialized to a 4x4 identity matrix", function() { expect(result).toBeEqualish(identity); }); 56 it("should return a 16 element array initialized to the values in matA", function() { expect(result).toBeEqualish(matA); }); 61 it("should place values into out", function() { expect(out).toBeEqualish(matA); }); 62 it("should return out", function() { expect(result).toBe(out); }); 67 it("should place values into out", function() { expect(result).toBeEqualish(identity); }); 68 it("should return out", function() { expect(result).toBe(out); }); 76 expect(out).toBeEqualish([ 83 it("should return out", function() { expect(result).toBe(out); }); 85 expect(matA).toBeEqualish([ 98 expect(mat [all...] |
H A D | mat3-spec.js | 51 it("should return out", function() { expect(result).toBe(out); }); 54 expect(out).toBeEqualish([ 1, 2, 3, 62 it("should return a 9 element array initialized to a 3x3 identity matrix", function() { expect(result).toBeEqualish(identity); }); 67 it("should return a 9 element array initialized to the values in matA", function() { expect(result).toBeEqualish(matA); }); 72 it("should place values into out", function() { expect(out).toBeEqualish(matA); }); 73 it("should return out", function() { expect(result).toBe(out); }); 78 it("should place values into out", function() { expect(result).toBeEqualish(identity); }); 79 it("should return out", function() { expect(result).toBe(out); }); 87 expect(out).toBeEqualish([ 93 it("should return out", function() { expect(resul [all...] |
H A D | vec2-spec.js | 30 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 D | quat-spec.js | 30 it("should return a 4 element array initialized to an identity quaternion", function() { expect(result).toBeEqualish([0, 0, 0, 1]); }); 35 it("should return a 4 element array initialized to the values in quatA", function() { expect(result).toBeEqualish(quatA); }); 40 it("should return a 4 element array initialized to the values passed", function() { expect(result).toBeEqualish([1, 2, 3, 4]); }); 45 it("should place values into out", function() { expect(out).toBeEqualish([1, 2, 3, 4]); }); 46 it("should return out", function() { expect(result).toBe(out); }); 51 it("should place values into out", function() { expect(out).toBeEqualish([1, 2, 3, 4]); }); 52 it("should return out", function() { expect(result).toBe(out); }); 57 it("should place values into out", function() { expect(result).toBeEqualish([0, 0, 0, 1]); }); 58 it("should return out", function() { expect(result).toBe(out); }); 63 it("should place values into out", function() { expect(resul [all...] |
/external/lldb/test/pexpect-2.4/examples/ |
H A D | ftp.py | 13 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/chromium_org/tools/gyp/test/variables/filelist/ |
H A D | gyptest-filelist-golden.py | 18 expect = test.read('filelist.gyp.stdout') variable 20 expect = expect.replace('/', r'\\').replace('\r\n', '\n') variable 24 stdout=expect, ignore_line_numbers=True) 37 expect = test.read('filelist.gypd.golden').replace('\r', '') variable 38 if not test.match(contents, expect): 40 test.diff(expect, contents, 'src/filelist.gypd ') 44 expect = 'John\nJacob\nJingleheimer\nSchmidt\n' variable 45 if not test.match(contents, expect): 47 test.diff(expect, content [all...] |
/external/lldb/test/functionalities/data-formatter/data-formatter-smart-array/ |
H A D | TestDataFormatterSmartArray.py | 43 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/chromium_org/tools/gyp/test/variables/commands/ |
H A D | gyptest-commands-repeated.py | 16 expect = test.read('commands-repeated.gyp.stdout').replace('\r\n', '\n') variable 20 stdout=expect, ignore_line_numbers=True) 32 expect = test.read('commands-repeated.gypd.golden').replace('\r\n', '\n') variable 33 if not test.match(contents, expect): 35 test.diff(expect, contents, 'commands-repeated.gypd ')
|
H A D | gyptest-commands.py | 17 expect = test.read('commands.gyp.stdout').replace('\r', '') variable 21 stdout=expect, ignore_line_numbers=True) 33 expect = test.read('commands.gypd.golden').replace('\r', '') variable 34 if not test.match(contents, expect): 36 test.diff(expect, contents, 'commands.gypd ')
|
/external/lldb/test/functionalities/abbreviation/ |
H A D | TestAbbreviations.py | 16 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/chromium_org/mojo/public/js/bindings/ |
H A D | struct_unittests.js | 6 "gin/test/expect", 9 ], function(expect, 15 expect(r).toEqual(new rect.Rect({x:0, y:0, width:0, height:0})); 16 expect(r).toEqual(new rect.Rect({foo:100, bar:200})); 23 expect(rp.first).toEqual(r); 24 expect(rp.second).toEqual(r); 26 expect(new testStructs.RectPair({second: r}).first).toBeNull(); 29 expect(nr.name).toBeNull(); 30 expect(nr.rects).toBeNull(); 31 expect(n [all...] |
/external/lldb/test/functionalities/data-formatter/data-formatter-stl/libcxx/map/ |
H A D | TestDataFormatterLibccMap.py | 42 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 D | TestDataFormatterLibccMultiMap.py | 42 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 D | TestDataFormatterSynth.py | 43 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 D | TestFormattersOneIsSingular.py | 45 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/expression_command/persistent_variables/ |
H A D | TestPersistentVariables.py | 26 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-script/ |
H A D | TestDataFormatterScript.py | 43 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 D | TestDataFormatterStdVector.py | 47 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/functionalities/data-formatter/data-formatter-stl/libcxx/vector/ |
H A D | TestDataFormatterLibcxxVector.py | 46 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...] |