summaryrefslogtreecommitdiff
path: root/src/test
diff options
context:
space:
mode:
authorjet <jet@cern.ch>2014-10-02 15:05:51 +0200
committerjet <jet@cern.ch>2014-10-02 15:05:51 +0200
commitac364d1c48fe07c6427b759a66d72d99ebe5f9c9 (patch)
tree59cd59511c25541587e69ea0def1cfccb6bc43be /src/test
parent81f7c008e97fd3201bb0b1745cbac9806a7fc950 (diff)
push after rebase
Diffstat (limited to 'src/test')
-rw-r--r--src/test/java/LauncherTest.java20
-rw-r--r--src/test/java/MainTest.java20
-rw-r--r--src/test/java/OutcomeTest.java20
-rw-r--r--src/test/resources/NewServerPredefStepTest.js20
-rw-r--r--src/test/resources/TestScript.xml22
-rw-r--r--src/test/resources/TestStateMachine.xml22
-rw-r--r--src/test/resources/outcomeTest.xml22
-rw-r--r--src/test/resources/searchPropDesc.js20
8 files changed, 166 insertions, 0 deletions
diff --git a/src/test/java/LauncherTest.java b/src/test/java/LauncherTest.java
index 4c772d1..403d4e3 100644
--- a/src/test/java/LauncherTest.java
+++ b/src/test/java/LauncherTest.java
@@ -1,3 +1,23 @@
+/**
+ * This file is part of the CRISTAL-iSE kernel.
+ * Copyright (c) 2001-2014 The CRISTAL Consortium. All rights reserved.
+ *
+ * This library is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as published
+ * by the Free Software Foundation; either version 3 of the License, or (at
+ * your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful, but WITHOUT
+ * ANY WARRANTY; with out even the implied warranty of MERCHANTABILITY or
+ * FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public
+ * License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * along with this library; if not, write to the Free Software Foundation,
+ * Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
+ *
+ * http://www.fsf.org/licensing/licenses/lgpl.html
+ */
import java.util.Properties;
import com.c2kernel.process.AbstractMain;
diff --git a/src/test/java/MainTest.java b/src/test/java/MainTest.java
index ccef17a..9154dca 100644
--- a/src/test/java/MainTest.java
+++ b/src/test/java/MainTest.java
@@ -1,3 +1,23 @@
+/**
+ * This file is part of the CRISTAL-iSE kernel.
+ * Copyright (c) 2001-2014 The CRISTAL Consortium. All rights reserved.
+ *
+ * This library is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as published
+ * by the Free Software Foundation; either version 3 of the License, or (at
+ * your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful, but WITHOUT
+ * ANY WARRANTY; with out even the implied warranty of MERCHANTABILITY or
+ * FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public
+ * License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * along with this library; if not, write to the Free Software Foundation,
+ * Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
+ *
+ * http://www.fsf.org/licensing/licenses/lgpl.html
+ */
import java.util.HashMap;
import java.util.Properties;
import java.util.StringTokenizer;
diff --git a/src/test/java/OutcomeTest.java b/src/test/java/OutcomeTest.java
index d90f2ea..7d40ed9 100644
--- a/src/test/java/OutcomeTest.java
+++ b/src/test/java/OutcomeTest.java
@@ -1,3 +1,23 @@
+/**
+ * This file is part of the CRISTAL-iSE kernel.
+ * Copyright (c) 2001-2014 The CRISTAL Consortium. All rights reserved.
+ *
+ * This library is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as published
+ * by the Free Software Foundation; either version 3 of the License, or (at
+ * your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful, but WITHOUT
+ * ANY WARRANTY; with out even the implied warranty of MERCHANTABILITY or
+ * FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public
+ * License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * along with this library; if not, write to the Free Software Foundation,
+ * Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
+ *
+ * http://www.fsf.org/licensing/licenses/lgpl.html
+ */
import org.w3c.dom.Node;
import org.w3c.dom.NodeList;
diff --git a/src/test/resources/NewServerPredefStepTest.js b/src/test/resources/NewServerPredefStepTest.js
index 64d3d29..51cdd74 100644
--- a/src/test/resources/NewServerPredefStepTest.js
+++ b/src/test/resources/NewServerPredefStepTest.js
@@ -1,3 +1,23 @@
+/*
+ * This file is part of the CRISTAL-iSE kernel.
+ * Copyright (c) 2001-2014 The CRISTAL Consortium. All rights reserved.
+ *
+ * This library is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as published
+ * by the Free Software Foundation; either version 3 of the License, or (at
+ * your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful, but WITHOUT
+ * ANY WARRANTY; with out even the implied warranty of MERCHANTABILITY or
+ * FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public
+ * License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * along with this library; if not, write to the Free Software Foundation,
+ * Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
+ *
+ * http://www.fsf.org/licensing/licenses/lgpl.html
+ */
var serverPath=new com.c2kernel.lookup.DomainPath("/servers/pcuwe04.cern.ch");
var serverItem=proxy.getProxy(serverPath);
diff --git a/src/test/resources/TestScript.xml b/src/test/resources/TestScript.xml
index 5b85fc3..21312f2 100644
--- a/src/test/resources/TestScript.xml
+++ b/src/test/resources/TestScript.xml
@@ -1,3 +1,25 @@
+<!--
+
+ This file is part of the CRISTAL-iSE kernel.
+ Copyright (c) 2001-2014 The CRISTAL Consortium. All rights reserved.
+
+ This library is free software; you can redistribute it and/or modify it
+ under the terms of the GNU Lesser General Public License as published
+ by the Free Software Foundation; either version 3 of the License, or (at
+ your option) any later version.
+
+ This library is distributed in the hope that it will be useful, but WITHOUT
+ ANY WARRANTY; with out even the implied warranty of MERCHANTABILITY or
+ FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public
+ License for more details.
+
+ You should have received a copy of the GNU Lesser General Public License
+ along with this library; if not, write to the Free Software Foundation,
+ Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
+
+ http://www.fsf.org/licensing/licenses/lgpl.html
+
+-->
<cristalscript>
<param name="test" type="java.lang.String"/>
<output type="java.lang.String"/>
diff --git a/src/test/resources/TestStateMachine.xml b/src/test/resources/TestStateMachine.xml
index be188cb..891d0cb 100644
--- a/src/test/resources/TestStateMachine.xml
+++ b/src/test/resources/TestStateMachine.xml
@@ -1,3 +1,25 @@
+<!--
+
+ This file is part of the CRISTAL-iSE kernel.
+ Copyright (c) 2001-2014 The CRISTAL Consortium. All rights reserved.
+
+ This library is free software; you can redistribute it and/or modify it
+ under the terms of the GNU Lesser General Public License as published
+ by the Free Software Foundation; either version 3 of the License, or (at
+ your option) any later version.
+
+ This library is distributed in the hope that it will be useful, but WITHOUT
+ ANY WARRANTY; with out even the implied warranty of MERCHANTABILITY or
+ FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public
+ License for more details.
+
+ You should have received a copy of the GNU Lesser General Public License
+ along with this library; if not, write to the Free Software Foundation,
+ Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
+
+ http://www.fsf.org/licensing/licenses/lgpl.html
+
+-->
<StateMachine initialState="0">
<State id="0" name="Waiting"/>
<State id="1" name="Started"/>
diff --git a/src/test/resources/outcomeTest.xml b/src/test/resources/outcomeTest.xml
index 563c72c..b9e45d4 100644
--- a/src/test/resources/outcomeTest.xml
+++ b/src/test/resources/outcomeTest.xml
@@ -1,3 +1,25 @@
+<!--
+
+ This file is part of the CRISTAL-iSE kernel.
+ Copyright (c) 2001-2014 The CRISTAL Consortium. All rights reserved.
+
+ This library is free software; you can redistribute it and/or modify it
+ under the terms of the GNU Lesser General Public License as published
+ by the Free Software Foundation; either version 3 of the License, or (at
+ your option) any later version.
+
+ This library is distributed in the hope that it will be useful, but WITHOUT
+ ANY WARRANTY; with out even the implied warranty of MERCHANTABILITY or
+ FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public
+ License for more details.
+
+ You should have received a copy of the GNU Lesser General Public License
+ along with this library; if not, write to the Free Software Foundation,
+ Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
+
+ http://www.fsf.org/licensing/licenses/lgpl.html
+
+-->
<TestOutcome>
<Field1>Field1contents</Field1>
<Field2 attr="attribute"></Field2>
diff --git a/src/test/resources/searchPropDesc.js b/src/test/resources/searchPropDesc.js
index 8bb7d17..bfcc277 100644
--- a/src/test/resources/searchPropDesc.js
+++ b/src/test/resources/searchPropDesc.js
@@ -1,3 +1,23 @@
+/*
+ * This file is part of the CRISTAL-iSE kernel.
+ * Copyright (c) 2001-2014 The CRISTAL Consortium. All rights reserved.
+ *
+ * This library is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as published
+ * by the Free Software Foundation; either version 3 of the License, or (at
+ * your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful, but WITHOUT
+ * ANY WARRANTY; with out even the implied warranty of MERCHANTABILITY or
+ * FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public
+ * License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * along with this library; if not, write to the Free Software Foundation,
+ * Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
+ *
+ * http://www.fsf.org/licensing/licenses/lgpl.html
+ */
importClass(com.c2kernel.lookup.DomainPath);
importClass(com.c2kernel.process.Gateway);
importClass(com.c2kernel.utils.Logger);