deltaspike git commit: DELTASPIKE-1332 added tests

2018-04-02 Thread gpetracek
Repository: deltaspike
Updated Branches:
  refs/heads/deltaspike-1.8.x 45b3e3e84 -> 553cbaf65


DELTASPIKE-1332 added tests


Project: http://git-wip-us.apache.org/repos/asf/deltaspike/repo
Commit: http://git-wip-us.apache.org/repos/asf/deltaspike/commit/553cbaf6
Tree: http://git-wip-us.apache.org/repos/asf/deltaspike/tree/553cbaf6
Diff: http://git-wip-us.apache.org/repos/asf/deltaspike/diff/553cbaf6

Branch: refs/heads/deltaspike-1.8.x
Commit: 553cbaf6571c922c8d79cc70b48f9a7cd480d390
Parents: 45b3e3e
Author: gpetracek 
Authored: Mon Apr 2 23:43:39 2018 +0200
Committer: gpetracek 
Committed: Mon Apr 2 23:52:26 2018 +0200

--
 .../impl/config/view/custom/uc008/Pages.java|  56 +
 .../config/view/custom/uc008/TestMenuEntry.java |  36 ++
 .../view/custom/uc008/ViewConfigTest.java   | 114 +++
 3 files changed, 206 insertions(+)
--


http://git-wip-us.apache.org/repos/asf/deltaspike/blob/553cbaf6/deltaspike/modules/jsf/impl/src/test/java/org/apache/deltaspike/test/jsf/impl/config/view/custom/uc008/Pages.java
--
diff --git 
a/deltaspike/modules/jsf/impl/src/test/java/org/apache/deltaspike/test/jsf/impl/config/view/custom/uc008/Pages.java
 
b/deltaspike/modules/jsf/impl/src/test/java/org/apache/deltaspike/test/jsf/impl/config/view/custom/uc008/Pages.java
new file mode 100644
index 000..53a08f1
--- /dev/null
+++ 
b/deltaspike/modules/jsf/impl/src/test/java/org/apache/deltaspike/test/jsf/impl/config/view/custom/uc008/Pages.java
@@ -0,0 +1,56 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you 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.
+ */
+package org.apache.deltaspike.test.jsf.impl.config.view.custom.uc008;
+
+import org.apache.deltaspike.core.api.config.view.ViewConfig;
+
+interface Pages extends ViewConfig
+{
+class Index implements Pages
+{
+}
+
+@TestMenuEntry(pos = 1)
+interface Section1 extends Pages
+{
+@TestMenuEntry(pos = 1)
+class Content1 implements Section1
+{
+}
+
+@TestMenuEntry(pos =2)
+class Content2 implements Section1
+{
+}
+}
+
+@TestMenuEntry(pos = 2)
+interface Section2 extends Pages
+{
+@TestMenuEntry(pos = 1)
+class Content1 implements Section2
+{
+}
+
+@TestMenuEntry(pos =2)
+class Content2 implements Section2
+{
+}
+}
+}

http://git-wip-us.apache.org/repos/asf/deltaspike/blob/553cbaf6/deltaspike/modules/jsf/impl/src/test/java/org/apache/deltaspike/test/jsf/impl/config/view/custom/uc008/TestMenuEntry.java
--
diff --git 
a/deltaspike/modules/jsf/impl/src/test/java/org/apache/deltaspike/test/jsf/impl/config/view/custom/uc008/TestMenuEntry.java
 
b/deltaspike/modules/jsf/impl/src/test/java/org/apache/deltaspike/test/jsf/impl/config/view/custom/uc008/TestMenuEntry.java
new file mode 100644
index 000..7fa0d22
--- /dev/null
+++ 
b/deltaspike/modules/jsf/impl/src/test/java/org/apache/deltaspike/test/jsf/impl/config/view/custom/uc008/TestMenuEntry.java
@@ -0,0 +1,36 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you 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.
+ */
+package org.apache.deltaspike.test.jsf.impl.config.view.custom.uc008;
+
+import 

