devicemap-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From wk...@apache.org
Subject svn commit: r1666738 - /devicemap/trunk/devicemap/java/simpleddr/src/test/java/org/apache/devicemap/simpleddr/test/DDRTestRunner.java
Date Sat, 14 Mar 2015 19:34:52 GMT
Author: wkeil
Date: Sat Mar 14 19:34:52 2015
New Revision: 1666738

URL: http://svn.apache.org/r1666738
Log:
DMAP-147: Apply W3C DDRSimpleAPITester 

Task-Url: https://issues.apache.org/jira/browse/DMAP-147

Modified:
    devicemap/trunk/devicemap/java/simpleddr/src/test/java/org/apache/devicemap/simpleddr/test/DDRTestRunner.java

Modified: devicemap/trunk/devicemap/java/simpleddr/src/test/java/org/apache/devicemap/simpleddr/test/DDRTestRunner.java
URL: http://svn.apache.org/viewvc/devicemap/trunk/devicemap/java/simpleddr/src/test/java/org/apache/devicemap/simpleddr/test/DDRTestRunner.java?rev=1666738&r1=1666737&r2=1666738&view=diff
==============================================================================
--- devicemap/trunk/devicemap/java/simpleddr/src/test/java/org/apache/devicemap/simpleddr/test/DDRTestRunner.java
(original)
+++ devicemap/trunk/devicemap/java/simpleddr/src/test/java/org/apache/devicemap/simpleddr/test/DDRTestRunner.java
Sat Mar 14 19:34:52 2015
@@ -1,3 +1,21 @@
+/**
+ *  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.devicemap.simpleddr.test;
 
 import java.util.Hashtable;
@@ -6,6 +24,11 @@ import org.w3c.ddr.simple.Evidence;
 
 import test.DDRSimpleAPITester;
 
+/**
+ * 
+ * @author Werner Keil
+ *
+ */
 public class DDRTestRunner {
 
 	public static void main(String[] args) throws Exception {
@@ -22,7 +45,7 @@ public class DDRTestRunner {
 				"", "",
 				new String[] {""}
 				);
-		Hashtable<?, ?> report = tester.getReport();
+		final Hashtable<?, ?> report = tester.getReport();
 		if (report.size() > 0) {
 			System.out.println(report.size() + " entries found.");
 			for (Object key : report.keySet()) {



Mime
View raw message