mirror of
https://github.com/KevinMidboe/linguist.git
synced 2026-01-10 03:15:34 +00:00
Move binaries and text files from samples folder to fixtures
This commit is contained in:
BIN
test/fixtures/Binary/cube.stl
vendored
Normal file
BIN
test/fixtures/Binary/cube.stl
vendored
Normal file
Binary file not shown.
BIN
test/fixtures/Binary/dog.o
vendored
Executable file
BIN
test/fixtures/Binary/dog.o
vendored
Executable file
Binary file not shown.
BIN
test/fixtures/Binary/foo bar.jar
vendored
Normal file
BIN
test/fixtures/Binary/foo bar.jar
vendored
Normal file
Binary file not shown.
BIN
test/fixtures/Binary/foo.bin
vendored
Normal file
BIN
test/fixtures/Binary/foo.bin
vendored
Normal file
Binary file not shown.
BIN
test/fixtures/Binary/foo.pdf
vendored
Normal file
BIN
test/fixtures/Binary/foo.pdf
vendored
Normal file
Binary file not shown.
BIN
test/fixtures/Binary/foo.png
vendored
Normal file
BIN
test/fixtures/Binary/foo.png
vendored
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 5.4 KiB |
BIN
test/fixtures/Binary/git.deb
vendored
Normal file
BIN
test/fixtures/Binary/git.deb
vendored
Normal file
Binary file not shown.
BIN
test/fixtures/Binary/git.exe
vendored
Executable file
BIN
test/fixtures/Binary/git.exe
vendored
Executable file
Binary file not shown.
21
test/fixtures/Binary/github.po
vendored
Normal file
21
test/fixtures/Binary/github.po
vendored
Normal file
@@ -0,0 +1,21 @@
|
||||
# SOME DESCRIPTIVE TITLE.
|
||||
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
|
||||
# This file is distributed under the same license as the PACKAGE package.
|
||||
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
|
||||
#
|
||||
#, fuzzy
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: x\n"
|
||||
"POT-Creation-Date: 2009-02-15 09:22+0100\n"
|
||||
"PO-Revision-Date: 2009-02-15 09:22+0100\n"
|
||||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
||||
"Language-Team: LANGUAGE <LL@li.org>\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"Plural-Forms: nplurals=INTEGER; plural=EXPRESSION;\n"
|
||||
|
||||
#: tools/files/simple_translation.rb:1
|
||||
msgid "a translation"
|
||||
msgstr ""
|
||||
BIN
test/fixtures/Binary/hello.pbc
vendored
Normal file
BIN
test/fixtures/Binary/hello.pbc
vendored
Normal file
Binary file not shown.
BIN
test/fixtures/Binary/linguist.gem
vendored
Normal file
BIN
test/fixtures/Binary/linguist.gem
vendored
Normal file
Binary file not shown.
4424
test/fixtures/Binary/octocat.ai
vendored
Normal file
4424
test/fixtures/Binary/octocat.ai
vendored
Normal file
File diff suppressed because one or more lines are too long
BIN
test/fixtures/Binary/octocat.png
vendored
Normal file
BIN
test/fixtures/Binary/octocat.png
vendored
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 5.4 KiB |
BIN
test/fixtures/Binary/octocat.psd
vendored
Normal file
BIN
test/fixtures/Binary/octocat.psd
vendored
Normal file
Binary file not shown.
BIN
test/fixtures/Binary/zip
vendored
Normal file
BIN
test/fixtures/Binary/zip
vendored
Normal file
Binary file not shown.
43
test/fixtures/Data/ISO-2022-KR.txt
vendored
Normal file
43
test/fixtures/Data/ISO-2022-KR.txt
vendored
Normal file
@@ -0,0 +1,43 @@
|
||||
$)C#
|
||||
# Out-AnsiGraph.psm1
|
||||
# Author: xcud
|
||||
# History:
|
||||
# v0.1 September 21, 2009 initial version
|
||||
#
|
||||
# PS Example> ps | select -first 5 | sort -property VM |
|
||||
# Out-AnsiGraph ProcessName, VM
|
||||
# AEADISRV 14508032
|
||||
# audiodg 50757632
|
||||
# conhost 73740288
|
||||
# AppleMobileDeviceService 92061696
|
||||
# btdna 126443520
|
||||
#
|
||||
function Out-AnsiGraph($Parameter1=$null) {
|
||||
BEGIN {
|
||||
$q = new-object Collections.queue
|
||||
$max = 0; $namewidth = 0;
|
||||
}
|
||||
|
||||
PROCESS {
|
||||
if($_) {
|
||||
$name = $_.($Parameter1[0]);
|
||||
$val = $_.($Parameter1[1])
|
||||
if($max -lt $val) { $max = $val}
|
||||
if($namewidth -lt $name.length) {
|
||||
$namewidth = $name.length }
|
||||
$q.enqueue(@($name, $val))
|
||||
}
|
||||
}
|
||||
|
||||
END {
|
||||
$q | %{
|
||||
$graph = ""; 0..($_[1]/$max*20) |
|
||||
%{ $graph += "" }
|
||||
$name = "{0,$namewidth}" -f $_[0]
|
||||
"$name $graph " + $_[1]
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
Export-ModuleMember Out-AnsiGraph
|
||||
2
test/fixtures/Data/README
vendored
Normal file
2
test/fixtures/Data/README
vendored
Normal file
@@ -0,0 +1,2 @@
|
||||
README
|
||||
======
|
||||
0
test/fixtures/Data/blank
vendored
Normal file
0
test/fixtures/Data/blank
vendored
Normal file
3
test/fixtures/Data/cars.csv
vendored
Normal file
3
test/fixtures/Data/cars.csv
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
Year,Make,Model,Length
|
||||
1997,Ford,E350,2.34
|
||||
2000,Mercury,Cougar,2.38
|
||||
|
86
test/fixtures/Data/cube.stl
vendored
Normal file
86
test/fixtures/Data/cube.stl
vendored
Normal file
@@ -0,0 +1,86 @@
|
||||
solid
|
||||
facet normal 0.000000E+00 -1.000000E+00 0.000000E+00
|
||||
outer loop
|
||||
vertex -1.850000E+01 -2.450000E+01 3.100000E+01
|
||||
vertex -1.850000E+01 -2.450000E+01 -1.000000E-03
|
||||
vertex 1.250000E+01 -2.450000E+01 -1.000000E-03
|
||||
endloop
|
||||
endfacet
|
||||
facet normal 0.000000E+00 -1.000000E+00 0.000000E+00
|
||||
outer loop
|
||||
vertex -1.850000E+01 -2.450000E+01 3.100000E+01
|
||||
vertex 1.250000E+01 -2.450000E+01 -1.000000E-03
|
||||
vertex 1.250000E+01 -2.450000E+01 3.100000E+01
|
||||
endloop
|
||||
endfacet
|
||||
facet normal -1.000000E+00 0.000000E+00 0.000000E+00
|
||||
outer loop
|
||||
vertex -1.850000E+01 6.500000E+00 3.100000E+01
|
||||
vertex -1.850000E+01 6.500000E+00 -1.000000E-03
|
||||
vertex -1.850000E+01 -2.450000E+01 -1.000000E-03
|
||||
endloop
|
||||
endfacet
|
||||
facet normal -1.000000E+00 0.000000E+00 0.000000E+00
|
||||
outer loop
|
||||
vertex -1.850000E+01 6.500000E+00 3.100000E+01
|
||||
vertex -1.850000E+01 -2.450000E+01 -1.000000E-03
|
||||
vertex -1.850000E+01 -2.450000E+01 3.100000E+01
|
||||
endloop
|
||||
endfacet
|
||||
facet normal 0.000000E+00 1.000000E+00 0.000000E+00
|
||||
outer loop
|
||||
vertex -1.850000E+01 6.500000E+00 -1.000000E-03
|
||||
vertex -1.850000E+01 6.500000E+00 3.100000E+01
|
||||
vertex 1.250000E+01 6.500000E+00 3.100000E+01
|
||||
endloop
|
||||
endfacet
|
||||
facet normal 0.000000E+00 1.000000E+00 0.000000E+00
|
||||
outer loop
|
||||
vertex -1.850000E+01 6.500000E+00 -1.000000E-03
|
||||
vertex 1.250000E+01 6.500000E+00 3.100000E+01
|
||||
vertex 1.250000E+01 6.500000E+00 -1.000000E-03
|
||||
endloop
|
||||
endfacet
|
||||
facet normal 1.000000E+00 0.000000E+00 0.000000E+00
|
||||
outer loop
|
||||
vertex 1.250000E+01 6.500000E+00 3.100000E+01
|
||||
vertex 1.250000E+01 -2.450000E+01 3.100000E+01
|
||||
vertex 1.250000E+01 -2.450000E+01 -1.000000E-03
|
||||
endloop
|
||||
endfacet
|
||||
facet normal 1.000000E+00 0.000000E+00 0.000000E+00
|
||||
outer loop
|
||||
vertex 1.250000E+01 6.500000E+00 3.100000E+01
|
||||
vertex 1.250000E+01 -2.450000E+01 -1.000000E-03
|
||||
vertex 1.250000E+01 6.500000E+00 -1.000000E-03
|
||||
endloop
|
||||
endfacet
|
||||
facet normal 0.000000E+00 0.000000E+00 -1.000000E+00
|
||||
outer loop
|
||||
vertex 1.250000E+01 6.500000E+00 -1.000000E-03
|
||||
vertex 1.250000E+01 -2.450000E+01 -1.000000E-03
|
||||
vertex -1.850000E+01 -2.450000E+01 -1.000000E-03
|
||||
endloop
|
||||
endfacet
|
||||
facet normal 0.000000E+00 0.000000E+00 -1.000000E+00
|
||||
outer loop
|
||||
vertex 1.250000E+01 6.500000E+00 -1.000000E-03
|
||||
vertex -1.850000E+01 -2.450000E+01 -1.000000E-03
|
||||
vertex -1.850000E+01 6.500000E+00 -1.000000E-03
|
||||
endloop
|
||||
endfacet
|
||||
facet normal 0.000000E+00 0.000000E+00 1.000000E+00
|
||||
outer loop
|
||||
vertex -1.850000E+01 6.500000E+00 3.100000E+01
|
||||
vertex -1.850000E+01 -2.450000E+01 3.100000E+01
|
||||
vertex 1.250000E+01 -2.450000E+01 3.100000E+01
|
||||
endloop
|
||||
endfacet
|
||||
facet normal 0.000000E+00 0.000000E+00 1.000000E+00
|
||||
outer loop
|
||||
vertex -1.850000E+01 6.500000E+00 3.100000E+01
|
||||
vertex 1.250000E+01 -2.450000E+01 3.100000E+01
|
||||
vertex 1.250000E+01 6.500000E+00 3.100000E+01
|
||||
endloop
|
||||
endfacet
|
||||
endsolid
|
||||
1
test/fixtures/Data/defu.nkt
vendored
Normal file
1
test/fixtures/Data/defu.nkt
vendored
Normal file
@@ -0,0 +1 @@
|
||||
defunkt
|
||||
0
test/fixtures/Data/file.txt
vendored
Normal file
0
test/fixtures/Data/file.txt
vendored
Normal file
1
test/fixtures/Data/foo.txt
vendored
Normal file
1
test/fixtures/Data/foo.txt
vendored
Normal file
@@ -0,0 +1 @@
|
||||
foo
|
||||
1
test/fixtures/Data/iso8859-8-i.txt
vendored
Normal file
1
test/fixtures/Data/iso8859-8-i.txt
vendored
Normal file
@@ -0,0 +1 @@
|
||||
%<25>בי
|
||||
1
test/fixtures/Data/mac.txt
vendored
Normal file
1
test/fixtures/Data/mac.txt
vendored
Normal file
@@ -0,0 +1 @@
|
||||
line 1
|
||||
2
test/fixtures/Data/md
vendored
Normal file
2
test/fixtures/Data/md
vendored
Normal file
@@ -0,0 +1,2 @@
|
||||
MD
|
||||
==
|
||||
1
test/fixtures/Data/txt
vendored
Normal file
1
test/fixtures/Data/txt
vendored
Normal file
@@ -0,0 +1 @@
|
||||
Text
|
||||
BIN
test/fixtures/Data/utf16le-windows.txt
vendored
Normal file
BIN
test/fixtures/Data/utf16le-windows.txt
vendored
Normal file
Binary file not shown.
BIN
test/fixtures/Data/utf16le.txt
vendored
Normal file
BIN
test/fixtures/Data/utf16le.txt
vendored
Normal file
Binary file not shown.
Reference in New Issue
Block a user