Home
last modified time | relevance | path

Searched refs:Truth (Results 1 – 25 of 3309) sorted by relevance

12345678910>>...133

/external/grpc-grpc-java/alts/src/test/java/io/grpc/alts/internal/
DBufUnwrapperTest.java21 import com.google.common.truth.Truth;
43 Truth.assertThat(readableBufs).hasLength(1); in closeEmptiesBuffers()
44 Truth.assertThat(readableBufs[0]).isNotNull(); in closeEmptiesBuffers()
45 Truth.assertThat(writableBufs).hasLength(1); in closeEmptiesBuffers()
46 Truth.assertThat(writableBufs[0]).isNotNull(); in closeEmptiesBuffers()
50 Truth.assertThat(readableBufs[0]).isNull(); in closeEmptiesBuffers()
51 Truth.assertThat(writableBufs[0]).isNull(); in closeEmptiesBuffers()
62 Truth.assertThat(internalBufs).hasLength(1); in readableNioBuffers_worksWithNormal()
76 Truth.assertThat(internalBufs).hasLength(1); in readableNioBuffers_worksWithComposite()
92 Truth.assertThat(internalBufs).hasLength(1); in writableNioBuffers_indexesPreserved()
[all …]
/external/mobly-bundled-snippets/src/test/java/
DUtilsTest.java20 import com.google.common.truth.Truth;
59 Truth.assertThat(ret).isSameAs(sampleList); in testInvokeByReflection_Obj()
66 Truth.assertThat(ret).isNull(); in testInvokeByReflection_Null()
73 Truth.assertThat(ret).isTrue(); in testInvokeByReflection_NoArg()
80 Truth.assertThat(ret).isEqualTo(5); in testInvokeByReflection_Primitive()
90 Truth.assertThat(ret).isSameAs(arg1); in testInvokeByReflection_MultiArg()
94 Truth.assertThat(ret).isSameAs(arg2); in testInvokeByReflection_MultiArg()
100 Truth.assertThat(List.class.isAssignableFrom(Object.class)).isFalse(); in testInvokeByReflection_NoMatch()
105 Truth.assertThat(e.getMessage()) in testInvokeByReflection_NoMatch()
117 Truth.assertThat(e.getMessage()).isEqualTo("Example exception"); in testInvokeByReflection_UnwrapException()
/external/guava/guava-tests/test/com/google/common/collect/
DStreamsTest.java24 import com.google.common.truth.Truth;
96 Truth.assertThat(closeCountB.get()).isEqualTo(1); in testConcat_refStream_closeIsPropagated()
108 Truth.assertThat(closeCountB.get()).isEqualTo(1); in testConcat_refStream_closeIsPropagated_Stream_concat()
121 Truth.assertThat(closeCountB.get()).isEqualTo(1); in testConcat_refStream_closeIsPropagated_Stream_flatMap()
125 Truth.assertThat( in testConcat_refStream_parallel()
244 Truth.assertThat(stringsCloseCount.get()).isEqualTo(1); in testMapWithIndex_closeIsPropagated()
269 Truth.assertThat(intStreamCloseCount.get()).isEqualTo(1); in testMapWithIndex_intStream_closeIsPropagated()
294 Truth.assertThat(longStreamCloseCount.get()).isEqualTo(1); in testMapWithIndex_longStream_closeIsPropagated()
321 Truth.assertThat(doubleStreamCloseCount.get()).isEqualTo(1); in testMapWithIndex_doubleStream_closeIsPropagated()
340 Truth.assertThat(lettersCloseCount.get()).isEqualTo(1); in testZip_closeIsPropagated()
[all …]
/external/grpc-grpc-java/examples/android/clientcache/app/src/test/java/io/grpc/clientcacheexample/
DSafeMethodCachingInterceptorTest.java3 import com.google.common.truth.Truth;
244 Truth.assertThat(cache.internalCache).isEmpty(); in responseNoCacheDirective_notCached()
245 Truth.assertThat(cache.removedKeys).isEmpty(); in responseNoCacheDirective_notCached()
260 Truth.assertThat(cache.internalCache).isEmpty(); in responseNoStoreDirective_notCached()
261 Truth.assertThat(cache.removedKeys).isEmpty(); in responseNoStoreDirective_notCached()
276 Truth.assertThat(cache.internalCache).isEmpty(); in responseNoTransformDirective_notCached()
277 Truth.assertThat(cache.removedKeys).isEmpty(); in responseNoTransformDirective_notCached()
306 Truth.assertThat(cache.internalCache).isEmpty(); in responseMaxAge_caseInsensitive()
307 Truth.assertThat(cache.removedKeys).isEmpty(); in responseMaxAge_caseInsensitive()
322 Truth.assertThat(cache.internalCache).isEmpty(); in responseNoCache_caseInsensitive()
[all …]
/external/grpc-grpc-java/core/src/test/java/io/grpc/inprocess/
DInProcessServerTest.java19 import com.google.common.truth.Truth;
43 Truth.assertThat(s.getPort()).isEqualTo(-1); in getPort_notStarted()
68 Truth.assertThat(pool.count).isEqualTo(0); in serverHoldsRefToScheduler()
76 Truth.assertThat(pool.count).isEqualTo(1); in serverHoldsRefToScheduler()
78 Truth.assertThat(pool.count).isEqualTo(0); in serverHoldsRefToScheduler()
/external/clang/test/CodeGenCXX/
Dtemp-order.cpp23 bool Truth; member
26 : TT(_TT), P(_P), Truth(_Truth) {} in A()
27 A(const A &RHS) : TT(RHS.TT), P(RHS.P), Truth(RHS.Truth) { RHS.P = 0; } in A()
36 Truth = RHS.Truth; in operator =()
41 operator bool () { return Truth; } in operator bool()
/external/robolectric/utils/src/test/java/org/robolectric/util/inject/
DPluginFinderTest.kt3 import com.google.common.truth.Truth
33 Truth.assertThat(pluginFinder.findPlugin(Iface::class.java)).isEqualTo(ImplOne::class.java) in findPlugin_shouldPickHighestPriorityClass()
46 Truth.assertThat(exception).isInstanceOf(InjectionException::class.java) in findPlugin_shouldThrowIfAmbiguous()
61 Truth.assertThat(pluginFinder.findPlugins(Iface::class.java)) in findPlugins_shouldSortClassesInReversePriority()
84 Truth.assertThat(plugins) in findPlugins_whenAnnotatedSupercedes_shouldExcludeSuperceded()
/external/grpc-grpc-java/testing/
Dbuild.gradle12 // pulled in via Truth, for users that don't use Truth. Truth requires a
15 // compileOnly means only users using Truth would have the problem and
/external/dagger2/javatests/dagger/hilt/android/
DEntryPointAccessorsTest.kt26 import com.google.common.truth.Truth
149 Truth.assertThat(entryPoint.getString()) in testApplicationEntryPoint()
154 Truth.assertThat(applicationEntryPoint.getString()) in testApplicationEntryPoint()
162 Truth.assertThat(entryPoint.getString()) in testActivityEntryPoint()
172 Truth.assertThat(entryPoint.getString()) in testFragmentEntryPoint()
181 Truth.assertThat(entryPoint.getString()) in testViewEntryPoint()
/external/dagger2/javatests/dagger/hilt/android/processor/internal/androidentrypoint/
DKotlinAndroidEntryPointProcessorTest.java23 import com.google.common.truth.Truth;
59 Truth.assertThat(result.getExitCode()).isEqualTo(ExitCode.COMPILATION_ERROR); in checkBaseClassConstructorHasNotDefaultParameters()
60 Truth.assertThat(result.getMessages()).contains("The base class, 'test.BaseFragment', of the " in checkBaseClassConstructorHasNotDefaultParameters()
/external/truth/core/src/test/java/com/google/common/truth/
DCustomFailureMessageTest.java18 import static com.google.common.truth.Truth.assertThat;
19 import static com.google.common.truth.Truth.assertWithMessage;
20 import static com.google.common.truth.Truth.assert_;
DMultisetSubjectTest.java18 import static com.google.common.truth.Truth.assertThat;
19 import static com.google.common.truth.Truth.assertWithMessage;
/external/llvm/test/TableGen/
Deq.td10 class Derived<string Truth> :
11 Base<!if(!eq(Truth, "true"), 1, 0)>;
/external/icu/tools/cldr/cldr-to-icu/src/test/java/org/unicode/icu/tool/cldrtoicu/testing/
DRbValueSubjectFactory.java9 import com.google.common.truth.Truth;
14 return Truth.assertAbout(new RbValueSubjectFactory()).that(result); in assertThat()
DRbPathSubjectFactory.java9 import com.google.common.truth.Truth;
14 return Truth.assertAbout(new RbPathSubjectFactory()).that(result); in assertThat()
DResultSubjectFactory.java9 import com.google.common.truth.Truth;
14 return Truth.assertAbout(new ResultSubjectFactory()).that(result); in assertThat()
DIcuDataSubjectFactory.java9 import com.google.common.truth.Truth;
14 return Truth.assertAbout(new IcuDataSubjectFactory()).that(result); in assertThat()
/external/truth/
DREADME.md6 ## What is Truth?
8 Truth makes your [test assertions] and [failure messages] more readable.
12 Truth is owned and maintained by the [Guava] team. It is used in the majority
/external/starlark-go/starlark/
Dvalue.go101 Truth() Bool methodSpec
354 func (NoneType) Truth() Bool { return False } func
374 func (b Bool) Truth() Bool { return b } func
424 func (f Float) Truth() Bool { return f != 0.0 } func
527 func (s String) Truth() Bool { return len(s) > 0 } func
577 func (si stringElems) Truth() Bool { return True } func
626 func (si stringCodepoints) Truth() Bool { return True } func
692 func (fn *Function) Truth() Bool { return true } func
742 func (b *Builtin) Truth() Bool { return true } func
794 func (d *Dict) Truth() Bool { return d.Len() > 0 } func
[all …]
/external/dagger2/javatests/dagger/functional/cycle/
DLongCycleTest.java19 import static com.google.common.truth.Truth.assertThat;
20 import static com.google.common.truth.Truth.assertWithMessage;
/external/grpc-grpc-java/context/src/test/java/io/grpc/
DDeadlineTest.java19 import static com.google.common.truth.Truth.assertAbout;
29 import com.google.common.truth.Truth;
228 Truth.assertThat(d2).isGreaterThan(d1); in compareTo_greater()
236 Truth.assertThat(d1).isLessThan(d2); in compareTo_less()
243 Truth.assertThat(d1).isEquivalentAccordingToCompareTo(d2); in compareTo_same()
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
DShadowTimeZoneFinderSTest.java20 import static com.google.common.truth.Truth.assertThat;
23 import static com.google.common.truth.Truth.assertThat;
DShadowTimeZoneFinderQTest.java4 import static com.google.common.truth.Truth.assertThat;
7 import static com.google.common.truth.Truth.assertThat;
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/internal/bytecode/
DAndroidSandboxClassLoaderTest.java3 import static com.google.common.truth.Truth.assertThat;
4 import static com.google.common.truth.Truth.assertWithMessage;
/external/protobuf/java/core/src/test/java/com/google/protobuf/
DTextFormatParseLocationTest.java33 import static com.google.common.truth.Truth.assertThat;
34 import static com.google.common.truth.Truth.assertWithMessage;

12345678910>>...133