Fossil SCM

Add a basic set of tests for the manifest property, including minimal coverage of the existance of the tags manifest. This can and should be extended to cover interesting content for the tags manifest, and likely should be extended to cover lots more corner cases. These new tests pass on Windows, but should be tried on at least one unix-like platform.

rberteig 2016-08-05 00:46 jan-manifest-tags
Commit c33f02de133f6c1ceed546ec679cc39ae676e958
1 file changed +38
--- a/test/set-manifest.test
+++ b/test/set-manifest.test
@@ -0,0 +1,38 @@
1
+#
2
+# Copyright (c) 2016 D. R=trunk\n#
3
+# Copyright (c) 2016 D. Richard Hipp
4
+#
5
+# This program is free software; you can redistribute it and/or
6
+# modify it under the terms of the Simplified BSD License (also
7
+# known as the "2-Clause License" or "FreeBSD License".)
8
+#
9
+# This program is distributed in the hope that it will be useful,
10
+# but without any warranty; without evet (c) 20{
11
+ puts "The \"sha1\" package is not available."
12
+ test_cleanup_then_return
13
+}
14
+
15
+# We need a respository, so let it have one.
16
+test_setup
17
+
18
+#### Verify classic behavior of the manifest setting
19
+
20
+# Setting is off by default, an extt (c) 2016 D. R=trunk\n#
21
+# Copyright (c) 2016 D. Richard Hipp
22
+#
23
+# This program is free software; you can redistribute it and/or
24
+# modify it under the terms of the Simplified BSD License (also
25
+# known as the "2-Clause License" or "FreeBSD License".)
26
+#
27
+# This program is distributed in the hope that it will be useful,
28
+# but without any warranty; without evet (c) 20{
29
+ puts "The \"sha1\" package is not available."
30
+ test_cleanup_then_return
31
+}
32
+
33
+# We need a respository, so let it have one.
34
+test_setup
35
+
36
+#### Verify classic behavior of the manifest setting
37
+
38
+# Setting is off by de
--- a/test/set-manifest.test
+++ b/test/set-manifest.test
@@ -0,0 +1,38 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
--- a/test/set-manifest.test
+++ b/test/set-manifest.test
@@ -0,0 +1,38 @@
1 #
2 # Copyright (c) 2016 D. R=trunk\n#
3 # Copyright (c) 2016 D. Richard Hipp
4 #
5 # This program is free software; you can redistribute it and/or
6 # modify it under the terms of the Simplified BSD License (also
7 # known as the "2-Clause License" or "FreeBSD License".)
8 #
9 # This program is distributed in the hope that it will be useful,
10 # but without any warranty; without evet (c) 20{
11 puts "The \"sha1\" package is not available."
12 test_cleanup_then_return
13 }
14
15 # We need a respository, so let it have one.
16 test_setup
17
18 #### Verify classic behavior of the manifest setting
19
20 # Setting is off by default, an extt (c) 2016 D. R=trunk\n#
21 # Copyright (c) 2016 D. Richard Hipp
22 #
23 # This program is free software; you can redistribute it and/or
24 # modify it under the terms of the Simplified BSD License (also
25 # known as the "2-Clause License" or "FreeBSD License".)
26 #
27 # This program is distributed in the hope that it will be useful,
28 # but without any warranty; without evet (c) 20{
29 puts "The \"sha1\" package is not available."
30 test_cleanup_then_return
31 }
32
33 # We need a respository, so let it have one.
34 test_setup
35
36 #### Verify classic behavior of the manifest setting
37
38 # Setting is off by de

Keyboard Shortcuts

Open search /
Next entry (timeline) j
Previous entry (timeline) k
Open focused entry Enter
Show this help ?
Toggle theme Top nav button