mirror of
				https://github.com/KevinMidboe/linguist.git
				synced 2025-10-29 17:50:22 +00:00 
			
		
		
		
	add generated test and sample for composer.lock
This commit is contained in:
		
							
								
								
									
										267
									
								
								samples/JSON/composer.lock
									
									
									
										generated
									
									
									
										Normal file
									
								
							
							
						
						
									
										267
									
								
								samples/JSON/composer.lock
									
									
									
										generated
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,267 @@ | ||||
| { | ||||
|     "_readme": [ | ||||
|         "This file locks the dependencies of your project to a known state", | ||||
|         "Read more about it at http://getcomposer.org/doc/01-basic-usage.md#composer-lock-the-lock-file" | ||||
|     ], | ||||
|     "hash": "d8ff8fcb71824f5199f3499bf71862f1", | ||||
|     "packages": [ | ||||
|         { | ||||
|             "name": "arbit/system-process", | ||||
|             "version": "1.0", | ||||
|             "source": { | ||||
|                 "type": "git", | ||||
|                 "url": "https://github.com/Arbitracker/system-process.git", | ||||
|                 "reference": "1.0" | ||||
|             }, | ||||
|             "dist": { | ||||
|                 "type": "zip", | ||||
|                 "url": "https://api.github.com/repos/Arbitracker/system-process/zipball/1.0", | ||||
|                 "reference": "1.0", | ||||
|                 "shasum": "" | ||||
|             }, | ||||
|             "type": "library", | ||||
|             "autoload": { | ||||
|                 "psr-0": { | ||||
|                     "SystemProcess": "src/main/php/" | ||||
|                 } | ||||
|             }, | ||||
|             "notification-url": "http://packagist.org/downloads/", | ||||
|             "description": "System process execution library", | ||||
|             "time": "2013-03-31 12:42:56" | ||||
|         }, | ||||
|         { | ||||
|             "name": "pdepend/staticReflection", | ||||
|             "version": "0.1", | ||||
|             "source": { | ||||
|                 "type": "git", | ||||
|                 "url": "https://github.com/manuelpichler/staticReflection.git", | ||||
|                 "reference": "origin/master" | ||||
|             }, | ||||
|             "type": "library" | ||||
|         }, | ||||
|         { | ||||
|             "name": "qafoo/rmf", | ||||
|             "version": "dev-master", | ||||
|             "source": { | ||||
|                 "type": "git", | ||||
|                 "url": "https://github.com/Qafoo/REST-Micro-Framework.git", | ||||
|                 "reference": "5f43983f15a8aa12be42ad6068675d4008bfb9ed" | ||||
|             }, | ||||
|             "dist": { | ||||
|                 "type": "zip", | ||||
|                 "url": "https://api.github.com/repos/Qafoo/REST-Micro-Framework/zipball/5f43983f15a8aa12be42ad6068675d4008bfb9ed", | ||||
|                 "reference": "5f43983f15a8aa12be42ad6068675d4008bfb9ed", | ||||
|                 "shasum": "" | ||||
|             }, | ||||
|             "type": "library", | ||||
|             "autoload": { | ||||
|                 "psr-0": { | ||||
|                     "Qafoo\\RMF": "src/main/" | ||||
|                 } | ||||
|             }, | ||||
|             "description": "Very simple VC framework which makes it easy to build HTTP applications / REST webservices", | ||||
|             "support": { | ||||
|                 "source": "https://github.com/Qafoo/REST-Micro-Framework/tree/master", | ||||
|                 "issues": "https://github.com/Qafoo/REST-Micro-Framework/issues" | ||||
|             }, | ||||
|             "time": "2012-12-07 13:33:01" | ||||
|         }, | ||||
|         { | ||||
|             "name": "twig/twig", | ||||
|             "version": "1.6.0", | ||||
|             "source": { | ||||
|                 "type": "git", | ||||
|                 "url": "git://github.com/fabpot/Twig.git", | ||||
|                 "reference": "v1.6.0" | ||||
|             }, | ||||
|             "dist": { | ||||
|                 "type": "zip", | ||||
|                 "url": "https://github.com/fabpot/Twig/zipball/v1.6.0", | ||||
|                 "reference": "v1.6.0", | ||||
|                 "shasum": "" | ||||
|             }, | ||||
|             "require": { | ||||
|                 "php": ">=5.2.4" | ||||
|             }, | ||||
|             "type": "library", | ||||
|             "autoload": { | ||||
|                 "psr-0": { | ||||
|                     "Twig_": "lib/" | ||||
|                 } | ||||
|             }, | ||||
|             "license": [ | ||||
|                 "BSD" | ||||
|             ], | ||||
|             "authors": [ | ||||
|                 { | ||||
|                     "name": "Fabien Potencier", | ||||
|                     "email": "fabien@symfony.com" | ||||
|                 }, | ||||
|                 { | ||||
|                     "name": "Armin Ronacher", | ||||
|                     "email": "armin.ronacher@active-4.com" | ||||
|                 } | ||||
|             ], | ||||
|             "description": "Twig, the flexible, fast, and secure template language for PHP", | ||||
|             "homepage": "http://twig.sensiolabs.org", | ||||
|             "keywords": [ | ||||
|                 "templating" | ||||
|             ], | ||||
|             "time": "2012-02-03 23:34:52" | ||||
|         }, | ||||
|         { | ||||
|             "name": "twitter/bootstrap", | ||||
|             "version": "0.1", | ||||
|             "source": { | ||||
|                 "type": "git", | ||||
|                 "url": "https://github.com/twitter/bootstrap/", | ||||
|                 "reference": "origin/master" | ||||
|             }, | ||||
|             "type": "library" | ||||
|         }, | ||||
|         { | ||||
|             "name": "zetacomponents/base", | ||||
|             "version": "1.8", | ||||
|             "source": { | ||||
|                 "type": "git", | ||||
|                 "url": "https://github.com/zetacomponents/Base.git", | ||||
|                 "reference": "1.8" | ||||
|             }, | ||||
|             "dist": { | ||||
|                 "type": "zip", | ||||
|                 "url": "https://github.com/zetacomponents/Base/zipball/1.8", | ||||
|                 "reference": "1.8", | ||||
|                 "shasum": "" | ||||
|             }, | ||||
|             "type": "library", | ||||
|             "autoload": { | ||||
|                 "classmap": [ | ||||
|                     "src" | ||||
|                 ] | ||||
|             }, | ||||
|             "license": [ | ||||
|                 "apache2" | ||||
|             ], | ||||
|             "authors": [ | ||||
|                 { | ||||
|                     "name": "Sergey Alexeev" | ||||
|                 }, | ||||
|                 { | ||||
|                     "name": "Sebastian Bergmann" | ||||
|                 }, | ||||
|                 { | ||||
|                     "name": "Jan Borsodi" | ||||
|                 }, | ||||
|                 { | ||||
|                     "name": "Raymond Bosman" | ||||
|                 }, | ||||
|                 { | ||||
|                     "name": "Frederik Holljen" | ||||
|                 }, | ||||
|                 { | ||||
|                     "name": "Kore Nordmann" | ||||
|                 }, | ||||
|                 { | ||||
|                     "name": "Derick Rethans" | ||||
|                 }, | ||||
|                 { | ||||
|                     "name": "Vadym Savchuk" | ||||
|                 }, | ||||
|                 { | ||||
|                     "name": "Tobias Schlitt" | ||||
|                 }, | ||||
|                 { | ||||
|                     "name": "Alexandru Stanoi" | ||||
|                 } | ||||
|             ], | ||||
|             "description": "The Base package provides the basic infrastructure that all packages rely on. Therefore every component relies on this package.", | ||||
|             "homepage": "https://github.com/zetacomponents", | ||||
|             "time": "2009-12-21 04:14:16" | ||||
|         }, | ||||
|         { | ||||
|             "name": "zetacomponents/graph", | ||||
|             "version": "1.5", | ||||
|             "source": { | ||||
|                 "type": "git", | ||||
|                 "url": "https://github.com/zetacomponents/Graph.git", | ||||
|                 "reference": "1.5" | ||||
|             }, | ||||
|             "dist": { | ||||
|                 "type": "zip", | ||||
|                 "url": "https://github.com/zetacomponents/Graph/zipball/1.5", | ||||
|                 "reference": "1.5", | ||||
|                 "shasum": "" | ||||
|             }, | ||||
|             "type": "library", | ||||
|             "autoload": { | ||||
|                 "classmap": [ | ||||
|                     "src" | ||||
|                 ] | ||||
|             }, | ||||
|             "license": [ | ||||
|                 "apache2" | ||||
|             ], | ||||
|             "authors": [ | ||||
|                 { | ||||
|                     "name": "Sergey Alexeev" | ||||
|                 }, | ||||
|                 { | ||||
|                     "name": "Sebastian Bergmann" | ||||
|                 }, | ||||
|                 { | ||||
|                     "name": "Jan Borsodi" | ||||
|                 }, | ||||
|                 { | ||||
|                     "name": "Raymond Bosman" | ||||
|                 }, | ||||
|                 { | ||||
|                     "name": "Frederik Holljen" | ||||
|                 }, | ||||
|                 { | ||||
|                     "name": "Kore Nordmann" | ||||
|                 }, | ||||
|                 { | ||||
|                     "name": "Derick Rethans" | ||||
|                 }, | ||||
|                 { | ||||
|                     "name": "Vadym Savchuk" | ||||
|                 }, | ||||
|                 { | ||||
|                     "name": "Tobias Schlitt" | ||||
|                 }, | ||||
|                 { | ||||
|                     "name": "Alexandru Stanoi" | ||||
|                 }, | ||||
|                 { | ||||
|                     "name": "Lars Jankowski" | ||||
|                 }, | ||||
|                 { | ||||
|                     "name": "Elger Thiele" | ||||
|                 }, | ||||
|                 { | ||||
|                     "name": "Michael Maclean" | ||||
|                 } | ||||
|             ], | ||||
|             "description": "A component for creating pie charts, line graphs and other kinds of diagrams.", | ||||
|             "homepage": "https://github.com/zetacomponents", | ||||
|             "time": "2009-12-21 04:26:17" | ||||
|         } | ||||
|     ], | ||||
|     "packages-dev": [ | ||||
|  | ||||
|     ], | ||||
|     "aliases": [ | ||||
|  | ||||
|     ], | ||||
|     "minimum-stability": "stable", | ||||
|     "stability-flags": { | ||||
|         "qafoo/rmf": 20, | ||||
|         "arbit/system-process": 0 | ||||
|     }, | ||||
|     "platform": [ | ||||
|  | ||||
|     ], | ||||
|     "platform-dev": [ | ||||
|  | ||||
|     ] | ||||
| } | ||||
| @@ -179,6 +179,9 @@ class TestBlob < Test::Unit::TestCase | ||||
|     # TypeScript-generated JS | ||||
|     # TODO | ||||
|  | ||||
|     # Composer generated composer.lock file | ||||
|     assert blob("JSON/composer.lock").generated? | ||||
|  | ||||
|     # PEG.js-generated parsers | ||||
|     assert blob("JavaScript/parser.js").generated? | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user