Home
last modified time | relevance | path

Searched +full:unit +full:- +full:test (Results 1 – 25 of 1155) sorted by relevance

12345678910>>...47

/external/jemalloc_new/
DAndroid.bp8 // http://www.apache.org/licenses/LICENSE-2.0
21 // Added automatically by a large-scale-change that took the approach of
34 // See: http://go/android-license-faq
39 "SPDX-license-identifier-Apache-2.0",
40 "SPDX-license-identifier-BSD",
41 "SPDX-license-identifier-ISC",
42 "SPDX-license-identifier-MIT",
51 "-D_GNU_SOURCE",
52 "-D_REENTRANT",
53 "-Wall",
[all …]
DMakefile.in6 # Clear the default suffixes, so that built-in rules are not used.
27 CPPFLAGS := @CPPFLAGS@ -I$(objroot)include -I$(srcroot)include
90 BINS := $(objroot)bin/jemalloc-config $(objroot)bin/jemalloc.sh $(objroot)bin/jeprof
138 LJEMALLOC := -Wl,--whole-archive -L$(objroot)lib -l$(LIBJEMALLOC) -Wl,--no-whole-archive
148 C_TESTLIB_SRCS := $(srcroot)test/src/btalloc.c $(srcroot)test/src/btalloc_0.c \
149 $(srcroot)test/src/btalloc_1.c $(srcroot)test/src/math.c \
150 $(srcroot)test/src/mtx.c $(srcroot)test/src/mq.c \
151 $(srcroot)test/src/SFMT.c $(srcroot)test/src/test.c \
152 $(srcroot)test/src/thd.c $(srcroot)test/src/timer.c
161 $(srcroot)test/unit/a0.c \
[all …]
/external/googletest/googletest/
DAndroid.mk8 # http://www.apache.org/licenses/LICENSE-2.0
20 # If we're being invoked from ndk-build, we'll have NDK_ROOT defined.
23 LOCAL_PATH := $(call my-dir)
25 # Defines a test module.
29 # a test running script.
31 # $(1): Test name. test/$(1).cc will automatically be added to sources.
35 # Use -Wno-unnamed-type-template-args because gtest_unittest.cc wants anonymous enum type.
36 define gtest-unit-test
40 $(eval LOCAL_SRC_FILES := test/$(strip $(1)).cc $(2)) \
43 $(eval LOCAL_CFLAGS := -Wall -Werror -Wno-sign-compare -Wno-unnamed-type-template-args) \
[all …]
/external/kotlinx.coroutines/reactive/kotlinx-coroutines-rx3/test/
DSchedulerTest.kt2 …* Copyright 2016-2018 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 licen… in <lambda>()
14 import org.junit.Test in <lambda>()
19 import kotlin.test.* in <lambda>()
24 … ignoreLostThreads("RxCachedThreadScheduler-", "RxCachedWorkerPoolEvictor-", "RxSchedulerPurge-") in <lambda>()
27 @Test in <lambda>()
28 fun testIoScheduler(): Unit = runTest { in <lambda>()
44 @Test in <lambda>()
57 private fun runSchedulerTest(nThreads: Int = 1, action: (Scheduler) -> Unit) { in <lambda>()
58 val future = CompletableFuture<Unit>() in <lambda>()
60 newFixedThreadPoolContext(nThreads, "test").use { dispatcher -> in <lambda>()
[all …]
/external/kotlinx.coroutines/reactive/kotlinx-coroutines-rx2/test/
DSchedulerTest.kt2 …* Copyright 2016-2018 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 licen… in <lambda>()
14 import org.junit.Test in <lambda>()
19 import kotlin.test.* in <lambda>()
24 … ignoreLostThreads("RxCachedThreadScheduler-", "RxCachedWorkerPoolEvictor-", "RxSchedulerPurge-") in <lambda>()
27 @Test in <lambda>()
28 fun testIoScheduler(): Unit = runTest { in <lambda>()
44 @Test in <lambda>()
57 private fun runSchedulerTest(nThreads: Int = 1, action: (Scheduler) -> Unit) { in <lambda>()
58 val future = CompletableFuture<Unit>() in <lambda>()
60 newFixedThreadPoolContext(nThreads, "test").use { dispatcher -> in <lambda>()
[all …]
/external/webrtc/test/pc/e2e/analyzer/video/
Ddefault_video_quality_analyzer_metric_names_test.cc4 * Use of this source code is governed by a BSD-style license
17 #include "api/test/create_frame_generator.h"
18 #include "api/test/metrics/metric.h"
19 #include "api/test/metrics/metrics_logger.h"
20 #include "api/test/metrics/stdout_metrics_exporter.h"
27 #include "test/gmock.h"
28 #include "test/gtest.h"
29 #include "test/pc/e2e/analyzer/video/default_video_quality_analyzer.h"
38 using ::webrtc::test::DefaultMetricsLogger;
39 using ::webrtc::test::ImprovementDirection;
[all …]
/external/tink/java_src/src/test/java/com/google/crypto/tink/integration/gcpkms/
DGcpKmsClientTest.java7 // http://www.apache.org/licenses/LICENSE-2.0
38 import org.junit.Test;
42 /** Unit tests for {@link GcpKmsClient}.*/
58 @Test
61 String keyUri = "gcp-kms://register"; in registerWithKeyUriAndCredentials_success()
71 @Test
77 String keyUri = "gcp-kms://register-unbound"; in registerOnlyWithCredentials_success()
85 @Test
89 () -> GcpKmsClient.register(Optional.of("blah"), Optional.of(CREDENTIAL_FILE_PATH))); in registerWithCredentialsAndBadKeyUri_fail()
102 @Test
[all …]
/external/curl/tests/unit/
DREADME.md1 <!--
4 SPDX-License-Identifier: curl
5 -->
7 # Unit tests
12 ## Build Unit Tests
14 `./configure --enable-debug` is required for the unit tests to build. To
15 enable unit tests, there will be a separate static libcurl built that will be
16 used exclusively for linking unit test programs. Just build everything as
17 normal, and then you can run the unit test cases as well.
19 ## Run Unit Tests
[all …]
/external/kotlinx.coroutines/kotlinx-coroutines-core/jvm/test/
DReusableCancellableContinuationTest.kt2 …* Copyright 2016-2019 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 licen…
9 import org.junit.Test
11 import kotlin.test.*
14 @Test
19 @Test
27 suspender: suspend ((CancellableContinuation<Unit>) -> Unit) -> Unit in testContinuationsCount()
31 val channel = Channel<Continuation<Unit>>(1) in testContinuationsCount()
36 it.resumeWith(Result.success(Unit)) in testContinuationsCount()
46 assertEquals(expectedInstances, result.size - 1) in testContinuationsCount()
49 @Test
[all …]
/external/sdv/vsomeip/third_party/boost/spirit/classic/phoenix/test/
DJamfile10 # Phoenix examples boost-jam file
14 unit-test binary_tests
19 unit-test binders_tests
24 unit-test functors_tests
29 unit-test iostream_tests
35 unit-test mixed_binary_tests
41 unit-test more_expressions_tests
47 unit-test primitives_tests
53 unit-test statements_tests
59 unit-test stl_tests
[all …]
/external/antlr/runtime/Ruby/
Drakefile2 # encoding: utf-8
18 "test/unit/test-dfa.rb",
19 "test/unit/test-tree-wizard.rb",
20 "test/unit/test-streams.rb",
21 "test/unit/test-recognizers.rb",
22 "test/unit/test-trees.rb",
23 "test/unit/test-exceptions.rb",
24 "test/unit/test-scope.rb",
25 "test/unit/test-scheme.rb",
26 "test/unit/test-template.rb",
[all …]
/external/kotlinpoet/kotlinpoet/src/commonTest/kotlin/com/squareup/kotlinpoet/
DLambdaTypeNameTest.kt8 * https://www.apache.org/licenses/LICENSE-2.0
21 import kotlin.test.Test
32 @Test fun receiverWithoutAnnotationHasNoParens() { in receiverWithoutAnnotationHasNoParens()
36 returnType = Unit::class.asTypeName(), in receiverWithoutAnnotationHasNoParens()
38 assertThat(typeName.toString()).isEqualTo("kotlin.Int.() -> kotlin.Unit") in receiverWithoutAnnotationHasNoParens()
41 @Test fun receiverWithAnnotationHasParens() { in receiverWithAnnotationHasParens()
48 returnType = Unit::class.asTypeName(), in receiverWithAnnotationHasParens()
51 … "(@com.squareup.kotlinpoet.LambdaTypeNameTest.HasSomeAnnotation kotlin.Int).() -> kotlin.Unit", in receiverWithAnnotationHasParens()
55 @Test fun contextReceiver() { in contextReceiver()
59 returnType = Unit::class.asTypeName(), in contextReceiver()
[all …]
/external/webrtc/rtc_tools/frame_analyzer/
Dvideo_quality_analysis_unittest.cc4 * Use of this source code is governed by a BSD-style license
15 #include "api/test/metrics/metric.h"
16 #include "api/test/metrics/metrics_logger.h"
18 #include "test/gmock.h"
19 #include "test/gtest.h"
20 #include "test/testsupport/file_utils.h"
23 namespace test { namespace
32 Unit unit; member
38 return a.name == b.name && a.test_case == b.test_case && a.unit == b.unit && in operator ==()
44 << "; unit=" << test::ToString(m.unit) in operator <<()
[all …]
/external/sdv/vsomeip/third_party/boost/spirit/classic/phoenix/example/
DJamfile10 # Phoenix examples boost-jam file
14 #unit-test sample1
20 unit-test sample2
26 unit-test sample3
32 unit-test sample4
38 unit-test sample5
44 unit-test sample6
50 unit-test sample7
56 unit-test sample8
62 unit-test sample9
[all …]
/external/webrtc/test/pc/e2e/
Dpeer_connection_quality_test_metric_names_test.cc4 * Use of this source code is governed by a BSD-style license
15 #include "api/test/create_network_emulation_manager.h"
16 #include "api/test/create_peer_connection_quality_test_frame_generator.h"
17 #include "api/test/metrics/metrics_logger.h"
18 #include "api/test/metrics/stdout_metrics_exporter.h"
19 #include "api/test/network_emulation_manager.h"
20 #include "api/test/pclf/media_configuration.h"
21 #include "api/test/pclf/media_quality_test_params.h"
22 #include "api/test/pclf/peer_configurer.h"
23 #include "api/test/peerconnection_quality_test_fixture.h"
[all …]
/external/federated-compute/fcp/base/
Dresult_test.cc8 * http://www.apache.org/licenses/LICENSE-2.0
46 TEST(ResultTest, Constructor) { in TEST() function
51 TEST(ResultTest, CombinatorsToValue) { in TEST() function
53 .Then([](int i) -> Result<bool> { return i != 123; }) in TEST()
54 .Map([](bool b) -> bool { return !b; }); in TEST()
58 TEST(ResultTest, CombinatorsToValue_MoveOnly) { in TEST() function
61 .Then([](UniqueValue<int> i) -> Result<UniqueValue<bool>> { in TEST()
64 .Map([](UniqueValue<bool> b) -> UniqueValue<bool> { in TEST()
67 .Map([](UniqueValue<bool> b) -> bool { return std::move(b).Take(); }); in TEST()
71 TEST(ResultTest, MapToValue_MoveOnly_Const) { in TEST() function
[all …]
/external/accompanist/permissions/src/androidTest/java/com/google/accompanist/permissions/
DFakeTests.kt8 * https://www.apache.org/licenses/LICENSE-2.0
19 import androidx.test.filters.SdkSuppress
20 import org.junit.Test
28 @Test
29 fun fakeTestToAvoidNoTestsFoundErrorInAPI22AndBelow() = Unit
31 // More Fake tests to help with sharding: https://github.com/android/android-test/issues/973
32 @Test
33 fun fake1() = Unit
35 @Test
36 fun fake2() = Unit
[all …]
/external/accompanist/pager-indicators/src/sharedTest/kotlin/com/google/accompanist/insets/
DFakeTests.kt8 * https://www.apache.org/licenses/LICENSE-2.0
19 import org.junit.Test
24 * Fake tests to help with sharding: https://github.com/android/android-test/issues/973
28 @Test
29 fun fake1() = Unit
31 @Test
32 fun fake2() = Unit
34 @Test
35 fun fake3() = Unit
37 @Test
[all …]
/external/accompanist/placeholder/src/sharedTest/kotlin/com/google/accompanist/placeholder/
DFakeTests.kt8 * https://www.apache.org/licenses/LICENSE-2.0
19 import org.junit.Test
24 * Fake tests to help with sharding: https://github.com/android/android-test/issues/973
28 @Test
29 fun fake1() = Unit
31 @Test
32 fun fake2() = Unit
34 @Test
35 fun fake3() = Unit
37 @Test
[all …]
/external/accompanist/testharness/src/sharedTest/kotlin/com/google/accompanist/testharness/
DFakeTests.kt8 * https://www.apache.org/licenses/LICENSE-2.0
19 import org.junit.Test
24 * Fake tests to help with sharding: https://github.com/android/android-test/issues/973
28 @Test
29 fun fake1() = Unit
31 @Test
32 fun fake2() = Unit
34 @Test
35 fun fake3() = Unit
37 @Test
[all …]
/external/accompanist/appcompat-theme/src/sharedTest/kotlin/com/google/accompanist/appcompattheme/
DFakeTests.kt8 * https://www.apache.org/licenses/LICENSE-2.0
19 import org.junit.Test
24 * Fake tests to help with sharding: https://github.com/android/android-test/issues/973
28 @Test
29 fun fake1() = Unit
31 @Test
32 fun fake2() = Unit
34 @Test
35 fun fake3() = Unit
37 @Test
[all …]
/external/accompanist/swiperefresh/src/sharedTest/kotlin/com/google/accompanist/swiperefresh/
DFakeTests.kt8 * https://www.apache.org/licenses/LICENSE-2.0
19 import org.junit.Test
24 * Fake tests to help with sharding: https://github.com/android/android-test/issues/973
28 @Test
29 fun fake1() = Unit
31 @Test
32 fun fake2() = Unit
34 @Test
35 fun fake3() = Unit
37 @Test
[all …]
/external/accompanist/systemuicontroller/src/sharedTest/kotlin/com/google/accompanist/systemuicontroller/
DFakeTests.kt8 * https://www.apache.org/licenses/LICENSE-2.0
19 import org.junit.Test
24 * Fake tests to help with sharding: https://github.com/android/android-test/issues/973
28 @Test
29 fun fake1() = Unit
31 @Test
32 fun fake2() = Unit
34 @Test
35 fun fake3() = Unit
37 @Test
[all …]
/external/accompanist/web/src/androidTest/kotlin/com/google/accompanist/web/
DFakeTests.kt8 * https://www.apache.org/licenses/LICENSE-2.0
19 import org.junit.Test
24 * Fake tests to help with sharding: https://github.com/android/android-test/issues/973
28 @Test
29 fun fake1() = Unit
31 @Test
32 fun fake2() = Unit
34 @Test
35 fun fake3() = Unit
37 @Test
[all …]
/external/accompanist/themeadapter-appcompat/src/sharedTest/kotlin/com/google/accompanist/themeadapter/appcompat/
DFakeTests.kt8 * https://www.apache.org/licenses/LICENSE-2.0
19 import org.junit.Test
24 * Fake tests to help with sharding: https://github.com/android/android-test/issues/973
28 @Test
29 fun fake1() = Unit
31 @Test
32 fun fake2() = Unit
34 @Test
35 fun fake3() = Unit
37 @Test
[all …]

12345678910>>...47