HomeSort by relevance Sort by last modified time
    Searched refs:when (Results 1 - 25 of 1755) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /external/strace/tests/
qual_fault-syntax.test 44 chdir:42:when=7 \
46 chdir:invalid:when=8 \
48 chdir:error=:when=10 \
50 chdir:error=invalid_error_name:when=11 \
52 chdir:error=-1:when=12 \
54 chdir:error=-2:when=13 \
56 chdir:error=3+:when=14 \
58 chdir:error=4096:when=15 \
59 chdir:when=7:error=invalid_error_name \
60 chdir:when=
    [all...]
qual_inject-syntax.test 45 chdir:42:when=7 \
47 chdir:invalid:when=8 \
49 chdir:error=:when=10 \
51 chdir:error=invalid_error_name:when=11 \
53 chdir:error=-1:when=12 \
55 chdir:error=-2:when=13 \
57 chdir:error=3+:when=14 \
59 chdir:error=4096:when=15 \
60 chdir:when=7:error=invalid_error_name \
61 chdir:when=
    [all...]
  /external/strace/tests-m32/
qual_fault-syntax.test 44 chdir:42:when=7 \
46 chdir:invalid:when=8 \
48 chdir:error=:when=10 \
50 chdir:error=invalid_error_name:when=11 \
52 chdir:error=-1:when=12 \
54 chdir:error=-2:when=13 \
56 chdir:error=3+:when=14 \
58 chdir:error=4096:when=15 \
59 chdir:when=7:error=invalid_error_name \
60 chdir:when=
    [all...]
qual_inject-syntax.test 45 chdir:42:when=7 \
47 chdir:invalid:when=8 \
49 chdir:error=:when=10 \
51 chdir:error=invalid_error_name:when=11 \
53 chdir:error=-1:when=12 \
55 chdir:error=-2:when=13 \
57 chdir:error=3+:when=14 \
59 chdir:error=4096:when=15 \
60 chdir:when=7:error=invalid_error_name \
61 chdir:when=
    [all...]
  /external/strace/tests-mx32/
qual_fault-syntax.test 44 chdir:42:when=7 \
46 chdir:invalid:when=8 \
48 chdir:error=:when=10 \
50 chdir:error=invalid_error_name:when=11 \
52 chdir:error=-1:when=12 \
54 chdir:error=-2:when=13 \
56 chdir:error=3+:when=14 \
58 chdir:error=4096:when=15 \
59 chdir:when=7:error=invalid_error_name \
60 chdir:when=
    [all...]
qual_inject-syntax.test 45 chdir:42:when=7 \
47 chdir:invalid:when=8 \
49 chdir:error=:when=10 \
51 chdir:error=invalid_error_name:when=11 \
53 chdir:error=-1:when=12 \
55 chdir:error=-2:when=13 \
57 chdir:error=3+:when=14 \
59 chdir:error=4096:when=15 \
60 chdir:when=7:error=invalid_error_name \
61 chdir:when=
    [all...]
  /external/grpc-grpc/src/ruby/tools/
platform_check.rb 22 when /cygwin|mswin|mingw|bccwin|wince|emx/
24 when /darwin/
33 when /x86_64/
  /external/conscrypt/openjdk/src/test/java/org/conscrypt/
MockSessionBuilder.java 20 import static org.mockito.Mockito.when;
75 when(session.getId()).thenReturn(id);
76 when(session.isValid()).thenReturn(valid);
77 when(session.isSingleUse()).thenReturn(singleUse);
78 when(session.getProtocol()).thenReturn(TestUtils.getProtocols()[0]);
79 when(session.getPeerHost()).thenReturn(host);
80 when(session.getPeerPort()).thenReturn(port);
81 when(session.getCipherSuite()).thenReturn(cipherSuite);
82 when(session.toBytes()).thenReturn(encodedBytes);
  /external/conscrypt/repackaged/openjdk/src/test/java/com/android/org/conscrypt/
MockSessionBuilder.java 21 import static org.mockito.Mockito.when;
76 when(session.getId()).thenReturn(id);
77 when(session.isValid()).thenReturn(valid);
78 when(session.isSingleUse()).thenReturn(singleUse);
79 when(session.getProtocol()).thenReturn(TestUtils.getProtocols()[0]);
80 when(session.getPeerHost()).thenReturn(host);
81 when(session.getPeerPort()).thenReturn(port);
82 when(session.getCipherSuite()).thenReturn(cipherSuite);
83 when(session.toBytes()).thenReturn(encodedBytes);
  /external/mockito/src/test/java/org/mockitousage/matchers/
AnyXMatchersAcceptNullsTest.java 15 import static org.mockito.Mockito.when;
29 when(mock.oneArg((Object) any())).thenReturn("matched");
36 when(mock.oneArg((Object) anyObject())).thenReturn("matched");
43 when(mock.oneArg(anyString())).thenReturn("0");
44 when(mock.forList(anyListOf(String.class))).thenReturn("1");
45 when(mock.forMap(anyMapOf(String.class, String.class))).thenReturn("2");
46 when(mock.forCollection(anyCollectionOf(String.class))).thenReturn("3");
47 when(mock.forSet(anySetOf(String.class))).thenReturn("4");
59 when(mock.forInteger(anyInt())).thenReturn("0");
60 when(mock.forCharacter(anyChar())).thenReturn("1")
    [all...]
