/aosp_15_r20/external/rust/android-crates-io/crates/tokio/ |
D | Cargo.toml | 5 # with all versions of Cargo and also rewrite `path` dependencies 14 rust-version = "1.70" 24 An event-driven, non-blocking I/O platform for writing asynchronous I/O 32 "non-blocking", 37 "network-programming", 40 repository = "https://github.com/tokio-rs/tokio" 50 all-features = true 51 rustc-args = [ 52 "--cfg", 54 "--cfg", [all …]
|
/aosp_15_r20/external/skia/tests/ |
H A D | PathOpsAsWindingTest.cpp | 4 * Use of this source code is governed by a BSD-style license that can be 16 #include "tests/Test.h" 22 SkPath path; in build_squircle() local 26 path.addRect(rect, dir); in build_squircle() 30 path.moveTo(rect.centerX(), rect.fTop); in build_squircle() 31 path.quadTo(rect.fRight, rect.fTop, rect.fRight, rect.centerY()); in build_squircle() 32 path.quadTo(rect.fRight, rect.fBottom, rect.centerX(), rect.fBottom); in build_squircle() 33 path.quadTo(rect.fLeft, rect.fBottom, rect.fLeft, rect.centerY()); in build_squircle() 34 path.quadTo(rect.fLeft, rect.fTop, rect.centerX(), rect.fTop); in build_squircle() 37 path.addCircle(rect.centerX(), rect.centerY(), rect.width() / 2, dir); in build_squircle() [all …]
|
/aosp_15_r20/external/okio/okio-testing-support/src/commonMain/kotlin/okio/ |
H A D | AbstractFileSystemTest.kt | 8 * http://www.apache.org/licenses/LICENSE-2.0 in <lambda>() 18 import kotlin.test.BeforeTest in <lambda>() 19 import kotlin.test.Ignore in <lambda>() 20 import kotlin.test.Test in <lambda>() 21 import kotlin.test.assertContentEquals in <lambda>() 22 import kotlin.test.assertEquals in <lambda>() 23 import kotlin.test.assertFailsWith in <lambda>() 24 import kotlin.test.assertFalse in <lambda>() 25 import kotlin.test.assertNull in <lambda>() 26 import kotlin.test.assertTrue in <lambda>() [all …]
|
/aosp_15_r20/external/jimfs/jimfs/src/test/java/com/google/common/jimfs/ |
H A D | JimfsUnixLikeFileSystemTest.java | 8 * http://www.apache.org/licenses/LICENSE-2.0 80 import java.nio.file.Path; 94 import org.junit.Test; 99 * Tests an in-memory file system through the public APIs in {@link Files}, etc. This also acts as 103 * <p>These tests uses a Unix-like file system, but most of what they test applies to any file 123 @Test 127 .containsExactlyElementsIn(ImmutableSet.of(path("/"))) in testFileSystem() 135 @Test 154 assertThat(fileStore.getUnallocatedSpace() <= totalSpace - 10000).isTrue(); in testFileStore() 166 @Test [all …]
|
/aosp_15_r20/external/rust/android-crates-io/crates/futures/ |
D | Cargo.toml | 5 # with all versions of Cargo and also rewrite `path` dependencies 14 rust-version = "1.56" 24 composability, and iterator-like interfaces. 26 homepage = "https://rust-lang.github.io/futures-rs" 34 license = "MIT OR Apache-2.0" 35 repository = "https://github.com/rust-lang/futures-rs" 38 all-features = true 39 rustdoc-args = [ 40 "--cfg", 47 "async-await", [all …]
|
/aosp_15_r20/tools/asuite/atest/test_finders/ |
H A D | module_finder.py | 7 # http://www.apache.org/licenses/LICENSE-2.0 39 _SUITES_TO_IGNORE = frozenset({'general-tests', 'device-tests', 'tests'}) 58 ) -> set[str]: 59 """Determine which module the user is trying to test. 61 Returns the modules to test. If there are multiple possibilities, will 65 module_path: String path of module to look for. 66 test_file_path: String path of input file where the test is found. 75 path=test_file_path, 79 # If a single module path matches contains the path of the given test file 85 path=module_path, [all …]
|
H A D | test_finder_utils.py | 7 # http://www.apache.org/licenses/LICENSE-2.0 17 # pylint: disable=too-many-lines 25 from pathlib import Path 44 # Helps find apk files listed in a test config (AndroidTest.xml) file. 62 _CC_GREP_RE = r'^\s*(TYPED_TEST(_P)*|TEST(_F|_P)*)\s*\({1},' 73 r"find {0} -type f| egrep '.*/{1}\.(kt|java)$' || true", 79 r"find {0} -type f | egrep '.*{1}\.(kt|java)$' || true", 84 r"find {0} -wholename '*{1}' -type d -print", 89 r"find {0} -wholename '*/{1}\.xml' -print", 95 r"find {0} -type f -print | egrep -i '/*test.*\.(cc|cpp)$'" [all …]
|
/aosp_15_r20/external/cronet/third_party/boringssl/src/pki/testdata/nist-pkits/ |
H A D | generate_tests.py | 2 # Use of this source code is governed by a BSD-style license that can be 5 '''Generates a test suite from NIST PKITS test descriptions. 11 sections that pertain to non-implemented features). 25 return s.translate(str.maketrans('', '', ' -')) 45 '''Writes a test case to |output|, and appends the test name to 81 # Output any non-default inputs/outputs. Only properties that differ from 107 this->RunTest(certs, crls, info); 114 # Matches a test header, ex: "4.1.1 Valid Signatures Test1" 117 # Matches the various headers in a test specification. 120 PATH_HEADER_MATCHER = re.compile('^\s*Certification Path:') [all …]
|
/aosp_15_r20/external/skia/infra/bots/ |
H A D | tasks.json | 3 "BazelBuild-all_tests-debug-linux_x64": { 5 "BazelBuild-all_tests-debug-linux_x64" 8 "BazelBuild-all_tests-release-linux_x64": { 10 "BazelBuild-all_tests-release-linux_x64" 13 "BazelBuild-android_math_test-for_android_arm64_release-linux_x64": { 15 "BazelBuild-android_math_test-for_android_arm64_release-linux_x64" 18 "BazelBuild-core-release-linux_x64": { 20 "BazelBuild-core-release-linux_x64" 23 "BazelBuild-cpu_8888_benchmark_android_test-for_android_arm64_release-linux_x64": { 25 "BazelBuild-cpu_8888_benchmark_android_test-for_android_arm64_release-linux_x64" [all …]
|
/aosp_15_r20/system/apex/apexd/ |
H A D | apex_file_repository_test.cpp | 8 * http://www.apache.org/licenses/LICENSE-2.0 19 #include <android-base/file.h> 20 #include <android-base/logging.h> 21 #include <android-base/properties.h> 22 #include <android-base/result-gmock.h> 23 #include <android-base/stringprintf.h> 74 const auto& pkg_name = compressed_apex->GetManifest().name(); in PrepareCompressedApex() 75 const int version = compressed_apex->GetManifest().version(); in PrepareCompressedApex() 80 compressed_apex->Decompress(decompression_path); in PrepareCompressedApex() 84 TEST(ApexFileRepositoryTest, InitializeSuccess) { in TEST() function [all …]
|
/aosp_15_r20/prebuilts/build-tools/common/py3-stdlib/unittest/test/ |
H A D | test_discovery.py | 1 import os.path 2 from os.path import abspath 7 from test import support 8 from test.support import import_helper 9 import test.test_importlib.util 13 import unittest.test 50 original_isfile = os.path.isfile 52 os.path.isfile = original_isfile 53 original_isdir = os.path.isdir 55 os.path.isdir = original_isdir [all …]
|
/aosp_15_r20/external/python/cpython3/Lib/unittest/test/ |
D | test_discovery.py | 1 import os.path 2 from os.path import abspath 7 from test import support 8 from test.support import import_helper 9 import test.test_importlib.util 13 import unittest.test 50 original_isfile = os.path.isfile 52 os.path.isfile = original_isfile 53 original_isdir = os.path.isdir 55 os.path.isdir = original_isdir [all …]
|
/aosp_15_r20/libcore/luni/src/test/java/libcore/java/nio/file/ |
H A D | Files2Test.java | 8 * http://www.apache.org/licenses/LICENSE-2.0 21 import org.junit.Test; 50 import java.nio.file.Path; 102 private Path mockPath; 104 private Path mockPath2; 117 @Test 124 @Test 131 @Test 139 @Test 149 @Test [all …]
|
/aosp_15_r20/out/soong/raw-aosp_shiba/05/ |
D | 05d69d9b61d85cfeb964d9322f52b2aa50644ef5 | 3 from: "out/host/linux-x86/bin/lint" 7 from: "out/host/linux-x86/bin/lint_project_xml" 11 from: "out/host/linux-x86/bin/soong_zip" 15 from: "out/host/linux-x86/bin/zipsync" 19 from: "out/host/linux-x86/framework/lint.jar" 23 from: "art/test/1953-pop-frame/src/art/SuspendEvents.java" 24 to: "art/test/1953-pop-frame/src/art/SuspendEvents.java" 27 from: "art/test/1953-pop-frame/src/art/Test1953.java" 28 to: "art/test/1953-pop-frame/src/art/Test1953.java" 31 from: "art/test/988-method-trace/src/art/Test988.java" [all …]
|
/aosp_15_r20/out/soong/raw-aosp_shiba/9d/ |
D | 9dc94224b8c1833abaeae15319021817256535bd | 3 from: "out/host/linux-x86/bin/lint" 7 from: "out/host/linux-x86/bin/lint_project_xml" 11 from: "out/host/linux-x86/bin/soong_zip" 15 from: "out/host/linux-x86/bin/zipsync" 19 from: "out/host/linux-x86/framework/lint.jar" 23 from: "art/test/1953-pop-frame/src/art/SuspendEvents.java" 24 to: "art/test/1953-pop-frame/src/art/SuspendEvents.java" 27 from: "art/test/1953-pop-frame/src/art/Test1953.java" 28 to: "art/test/1953-pop-frame/src/art/Test1953.java" 31 from: "art/test/988-method-trace/src/art/Test988.java" [all …]
|
/aosp_15_r20/external/okio/okio/src/nonWasmTest/kotlin/okio/ |
H A D | FakeFileSystemTest.kt | 8 * http://www.apache.org/licenses/LICENSE-2.0 in <lambda>() 19 import kotlin.test.Test in <lambda>() 20 import kotlin.test.assertEquals in <lambda>() 21 import kotlin.test.assertFailsWith in <lambda>() 22 import kotlin.test.assertFalse in <lambda>() 23 import kotlin.test.assertNull in <lambda>() 24 import kotlin.test.assertTrue in <lambda>() 26 import okio.Path.Companion.toPath in <lambda>() 46 temporaryDirectory: Path, 57 @Test [all …]
|
/aosp_15_r20/out/target/product/shiba/ |
D | module-info.json.rsp | 1 …-ne '{\n ' > out/target/product/shiba/module-info.json.tmp ) && (echo -ne '"100-framework-minus-a…
|
/aosp_15_r20/cts/tests/tests/graphics/src/android/graphics/cts/ |
H A D | PathTest.java | 8 * http://www.apache.org/licenses/LICENSE-2.0 30 import android.graphics.Path; 31 import android.graphics.Path.Direction; 34 import android.platform.test.annotations.DisabledOnRavenwood; 35 import android.platform.test.ravenwood.RavenwoodRule; 37 import androidx.test.filters.SmallTest; 38 import androidx.test.runner.AndroidJUnit4; 43 import org.junit.Test; 52 // Test constants 67 @Test [all …]
|
/aosp_15_r20/external/python/cpython3/Lib/test/test_import/ |
D | __init__.py | 21 from test.support import os_helper 22 from test.support import ( 25 from test.support.import_helper import ( 27 from test.support.os_helper import ( 29 from test.support import script_helper 30 from test.support import threading_helper 31 from test.test_importlib.util import uncache 37 "test meaningful only when writing bytecode") 56 path = script_helper.make_script(tempdir, name, source) 59 sys.path.insert(0, tempdir) [all …]
|
/aosp_15_r20/external/robolectric/integration_tests/nativegraphics/src/test/java/org/robolectric/shadows/ |
H A D | ShadowNativePathTest.java | 8 * http://www.apache.org/licenses/LICENSE-2.0 30 import android.graphics.Path; 32 import androidx.test.ext.junit.runners.AndroidJUnit4; 33 import org.junit.Test; 42 // Test constants 50 @Test 52 Path path = new Path(); in testAddRect1() local 53 assertTrue(path.isEmpty()); in testAddRect1() 55 path.addRect(rect, Path.Direction.CW); in testAddRect1() 56 assertFalse(path.isEmpty()); in testAddRect1() [all …]
|
/aosp_15_r20/external/autotest/tko/ |
H A D | parse.py | 1 #!/usr/bin/python3 -u 48 # client side test control, as saved in old Autotest paths. 50 # server side test control, as saved in old Autotest paths. 64 parser.add_option("-m", help="Send mail for FAILED tests", 66 parser.add_option("-r", help="Reparse the results of a job", 68 parser.add_option("-o", help="Parse a single results directory", 70 parser.add_option("-l", help=("Levels of subdirectories to include " 73 parser.add_option("-n", help="No blocking on an existing parse", 75 parser.add_option("-s", help="Database server hostname", 77 parser.add_option("-u", help="Database username", dest="db_user", [all …]
|
/aosp_15_r20/external/apache-commons-io/src/test/java/org/apache/commons/io/file/ |
H A D | PathUtilsTest.java | 9 * http://www.apache.org/licenses/LICENSE-2.0 42 import java.nio.file.Path; 55 import org.apache.commons.io.test.TestUtils; 59 import org.junit.jupiter.api.Test; 70 private static final String TEST_JAR_NAME = "test.jar"; 72 private static final String TEST_JAR_PATH = "src/test/resources/org/apache/commons/io/test.jar"; 77 * Creates directory test fixtures. 80 * <li>tempDirPath/symlinked-dir -> tempDirPath/subdir</li> 83 * @return Path to tempDirPath/subdir 86 private Path createTempSymlinkedRelativeDir() throws IOException { in createTempSymlinkedRelativeDir() [all …]
|
/aosp_15_r20/external/cronet/build/chromeos/ |
H A D | test_runner.py | 4 # Use of this source code is governed by a BSD-style license that can be 19 # The following non-std imports are fetched via vpython. See the list at 21 import dateutil.parser # pylint: disable=import-error 22 import jsonlines # pylint: disable=import-error 23 import psutil # pylint: disable=import-error 25 CHROMIUM_SRC_PATH = os.path.abspath( 26 os.path.join(os.path.dirname(__file__), '..', '..')) 28 # Use the android test-runner's gtest results support library for generating 30 sys.path.insert(0, os.path.join(CHROMIUM_SRC_PATH, 'build', 'android')) 31 from pylib.base import base_test_result # pylint: disable=import-error [all …]
|
/aosp_15_r20/external/angle/build/chromeos/ |
H A D | test_runner.py | 4 # Use of this source code is governed by a BSD-style license that can be 19 # The following non-std imports are fetched via vpython. See the list at 21 import dateutil.parser # pylint: disable=import-error 22 import jsonlines # pylint: disable=import-error 23 import psutil # pylint: disable=import-error 25 CHROMIUM_SRC_PATH = os.path.abspath( 26 os.path.join(os.path.dirname(__file__), '..', '..')) 28 # Use the android test-runner's gtest results support library for generating 30 sys.path.insert(0, os.path.join(CHROMIUM_SRC_PATH, 'build', 'android')) 31 from pylib.base import base_test_result # pylint: disable=import-error [all …]
|
/aosp_15_r20/external/zstd/tests/cli-tests/ |
H A D | run.py | 6 # This source code is licensed under both the BSD-style license (found in the 9 # You may select, at your option, one of the above-listed licenses. 67 def exclude_dir(dirname: str) -> bool: 69 Should files under the directory :dirname: be excluded from the test runner? 76 def exclude_file(filename: str) -> bool: 77 """Should the file :filename: be excluded from the test runner?""" 85 def read_file(filename: str) -> bytes: 91 def diff(a: bytes, b: bytes) -> str: 92 """Returns a diff between two different byte-strings :a: and :b:.""" 105 def pop_line(data: bytes) -> typing.Tuple[typing.Optional[bytes], bytes]: [all …]
|