You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by ns...@apache.org on 2009/07/16 22:25:51 UTC
svn commit: r794830 - in /couchdb/branches/0.9.x: share/www/_sidebar.html
test/couch_config_test.erl test/couch_config_writer_test.erl
test/runner.erl test/runner.sh
Author: nslater
Date: Thu Jul 16 20:25:51 2009
New Revision: 794830
URL: http://svn.apache.org/viewvc?rev=794830&view=rev
Log:
added licences
Modified:
couchdb/branches/0.9.x/share/www/_sidebar.html
couchdb/branches/0.9.x/test/couch_config_test.erl
couchdb/branches/0.9.x/test/couch_config_writer_test.erl
couchdb/branches/0.9.x/test/runner.erl
couchdb/branches/0.9.x/test/runner.sh
Modified: couchdb/branches/0.9.x/share/www/_sidebar.html
URL: http://svn.apache.org/viewvc/couchdb/branches/0.9.x/share/www/_sidebar.html?rev=794830&r1=794829&r2=794830&view=diff
==============================================================================
--- couchdb/branches/0.9.x/share/www/_sidebar.html (original)
+++ couchdb/branches/0.9.x/share/www/_sidebar.html Thu Jul 16 20:25:51 2009
@@ -1,3 +1,17 @@
+<!--
+
+Licensed under the Apache License, Version 2.0 (the "License"); you may not use
+this file except in compliance with the License. You may obtain a copy of the
+License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software distributed
+under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
+CONDITIONS OF ANY KIND, either express or implied. See the License for the
+specific language governing permissions and limitations under the License.
+
+-->
<div id="sidebar">
<a href="index.html">
<img id="logo" src="image/logo.png" width="175" height="150" alt="Apache CouchDB: Relax">
Modified: couchdb/branches/0.9.x/test/couch_config_test.erl
URL: http://svn.apache.org/viewvc/couchdb/branches/0.9.x/test/couch_config_test.erl?rev=794830&r1=794829&r2=794830&view=diff
==============================================================================
--- couchdb/branches/0.9.x/test/couch_config_test.erl (original)
+++ couchdb/branches/0.9.x/test/couch_config_test.erl Thu Jul 16 20:25:51 2009
@@ -1,7 +1,19 @@
+% Licensed under the Apache License, Version 2.0 (the "License"); you may not
+% use this file except in compliance with the License. You may obtain a copy of
+% the License at
+%
+% http://www.apache.org/licenses/LICENSE-2.0
+%
+% Unless required by applicable law or agreed to in writing, software
+% distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+% WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+% License for the specific language governing permissions and limitations under
+% the License.
+
% couch_config module test suote
% Set up test suite
-% ?MODULE_test() returns a list of functions
+% ?MODULE_test() returns a list of functions
% that run the actual tests.
couch_config_test() ->
[
@@ -10,7 +22,7 @@
% test functions
-
+
store_strings() ->
Filename = "test.ini",
file:write_file(Filename, ""),
@@ -26,8 +38,8 @@
exit(Proc, kill),
receive {'EXIT', Proc, _} -> ok end,
-
+
% clean up
file:delete(Filename),
- Value = Result.
\ No newline at end of file
+ Value = Result.
Modified: couchdb/branches/0.9.x/test/couch_config_writer_test.erl
URL: http://svn.apache.org/viewvc/couchdb/branches/0.9.x/test/couch_config_writer_test.erl?rev=794830&r1=794829&r2=794830&view=diff
==============================================================================
--- couchdb/branches/0.9.x/test/couch_config_writer_test.erl (original)
+++ couchdb/branches/0.9.x/test/couch_config_writer_test.erl Thu Jul 16 20:25:51 2009
@@ -1,7 +1,19 @@
+% Licensed under the Apache License, Version 2.0 (the "License"); you may not
+% use this file except in compliance with the License. You may obtain a copy of
+% the License at
+%
+% http://www.apache.org/licenses/LICENSE-2.0
+%
+% Unless required by applicable law or agreed to in writing, software
+% distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+% WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+% License for the specific language governing permissions and limitations under
+% the License.
+
% couch_config_writer module test suote
% Set up test suite
-% ?MODULE_test() returns a list of functions
+% ?MODULE_test() returns a list of functions
% that run the actual tests.
% todo, fix replace_existing_variable2 (i.e. reordering)
couch_config_writer_test() ->
@@ -186,12 +198,12 @@
% call replace function
[couch_config_writer:save_to_file(ConfigVar, Filename) || ConfigVar <- Config],
-
+
% compare new file with expected file
{ok, Result_} = file:read_file(Filename),
Result = binary_to_list(Result_),
% clean up
% file:delete(Filename),
-
+
Result = Expect.
Modified: couchdb/branches/0.9.x/test/runner.erl
URL: http://svn.apache.org/viewvc/couchdb/branches/0.9.x/test/runner.erl?rev=794830&r1=794829&r2=794830&view=diff
==============================================================================
--- couchdb/branches/0.9.x/test/runner.erl (original)
+++ couchdb/branches/0.9.x/test/runner.erl Thu Jul 16 20:25:51 2009
@@ -1,3 +1,15 @@
+% Licensed under the Apache License, Version 2.0 (the "License"); you may not
+% use this file except in compliance with the License. You may obtain a copy of
+% the License at
+%
+% http://www.apache.org/licenses/LICENSE-2.0
+%
+% Unless required by applicable law or agreed to in writing, software
+% distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+% WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+% License for the specific language governing permissions and limitations under
+% the License.
+
-module(runner).
-export([run/0]).
Modified: couchdb/branches/0.9.x/test/runner.sh
URL: http://svn.apache.org/viewvc/couchdb/branches/0.9.x/test/runner.sh?rev=794830&r1=794829&r2=794830&view=diff
==============================================================================
--- couchdb/branches/0.9.x/test/runner.sh (original)
+++ couchdb/branches/0.9.x/test/runner.sh Thu Jul 16 20:25:51 2009
@@ -1,5 +1,17 @@
#!/bin/sh -e
+# Licensed under the Apache License, Version 2.0 (the "License"); you may not
+# use this file except in compliance with the License. You may obtain a copy of
+# the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+# License for the specific language governing permissions and limitations under
+# the License.
+
erlc runner.erl
erl -noshell -pa ../src/couchdb -pa ../src/mochiweb -eval "runner:run()"