aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorRafael G. Martins <rafael@rafaelmartins.eng.br>2010-05-28 23:58:43 -0300
committerRafael G. Martins <rafael@rafaelmartins.eng.br>2010-05-28 23:58:43 -0300
commitc25785f06415049703b07405968eace7e562e271 (patch)
treeaaf08d854b746d05d1163b402dd482242ea3520f /tests
parentbumped EAPI from the ebuild template to 3 (diff)
downloadg-octave-c25785f06415049703b07405968eace7e562e271.tar.gz
g-octave-c25785f06415049703b07405968eace7e562e271.tar.bz2
g-octave-c25785f06415049703b07405968eace7e562e271.zip
added a fake tree of external files to be used by the tests.
Diffstat (limited to 'tests')
-rw-r--r--tests/files/cache.json8
-rw-r--r--tests/files/empty_file.txt0
-rw-r--r--tests/files/info.json12
-rw-r--r--tests/files/octave-forge/extra/extra1-0.0.1/DESCRIPTION16
-rw-r--r--tests/files/octave-forge/extra/extra2-0.0.2/DESCRIPTION16
-rw-r--r--tests/files/octave-forge/language/language1-0.0.1/DESCRIPTION16
-rw-r--r--tests/files/octave-forge/language/language2-0.0.2/DESCRIPTION16
-rw-r--r--tests/files/octave-forge/main/main1-0.0.1/DESCRIPTION16
-rw-r--r--tests/files/octave-forge/main/main2-0.0.2/DESCRIPTION16
-rw-r--r--tests/files/patches/001_extra1-0.0.1.patch1
-rw-r--r--tests/files/patches/001_language1-0.0.1.patch1
-rw-r--r--tests/files/patches/001_main1-0.0.1.patch1
-rw-r--r--tests/files/patches/002_extra1-0.0.1.patch1
-rw-r--r--tests/files/patches/002_language1-0.0.1.patch1
-rw-r--r--tests/files/patches/002_main1-0.0.1.patch1
15 files changed, 122 insertions, 0 deletions
diff --git a/tests/files/cache.json b/tests/files/cache.json
new file mode 100644
index 0000000..0365fc2
--- /dev/null
+++ b/tests/files/cache.json
@@ -0,0 +1,8 @@
+{
+ "files": {
+ "octave-forge.eclass": "empty_file.txt",
+ "info.json": "info.json",
+ "octave-forge.db.tar.gz": "empty_file.txt",
+ "patches.tar.gz": "empty_file.txt"
+ }
+}
diff --git a/tests/files/empty_file.txt b/tests/files/empty_file.txt
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/tests/files/empty_file.txt
diff --git a/tests/files/info.json b/tests/files/info.json
new file mode 100644
index 0000000..8e66397
--- /dev/null
+++ b/tests/files/info.json
@@ -0,0 +1,12 @@
+{
+ "dependencies": {
+ "pkg1": "sci-mathematics/pkg1",
+ "pkg2": "sci-mathematics/pkg2",
+ "pkg3": "sci-mathematics/pkg3",
+ "pkg4": "sci-mathematics/pkg4",
+ "pkg5": "sci-mathematics/pkg5",
+ "pkg6": "sci-mathematics/pkg6",
+ "pkg7": "sci-mathematics/pkg7",
+ "pkg8": "sci-mathematics/pkg8"
+ }
+}
diff --git a/tests/files/octave-forge/extra/extra1-0.0.1/DESCRIPTION b/tests/files/octave-forge/extra/extra1-0.0.1/DESCRIPTION
new file mode 100644
index 0000000..ee6ca22
--- /dev/null
+++ b/tests/files/octave-forge/extra/extra1-0.0.1/DESCRIPTION
@@ -0,0 +1,16 @@
+# This is a comment
+Name: Extra 1
+Version: 0.0.1
+Date: 2010-10-10
+Author: Extra 1 Author
+Maintainer: Extra 1 Maintainer
+Title: Extra 1 Title
+# This is another comment
+Description: This is the Extra 1 description
+Categories: Category1,Category2
+Url: http://extra1.org
+SystemRequirements: pkg1 ( >= 4.3.2 ), pkg2 ( <1.2.3 ), pkg3
+BuildRequires: pkg4 ( >1.0.0 )
+Depends: Octave ( >= 3.2.0 )
+Autoload: NO
+License: GPL version 3 or later
diff --git a/tests/files/octave-forge/extra/extra2-0.0.2/DESCRIPTION b/tests/files/octave-forge/extra/extra2-0.0.2/DESCRIPTION
new file mode 100644
index 0000000..eed9a66
--- /dev/null
+++ b/tests/files/octave-forge/extra/extra2-0.0.2/DESCRIPTION
@@ -0,0 +1,16 @@
+# This is a comment
+Name: Extra 2
+Version: 0.0.2
+Date: 2010-10-20
+Author: Extra 2 Author
+Maintainer: Extra 2 Maintainer
+Title: Extra 2 Title
+# This is another comment
+Description: This is the Extra 2 description
+Categories: Category3,Category4
+Url: http://extra2.org
+SystemRequirements: pkg5 ( >= 4.3.2 ), pkg6 ( <1.2.3 ), pkg7
+BuildRequires: pkg8 ( >1.0.0 )
+Depends: Octave ( >= 3.2.0 )
+Autoload: NO
+License: GPL version 3 or later
diff --git a/tests/files/octave-forge/language/language1-0.0.1/DESCRIPTION b/tests/files/octave-forge/language/language1-0.0.1/DESCRIPTION
new file mode 100644
index 0000000..b11207a
--- /dev/null
+++ b/tests/files/octave-forge/language/language1-0.0.1/DESCRIPTION
@@ -0,0 +1,16 @@
+# This is a comment
+Name: Language 1
+Version: 0.0.1
+Date: 2010-10-10
+Author: Language 1 Author
+Maintainer: Language 1 Maintainer
+Title: Language 1 Title
+# This is another comment
+Description: This is the Language 1 description
+Categories: Category1,Category2
+Url: http://language1.org
+SystemRequirements: pkg1 ( >= 4.3.2 ), pkg2 ( <1.2.3 ), pkg3
+BuildRequires: pkg4 ( >1.0.0 )
+Depends: Octave ( >= 3.2.0 )
+Autoload: NO
+License: GPL version 3 or later
diff --git a/tests/files/octave-forge/language/language2-0.0.2/DESCRIPTION b/tests/files/octave-forge/language/language2-0.0.2/DESCRIPTION
new file mode 100644
index 0000000..6855a7f
--- /dev/null
+++ b/tests/files/octave-forge/language/language2-0.0.2/DESCRIPTION
@@ -0,0 +1,16 @@
+# This is a comment
+Name: Language 2
+Version: 0.0.2
+Date: 2010-10-20
+Author: Language 2 Author
+Maintainer: Language 2 Maintainer
+Title: Language 2 Title
+# This is another comment
+Description: This is the Language 2 description
+Categories: Category3,Category4
+Url: http://language2.org
+SystemRequirements: pkg5 ( >= 4.3.2 ), pkg6 ( <1.2.3 ), pkg7
+BuildRequires: pkg8 ( >1.0.0 )
+Depends: Octave ( >= 3.2.0 )
+Autoload: NO
+License: GPL version 3 or later
diff --git a/tests/files/octave-forge/main/main1-0.0.1/DESCRIPTION b/tests/files/octave-forge/main/main1-0.0.1/DESCRIPTION
new file mode 100644
index 0000000..537b450
--- /dev/null
+++ b/tests/files/octave-forge/main/main1-0.0.1/DESCRIPTION
@@ -0,0 +1,16 @@
+# This is a comment
+Name: Main 1
+Version: 0.0.1
+Date: 2010-10-10
+Author: Main 1 Author
+Maintainer: Main 1 Maintainer
+Title: Main 1 Title
+# This is another comment
+Description: This is the Main 1 description
+Categories: Category1,Category2
+Url: http://main1.org
+SystemRequirements: pkg1 ( >= 4.3.2 ), pkg2 ( <1.2.3 ), pkg3
+BuildRequires: pkg4 ( >1.0.0 )
+Depends: Octave ( >= 3.0.0 )
+Autoload: NO
+License: GPL version 3 or later
diff --git a/tests/files/octave-forge/main/main2-0.0.2/DESCRIPTION b/tests/files/octave-forge/main/main2-0.0.2/DESCRIPTION
new file mode 100644
index 0000000..5f6bebf
--- /dev/null
+++ b/tests/files/octave-forge/main/main2-0.0.2/DESCRIPTION
@@ -0,0 +1,16 @@
+# This is a comment
+Name: Main 2
+Version: 0.0.2
+Date: 2010-10-20
+Author: Main 2 Author
+Maintainer: Main 2 Maintainer
+Title: Main 2 Title
+# This is another comment
+Description: This is the Main 2 description
+Categories: Category3,Category4
+Url: http://main2.org
+SystemRequirements: pkg5 ( >= 4.3.2 ), pkg6 ( <1.2.3 ), pkg7
+BuildRequires: pkg8 ( >1.0.0 )
+Depends: Octave ( >= 3.2.0 )
+Autoload: NO
+License: GPL version 3 or later
diff --git a/tests/files/patches/001_extra1-0.0.1.patch b/tests/files/patches/001_extra1-0.0.1.patch
new file mode 100644
index 0000000..28f8122
--- /dev/null
+++ b/tests/files/patches/001_extra1-0.0.1.patch
@@ -0,0 +1 @@
+sample file, not a real patch.
diff --git a/tests/files/patches/001_language1-0.0.1.patch b/tests/files/patches/001_language1-0.0.1.patch
new file mode 100644
index 0000000..28f8122
--- /dev/null
+++ b/tests/files/patches/001_language1-0.0.1.patch
@@ -0,0 +1 @@
+sample file, not a real patch.
diff --git a/tests/files/patches/001_main1-0.0.1.patch b/tests/files/patches/001_main1-0.0.1.patch
new file mode 100644
index 0000000..28f8122
--- /dev/null
+++ b/tests/files/patches/001_main1-0.0.1.patch
@@ -0,0 +1 @@
+sample file, not a real patch.
diff --git a/tests/files/patches/002_extra1-0.0.1.patch b/tests/files/patches/002_extra1-0.0.1.patch
new file mode 100644
index 0000000..28f8122
--- /dev/null
+++ b/tests/files/patches/002_extra1-0.0.1.patch
@@ -0,0 +1 @@
+sample file, not a real patch.
diff --git a/tests/files/patches/002_language1-0.0.1.patch b/tests/files/patches/002_language1-0.0.1.patch
new file mode 100644
index 0000000..28f8122
--- /dev/null
+++ b/tests/files/patches/002_language1-0.0.1.patch
@@ -0,0 +1 @@
+sample file, not a real patch.
diff --git a/tests/files/patches/002_main1-0.0.1.patch b/tests/files/patches/002_main1-0.0.1.patch
new file mode 100644
index 0000000..28f8122
--- /dev/null
+++ b/tests/files/patches/002_main1-0.0.1.patch
@@ -0,0 +1 @@
+sample file, not a real patch.