deltaspike git commit: DELTASPIKE-1332 added tests

2018-04-02 Thread gpetracek
Repository: deltaspike
Updated Branches:
  refs/heads/master 1c8bd4bdf -> 0ccd9d436


DELTASPIKE-1332 added tests


Project: http://git-wip-us.apache.org/repos/asf/deltaspike/repo
Commit: http://git-wip-us.apache.org/repos/asf/deltaspike/commit/0ccd9d43
Tree: http://git-wip-us.apache.org/repos/asf/deltaspike/tree/0ccd9d43
Diff: http://git-wip-us.apache.org/repos/asf/deltaspike/diff/0ccd9d43

Branch: refs/heads/master
Commit: 0ccd9d436ae9b5cb3f7c726e035be8ab78c90616
Parents: 1c8bd4b
Author: gpetracek 
Authored: Mon Apr 2 23:43:39 2018 +0200
Committer: gpetracek 
Committed: Mon Apr 2 23:49:35 2018 +0200

--
 .../impl/config/view/custom/uc008/Pages.java|  56 +
 .../config/view/custom/uc008/TestMenuEntry.java |  36 ++
 .../view/custom/uc008/ViewConfigTest.java   | 114 +++
 3 files changed, 206 insertions(+)
--


http://git-wip-us.apache.org/repos/asf/deltaspike/blob/0ccd9d43/deltaspike/modules/jsf/impl/src/test/java/org/apache/deltaspike/test/jsf/impl/config/view/custom/uc008/Pages.java
--
diff --git 
a/deltaspike/modules/jsf/impl/src/test/java/org/apache/deltaspike/test/jsf/impl/config/view/custom/uc008/Pages.java
 
b/deltaspike/modules/jsf/impl/src/test/java/org/apache/deltaspike/test/jsf/impl/config/view/custom/uc008/Pages.java
new file mode 100644
index 000..53a08f1
--- /dev/null
+++ 
b/deltaspike/modules/jsf/impl/src/test/java/org/apache/deltaspike/test/jsf/impl/config/view/custom/uc008/Pages.java
@@ -0,0 +1,56 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you 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.
+ */
+package org.apache.deltaspike.test.jsf.impl.config.view.custom.uc008;
+
+import org.apache.deltaspike.core.api.config.view.ViewConfig;
+
+interface Pages extends ViewConfig
+{
+class Index implements Pages
+{
+}
+
+@TestMenuEntry(pos = 1)
+interface Section1 extends Pages
+{
+@TestMenuEntry(pos = 1)
+class Content1 implements Section1
+{
+}
+
+@TestMenuEntry(pos =2)
+class Content2 implements Section1
+{
+}
+}
+
+@TestMenuEntry(pos = 2)
+interface Section2 extends Pages
+{
+@TestMenuEntry(pos = 1)
+class Content1 implements Section2
+{
+}
+
+@TestMenuEntry(pos =2)
+class Content2 implements Section2
+{
+}
+}
+}

http://git-wip-us.apache.org/repos/asf/deltaspike/blob/0ccd9d43/deltaspike/modules/jsf/impl/src/test/java/org/apache/deltaspike/test/jsf/impl/config/view/custom/uc008/TestMenuEntry.java
--
diff --git 
a/deltaspike/modules/jsf/impl/src/test/java/org/apache/deltaspike/test/jsf/impl/config/view/custom/uc008/TestMenuEntry.java
 
b/deltaspike/modules/jsf/impl/src/test/java/org/apache/deltaspike/test/jsf/impl/config/view/custom/uc008/TestMenuEntry.java
new file mode 100644
index 000..7fa0d22
--- /dev/null
+++ 
b/deltaspike/modules/jsf/impl/src/test/java/org/apache/deltaspike/test/jsf/impl/config/view/custom/uc008/TestMenuEntry.java
@@ -0,0 +1,36 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you 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.
+ */
+package org.apache.deltaspike.test.jsf.impl.config.view.custom.uc008;
+
+import