You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@felix.apache.org by da...@apache.org on 2016/08/17 10:17:17 UTC

svn commit: r1756608 - /felix/trunk/converter/src/test/java/org/apache/felix/converter/impl/MyEmbeddedDTO.java

Author: davidb
Date: Wed Aug 17 10:17:17 2016
New Revision: 1756608

URL: http://svn.apache.org/viewvc?rev=1756608&view=rev
Log:
Felix converter service. Add missing test class belonging to previous commit.

Added:
    felix/trunk/converter/src/test/java/org/apache/felix/converter/impl/MyEmbeddedDTO.java

Added: felix/trunk/converter/src/test/java/org/apache/felix/converter/impl/MyEmbeddedDTO.java
URL: http://svn.apache.org/viewvc/felix/trunk/converter/src/test/java/org/apache/felix/converter/impl/MyEmbeddedDTO.java?rev=1756608&view=auto
==============================================================================
--- felix/trunk/converter/src/test/java/org/apache/felix/converter/impl/MyEmbeddedDTO.java (added)
+++ felix/trunk/converter/src/test/java/org/apache/felix/converter/impl/MyEmbeddedDTO.java Wed Aug 17 10:17:17 2016
@@ -0,0 +1,29 @@
+/*
+ * 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.felix.converter.impl;
+
+import org.osgi.dto.DTO;
+
+public class MyEmbeddedDTO extends DTO {
+    public enum Alpha { A, B, C }
+
+    public Alpha alpha;
+
+    public String marco;
+
+    public long polo;
+}