HomeSort by relevance Sort by last modified time
    Searched refs:expect (Results 76 - 100 of 1166) sorted by null

1 2 34 5 6 7 8 91011>>

  /external/libcxx/test/std/experimental/filesystem/fs.op.funcs/fs.op.space/
space.pass.cpp 70 const auto expect = static_cast<std::uintmax_t>(-1); local
74 TEST_CHECK(info.capacity == expect);
75 TEST_CHECK(info.free == expect);
76 TEST_CHECK(info.available == expect);
86 struct statvfs expect; local
87 TEST_REQUIRE(::statvfs(StaticEnv::Dir.c_str(), &expect) != -1);
88 TEST_CHECK(expect.f_bavail > 0);
89 TEST_CHECK(expect.f_bfree > 0);
90 TEST_CHECK(expect.f_bsize > 0);
91 TEST_CHECK(expect.f_blocks > 0)
    [all...]
  /tools/tradefederation/core/tests/src/com/android/tradefed/device/
ReconnectingRecoveryTest.java 47 EasyMock.expect(mMockMonitor.getSerialNumber()).andStubReturn(SERIAL);
57 EasyMock.expect(mMockMonitor.waitForDeviceOnline()).andReturn(mMockDevice);
58 EasyMock.expect(mMockMonitor.waitForDeviceShell(EasyMock.anyLong())).andReturn(true);
59 EasyMock.expect(mMockMonitor.waitForDeviceAvailable()).andReturn(mMockDevice);
72 EasyMock.expect(mMockMonitor.waitForDeviceOnline()).andReturn(null);
74 EasyMock.expect(mMockRunUtil.runTimedCmd(EasyMock.anyLong(), connectCommand())).andReturn(
76 EasyMock.expect(mMockMonitor.waitForDeviceOnline()).andReturn(mMockDevice);
77 EasyMock.expect(mMockMonitor.waitForDeviceShell(EasyMock.anyLong())).andReturn(true);
78 EasyMock.expect(mMockMonitor.waitForDeviceAvailable()).andReturn(mMockDevice);
90 EasyMock.expect(mMockMonitor.waitForDeviceOnline()).andStubReturn(null)
    [all...]
  /external/libcxx/test/std/experimental/filesystem/class.path/path.itr/
iterator.pass.cpp 87 const path expect[] = {"//root_name", "/", "first_dir", "second_dir"}; local
88 assert(checkCollectionsEqual(p.begin(), p.end(), std::begin(expect), std::end(expect)));
89 assert(checkCollectionsEqualBackwards(p.begin(), p.end(), std::begin(expect), std::end(expect)));
94 const path expect[] = {"/", "foo", "bar", "baz", "."}; local
95 assert(checkCollectionsEqual(p.begin(), p.end(), std::begin(expect), std::end(expect)));
96 assert(checkCollectionsEqualBackwards(p.begin(), p.end(), std::begin(expect), std::end(expect)));
    [all...]
  /toolchain/binutils/binutils-2.25/gas/testsuite/gas/xtensa/
all.exp 27 expect {
42 expect {
57 expect {
73 expect {
88 expect {
  /tools/tradefederation/core/tests/src/com/android/tradefed/util/
AbiFormatterTest.java 50 EasyMock.expect(device.getProperty("ro.product.cpu.abilist32")).andReturn(null);
51 EasyMock.expect(device.getProperty("ro.product.cpu.abi")).andReturn(null);
56 EasyMock.expect(device.getProperty(EasyMock.eq("ro.product.cpu.abilist32")))
62 EasyMock.expect(device.getProperty(EasyMock.eq("ro.product.cpu.abilist64"))).andReturn("");
63 EasyMock.expect(device.getProperty("ro.product.cpu.abi")).andReturn(null);
74 EasyMock.expect(device.getProperty("ro.product.cpu.abilist32")).andReturn("abi1,abi2");
81 EasyMock.expect(device.getProperty("ro.product.cpu.abilist32")).andReturn(null);
82 EasyMock.expect(device.getProperty("ro.product.cpu.abi")).andReturn("abi");
88 EasyMock.expect(device.getProperty("ro.product.cpu.abilist")).andReturn("");
89 EasyMock.expect(device.getProperty("ro.product.cpu.abi")).andReturn("abi")
    [all...]
  /external/libcxx/test/libcxx/utilities/function.objects/func.require/
bullet_4_5_6.pass.cpp 137 template <class Expect, class Fn, class T>
138 void runTestDispatch(Fn M, T& obj, ObjectType* expect) {
139 runTest<Expect &> (M, C_<T&>(obj), expect);
140 runTest<Expect const&> (M, C_<T const&>(obj), expect);
141 runTest<Expect volatile&> (M, C_<T volatile&>(obj), expect);
142 runTest<Expect const volatile&>(M, C_<T const volatile&>(obj), expect);
    [all...]
  /prebuilts/ndk/r13/sources/cxx-stl/llvm-libc++/test/libcxx/utilities/function.objects/func.require/
bullet_4_5_6.pass.cpp 137 template <class Expect, class Fn, class T>
138 void runTestDispatch(Fn M, T& obj, ObjectType* expect) {
139 runTest<Expect &> (M, C_<T&>(obj), expect);
140 runTest<Expect const&> (M, C_<T const&>(obj), expect);
141 runTest<Expect volatile&> (M, C_<T volatile&>(obj), expect);
142 runTest<Expect const volatile&>(M, C_<T const volatile&>(obj), expect);
    [all...]
  /tools/tradefederation/core/tests/src/com/android/tradefed/testtype/
GTestTest.java 56 EasyMock.expect(mMockITestDevice.getSerialNumber()).andStubReturn("serial");
93 EasyMock.expect(mMockITestDevice.doesFileExist(GTest.DEFAULT_NATIVETEST_PATH))
126 EasyMock.expect(mMockITestDevice.doesFileExist(nativeTestPath)).andReturn(true);
127 EasyMock.expect(mMockITestDevice.isDirectory(nativeTestPath)).andReturn(true);
128 EasyMock.expect(mMockITestDevice.isDirectory(nativeTestPath + "/test1")).andReturn(false);
130 EasyMock.expect(mMockITestDevice.executeShellCommand("ls -l " + testPath1))
132 EasyMock.expect(mMockITestDevice.isDirectory(nativeTestPath + "/test2")).andReturn(false);
133 EasyMock.expect(mMockITestDevice.executeShellCommand("ls -l " + testPath2))
136 EasyMock.expect(mMockITestDevice.getChildren(nativeTestPath)).andReturn(files);
161 EasyMock.expect(mMockITestDevice.doesFileExist(modulePath)).andReturn(true)
    [all...]
  /external/rootdev/
rootdev_test.sh 63 expect () { function
67 warn "expect: $1"
84 expect "$? -ne 0" || return 1
85 expect "-z '$out'" || return 1
110 expect "$? -eq 0" || return 1
111 expect "'$dev/sda1' = '$out'" || return 1
121 expect "$? -eq 0" || return 1
122 expect "'$dev/sda' = '$out'" || return 1
133 expect "$? -eq 1" || return 1
134 expect "'$dev/sda' = '$out'" || return
    [all...]
  /cts/common/host-side/tradefed/tests/src/com/android/compatibility/common/tradefed/targetprep/
SettingsPreparerTest.java 48 EasyMock.expect(mMockDevice.getDeviceDescriptor()).andReturn(null).anyTimes();
56 EasyMock.expect(mMockDevice.executeShellCommand(SHELL_CMD_GET)).andReturn("\n3\n").once();
63 EasyMock.expect(mMockDevice.executeShellCommand(SHELL_CMD_GET)).andReturn("\n3\n").once();
73 EasyMock.expect(mMockDevice.executeShellCommand(SHELL_CMD_GET)).andReturn("\n0\n").once();
85 EasyMock.expect(mMockDevice.executeShellCommand(SHELL_CMD_GET)).andReturn("\n0\n").once();
100 EasyMock.expect(mMockDevice.executeShellCommand(SHELL_CMD_PUT_7)).andReturn("\n");
107 EasyMock.expect(mMockDevice.executeShellCommand(SHELL_CMD_PUT_8)).andReturn("\n");
120 EasyMock.expect(mMockDevice.executeShellCommand(SHELL_CMD_GET)).andReturn("\n0\n").once();
121 EasyMock.expect(mMockDevice.executeShellCommand(SHELL_CMD_PUT_7)).andReturn("\n");
  /external/libxml2/python/tests/
indexes.py 29 expect = self.ende + self.delta * (self.count - 1) + self.endd
30 if ctxt.byteConsumed() != expect:
32 ctxt.byteConsumed(), expect))
38 expect = self.starte + self.delta * self.count
39 if ctxt.byteConsumed() != expect:
41 ctxt.byteConsumed(), expect))
48 expect = self.ende + self.delta * self.count
49 if ctxt.byteConsumed() != expect:
51 ctxt.byteConsumed(), expect))
  /tools/tradefederation/core/tests/src/com/android/tradefed/targetprep/
SystemUpdaterDeviceFlasherTest.java 54 EasyMock.expect(mMockDevice.getSerialNumber()).andStubReturn(TEST_STRING);
55 EasyMock.expect(mMockDevice.getProductType()).andStubReturn(TEST_STRING);
56 EasyMock.expect(mMockDevice.getDeviceDescriptor()).andStubReturn(null);
63 EasyMock.expect(mMockDeviceBuild.getOtaPackageFile()).andReturn(fakeImage);
64 EasyMock.expect(mMockDevice.pushFile(fakeImage, "/cache/update.zip")).andReturn(true);
67 EasyMock.expect(mMockDevice.executeShellCommand(EasyMock.matches(commandsRegex))).andReturn(
80 EasyMock.expect(mMockDeviceBuild.getOtaPackageFile()).andReturn(null);
102 EasyMock.expect(mMockDevice.getBuildId()).andReturn(A_BUILD_ID).anyTimes();
103 EasyMock.expect(mMockDeviceBuild.getDeviceBuildId()).andReturn(
  /external/antlr/antlr-3.4/gunit/src/main/java/org/antlr/gunit/
gUnitTestSuite.java 67 public void addTestCase(gUnitTestInput input, AbstractTest expect) {
68 if ( input!=null && expect!=null ) {
73 //expect.setTestedRuleName(this.rule);
74 expect.setTestedRuleName(this.rule ==null ? this.lexicalRule : this.rule);
75 expect.setTestCaseIndex(this.testSuites.size());
76 this.testSuites.put(input, expect);
  /external/linux-kselftest/tools/testing/selftests/net/
socket.c 17 int expect; member in struct:socket_testcase
53 if (s->expect < 0 &&
54 errno == -s->expect)
57 strerror_r(-s->expect, err_string1, ERR_STRING_SZ);
70 if (s->expect < 0) {
  /prebuilts/go/darwin-x86/src/cmd/asm/internal/asm/
pseudo_test.go 33 {"TEXT", "", "expect two or three operands for TEXT"},
34 {"TEXT", "%", "expect two or three operands for TEXT"},
39 {"FUNCDATA", "", "expect two operands for FUNCDATA"},
40 {"FUNCDATA", "(SB ", "expect two operands for FUNCDATA"},
41 {"DATA", "", "expect two operands for DATA"},
42 {"DATA", "0", "expect two operands for DATA"},
43 {"DATA", "(0), 1", "expect /size for DATA argument"},
44 {"GLOBL", "", "expect two or three operands for GLOBL"},
46 {"PCDATA", "", "expect two operands for PCDATA"},
47 {"PCDATA", "1", "expect two operands for PCDATA"}
    [all...]
  /prebuilts/go/linux-x86/src/cmd/asm/internal/asm/
pseudo_test.go 33 {"TEXT", "", "expect two or three operands for TEXT"},
34 {"TEXT", "%", "expect two or three operands for TEXT"},
39 {"FUNCDATA", "", "expect two operands for FUNCDATA"},
40 {"FUNCDATA", "(SB ", "expect two operands for FUNCDATA"},
41 {"DATA", "", "expect two operands for DATA"},
42 {"DATA", "0", "expect two operands for DATA"},
43 {"DATA", "(0), 1", "expect /size for DATA argument"},
44 {"GLOBL", "", "expect two or three operands for GLOBL"},
46 {"PCDATA", "", "expect two operands for PCDATA"},
47 {"PCDATA", "1", "expect two operands for PCDATA"}
    [all...]
  /external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/
BigNumberFormatTest.java 37 expect(fmt1, n, "1.234E3"); method
38 expect(fmt2, n, "1.234E+3"); method
39 expect(fmt1, "1.234E3", n); method
40 expect(fmt1, "1.234E+3", n); // Either format should parse "E+3" method
41 expect(fmt2, "1.234E+3", n); method
51 expect(f, new Long(123456789), "12,34,56,789"); method
55 expect(f, new Long(123456789), "12,3456,789"); method
63 expect(f, new Long(1876543210), str); method
167 expect(NumberFormat.getScientificInstance(Locale.US),
171 expect(new DecimalFormat("##0.####E0", US) method
176 expect(new DecimalFormat("##0.####E0", US), method
194 expect(new DecimalFormat("##0.###E0", US), method
197 expect(new DecimalFormat("##0.###E0", US), method
200 expect(new DecimalFormat("##0.####E0", US), method
207 expect(new DecimalFormat("##0.####E0", US), method
216 expect(new DecimalFormat("##0.####E0", US), method
219 expect(new DecimalFormat("##0.####E0", US), method
222 expect(new DecimalFormat(".###E0", US), method
225 expect(new DecimalFormat(".###E0", US), method
228 expect(new DecimalFormat[] { new DecimalFormat("#E0", US), method
244 expect(new DecimalFormat("###E0", US), method
255 expect(new DecimalFormat("0.#E+00", US), method
266 expect(new DecimalFormat("*^##.##", US), method
271 expect(new DecimalFormat("##0.0####E0*_ 'g-m\/s^2'", US), method
276 expect(new DecimalFormat("##0.0####*_ 'g-m\/s^2'", US), method
281 expect(new DecimalFormat("*x#,###,###,##0.00;*x(#,###,###,##0.00)", US), method
290 private void expect(NumberFormat fmt, Object[] data) { method in class:BigNumberFormatTest
292 expect(fmt, (Number) data[i], (String) data[i+1]); method
296 private void expect(Object fmto, Object numo, Object expo) { method in class:BigNumberFormatTest
326 expect(fmts == null ? fmt : fmts[i], method
342 private void expect(NumberFormat fmt, Number n, String exp) { method in class:BigNumberFormatTest
356 private void expect(NumberFormat fmt, String str, Number exp) { method in class:BigNumberFormatTest
    [all...]
  /external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
BigNumberFormatTest.java 36 expect(fmt1, n, "1.234E3"); method
37 expect(fmt2, n, "1.234E+3"); method
38 expect(fmt1, "1.234E3", n); method
39 expect(fmt1, "1.234E+3", n); // Either format should parse "E+3" method
40 expect(fmt2, "1.234E+3", n); method
50 expect(f, new Long(123456789), "12,34,56,789"); method
54 expect(f, new Long(123456789), "12,3456,789"); method
62 expect(f, new Long(1876543210), str); method
166 expect(NumberFormat.getScientificInstance(Locale.US),
170 expect(new DecimalFormat("##0.####E0", US) method
175 expect(new DecimalFormat("##0.####E0", US), method
193 expect(new DecimalFormat("##0.###E0", US), method
196 expect(new DecimalFormat("##0.###E0", US), method
199 expect(new DecimalFormat("##0.####E0", US), method
206 expect(new DecimalFormat("##0.####E0", US), method
215 expect(new DecimalFormat("##0.####E0", US), method
218 expect(new DecimalFormat("##0.####E0", US), method
221 expect(new DecimalFormat(".###E0", US), method
224 expect(new DecimalFormat(".###E0", US), method
227 expect(new DecimalFormat[] { new DecimalFormat("#E0", US), method
243 expect(new DecimalFormat("###E0", US), method
254 expect(new DecimalFormat("0.#E+00", US), method
265 expect(new DecimalFormat("*^##.##", US), method
270 expect(new DecimalFormat("##0.0####E0*_ 'g-m\/s^2'", US), method
275 expect(new DecimalFormat("##0.0####*_ 'g-m\/s^2'", US), method
280 expect(new DecimalFormat("*x#,###,###,##0.00;*x(#,###,###,##0.00)", US), method
289 private void expect(NumberFormat fmt, Object[] data) { method in class:BigNumberFormatTest
291 expect(fmt, (Number) data[i], (String) data[i+1]); method
295 private void expect(Object fmto, Object numo, Object expo) { method in class:BigNumberFormatTest
325 expect(fmts == null ? fmt : fmts[i], method
341 private void expect(NumberFormat fmt, Number n, String exp) { method in class:BigNumberFormatTest
355 private void expect(NumberFormat fmt, String str, Number exp) { method in class:BigNumberFormatTest
    [all...]
  /external/libcxx/test/std/experimental/numeric/numeric.ops/numeric.ops.gcd/
gcd.pass.cpp 24 int expect; member in struct:__anon22902
57 accumulate &= test0<S1, S2, Output>(TC.x, TC.y, TC.expect);
58 accumulate &= test0<S1, S2, Output>(-TC.x, TC.y, TC.expect);
59 accumulate &= test0<S1, S2, Output>(TC.x, -TC.y, TC.expect);
60 accumulate &= test0<S1, S2, Output>(-TC.x, -TC.y, TC.expect);
61 accumulate &= test0<S2, S1, Output>(TC.x, TC.y, TC.expect);
62 accumulate &= test0<S2, S1, Output>(-TC.x, TC.y, TC.expect);
63 accumulate &= test0<S2, S1, Output>(TC.x, -TC.y, TC.expect);
64 accumulate &= test0<S2, S1, Output>(-TC.x, -TC.y, TC.expect);
68 accumulate &= test0<U1, U2, Output>(TC.x, TC.y, TC.expect);
    [all...]
  /external/libcxx/test/std/experimental/numeric/numeric.ops/numeric.ops.lcm/
lcm.pass.cpp 24 int expect; member in struct:__anon22903
56 accumulate &= test0<S1, S2, Output>(TC.x, TC.y, TC.expect);
57 accumulate &= test0<S1, S2, Output>(-TC.x, TC.y, TC.expect);
58 accumulate &= test0<S1, S2, Output>(TC.x, -TC.y, TC.expect);
59 accumulate &= test0<S1, S2, Output>(-TC.x, -TC.y, TC.expect);
60 accumulate &= test0<S2, S1, Output>(TC.x, TC.y, TC.expect);
61 accumulate &= test0<S2, S1, Output>(-TC.x, TC.y, TC.expect);
62 accumulate &= test0<S2, S1, Output>(TC.x, -TC.y, TC.expect);
63 accumulate &= test0<S2, S1, Output>(-TC.x, -TC.y, TC.expect);
67 accumulate &= test0<U1, U2, Output>(TC.x, TC.y, TC.expect);
    [all...]
  /external/libcxx/test/std/numerics/numeric.ops/numeric.ops.gcd/
gcd.pass.cpp 25 int expect; member in struct:__anon22905
58 accumulate &= test0<S1, S2, Output>(TC.x, TC.y, TC.expect);
59 accumulate &= test0<S1, S2, Output>(-TC.x, TC.y, TC.expect);
60 accumulate &= test0<S1, S2, Output>(TC.x, -TC.y, TC.expect);
61 accumulate &= test0<S1, S2, Output>(-TC.x, -TC.y, TC.expect);
62 accumulate &= test0<S2, S1, Output>(TC.x, TC.y, TC.expect);
63 accumulate &= test0<S2, S1, Output>(-TC.x, TC.y, TC.expect);
64 accumulate &= test0<S2, S1, Output>(TC.x, -TC.y, TC.expect);
65 accumulate &= test0<S2, S1, Output>(-TC.x, -TC.y, TC.expect);
69 accumulate &= test0<U1, U2, Output>(TC.x, TC.y, TC.expect);
    [all...]
  /external/libcxx/test/std/numerics/numeric.ops/numeric.ops.lcm/
lcm.pass.cpp 24 int expect; member in struct:__anon22906
56 accumulate &= test0<S1, S2, Output>(TC.x, TC.y, TC.expect);
57 accumulate &= test0<S1, S2, Output>(-TC.x, TC.y, TC.expect);
58 accumulate &= test0<S1, S2, Output>(TC.x, -TC.y, TC.expect);
59 accumulate &= test0<S1, S2, Output>(-TC.x, -TC.y, TC.expect);
60 accumulate &= test0<S2, S1, Output>(TC.x, TC.y, TC.expect);
61 accumulate &= test0<S2, S1, Output>(-TC.x, TC.y, TC.expect);
62 accumulate &= test0<S2, S1, Output>(TC.x, -TC.y, TC.expect);
63 accumulate &= test0<S2, S1, Output>(-TC.x, -TC.y, TC.expect);
67 accumulate &= test0<U1, U2, Output>(TC.x, TC.y, TC.expect);
    [all...]
  /external/apache-http/src/org/apache/http/client/methods/
HttpEntityEnclosingRequestBase.java 72 Header expect = getFirstHeader(HTTP.EXPECT_DIRECTIVE); local
73 return expect != null && HTTP.EXPECT_CONTINUE.equalsIgnoreCase(expect.getValue());
  /external/apache-http/src/org/apache/http/impl/client/
EntityEnclosingRequestWrapper.java 79 Header expect = getFirstHeader(HTTP.EXPECT_DIRECTIVE); local
80 return expect != null && HTTP.EXPECT_CONTINUE.equalsIgnoreCase(expect.getValue());
  /external/apache-http/src/org/apache/http/message/
BasicHttpEntityEnclosingRequest.java 82 Header expect = getFirstHeader(HTTP.EXPECT_DIRECTIVE); local
83 return expect != null && HTTP.EXPECT_CONTINUE.equalsIgnoreCase(expect.getValue());

Completed in 581 milliseconds

1 2 34 5 6 7 8 91011>>