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