Home
last modified time | relevance | path

Searched refs:manifest (Results 1 – 25 of 240) sorted by relevance

12345678910

/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/internal/
DGradleManifestFactoryTest.java19 import org.robolectric.manifest.AndroidManifest;
59 final AndroidManifest manifest = createManifest( in getAppManifest_withOverriddenConfigAssetDir_shouldCreateManifest() local
65 assertThat(manifest.getPackageName()).isEqualTo("org.robolectric.gradleapp"); in getAppManifest_withOverriddenConfigAssetDir_shouldCreateManifest()
66 assertThat(manifest.getResDirectory()).isEqualTo(file("build/intermediates/res/flavor1/type1")); in getAppManifest_withOverriddenConfigAssetDir_shouldCreateManifest()
67 …assertThat(manifest.getAssetsDirectory()).isEqualTo(file("build/intermediates/../../src/test/resou… in getAppManifest_withOverriddenConfigAssetDir_shouldCreateManifest()
68 …assertThat(manifest.getAndroidManifestFile()).isEqualTo(file("build/intermediates/manifests/full/f… in getAppManifest_withOverriddenConfigAssetDir_shouldCreateManifest()
73 final AndroidManifest manifest = createManifest( in getAppManifest_withOverriddenConfigManifest_shouldCreateManifest() local
78 assertThat(manifest.getAndroidManifestFile().getPath()).isEqualTo( in getAppManifest_withOverriddenConfigManifest_shouldCreateManifest()
80 assertThat(manifest.getPackageName()).isEqualTo("org.robolectric.gradleapp"); in getAppManifest_withOverriddenConfigManifest_shouldCreateManifest()
81 assertThat(manifest.getResDirectory()).isEqualTo(file("build/intermediates/res/flavor1/type1")); in getAppManifest_withOverriddenConfigManifest_shouldCreateManifest()
[all …]
DDefaultManifestFactoryTest.java12 import org.robolectric.manifest.AndroidManifest;
26 AndroidManifest manifest = RobolectricTestRunner.createAndroidManifest(identifier); in identify() local
28 assertThat(manifest.getAndroidManifestFile()) in identify()
30 assertThat(manifest.getResDirectory()) in identify()
32 assertThat(manifest.getAssetsDirectory()) in identify()
45 AndroidManifest manifest = RobolectricTestRunner.createAndroidManifest(identifier); in identify_configNoneShouldBeIgnored() local
47 assertThat(manifest.getAndroidManifestFile()) in identify_configNoneShouldBeIgnored()
49 assertThat(manifest.getResDirectory()) in identify_configNoneShouldBeIgnored()
51 assertThat(manifest.getAssetsDirectory()) in identify_configNoneShouldBeIgnored()
53 assertThat(manifest.getRClassName()).isEqualTo("com.example.app.R"); in identify_configNoneShouldBeIgnored()
[all …]
DBuckManifestFactoryTest.java18 import org.robolectric.manifest.AndroidManifest;
58 AndroidManifest manifest = RobolectricTestRunner.createAndroidManifest(manifestIdentifier); in multiple_res_dirs() local
59 assertThat(manifest.getResDirectory()) in multiple_res_dirs()
61 assertThat(manifest.getAssetsDirectory()) in multiple_res_dirs()
64 List<ResourcePath> resourcePathList = manifest.getIncludedResourcePaths(); in multiple_res_dirs()
67 …new ResourcePath(manifest.getRClass(), FileFsFile.from("buck/res2"), FileFsFile.from("buck/assets2… in multiple_res_dirs()
68 new ResourcePath(manifest.getRClass(), FileFsFile.from("buck/res1"), null), in multiple_res_dirs()
69 new ResourcePath(manifest.getRClass(), null, FileFsFile.from("buck/assets1")) in multiple_res_dirs()
85 AndroidManifest manifest = RobolectricTestRunner.createAndroidManifest(manifestIdentifier); in pass_multiple_res_dirs_in_file() local
86 assertThat(manifest.getResDirectory()) in pass_multiple_res_dirs_in_file()
[all …]
/external/libpng/scripts/
Dmakefile.cegcc42 $(NAME): remove-old copy-src compilation copy manifest archive
56 @mkdir -p $(PACKAGE)-bin/manifest
59 @mkdir -p $(PACKAGE)-dev/manifest
60 @touch $(PACKAGE)-bin/manifest/$(PACKAGE)-bin.mft
61 @touch $(PACKAGE)-bin/manifest/$(PACKAGE)-bin.ver
62 @touch $(PACKAGE)-dev/manifest/$(PACKAGE)-dev.mft
63 @touch $(PACKAGE)-dev/manifest/$(PACKAGE)-dev.ver
87 manifest:
89 @cd $(PACKAGE)-bin && find * >> manifest/$(PACKAGE)-bin.mft
91 echo $(MANIFESTVERBIN) >> manifest/$(PACKAGE)-bin.ver && \
[all …]
/external/tensorflow/tensorflow/compiler/xla/tests/
Dtest_macros.cc34 ManifestT manifest; in ReadManifest() local
38 return manifest; in ReadManifest()
58 auto& platforms = manifest[pieces[0]]; in ReadManifest()
63 return manifest; in ReadManifest()
70 ManifestT manifest = ReadManifest(); in PrependDisabledIfIndicated() local
75 auto it = manifest.find( in PrependDisabledIfIndicated()
77 if (it == manifest.end()) { in PrependDisabledIfIndicated()
78 it = manifest.find(test_case_name); in PrependDisabledIfIndicated()
79 if (it == manifest.end()) { in PrependDisabledIfIndicated()
/external/toolchain-utils/
Dsetup_chromeos.py183 version, manifest = version.split('.', 1)
185 (version, manifest))
187 (versions_repo, version, manifest))
195 version, manifest = version.split('.', 1)
197 'found version %s.%s for LKGM at timestamp %s' % (version, manifest,
200 (versions_repo, version, manifest))
204 version, manifest = version.split('.', 1)
206 (version, manifest))
208 manifest))
214 version, manifest = version.split('.', 1)
[all …]
/external/guava/guava-tests/test/com/google/common/reflect/
DClassPathTest.java281 assertThat(ClassPath.Scanner.getClassPathFromManifest(jarFile, manifest(""))) in testGetClassPathFromManifest_noClassPath()
293 Manifest manifest = manifestClasspath("an_invalid^path"); in testGetClassPathFromManifest_badClassPath() local
294 assertThat(ClassPath.Scanner.getClassPathFromManifest(jarFile, manifest)) in testGetClassPathFromManifest_badClassPath()
301 Manifest manifest = manifestClasspath("with/relative/dir"); in testGetClassPathFromManifest_relativeDirectory() local
302 assertThat(ClassPath.Scanner.getClassPathFromManifest(jarFile, manifest)) in testGetClassPathFromManifest_relativeDirectory()
309 Manifest manifest = manifestClasspath("with/relative.jar"); in testGetClassPathFromManifest_relativeJar() local
310 assertThat(ClassPath.Scanner.getClassPathFromManifest(jarFile, manifest)) in testGetClassPathFromManifest_relativeJar()
317 Manifest manifest = manifestClasspath("current.jar"); in testGetClassPathFromManifest_jarInCurrentDirectory() local
318 assertThat(ClassPath.Scanner.getClassPathFromManifest(jarFile, manifest)) in testGetClassPathFromManifest_jarInCurrentDirectory()
324 Manifest manifest = manifestClasspath("file:/with/absolute/dir"); in testGetClassPathFromManifest_absoluteDirectory() local
[all …]
/external/zlib/src/win32/
DMakefile.msc53 if exist $@.manifest \
54 mt -nologo -manifest $@.manifest -outputresource:$@;2
58 if exist $@.manifest \
59 mt -nologo -manifest $@.manifest -outputresource:$@;1
63 if exist $@.manifest \
64 mt -nologo -manifest $@.manifest -outputresource:$@;1
68 if exist $@.manifest \
69 mt -nologo -manifest $@.manifest -outputresource:$@;1
73 if exist $@.manifest \
74 mt -nologo -manifest $@.manifest -outputresource:$@;1
[all …]
/external/toolchain-utils/automation/clients/report/
Dvalidate_failures.py56 from dejagnu.manifest import Manifest
113 def CompareResults(manifest, actual): argument
119 actual_vs_manifest = actual - manifest
123 manifest))
141 manifest = set(Manifest.FromFile(manifest_path))
155 if manifest:
157 LogResults('debug', manifest)
163 actual_vs_manifest, manifest_vs_actual = CompareResults(manifest, actual)
192 manifest_strings = [manifest.Generate() for manifest in manifests]
231 if options.manifest:
/external/python/cpython3/Lib/distutils/tests/
Dtest_msvc9compiler.py144 manifest = os.path.join(tempdir, 'manifest')
145 f = open(manifest, 'w')
152 compiler._remove_visual_c_ref(manifest)
155 f = open(manifest)
168 manifest = os.path.join(tempdir, 'manifest')
169 f = open(manifest, 'w')
176 got = compiler._remove_visual_c_ref(manifest)
Dtest_sdist.py234 manifest = f.read()
237 self.assertEqual(manifest, MANIFEST % {'sep': os.sep})
285 self.assertEqual(cmd.manifest, 'MANIFEST')
338 f = open(cmd.manifest)
340 manifest = [line.strip() for line in f.read().split('\n')
345 self.assertEqual(len(manifest), 5)
357 f = open(cmd.manifest)
375 f = open(cmd.manifest)
377 manifest = [line.strip() for line in f.read().split('\n')
382 self.assertEqual(manifest[0],
[all …]
/external/python/cpython2/Lib/distutils/tests/
Dtest_msvc9compiler.py144 manifest = os.path.join(tempdir, 'manifest')
145 f = open(manifest, 'w')
152 compiler._remove_visual_c_ref(manifest)
155 f = open(manifest)
168 manifest = os.path.join(tempdir, 'manifest')
169 f = open(manifest, 'w')
176 got = compiler._remove_visual_c_ref(manifest)
Dtest_sdist.py254 manifest = f.read()
257 self.assertEqual(manifest, MANIFEST % {'sep': os.sep})
305 self.assertEqual(cmd.manifest, 'MANIFEST')
406 f = open(cmd.manifest)
408 manifest = [line.strip() for line in f.read().split('\n')
413 self.assertEqual(len(manifest), 5)
425 f = open(cmd.manifest)
443 f = open(cmd.manifest)
445 manifest = [line.strip() for line in f.read().split('\n')
450 self.assertEqual(manifest[0],
[all …]
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/bytecode/
DClassCache.java29 Manifest manifest = cacheFile.getManifest(); in ClassCache() local
30 if (manifest != null) { in ClassCache()
31 Attributes attributes = manifest.getEntries().get("robolectric"); in ClassCache()
50 Manifest manifest = new Manifest(); in ClassCache()
53 manifest.getEntries().put("robolectric", attributes); in ClassCache()
55 saveAllClassesToCache(cacheJarFile, manifest); in ClassCache()
98 protected void saveAllClassesToCache(File file, Manifest manifest) { in saveAllClassesToCache() argument
110 jarOutputStream = new JarOutputStream(new FileOutputStream(file), manifest); in saveAllClassesToCache()
/external/robolectric-shadows/annotations/src/main/java/org/robolectric/annotation/
DConfig.java77 String manifest() default DEFAULT_VALUE_STRING; in manifest() method
187 private final String manifest; field in Config.Implementation
290 …public Implementation(int[] sdk, int minSdk, int maxSdk, String manifest, String qualifiers, Strin… in Implementation() argument
294 this.manifest = manifest; in Implementation()
326 public String manifest() { in manifest() method in Config.Implementation
327 return manifest; in manifest()
395 protected String manifest = Config.DEFAULT_VALUE_STRING; field in Config.Builder
415 manifest = config.manifest(); in Builder()
444 public Builder setManifest(String manifest) { in setManifest() argument
445 this.manifest = manifest; in setManifest()
[all …]
/external/python/cpython2/Lib/distutils/command/
Dsdist.py106 self.manifest = None
126 if self.manifest is None:
127 self.manifest = "MANIFEST"
366 "manifest file '%s'" % self.manifest)
371 self.execute(file_util.write_file, (self.manifest, content),
372 "writing manifest file '%s'" % self.manifest)
376 if not os.path.isfile(self.manifest):
379 fp = open(self.manifest, 'rU')
391 log.info("reading manifest file '%s'", self.manifest)
392 manifest = open(self.manifest)
[all …]
/external/python/cpython3/Lib/distutils/command/
Dsdist.py100 self.manifest = None
120 if self.manifest is None:
121 self.manifest = "MANIFEST"
345 "manifest file '%s'" % self.manifest)
350 self.execute(file_util.write_file, (self.manifest, content),
351 "writing manifest file '%s'" % self.manifest)
355 if not os.path.isfile(self.manifest):
358 fp = open(self.manifest)
370 log.info("reading manifest file '%s'", self.manifest)
371 manifest = open(self.manifest)
[all …]
/external/python/cpython3/Doc/distutils/
Dsourcedist.rst108 to distribute. The typical way to do this is to write a *manifest template*,
109 called :file:`MANIFEST.in` by default. The manifest template is just a list of
110 instructions for how to generate your manifest file, :file:`MANIFEST`, which is
112 :command:`sdist` command processes this template and generates a manifest based
115 If you prefer to roll your own manifest file, the format is simple: one filename
134 The manifest template has one command per line, where each command specifies a
136 example, again we turn to the Distutils' own manifest template:
149 instructions in the manifest template. (Or, you can use the
151 several other commands available in the manifest template mini-language; see
154 The order of commands in the manifest template matters: initially, we have the
[all …]
/external/python/cpython2/Doc/distutils/
Dsourcedist.rst101 to distribute. The typical way to do this is to write a *manifest template*,
102 called :file:`MANIFEST.in` by default. The manifest template is just a list of
103 instructions for how to generate your manifest file, :file:`MANIFEST`, which is
105 :command:`sdist` command processes this template and generates a manifest based
108 If you prefer to roll your own manifest file, the format is simple: one filename
136 * if the manifest file (:file:`MANIFEST` by default) exists and the first line
140 * if the manifest file doesn't exist or has been previously automatically
141 generated, read :file:`MANIFEST.in` and create the manifest
143 * if neither :file:`MANIFEST` nor :file:`MANIFEST.in` exist, create a manifest
153 Second, you might just want to (re)generate the manifest, but not create a
[all …]
/external/proguard/src/proguard/io/
DJarWriter.java39 private final Manifest manifest; field in JarWriter
64 Manifest manifest, in JarWriter() argument
68 this.manifest = manifest; in JarWriter()
201 currentJarOutputStream = manifest != null ? in prepareEntry()
202 new JarOutputStream(parentOutputStream, manifest) : in prepareEntry()
/external/robolectric-shadows/robolectric/src/main/java/org/robolectric/internal/
DGradleManifestFactory.java32 final FileFsFile manifest; in identify() local
56 String manifestName = config.manifest(); in identify()
59 manifest = FileFsFile.from(manifestUrl.getPath()); in identify()
61manifest = FileFsFile.from(buildOutputDir, "manifests", "full", flavor, abiSplit, type, manifestNa… in identify()
64manifest = FileFsFile.from(buildOutputDir, "manifests", "aapt", flavor, abiSplit, type, manifestNa… in identify()
66 manifest = FileFsFile.from(buildOutputDir, "bundles", flavor, abiSplit, type, manifestName); in identify()
69 return new ManifestIdentifier(manifest, res, assets, packageName, null); in identify()
/external/emma/core/java12/com/vladium/util/
DIPathEnumerator.java50 void handleArchiveStart (File parentDir, File archive, Manifest manifest); in handleArchiveStart() argument
223 Manifest manifest = in.getManifest (); // can be null in enumeratePathArchive() local
224 … if (manifest == null) manifest = readManifestViaJarFile (fullArchive); // can be null in enumeratePathArchive()
226 handler.handleArchiveStart (m_currentPathDir, new File (archive), manifest); in enumeratePathArchive()
245 if (manifest == null) manifest = in.getManifest (); in enumeratePathArchive()
246 if (manifest != null) in enumeratePathArchive()
248 final Attributes attributes = manifest.getMainAttributes (); in enumeratePathArchive()
/external/chromium-trace/catapult/common/py_vulcanize/third_party/rcssmin/_setup/py3/
Dsetup.py175 def find_packages(manifest): argument
178 collect = manifest.get('packages.collect', '').split()
179 lib = manifest.get('packages.lib', '.')
245 def make_manifest(manifest, config, docs, kwargs): argument
252 ] + list(manifest.get('packages.extra', '').split() or ())
325 for item in manifest.get('dist', '').split():
354 manifest = dict(cfg.items('manifest'))
361 scripts = manifest.get('scripts', '').strip() or None
364 modules = manifest.get('modules', '').strip() or None
394 'package_dir': {'': manifest.get('packages.lib', '.')},
[all …]
/external/chromium-trace/catapult/common/py_vulcanize/third_party/rjsmin/_setup/py2/
Dsetup.py174 def find_packages(manifest): argument
177 collect = manifest.get('packages.collect', '').split()
178 lib = manifest.get('packages.lib', '.')
244 def make_manifest(manifest, config, docs, kwargs): argument
251 ] + list(manifest.get('packages.extra', '').split() or ())
324 for item in manifest.get('dist', '').split():
353 manifest = dict(cfg.items('manifest'))
360 scripts = manifest.get('scripts', '').strip() or None
363 modules = manifest.get('modules', '').strip() or None
395 'package_dir': {'': manifest.get('packages.lib', '.')},
[all …]
/external/chromium-trace/catapult/common/py_vulcanize/third_party/rjsmin/_setup/py3/
Dsetup.py175 def find_packages(manifest): argument
178 collect = manifest.get('packages.collect', '').split()
179 lib = manifest.get('packages.lib', '.')
245 def make_manifest(manifest, config, docs, kwargs): argument
252 ] + list(manifest.get('packages.extra', '').split() or ())
325 for item in manifest.get('dist', '').split():
358 manifest = dict(cfg.items('manifest'))
365 scripts = manifest.get('scripts', '').strip() or None
368 modules = manifest.get('modules', '').strip() or None
400 'package_dir': {'': manifest.get('packages.lib', '.')},
[all …]

12345678910