Return-Path: X-Original-To: apmail-chemistry-commits-archive@www.apache.org Delivered-To: apmail-chemistry-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id C055CD8FB for ; Tue, 28 May 2013 10:01:27 +0000 (UTC) Received: (qmail 57411 invoked by uid 500); 28 May 2013 10:01:26 -0000 Delivered-To: apmail-chemistry-commits-archive@chemistry.apache.org Received: (qmail 57309 invoked by uid 500); 28 May 2013 10:01:26 -0000 Mailing-List: contact commits-help@chemistry.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@chemistry.apache.org Delivered-To: mailing list commits@chemistry.apache.org Received: (qmail 57241 invoked by uid 99); 28 May 2013 10:01:24 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 28 May 2013 10:01:24 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 28 May 2013 10:01:18 +0000 Received: from eris.apache.org (localhost [127.0.0.1]) by eris.apache.org (Postfix) with ESMTP id 741D52388C72 for ; Tue, 28 May 2013 10:00:35 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r863435 [7/19] - in /websites/staging/chemistry/trunk/content: ./ java/0.9.0/maven/chemistry-opencmis-test/chemistry-opencmis-test-tck/ java/0.9.0/maven/chemistry-opencmis-test/chemistry-opencmis-test-tck/css/ java/0.9.0/maven/chemistry-ope... Date: Tue, 28 May 2013 10:00:26 -0000 To: commits@chemistry.apache.org From: buildbot@apache.org X-Mailer: svnmailer-1.0.8-patched Message-Id: <20130528100035.741D52388C72@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Added: websites/staging/chemistry/trunk/content/java/0.9.0/maven/chemistry-opencmis-test/chemistry-opencmis-test-tck/xref/org/apache/chemistry/opencmis/tck/impl/AbstractSessionTestGroup.html ============================================================================== --- websites/staging/chemistry/trunk/content/java/0.9.0/maven/chemistry-opencmis-test/chemistry-opencmis-test-tck/xref/org/apache/chemistry/opencmis/tck/impl/AbstractSessionTestGroup.html (added) +++ websites/staging/chemistry/trunk/content/java/0.9.0/maven/chemistry-opencmis-test/chemistry-opencmis-test-tck/xref/org/apache/chemistry/opencmis/tck/impl/AbstractSessionTestGroup.html Tue May 28 10:00:17 2013 @@ -0,0 +1,59 @@ + + + + +AbstractSessionTestGroup xref + + + +
+
+1   /*
+2    * Licensed to the Apache Software Foundation (ASF) under one
+3    * or more contributor license agreements.  See the NOTICE file
+4    * distributed with this work for additional information
+5    * regarding copyright ownership.  The ASF licenses this file
+6    * to you under the Apache License, Version 2.0 (the
+7    * "License"); you may not use this file except in compliance
+8    * with the License.  You may obtain a copy of the License at
+9    *
+10   * http://www.apache.org/licenses/LICENSE-2.0
+11   *
+12   * Unless required by applicable law or agreed to in writing,
+13   * software distributed under the License is distributed on an
+14   * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+15   * KIND, either express or implied.  See the License for the
+16   * specific language governing permissions and limitations
+17   * under the License.
+18   */
+19  package org.apache.chemistry.opencmis.tck.impl;
+20  
+21  import org.apache.chemistry.opencmis.commons.SessionParameter;
+22  import org.apache.chemistry.opencmis.commons.enums.BindingType;
+23  
+24  /**
+25   * Base class for test groups that require an OpenCMIS session.
+26   */
+27  public abstract class AbstractSessionTestGroup extends AbstractCmisTestGroup {
+28      
+29      private BindingType getBinding() {
+30          if (getParameters() == null) {
+31              return null;
+32          }
+33  
+34          try {
+35              return BindingType.fromValue(getParameters().get(SessionParameter.BINDING_TYPE));
+36          } catch (Exception e) {
+37              return null;
+38          }
+39      }
+40  
+41      @Override
+42      public String getName() {
+43          return super.getName() + " (" + getBinding() + ")";
+44      }
+45  }
+
+
+ + Added: websites/staging/chemistry/trunk/content/java/0.9.0/maven/chemistry-opencmis-test/chemistry-opencmis-test-tck/xref/org/apache/chemistry/opencmis/tck/impl/CmisTestResultImpl.html ============================================================================== --- websites/staging/chemistry/trunk/content/java/0.9.0/maven/chemistry-opencmis-test/chemistry-opencmis-test-tck/xref/org/apache/chemistry/opencmis/tck/impl/CmisTestResultImpl.html (added) +++ websites/staging/chemistry/trunk/content/java/0.9.0/maven/chemistry-opencmis-test/chemistry-opencmis-test-tck/xref/org/apache/chemistry/opencmis/tck/impl/CmisTestResultImpl.html Tue May 28 10:00:17 2013 @@ -0,0 +1,131 @@ + + + + +CmisTestResultImpl xref + + + +
+
+1   /*
+2    * Licensed to the Apache Software Foundation (ASF) under one
+3    * or more contributor license agreements.  See the NOTICE file
+4    * distributed with this work for additional information
+5    * regarding copyright ownership.  The ASF licenses this file
+6    * to you under the Apache License, Version 2.0 (the
+7    * "License"); you may not use this file except in compliance
+8    * with the License.  You may obtain a copy of the License at
+9    *
+10   * http://www.apache.org/licenses/LICENSE-2.0
+11   *
+12   * Unless required by applicable law or agreed to in writing,
+13   * software distributed under the License is distributed on an
+14   * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+15   * KIND, either express or implied.  See the License for the
+16   * specific language governing permissions and limitations
+17   * under the License.
+18   */
+19  package org.apache.chemistry.opencmis.tck.impl;
+20  
+21  import java.util.ArrayList;
+22  import java.util.List;
+23  
+24  import org.apache.chemistry.opencmis.tck.CmisTestResult;
+25  import org.apache.chemistry.opencmis.tck.CmisTestResultStatus;
+26  
+27  /**
+28   * CmisTestResult implementation.
+29   */
+30  public class CmisTestResultImpl implements CmisTestResult {
+31      private final String groupName;
+32      private final String testName;
+33      private final String message;
+34      private final CmisTestResultStatus status;
+35      private final Throwable exception;
+36      private StackTraceElement[] stackTrace;
+37      private String url;
+38      private String request;
+39      private String response;
+40      private final List<CmisTestResult> children = new ArrayList<CmisTestResult>();
+41      private final boolean isFatal;
+42  
+43      public CmisTestResultImpl(String groupName, String testName, String message, CmisTestResultStatus status,
+44              Throwable exception, boolean isFatal) {
+45          this.groupName = groupName;
+46          this.testName = testName;
+47          this.message = message;
+48          this.status = status;
+49          this.exception = exception;
+50          this.isFatal = isFatal;
+51      }
+52  
+53      public String getGroupName() {
+54          return groupName;
+55      }
+56  
+57      public String getTestName() {
+58          return testName;
+59      }
+60  
+61      public String getMessage() {
+62          return message;
+63      }
+64  
+65      public CmisTestResultStatus getStatus() {
+66          return status;
+67      }
+68  
+69      public Throwable getException() {
+70          return exception;
+71      }
+72  
+73      public StackTraceElement[] getStackTrace() {
+74          return stackTrace;
+75      }
+76  
+77      public void setStackTrace(StackTraceElement[] stackTrace) {
+78          this.stackTrace = stackTrace;
+79      }
+80  
+81      public String getRequest() {
+82          return request;
+83      }
+84  
+85      public void setRequest(String request) {
+86          this.request = request;
+87      }
+88  
+89      public String getResponse() {
+90          return response;
+91      }
+92  
+93      public void setResponse(String response) {
+94          this.response = response;
+95      }
+96  
+97      public String getUrl() {
+98          return url;
+99      }
+100 
+101     public void setUrl(String url) {
+102         this.url = url;
+103     }
+104 
+105     public List<CmisTestResult> getChildren() {
+106         return children;
+107     }
+108 
+109     public boolean isFatal() {
+110         return isFatal;
+111     }
+112 
+113     @Override
+114     public String toString() {
+115         return status + ": " + groupName + "/" + testName + ": " + message;
+116     }
+117 }
+
+
+ + Added: websites/staging/chemistry/trunk/content/java/0.9.0/maven/chemistry-opencmis-test/chemistry-opencmis-test-tck/xref/org/apache/chemistry/opencmis/tck/impl/FatalTestException.html ============================================================================== --- websites/staging/chemistry/trunk/content/java/0.9.0/maven/chemistry-opencmis-test/chemistry-opencmis-test-tck/xref/org/apache/chemistry/opencmis/tck/impl/FatalTestException.html (added) +++ websites/staging/chemistry/trunk/content/java/0.9.0/maven/chemistry-opencmis-test/chemistry-opencmis-test-tck/xref/org/apache/chemistry/opencmis/tck/impl/FatalTestException.html Tue May 28 10:00:17 2013 @@ -0,0 +1,49 @@ + + + + +FatalTestException xref + + + +
+
+1   /*
+2    * Licensed to the Apache Software Foundation (ASF) under one
+3    * or more contributor license agreements.  See the NOTICE file
+4    * distributed with this work for additional information
+5    * regarding copyright ownership.  The ASF licenses this file
+6    * to you under the Apache License, Version 2.0 (the
+7    * "License"); you may not use this file except in compliance
+8    * with the License.  You may obtain a copy of the License at
+9    *
+10   * http://www.apache.org/licenses/LICENSE-2.0
+11   *
+12   * Unless required by applicable law or agreed to in writing,
+13   * software distributed under the License is distributed on an
+14   * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+15   * KIND, either express or implied.  See the License for the
+16   * specific language governing permissions and limitations
+17   * under the License.
+18   */
+19  package org.apache.chemistry.opencmis.tck.impl;
+20  
+21  /**
+22   * This exception will be thrown if a result is fatal and the test has to be
+23   * stopped.
+24   */
+25  public class FatalTestException extends RuntimeException {
+26      private static final long serialVersionUID = 1L;
+27  
+28      public FatalTestException() {
+29          super();
+30      }
+31  
+32      public FatalTestException(String msg) {
+33          super(msg);
+34      }
+35  }
+
+
+ + Added: websites/staging/chemistry/trunk/content/java/0.9.0/maven/chemistry-opencmis-test/chemistry-opencmis-test-tck/xref/org/apache/chemistry/opencmis/tck/impl/JUnitHelper.html ============================================================================== --- websites/staging/chemistry/trunk/content/java/0.9.0/maven/chemistry-opencmis-test/chemistry-opencmis-test-tck/xref/org/apache/chemistry/opencmis/tck/impl/JUnitHelper.html (added) +++ websites/staging/chemistry/trunk/content/java/0.9.0/maven/chemistry-opencmis-test/chemistry-opencmis-test-tck/xref/org/apache/chemistry/opencmis/tck/impl/JUnitHelper.html Tue May 28 10:00:17 2013 @@ -0,0 +1,120 @@ + + + + +JUnitHelper xref + + + +
+
+1   /*
+2    * Licensed to the Apache Software Foundation (ASF) under one
+3    * or more contributor license agreements.  See the NOTICE file
+4    * distributed with this work for additional information
+5    * regarding copyright ownership.  The ASF licenses this file
+6    * to you under the Apache License, Version 2.0 (the
+7    * "License"); you may not use this file except in compliance
+8    * with the License.  You may obtain a copy of the License at
+9    *
+10   * http://www.apache.org/licenses/LICENSE-2.0
+11   *
+12   * Unless required by applicable law or agreed to in writing,
+13   * software distributed under the License is distributed on an
+14   * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+15   * KIND, either express or implied.  See the License for the
+16   * specific language governing permissions and limitations
+17   * under the License.
+18   */
+19  package org.apache.chemistry.opencmis.tck.impl;
+20  
+21  import java.io.File;
+22  import java.io.PrintWriter;
+23  
+24  import org.apache.chemistry.opencmis.tck.CmisTest;
+25  import org.apache.chemistry.opencmis.tck.CmisTestGroup;
+26  import org.apache.chemistry.opencmis.tck.CmisTestProgressMonitor;
+27  import org.apache.chemistry.opencmis.tck.CmisTestReport;
+28  import org.apache.chemistry.opencmis.tck.CmisTestResult;
+29  import org.apache.chemistry.opencmis.tck.CmisTestResultStatus;
+30  import org.apache.chemistry.opencmis.tck.report.TextReport;
+31  import org.apache.chemistry.opencmis.tck.runner.AbstractRunner;
+32  import org.junit.Assert;
+33  
+34  public class JUnitHelper {
+35  
+36      public static final String JUNIT_PARAMETERS = "org.apache.chemistry.opencmis.tck.junit.parameters";
+37  
+38      private JUnitHelper() {
+39      }
+40  
+41      public static void run(CmisTest test) {
+42          try {
+43              run(new WrapperCmisTestGroup(test));
+44          } catch (Exception e) {
+45              Assert.fail(e.getMessage());
+46          }
+47      }
+48  
+49      public static void run(CmisTestGroup group) {
+50          try {
+51              JUnitRunner runner = new JUnitRunner();
+52  
+53              String parametersFile = System.getProperty(JUNIT_PARAMETERS);
+54              if (parametersFile == null) {
+55                  runner.setParameters(null);
+56              } else {
+57                  runner.loadParameters(new File(parametersFile));
+58              }
+59  
+60              runner.addGroup(group);
+61              runner.run(new JUnitProgressMonitor());
+62  
+63              CmisTestReport report = new TextReport();
+64              report.createReport(runner.getParameters(), runner.getGroups(), new PrintWriter(System.out));
+65  
+66              checkForFailures(runner);
+67          } catch (Exception e) {
+68              Assert.fail(e.getMessage());
+69          }
+70      }
+71  
+72      private static void checkForFailures(JUnitRunner runner) {
+73          for (CmisTestGroup group : runner.getGroups()) {
+74              for (CmisTest test : group.getTests()) {
+75                  for (CmisTestResult result : test.getResults()) {
+76                      if (result.getStatus().getLevel() >= CmisTestResultStatus.FAILURE.getLevel()) {
+77                          Assert.fail(result.getMessage());
+78                      }
+79                  }
+80              }
+81          }
+82      }
+83  
+84      private static class JUnitRunner extends AbstractRunner {
+85      }
+86  
+87      private static class JUnitProgressMonitor implements CmisTestProgressMonitor {
+88          public void startGroup(CmisTestGroup group) {
+89              System.out.println(group.getName() + " (" + group.getTests().size() + " tests)");
+90          }
+91  
+92          public void endGroup(CmisTestGroup group) {
+93          }
+94  
+95          public void startTest(CmisTest test) {
+96              System.out.println("  " + test.getName());
+97          }
+98  
+99          public void endTest(CmisTest test) {
+100         }
+101 
+102         public void message(String msg) {
+103             System.out.println(msg);
+104         }
+105     }
+106 }
+
+
+ + Added: websites/staging/chemistry/trunk/content/java/0.9.0/maven/chemistry-opencmis-test/chemistry-opencmis-test-tck/xref/org/apache/chemistry/opencmis/tck/impl/PropertyCheckEnum.html ============================================================================== --- websites/staging/chemistry/trunk/content/java/0.9.0/maven/chemistry-opencmis-test/chemistry-opencmis-test-tck/xref/org/apache/chemistry/opencmis/tck/impl/PropertyCheckEnum.html (added) +++ websites/staging/chemistry/trunk/content/java/0.9.0/maven/chemistry-opencmis-test/chemistry-opencmis-test-tck/xref/org/apache/chemistry/opencmis/tck/impl/PropertyCheckEnum.html Tue May 28 10:00:17 2013 @@ -0,0 +1,37 @@ + + + + +PropertyCheckEnum xref + + + +
+
+1   /*
+2    * Licensed to the Apache Software Foundation (ASF) under one
+3    * or more contributor license agreements.  See the NOTICE file
+4    * distributed with this work for additional information
+5    * regarding copyright ownership.  The ASF licenses this file
+6    * to you under the Apache License, Version 2.0 (the
+7    * "License"); you may not use this file except in compliance
+8    * with the License.  You may obtain a copy of the License at
+9    *
+10   * http://www.apache.org/licenses/LICENSE-2.0
+11   *
+12   * Unless required by applicable law or agreed to in writing,
+13   * software distributed under the License is distributed on an
+14   * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+15   * KIND, either express or implied.  See the License for the
+16   * specific language governing permissions and limitations
+17   * under the License.
+18   */
+19  package org.apache.chemistry.opencmis.tck.impl;
+20  
+21  public enum PropertyCheckEnum {
+22      NO_VALUE_CHECK, MUST_NOT_BE_SET, MUST_BE_SET, STRING_SHOULD_NOT_BE_EMPTY, STRING_MUST_NOT_BE_EMPTY
+23  }
+
+
+ + Added: websites/staging/chemistry/trunk/content/java/0.9.0/maven/chemistry-opencmis-test/chemistry-opencmis-test-tck/xref/org/apache/chemistry/opencmis/tck/impl/TestParameters.html ============================================================================== --- websites/staging/chemistry/trunk/content/java/0.9.0/maven/chemistry-opencmis-test/chemistry-opencmis-test-tck/xref/org/apache/chemistry/opencmis/tck/impl/TestParameters.html (added) +++ websites/staging/chemistry/trunk/content/java/0.9.0/maven/chemistry-opencmis-test/chemistry-opencmis-test-tck/xref/org/apache/chemistry/opencmis/tck/impl/TestParameters.html Tue May 28 10:00:17 2013 @@ -0,0 +1,56 @@ + + + + +TestParameters xref + + + +
+
+1   /*
+2    * Licensed to the Apache Software Foundation (ASF) under one
+3    * or more contributor license agreements.  See the NOTICE file
+4    * distributed with this work for additional information
+5    * regarding copyright ownership.  The ASF licenses this file
+6    * to you under the Apache License, Version 2.0 (the
+7    * "License"); you may not use this file except in compliance
+8    * with the License.  You may obtain a copy of the License at
+9    *
+10   * http://www.apache.org/licenses/LICENSE-2.0
+11   *
+12   * Unless required by applicable law or agreed to in writing,
+13   * software distributed under the License is distributed on an
+14   * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+15   * KIND, either express or implied.  See the License for the
+16   * specific language governing permissions and limitations
+17   * under the License.
+18   */
+19  package org.apache.chemistry.opencmis.tck.impl;
+20  
+21  public class TestParameters {
+22      public static final String DEFAULT_FOLDER_TYPE = "org.apache.chemistry.opencmis.tck.default.folderType";
+23      public static final String DEFAULT_FOLDER_TYPE_VALUE = "cmis:folder";
+24  
+25      public static final String DEFAULT_DOCUMENT_TYPE = "org.apache.chemistry.opencmis.tck.default.documentType";
+26      public static final String DEFAULT_DOCUMENT_TYPE_VALUE = "cmis:document";
+27  
+28      public static final String DEFAULT_RELATIONSHIP_TYPE = "org.apache.chemistry.opencmis.tck.default.relationshipType";
+29      public static final String DEFAULT_RELATIONSHIP_TYPE_VALUE = "cmis:relationship";
+30  
+31      public static final String DEFAULT_ITEM_TYPE = "org.apache.chemistry.opencmis.tck.default.itemType";
+32      public static final String DEFAULT_ITEM_TYPE_VALUE = "cmis:item";
+33  
+34      public static final String DEFAULT_SECONDARY_TYPE = "org.apache.chemistry.opencmis.tck.default.secondaryType";
+35      public static final String DEFAULT_SECONDARY_TYPE_VALUE = "cmis:secondary";
+36  
+37      public static final String DEFAULT_TEST_FOLDER_PARENT = "org.apache.chemistry.opencmis.tck.default.testFolderParent";
+38      public static final String DEFAULT_TEST_FOLDER_PARENT_VALUE = "/";
+39  
+40      public static final String DEFAULT_ACL_PRINCIPAL = "org.apache.chemistry.opencmis.tck.default.principal";
+41      public static final String DEFAULT_ACL_PRINCIPAL_VALUE = "cmis:user";
+42  }
+
+
+ + Added: websites/staging/chemistry/trunk/content/java/0.9.0/maven/chemistry-opencmis-test/chemistry-opencmis-test-tck/xref/org/apache/chemistry/opencmis/tck/impl/WrapperCmisTestGroup.html ============================================================================== --- websites/staging/chemistry/trunk/content/java/0.9.0/maven/chemistry-opencmis-test/chemistry-opencmis-test-tck/xref/org/apache/chemistry/opencmis/tck/impl/WrapperCmisTestGroup.html (added) +++ websites/staging/chemistry/trunk/content/java/0.9.0/maven/chemistry-opencmis-test/chemistry-opencmis-test-tck/xref/org/apache/chemistry/opencmis/tck/impl/WrapperCmisTestGroup.html Tue May 28 10:00:17 2013 @@ -0,0 +1,60 @@ + + + + +WrapperCmisTestGroup xref + + + +
+
+1   /*
+2    * Licensed to the Apache Software Foundation (ASF) under one
+3    * or more contributor license agreements.  See the NOTICE file
+4    * distributed with this work for additional information
+5    * regarding copyright ownership.  The ASF licenses this file
+6    * to you under the Apache License, Version 2.0 (the
+7    * "License"); you may not use this file except in compliance
+8    * with the License.  You may obtain a copy of the License at
+9    *
+10   * http://www.apache.org/licenses/LICENSE-2.0
+11   *
+12   * Unless required by applicable law or agreed to in writing,
+13   * software distributed under the License is distributed on an
+14   * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+15   * KIND, either express or implied.  See the License for the
+16   * specific language governing permissions and limitations
+17   * under the License.
+18   */
+19  package org.apache.chemistry.opencmis.tck.impl;
+20  
+21  import java.util.Map;
+22  
+23  import org.apache.chemistry.opencmis.tck.CmisTest;
+24  
+25  /**
+26   * Helper group implementation that just hold one test.
+27   */
+28  public class WrapperCmisTestGroup extends AbstractCmisTestGroup {
+29      private final CmisTest test;
+30  
+31      public WrapperCmisTestGroup(CmisTest test) throws Exception {
+32          if (test == null) {
+33              throw new IllegalArgumentException("Test is null!");
+34          }
+35  
+36          this.test = test;
+37      }
+38  
+39      @Override
+40      public void init(Map<String, String> parameters) throws Exception {
+41          super.init(parameters);
+42  
+43          addTest(test);
+44          setName("Wrapper Group: " + test.getName());
+45      }
+46  }
+
+
+ + Added: websites/staging/chemistry/trunk/content/java/0.9.0/maven/chemistry-opencmis-test/chemistry-opencmis-test-tck/xref/org/apache/chemistry/opencmis/tck/impl/package-frame.html ============================================================================== --- websites/staging/chemistry/trunk/content/java/0.9.0/maven/chemistry-opencmis-test/chemistry-opencmis-test-tck/xref/org/apache/chemistry/opencmis/tck/impl/package-frame.html (added) +++ websites/staging/chemistry/trunk/content/java/0.9.0/maven/chemistry-opencmis-test/chemistry-opencmis-test-tck/xref/org/apache/chemistry/opencmis/tck/impl/package-frame.html Tue May 28 10:00:17 2013 @@ -0,0 +1,60 @@ + + + + + + OpenCMIS Test Compatibility Kit 0.9.0 Reference Package org.apache.chemistry.opencmis.tck.impl + + + + +

