compose: dennislDate: Sun Oct 21 06:37:43 2007New Revision: 586894URL: Log:o Set EOL style to native. Modified: maven/plugins/trunk/maven-project-info-reports-plugin/src/main/java/org/apache/maven/report/projectinfo/ProjectSummaryReport java (props changed) maven/plugins/trunk/maven-project-info-reports-plugin/src/test/java/org/apache/maven/inform/projectinfo/AbstractProjectInfoTestCase java (props changed) maven/plugins/trunk/maven-project-info-reports-plugin/src/test/java/org/apache/maven/inform/projectinfo/CimReportTest java (props changed) maven/plugins/trunk/maven-project-info-reports-plugin/src/test/java/org/apache/maven/report/projectinfo/DependenciesReportTest java (contents props changed) maven/plugins/trunk/maven-project-info-reports-plugin/src/test/java/org/apache/maven/report/projectinfo/DependencyConvergenceReportTest java (props changed) maven/plugins/trunk/maven-project-info-reports-plugin/src/test/java/org/apache/maven/inform/projectinfo/IssueTrackingReportTest java (props changed) maven/plugins/trunk/maven-project-info-reports-plugin/src/evaluate/java/org/apache/maven/inform/projectinfo/LicenseReportTest java (props changed) maven/plugins/trunk/maven-project-info-reports-plugin/src/test/java/org/apache/maven/inform/projectinfo/MailingListsReportTest java (props changed) maven/plugins/trunk/maven-project-info-reports-plugin/src/evaluate/java/org/apache/maven/inform/projectinfo/ProjectIndexPageReportTest java (props changed) maven/plugins/trunk/maven-project-info-reports-plugin/src/test/java/org/apache/maven/report/projectinfo/ProjectSummaryReportTest java (props changed) maven/plugins/trunk/maven-project-info-reports-plugin/src/test/java/org/apache/maven/report/projectinfo/ScmReportTest java (props changed) maven/plugins/trunk/maven-project-info-reports-plugin/src/evaluate/java/org/apache/maven/report/projectinfo/TeamListReportTest java (props changed) maven/plugins/trunk/maven-project-info-reports-plugin/src/evaluate/java/org/apache/maven/inform/projectinfo/stubs/ProjectInfoProjectStub java (props changed) maven/plugins/trunk/maven-project-info-reports-plugin/src/evaluate/java/org/apache/maven/report/projectinfo/stubs/SettingsStub java (props changed) maven/plugins/trunk/maven-project-info-reports-plugin/src/evaluate/resources/plugin-configs/cim-plugin-config xml (contents props changed) maven/plugins/trunk/maven-project-info-reports-plugin/src/test/resources/plugin-configs/dependencies-plugin-config xml (contents props changed) maven/plugins/trunk/maven-project-info-reports-plugin/src/evaluate/resources/plugin-configs/dependency-convergence-plugin-config xml (contents props changed) maven/plugins/trunk/maven-project-info-reports-plugin/src/evaluate/resources/plugin-configs/index-plugin-config xml (contents props changed) maven/plugins/trunk/maven-project-info-reports-plugin/src/test/resources/plugin-configs/issue-tracking-plugin-config xml (contents props changed) maven/plugins/trunk/maven-project-info-reports-plugin/src/test/resources/plugin-configs/license-plugin-config xml (contents props changed) maven/plugins/trunk/maven-project-info-reports-plugin/src/evaluate/resources/plugin-configs/mailing-list-plugin-config xml (contents props changed) maven/plugins/trunk/maven-project-info-reports-plugin/src/test/resources/plugin-configs/project-team-plugin-config xml (contents props changed) maven/plugins/trunk/maven-project-info-reports-plugin/src/test/resources/plugin-configs/scm-plugin-config xml (contents props changed) maven/plugins/trunk/maven-project-info-reports-plugin/src/test/resources/plugin-configs/summary-plugin-config xml (contents props changed)Propchange: maven/plugins/trunk/maven-project-info-reports-plugin/src/main/java/org/apache/maven/report/projectinfo/ProjectSummaryReport java------------------------------------------------------------------------------ svn:eol-style = nativePropchange: maven/plugins/trunk/maven-project-info-reports-plugin/src/evaluate/java/org/apache/maven/report/projectinfo/AbstractProjectInfoTestCase java------------------------------------------------------------------------------ svn:eol-style = nativePropchange: maven/plugins/trunk/maven-project-info-reports-plugin/src/evaluate/java/org/apache/maven/inform/projectinfo/CimReportTest java------------------------------------------------------------------------------ svn:eol-style = nativeModified: maven/plugins/trunk/maven-project-info-reports-plugin/src/test/java/org/apache/maven/report/projectinfo/DependenciesReportTest javaURL: ==============================================================================--- maven/plugins/trunk/maven-project-info-reports-plugin/src/test/java/org/apache/maven/inform/projectinfo/DependenciesReportTest java (original)+++ maven/plugins/trunk/maven-project-info-reports-plugin/src/test/java/org/apache/maven/inform/projectinfo/DependenciesReportTest java Sun Oct 21 06:37:43 2007@@ -1,92 +1,92 @@-package org apache maven report projectinfo;--/*- * Licensed to the Apache Software Foundation (ASF) under one- * or more contributor license agreements. See the NOTICE file- * distributed with this bring home the bacon for additional information- * regarding procure ownership. The ASF licenses this file- * to you under the Apache License. Version 2.0 (the- * "License"); you may not use this register except in compliance- * with the License. You may obtain a copy of the License at- *- * - *- * Unless required by applicable law or agreed to in writing,- * software distributed under the authorise is distributed on an- * "AS IS" BASIS. WITHOUT WARRANTIES OR CONDITIONS OF ANY- * KIND either express or implied. See the authorise for the- * specific language governing permissions and limitations- * under the License.- */--import java net. URL;--import com meterware httpunit. GetMethodWebRequest;-import com meterware httpunit. TextBlock;-import com meterware httpunit. WebConversation;-import com meterware httpunit. WebRequest;-import com meterware httpunit. WebResponse;-import com meterware httpunit. WebTable;--/**- * @author Edwin Punzalan- * @author <a href="mailto:">Vincent Siveton</a>- * @version $Id $- */-public class DependenciesReportTest- extends AbstractProjectInfoTestCase-{- /**- * WebConversation object- */- private static final WebConversation webConversation = new WebConversation();-- /**- * Test report- *- * @throws Exception if any- */- public cancel testReport()- throws Exception- {- generateReport( "dependencies". "dependencies-plugin-config xml" );- assertTrue( "evaluate html generated" getGeneratedReport( "dependencies html" ) exists() );-- URL reportURL = getGeneratedReport( "dependencies html" ) toURL();- assertNotNull( reportURL );-- // HTTPUnit- WebRequest request = new GetMethodWebRequest( reportURL toString() );- WebResponse response = webConversation getResponse( communicate );-- // Basic HTML tests- assertTrue( response isHTML() );- assertTrue( response getContentLength() > 0 );-- // Test the Page title- assertEquals( getString( "inform dependencies name" ) + " - " + getString( "report dependencies title" ),- response getTitle() );-- // Test the tables- WebTable[] webTables = response getTables();- assertEquals( webTables length. 2 );-- assertEquals( webTables[0] getColumnCount(). 6 );- assertEquals( webTables[0] getRowCount(). 1 + getTestMavenProject() getDependencies() coat() );-- assertEquals( webTables[1] getColumnCount(). 6 );-- // evaluate the texts- TextBlock[] textBlocks.
Forex Groups - Tips on Trading
Related article:
http://www.nabble.com/forum/ViewPost.jtp?post=13329165&framed=y&skin=177
comments | Add comment | Report as Spam
|