MatchersTest.java 61 import static org.mockito.Mockito.when;
70 when(mock.oneArg(and(eq(false), eq(false)))).thenReturn("0");
71 when(mock.oneArg(and(eq((byte) 1), eq((byte) 1)))).thenReturn("1");
72 when(mock.oneArg(and(eq('a'), eq('a')))).thenReturn("2");
73 when(mock.oneArg(and(eq(1D), eq(1D)))).thenReturn("3");
74 when(mock.oneArg(and(eq(1F), eq(1F)))).thenReturn("4");
75 when(mock.oneArg(and(eq(1), eq(1)))).thenReturn("5");
76 when(mock.oneArg(and(eq(1L), eq(1L)))).thenReturn("6");
77 when(mock.oneArg(and(eq((short) 1), eq((short) 1)))).thenReturn("7");
78 when(mock.oneArg(and(contains("a"), contains("d")))).thenReturn("8")
    [all...]
GenericMatchersTest.java 17 import static org.mockito.Mockito.when;
31 when(sorter.convertDate(new Date())).thenReturn("one");
32 when(sorter.convertDate((Date) anyObject())).thenReturn("two");
35 when(sorter.sort(ArgumentMatchers.<String>anyList())).thenReturn(null);
  /external/robolectric-shadows/robolectric/src/test/java/org/robolectric/
SdkPickerTest.java 6 import static org.mockito.Mockito.when;
31 when(usesSdk.getTargetSdkVersion()).thenReturn(22);
38 when(usesSdk.getTargetSdkVersion()).thenReturn(22);
39 when(usesSdk.getMinSdkVersion()).thenReturn(19);
40 when(usesSdk.getMaxSdkVersion()).thenReturn(23);
47 when(usesSdk.getTargetSdkVersion()).thenReturn(22);
48 when(usesSdk.getMinSdkVersion()).thenReturn(1);
49 when(usesSdk.getMaxSdkVersion()).thenReturn(22);
57 when(usesSdk.getTargetSdkVersion()).thenReturn(22);
58 when(usesSdk.getMinSdkVersion()).thenReturn(19)
    [all...]
  /external/mockito/src/test/java/org/mockitousage/
CompilationWarningsTest.java 23 doReturn(null).when(mock(IMethods.class)).objectReturningMethodNoArgs();
24 doReturn("a", 12).when(mock(IMethods.class)).objectReturningMethodNoArgs();
25 doReturn(1000).when(mock(IMethods.class)).objectReturningMethodNoArgs();
26 doThrow(new NullPointerException()).when(mock(IMethods.class)).objectReturningMethodNoArgs();
27 doThrow(new NullPointerException(), new IllegalArgumentException()).when(mock(IMethods.class)).objectReturningMethodNoArgs();
28 doThrow(NullPointerException.class).when(mock(IMethods.class)).objectReturningMethodNoArgs();
30 doAnswer(ignore()).doReturn(null).when(mock(IMethods.class)).objectReturningMethodNoArgs();
31 doAnswer(ignore()).doReturn("a", 12).when(mock(IMethods.class)).objectReturningMethodNoArgs();
32 doAnswer(ignore()).doReturn(1000).when(mock(IMethods.class)).objectReturningMethodNoArgs();
33 doAnswer(ignore()).doThrow(new NullPointerException()).when(mock(IMethods.class)).objectReturningMethodNoArgs()
    [all...]
  /external/libunwind/include/