+ org.apache.chemistry.opencmis.tck.impl +

+ +

Classes

+ + + + + \ No newline at end of file Added: websites/staging/chemistry/trunk/content/java/0.9.0/maven/chemistry-opencmis-test/chemistry-opencmis-test-tck/xref/org/apache/chemistry/opencmis/tck/impl/package-summary.html ============================================================================== --- websites/staging/chemistry/trunk/content/java/0.9.0/maven/chemistry-opencmis-test/chemistry-opencmis-test-tck/xref/org/apache/chemistry/opencmis/tck/impl/package-summary.html (added) +++ websites/staging/chemistry/trunk/content/java/0.9.0/maven/chemistry-opencmis-test/chemistry-opencmis-test-tck/xref/org/apache/chemistry/opencmis/tck/impl/package-summary.html Tue May 28 10:00:17 2013 @@ -0,0 +1,127 @@ + + + + + + OpenCMIS Test Compatibility Kit 0.9.0 Reference Package org.apache.chemistry.opencmis.tck.impl + + + +
+ +
+
+ +
+ +

Package org.apache.chemistry.opencmis.tck.impl

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Class Summary
+ AbstractCmisTest +
+ AbstractCmisTestGroup +
+ AbstractSessionTest +
+ AbstractSessionTestGroup +
+ CmisPropertyDefintion +
+ CmisTestResultImpl +
+ FatalTestException +
+ JUnitHelper +
+ JUnitProgressMonitor +
+ JUnitRunner +
+ PropertyCheckEnum +
+ TestParameters +
+ WrapperCmisTestGroup +
+ +
+ +
+
+ +
+
+ Copyright © 2009-2013 The Apache Software Foundation. All Rights Reserved. + + \ No newline at end of file Added: websites/staging/chemistry/trunk/content/java/0.9.0/maven/chemistry-opencmis-test/chemistry-opencmis-test-tck/xref/org/apache/chemistry/opencmis/tck/package-frame.html ============================================================================== --- websites/staging/chemistry/trunk/content/java/0.9.0/maven/chemistry-opencmis-test/chemistry-opencmis-test-tck/xref/org/apache/chemistry/opencmis/tck/package-frame.html (added) +++ websites/staging/chemistry/trunk/content/java/0.9.0/maven/chemistry-opencmis-test/chemistry-opencmis-test-tck/xref/org/apache/chemistry/opencmis/tck/package-frame.html Tue May 28 10:00:17 2013 @@ -0,0 +1,39 @@ + + + + + + OpenCMIS Test Compatibility Kit 0.9.0 Reference Package org.apache.chemistry.opencmis.tck + + + + +

