/external/mockito/src/test/java/org/mockito/internal/verification/ |
VerificationOverTimeImplTest.java | 3 * This program is made available under the terms of the MIT License. 16 import static org.hamcrest.CoreMatchers.is; 44 exception.expect(is(toBeThrown)); method 53 exception.expect(is(toBeThrown)); method 63 exception.expect(is(toBeThrown)); method
|
/external/parameter-framework/upstream/parameter/ |
SelectionCriterion.cpp | 19 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND 106 bool CSelectionCriterion::is(int iState) const function in class:CSelectionCriterion
|
/external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/shadows/ |
ActivityGroupTest.java | 10 import static org.hamcrest.CoreMatchers.is; 22 assertThat(activityGroup.getCurrentActivity(), is(activity)); method
|
ShapeDrawableTest.java | 9 import static org.hamcrest.core.Is.is; 20 assertThat(shapeDrawable.getPaint(), is(paint)); method
|
/external/sfntly/cpp/src/test/ |
file_io_test.cc | 11 * distributed under the License is distributed on an "AS IS" BASIS, 46 FileInputStream is; local 47 is.Open(SAMPLE_TTF_FILE); 48 EXPECT_EQ(length, (size_t)is.Available()); 50 is.Read(&b2, 0, length); 51 is.Close(); 56 is.Open(SAMPLE_TTF_FILE); 57 is.Skip(89); 58 is.Read(&b2, 0, 100) 106 FileInputStream is; local 133 FileInputStream is; local [all...] |
test_font_utils.cc | 11 * distributed under the License is distributed on an "AS IS" BASIS, 30 FileInputStream is; local 31 is.Open(font_path); 32 factory->LoadFontsForBuilding(&is, builders); 46 FileInputStream is; local 47 is.Open(font_path); 48 factory->LoadFonts(&is, fonts); 49 is.Close();
|
/external/snakeyaml/src/main/java/org/yaml/snakeyaml/events/ |
DocumentStartEvent.java | 11 * distributed under the License is distributed on an "AS IS" BASIS, 73 public boolean is(Event.ID id) { method in class:DocumentStartEvent
|
ScalarEvent.java | 11 * distributed under the License is distributed on an "AS IS" BASIS, 29 // The implicit flag of a scalar event is a pair of boolean values that 30 // indicate if the tag may be omitted when the scalar is emitted in a plain 47 * is available. 98 public boolean is(Event.ID id) { method in class:ScalarEvent
|
/external/testng/src/test/java/test/dependent/ |
MissingGroupSampleTest.java | 25 ByteArrayInputStream is = new ByteArrayInputStream(xml.getBytes()); local 26 tng.setXmlSuites(new Parser(is).parseToList());
|
MissingMethodSampleTest.java | 25 ByteArrayInputStream is = new ByteArrayInputStream(xml.getBytes()); local 26 tng.setXmlSuites(new Parser(is).parseToList());
|
/frameworks/base/core/tests/coretests/src/android/os/ |
MemoryFileTest.java | 11 * distributed under the License is distributed on an "AS IS" BASIS, 89 InputStream is = file.getInputStream(); local 90 is.mark(testString.length); 91 is.read(buffer); 96 is.reset(); 97 is.read(buffer); 129 InputStream is = file.getInputStream(); local 132 is.read(buffer, offset, count); 135 // this is what should happe 174 InputStream is = file.getInputStream(); local [all...] |
/frameworks/support/app-toolkit/common/src/test/java/androidx/collection/ |
FastSafeIterableMapTest.java | 11 * distributed under the License is distributed on an "AS IS" BASIS, 19 import static org.hamcrest.CoreMatchers.is; 38 assertThat(map.ceil(2).getKey(), is(1)); 49 assertThat(map.putIfAbsent(5, 10), is((Integer) null)); method 50 assertThat(map.putIfAbsent(10, 30), is(20)); 59 assertThat(map.contains(10), is(true)); method 60 assertThat(map.contains(11), is(false)); method 61 assertThat(new FastSafeIterableMap<Integer, Integer>().contains(0), is(false)); 70 assertThat(map.contains(10), is(true)) method 71 assertThat(map.contains(20), is(true)); method 73 assertThat(map.contains(10), is(false)); method [all...] |
/frameworks/support/navigation/common/src/test/java/androidx/navigation/ |
NavActionTest.java | 11 * distributed under the License is distributed on an "AS IS" BASIS, 19 import static org.hamcrest.CoreMatchers.is; 40 assertThat(action.getDestinationId(), is(DESTINATION_ID)); method 47 assertThat(action.getDestinationId(), is(DESTINATION_ID)); method 57 assertThat(action.getNavOptions(), is(navOptions)); method
|
SimpleNavigatorProviderTest.java | 11 * distributed under the License is distributed on an "AS IS" BASIS, 19 import static org.hamcrest.CoreMatchers.is; 51 assertThat(provider.getNavigator("name"), is(navigator)); method 59 assertThat(provider.getNavigator("name"), is(navigator)); method 87 assertThat(provider.getNavigator(EmptyNavigator.class), is(navigator)); method 95 assertThat(provider.getNavigator(EmptyNavigator.NAME), is(navigator)); method
|
/frameworks/support/navigation/fragment/src/androidTest/java/androidx/navigation/fragment/ |
ImmediateNavigationTest.java | 11 * distributed under the License is distributed on an "AS IS" BASIS, 19 import static org.hamcrest.CoreMatchers.is; 51 assertThat(navController.getCurrentDestination().getId(), is(R.id.deep_link_test)); method
|
/frameworks/support/navigation/integration-tests/safeargs-testapp/src/testFoo/java/android/arch/navigation/integration/flavor/foo/ |
FlavorDestinationTest.java | 11 * distributed under the License is distributed on an "AS IS" BASIS, 19 import static org.hamcrest.CoreMatchers.is; 30 * this is teeeeeeeeeest 41 assertThat(directions.getDestinationId(), is(R.id.foo_fragment)); method
|
/frameworks/support/room/migration/src/test/java/androidx/room/migration/bundle/ |
FieldBundleTest.java | 11 * distributed under the License is distributed on an "AS IS" BASIS, 19 import static org.hamcrest.CoreMatchers.is; 32 assertThat(bundle.isSchemaEqual(copy), is(true)); method 39 assertThat(bundle.isSchemaEqual(copy), is(false)); method 46 assertThat(bundle.isSchemaEqual(copy), is(false)); method 53 assertThat(bundle.isSchemaEqual(copy), is(false)); method 60 assertThat(bundle.isSchemaEqual(copy), is(true)); method
|
ForeignKeyBundleTest.java | 11 * distributed under the License is distributed on an "AS IS" BASIS, 19 import static org.hamcrest.CoreMatchers.is; 38 assertThat(bundle.isSchemaEqual(other), is(true)); method 49 assertThat(bundle.isSchemaEqual(other), is(false)); method 60 assertThat(bundle.isSchemaEqual(other), is(false)); method 71 assertThat(bundle.isSchemaEqual(other), is(false)); method 82 assertThat(bundle.isSchemaEqual(other), is(false)); method 93 assertThat(bundle.isSchemaEqual(other), is(false)); method
|
IndexBundleTest.java | 11 * distributed under the License is distributed on an "AS IS" BASIS, 19 import static org.hamcrest.CoreMatchers.is; 36 assertThat(bundle.isSchemaEqual(other), is(true)); method 45 assertThat(bundle.isSchemaEqual(other), is(false)); method 54 assertThat(bundle.isSchemaEqual(other), is(true)); method 63 assertThat(bundle.isSchemaEqual(other), is(false)); method 72 assertThat(bundle.isSchemaEqual(other), is(false)); method 81 assertThat(bundle.isSchemaEqual(other), is(true)); method
|
PrimaryKeyBundleTest.java | 11 * distributed under the License is distributed on an "AS IS" BASIS, 19 import static org.hamcrest.CoreMatchers.is; 36 assertThat(bundle.isSchemaEqual(other), is(true)); method 45 assertThat(bundle.isSchemaEqual(other), is(false)); method 54 assertThat(bundle.isSchemaEqual(other), is(false)); method 63 assertThat(bundle.isSchemaEqual(other), is(false)); method
|
/frameworks/support/work/workmanager/src/androidTest/java/androidx/work/ |
WorkTest.java | 11 * distributed under the License is distributed on an "AS IS" BASIS, 19 import static org.hamcrest.CoreMatchers.is; 53 assertThat(getWorkSpec(work).initialDelay, is(expectedInitialDelay)); method 64 is(TimeUnit.MINUTES.toMillis((2 * 60) + 3))); method 76 assertThat(getWorkSpec(work).backoffDelayDuration, is(WorkRequest.MAX_BACKOFF_MILLIS)); method 88 assertThat(getWorkSpec(work).backoffDelayDuration, is(WorkRequest.MIN_BACKOFF_MILLIS)); method
|
/frameworks/support/work/workmanager/src/androidTest/java/androidx/work/impl/ |
SchedulersTest.java | 11 * distributed under the License is distributed on an "AS IS" BASIS, 21 import static org.hamcrest.CoreMatchers.is; 60 assertThat(scheduler, is(instanceOf(SystemJobScheduler.class))); 69 assertThat(scheduler, is(instanceOf(SystemAlarmScheduler.class))); 78 is(systemJobEnabled)); method 83 is(firebaseJobEnabled)); method 85 is(systemAlarmEnabled)); method
|
/packages/apps/UnifiedEmail/src/org/apache/james/mime4j/ |
RootInputStream.java | 13 * software distributed under the License is distributed on an * 14 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY * 29 * reached end of file. This is used by the parser's 36 private InputStream is = null; field in class:RootInputStream 46 public RootInputStream(InputStream is) { 47 this.is = is; 78 int b = is.read(); 95 int n = is.read(b, off, len);
|
/packages/services/Car/service/src/com/android/car/ |
JsonReaderImpl.java | 11 * distributed under the License is distributed on an "AS IS" BASIS, 31 * parse a JSON file on the system that is mapped to {@code R.raw.car_config}. 38 * Takes a resource file that is considered to be a JSON file and parses it into a String that 39 * is returned. 47 InputStream is = context.getResources().openRawResource(resId); local 51 try (Reader reader = new BufferedReader(new InputStreamReader(is, JSON_FILE_ENCODING))) {
|
/prebuilts/go/darwin-x86/src/database/sql/driver/ |
types_test.go | 2 // Use of this source code is governed by a BSD-style 30 is []int 59 {DefaultParameterConverter, is{1}, nil, "unsupported type driver.is, a slice of int"}, 29 is []int type
|