libunwind-dynamic.h 35 when a program registers a dynamically generated procedure, it uses
88 int32_t when; /* when does it take effect? */ member in struct:unw_dyn_op
179 #define _U_dyn_op_save_reg(op, qp, when, reg, dst) \
180 (*(op) = _U_dyn_op (UNW_DYN_SAVE_REG, (qp), (when), (reg), (dst)))
182 #define _U_dyn_op_spill_fp_rel(op, qp, when, reg, offset) \
183 (*(op) = _U_dyn_op (UNW_DYN_SPILL_FP_REL, (qp), (when), (reg), \
186 #define _U_dyn_op_spill_sp_rel(op, qp, when, reg, offset) \
187 (*(op) = _U_dyn_op (UNW_DYN_SPILL_SP_REL, (qp), (when), (reg), \
190 #define _U_dyn_op_add(op, qp, when, reg, value)
    [all...]
  /external/robolectric-shadows/robolectric/src/test/java/org/robolectric/res/
DrawableResourceLoaderNoRunnerTest.java 5 import static org.mockito.Mockito.when;
59 when(mockTestFile.getName()).thenReturn("foo.png");
60 when(mockTestFile.getBaseName()).thenReturn("foo");
63 when(mockTestDir.toString()).thenReturn(JAR_PATH_ON_UNIX);
64 when(mockTestDir.getName()).thenReturn(DRAWABLE_DIR);
65 when(mockTestDir.listFiles()).thenReturn(new FsFile[]{mockTestFile});
66 when(mockTestDir.isDirectory()).thenReturn(true);
68 when(mockTestBaseDir.listFiles()).thenReturn(new FsFile[]{mockTestDir});
82 when(mockTestFile.getName()).thenReturn("foo.png");
83 when(mockTestFile.getBaseName()).thenReturn("foo")
    [all...]
  /external/mockito/src/test/java/org/mockitousage/stubbing/
StubbingWithThrowablesTest.java 18 import static org.mockito.Mockito.when;
56 when(mock.add("")).thenThrow(new ExceptionOne());
77 doThrow(new ExceptionOne()).when(mock).clear();
99 when(mock.add("throw")).thenThrow(expected);
109 doThrow(expected).when(mock).clear();
119 doThrow(new ExceptionOne()).when(mock).clear();
120 doThrow(new ExceptionTwo()).when(mock).clear();
129 when(mock.size()).thenThrow(new ExceptionOne());
133 when(mock.size()).thenThrow(new ExceptionTwo());
141 when(reader.read()).thenThrow(ioException)
    [all...]
StubbingUsingDoReturnTest.java 37 doReturn("foo").when(mock).simpleMethod();
38 doReturn("bar").when(mock).simpleMethod();
45 doReturn("foo").when(mock).simpleMethod("foo");
46 doReturn("bar").when(mock).simpleMethod(eq("one"), anyInt());
57 doThrow(new FooRuntimeException()).when(mock).voidMethod();
66 doThrow(new IOException()).when(mock).throwsIOException(0);
79 doThrow(new FooCheckedException()).when(mock).throwsIOException(0);
89 doReturn("foo").when(mock).voidMethod();
101 doReturn("foo").when("foo").toString();
104 assertThat(e).hasMessageContaining("Argument passed to when() is not a mock")
    [all...]
  /build/make/core/
host_test_internal.mk 15 $(error $(LOCAL_PATH): Do not set LOCAL_MODULE_PATH when building test $(LOCAL_MODULE))
19 $(error $(LOCAL_PATH): Do not set LOCAL_MODULE_PATH_32 when building test $(LOCAL_MODULE))
23 $(error $(LOCAL_PATH): Do not set LOCAL_MODULE_PATH_64 when building test $(LOCAL_MODULE))
  /external/mockito/src/test/java/org/mockitousage/basicapi/
MockAccessTest.java 14 import static org.mockito.Mockito.when;
22 Set<?> returnedMock = when(expectedMock.isEmpty()).thenReturn(false).getMock();
29 Set<?> returnedMock = when(mock(Set.class).isEmpty()).thenReturn(false, true).getMock();
  /external/mockito/src/test/java/org/mockitousage/internal/junit/
UnusedStubbingsFinderTest.java 20 import static org.mockito.Mockito.when;
43 //when
53 //when
54 when(mock1.simpleMethod()).thenReturn("1");
64 //when
65 when(mock1.simpleMethod()).thenReturn("1");
74 when(mock1.simpleMethod(1)).thenReturn("1");
75 when(mock2.simpleMethod(2)).thenReturn("2");
76 when(mock2.simpleMethod(3)).thenReturn("3");
80 //when
    [all...]
  /external/dexmaker/dexmaker-mockito-tests/src/main/java/com/android/dx/mockito/tests/
PartialClasses.java 27 import static org.mockito.Mockito.when;
38 doCallRealMethod().when(r).run();
50 when(l.size()).thenCallRealMethod();
61 doCallRealMethod().when(l).clear();
  /external/mockito/src/main/java/org/mockito/stubbing/
Stubber.java 11 * Allows to choose a method when stubbing in doThrow()|doAnswer()|doNothing()|doReturn() style
15 * doThrow(new RuntimeException()).when(mockedList).clear();
21 * Also useful when stubbing consecutive calls:
26 * .when(mock).someVoidMethod();
47 * Allows to choose a method when stubbing in doThrow()|doAnswer()|doNothing()|doReturn() style
52 * .when(mockedList).clear();
74 <T> T when(T mock); method in interface:Stubber
  /external/mockito/src/test/java/org/mockitousage/bugs/
MockitoStubbedCallInAnswerTest.java 14 import static org.mockito.Mockito.when;
27 when(bar.doInt()).thenReturn(0);
28 when(foo.doInt()).thenAnswer(new Answer<Integer>() {
37 //when we override the stubbing
38 when(foo.doInt()).thenReturn(1);
49 when(foo.doString()).thenAnswer(new Answer<String>() {
58 when(foo.doString()).thenReturn("");
64 when(foo.doInt()).thenAnswer(new Answer<Integer>() {
71 when(foo.doInt()).thenAnswer(new Answer<Integer>() {
83 when(bar.doInt()).thenReturn(10)
    [all...]
  /external/grpc-grpc/src/ruby/end2end/
grpc_class_init_client.rb 71 when 'channel'
75 when 'server'
79 when 'channel_credentials'
83 when 'call_credentials'
87 when 'compression_options'
114 when 'gc'
117 when 'concurrency'
120 when ''

Completed in 2891 milliseconds

1 2 3 4 5 6 7 8 91011>>