+ org.apache.chemistry.opencmis.tck +

+ +

Classes

+ + + + + \ No newline at end of file Added: websites/staging/chemistry/trunk/content/java/0.9.0/maven/chemistry-opencmis-test/chemistry-opencmis-test-tck/xref/org/apache/chemistry/opencmis/tck/package-summary.html ============================================================================== --- websites/staging/chemistry/trunk/content/java/0.9.0/maven/chemistry-opencmis-test/chemistry-opencmis-test-tck/xref/org/apache/chemistry/opencmis/tck/package-summary.html (added) +++ websites/staging/chemistry/trunk/content/java/0.9.0/maven/chemistry-opencmis-test/chemistry-opencmis-test-tck/xref/org/apache/chemistry/opencmis/tck/package-summary.html Tue May 28 10:00:17 2013 @@ -0,0 +1,92 @@ + + + + + + OpenCMIS Test Compatibility Kit 0.9.0 Reference Package org.apache.chemistry.opencmis.tck + + + +
+ +
+
+ +
+ +

Package org.apache.chemistry.opencmis.tck

+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
Class Summary
+ CmisTest +
+ CmisTestGroup +
+ CmisTestProgressMonitor +
+ CmisTestReport +
+ CmisTestResult +
+ CmisTestResultStatus +
+ +
+ +
+
+ +
+
+ Copyright © 2009-2013 The Apache Software Foundation. All Rights Reserved. + + \ No newline at end of file Added: websites/staging/chemistry/trunk/content/java/0.9.0/maven/chemistry-opencmis-test/chemistry-opencmis-test-tck/xref/org/apache/chemistry/opencmis/tck/report/AbstractCmisTestReport.html ============================================================================== --- websites/staging/chemistry/trunk/content/java/0.9.0/maven/chemistry-opencmis-test/chemistry-opencmis-test-tck/xref/org/apache/chemistry/opencmis/tck/report/AbstractCmisTestReport.html (added) +++ websites/staging/chemistry/trunk/content/java/0.9.0/maven/chemistry-opencmis-test/chemistry-opencmis-test-tck/xref/org/apache/chemistry/opencmis/tck/report/AbstractCmisTestReport.html Tue May 28 10:00:17 2013 @@ -0,0 +1,55 @@ + + + + +AbstractCmisTestReport xref + + + +
+
+1   /*
+2    * Licensed to the Apache Software Foundation (ASF) under one
+3    * or more contributor license agreements.  See the NOTICE file
+4    * distributed with this work for additional information
+5    * regarding copyright ownership.  The ASF licenses this file
+6    * to you under the Apache License, Version 2.0 (the
+7    * "License"); you may not use this file except in compliance
+8    * with the License.  You may obtain a copy of the License at
+9    *
+10   * http://www.apache.org/licenses/LICENSE-2.0
+11   *
+12   * Unless required by applicable law or agreed to in writing,
+13   * software distributed under the License is distributed on an
+14   * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+15   * KIND, either express or implied.  See the License for the
+16   * specific language governing permissions and limitations
+17   * under the License.
+18   */
+19  package org.apache.chemistry.opencmis.tck.report;
+20  
+21  import java.io.File;
+22  import java.io.FileWriter;
+23  import java.io.Writer;
+24  import java.util.List;
+25  import java.util.Map;
+26  
+27  import org.apache.chemistry.opencmis.tck.CmisTestGroup;
+28  import org.apache.chemistry.opencmis.tck.CmisTestReport;
+29  
+30  /**
+31   * Base class for reports.
+32   */
+33  public abstract class AbstractCmisTestReport implements CmisTestReport {
+34  
+35      public abstract void createReport(Map<String, String> parameters, List<CmisTestGroup> groups, Writer writer)
+36              throws Exception;
+37  
+38      public void createReport(Map<String, String> parameters, List<CmisTestGroup> groups, File file) throws Exception {
+39          createReport(parameters, groups, new FileWriter(file));
+40      }
+41  }
+
+
+ +