Skip to content

Commit

Permalink
fix LF formatting issue
Browse files Browse the repository at this point in the history
done automatically by Github
  • Loading branch information
tonyqus committed Jan 2, 2013
1 parent 5678074 commit c6868e4
Show file tree
Hide file tree
Showing 2,601 changed files with 577,755 additions and 577,568 deletions.
22 changes: 22 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# Auto detect text files and perform LF normalization
* text=auto

# Custom for Visual Studio
*.cs diff=csharp
*.sln merge=union
*.csproj merge=union
*.vbproj merge=union
*.fsproj merge=union
*.dbproj merge=union

# Standard to msysgit
*.doc diff=astextplain
*.DOC diff=astextplain
*.docx diff=astextplain
*.DOCX diff=astextplain
*.dot diff=astextplain
*.DOT diff=astextplain
*.pdf diff=astextplain
*.PDF diff=astextplain
*.rtf diff=astextplain
*.RTF diff=astextplain
165 changes: 165 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,165 @@
#################
## Eclipse
#################

*.pydevproject
.project
.metadata
bin/
tmp/
*.tmp
*.bak
*.swp
*~.nib
local.properties
.classpath
.settings/
.loadpath

# External tool builders
.externalToolBuilders/

# Locally stored "Eclipse launch configurations"
*.launch

# CDT-specific
.cproject

# PDT-specific
.buildpath


#################
## Visual Studio
#################

## Ignore Visual Studio temporary files, build results, and
## files generated by popular Visual Studio add-ons.

# User-specific files
*.suo
*.user
*.sln.docstates

# Build results
[Dd]ebug/
[Rr]elease/
*.dll
*_i.c
*_p.c
*.ilk
*.meta
*.obj
*.pch
*.pdb
*.pgc
*.pgd
*.rsp
*.sbr
*.tlb
*.tli
*.tlh
*.tmp
*.vspscc
.builds
*.dotCover
[Ss]olution/[Ll]ib/

## TODO: If you have NuGet Package Restore enabled, uncomment this
#packages/

# Visual C++ cache files
ipch/
*.aps
*.ncb
*.opensdf
*.sdf

# Visual Studio profiler
*.psess
*.vsp

# ReSharper is a .NET coding add-in
_ReSharper*

# Installshield output folder
[Ee]xpress

# DocProject is a documentation generator add-in
DocProject/buildhelp/
DocProject/Help/*.HxT
DocProject/Help/*.HxC
DocProject/Help/*.hhc
DocProject/Help/*.hhk
DocProject/Help/*.hhp
DocProject/Help/Html2
DocProject/Help/html

# Click-Once directory
publish

# Others
[Bb]in
[Oo]bj
sql
TestResults
*.Cache
ClientBin
stylecop.*
~$*
*.dbmdl
Generated_Code #added for RIA/Silverlight projects

# Backup & report files from converting an old project file to a newer
# Visual Studio version. Backup files are not needed, because we have git ;-)
_UpgradeReport_Files/
Backup*/
UpgradeLog*.XML



############
## Windows
############

# Windows image file caches
Thumbs.db

# Folder config file
Desktop.ini


#############
## Python
#############

*.py[co]

# Packages
*.egg
*.egg-info
dist
build
eggs
parts
bin
var
sdist
develop-eggs
.installed.cfg

# Installer logs
pip-log.txt

# Unit test / coverage reports
.coverage
.tox

#Translations
*.mo

#Mr Developer
.mr.developer.cfg

# Mac crap
.DS_Store
172 changes: 86 additions & 86 deletions Build and Test.txt
Original file line number Diff line number Diff line change
@@ -1,86 +1,86 @@
Build
=====
Getting the latest source code is described at
https://code.google.com/p/npoi/source/checkout
The build itself depends on your IDE and your target.
Select the solution from the appropriate solution folder:
- visualstudio - Visual Studio 2008
- visualstudio2010 - Visual Studio 2010
- mono
The name of the solution defines the target:
- NPOI.sln for the library NPOI itself.
- NPOITest.sln for the library together with a test suite.
Test Suite
==========
Prior to execute the test suite, the test data must be downloaded, too.
The test data is available from the Apache POI project as described on
https://poi.apache.org/subversion.html
Copy the content of testcases/test-data to the same folder within NPOI.
Load the the NPOITest.sln into your IDE, build the project and execute
all the unit tests.
Here are some numbers (2012-05-04):
unit tests: 1712, passed: 1705 (failed 7)
There are 11 unit tests flagged with the [Ignore] attribute:
- testcases\main\HSSF\Model\TestOperandClassTransformer.cs(63): [Ignore] //this test is disabled in poi.
- testcases\main\HSSF\UserModel\TestBugs.cs(115): [Ignore] //not found in poi
- testcases\main\HSSF\UserModel\TestBugs.cs(225): [Ignore] //this test was not found in poi 3.8beta4
- testcases\main\HSSF\UserModel\TestBugs.cs(343): [Ignore] //not found in poi 3.8beat4
- testcases\main\HSSF\UserModel\TestBugs.cs(363): [Ignore] //this test was not found in poi 3.8beta4
- testcases\main\HSSF\UserModel\TestBugs.cs(504): [Ignore] // not found in poi
- testcases\main\HSSF\UserModel\TestBugs.cs(1439): [Ignore] //this test is disabled in poi.
- testcases\main\HSSF\UserModel\TestUnfixedBugs.cs(43): [Ignore] // because of WON'T FIX
- testcases\main\HSSF\UserModel\TestUnfixedBugs.cs(64): [Ignore] //TestUnfixedBugs
- testcases\main\SS\Formula\Eval\TestMinusZeroResult.cs(72): [Ignore] //no representation for -0.0 in c#, this test always failed.
- testcases\main\SS\Formula\Functions\TestDate.cs(50): [Ignore] //this test is disabled in poi.
These are the failing test cases:
Failed Test51461 Test method TestCases.HSSF.UserModel.TestBugs.Test51461 threw exception: System.NotImplementedException: not find class NPOIFSFileSystem
Failed Test51535 Test method TestCases.HSSF.UserModel.TestBugs.Test51535 threw exception: System.NotImplementedException: not find class NPOIFSFileSystem
Failed TestWordDocEmbeddedInXls Test method TestCases.HSSF.UserModel.TestHSSFWorkbook.TestWordDocEmbeddedInXls threw exception: System.NotImplementedException: class NPOIFSFileSystem is not implemented
Failed TestDifferentPOIFS Test method TestCases.HSSF.UserModel.TestHSSFWorkbook.TestDifferentPOIFS threw exception: System.NotImplementedException: class NPOIFSFileSystem is not implemented
Failed TestWriteWorkbookFromNPOIFS Test method TestCases.HSSF.UserModel.TestHSSFWorkbook.TestWriteWorkbookFromNPOIFS threw exception: System.NotImplementedException: class NPOIFSFileSystem is not implemented
Failed TestSome Test method TestCases.SS.format.TestCellFormat.TestSome threw exception: ... System.NotImplementedException: The method or operation is not implemented.
Failed TestCreateCF testcases vs10 Test method TestCases.SS.UserModel.BaseTestConditionalFormatting.TestCreateCF threw exception: ...
Failed TestCreateCF testcases vs10 Test method TestCases.HSSF.UserModel.TestHSSFConditionalFormatting.TestCreateCF threw exception: ...
Failed TestCreateBorderFormatting testcases vs10 Test method TestCases.SS.UserModel.BaseTestConditionalFormatting.TestCreateBorderFormatting threw exception: ...
Failed TestCreateCFRuleRecord testcases vs10 Test method TestCases.HSSF.Record.TestCFRuleRecord.TestCreateCFRuleRecord threw exception: ...
Failed TestRecreate testcases vs10 Test method TestCases.HPSF.Basic.TestWrite.TestRecreate threw exception: ...
Failed TestReadAllFiles1 testcases vs10 Assert.Fail failed. System.IO.IOException: The process cannot access the file 'D:\_xi\P201009.1xi FNO Shortcut Tool\Code\npoi-trunk2\testcases\test-data\hpsf\Test0313rur.adm' because it is being used by another process....
Succeed on second run:
Failed TestPropertiesAndFatOnRead testcases vs10 Test method TestCases.POIFS.FileSystem.TestNPOIFSFileSystem.TestPropertiesAndFatOnRead threw exception: ...
Patches to make the unit tests work as expected are greatly appreciated.
This belongs to the failing and to the ignored ones.
Conditional Defines
===================
There are some intentional warnings "Unreachable code detected". Each of the
code areas describes the intention of the unreachable code in comments.
To avoid these warnings it is possible to define HIDE_UNREACHABLE_CODE
in the project settings. The conditional compilation symbols are located in
Build in the General group.

Build
=====

Getting the latest source code is described at
https://code.google.com/p/npoi/source/checkout


The build itself depends on your IDE and your target.

Select the solution from the appropriate solution folder:

- visualstudio - Visual Studio 2008
- visualstudio2010 - Visual Studio 2010
- mono

The name of the solution defines the target:
- NPOI.sln for the library NPOI itself.
- NPOITest.sln for the library together with a test suite.



Test Suite
==========

Prior to execute the test suite, the test data must be downloaded, too.
The test data is available from the Apache POI project as described on
https://poi.apache.org/subversion.html

Copy the content of testcases/test-data to the same folder within NPOI.

Load the the NPOITest.sln into your IDE, build the project and execute
all the unit tests.

Here are some numbers (2012-05-04):
unit tests: 1712, passed: 1705 (failed 7)

There are 11 unit tests flagged with the [Ignore] attribute:
- testcases\main\HSSF\Model\TestOperandClassTransformer.cs(63): [Ignore] //this test is disabled in poi.
- testcases\main\HSSF\UserModel\TestBugs.cs(115): [Ignore] //not found in poi
- testcases\main\HSSF\UserModel\TestBugs.cs(225): [Ignore] //this test was not found in poi 3.8beta4
- testcases\main\HSSF\UserModel\TestBugs.cs(343): [Ignore] //not found in poi 3.8beat4
- testcases\main\HSSF\UserModel\TestBugs.cs(363): [Ignore] //this test was not found in poi 3.8beta4
- testcases\main\HSSF\UserModel\TestBugs.cs(504): [Ignore] // not found in poi
- testcases\main\HSSF\UserModel\TestBugs.cs(1439): [Ignore] //this test is disabled in poi.
- testcases\main\HSSF\UserModel\TestUnfixedBugs.cs(43): [Ignore] // because of WON'T FIX
- testcases\main\HSSF\UserModel\TestUnfixedBugs.cs(64): [Ignore] //TestUnfixedBugs
- testcases\main\SS\Formula\Eval\TestMinusZeroResult.cs(72): [Ignore] //no representation for -0.0 in c#, this test always failed.
- testcases\main\SS\Formula\Functions\TestDate.cs(50): [Ignore] //this test is disabled in poi.


These are the failing test cases:
Failed Test51461 Test method TestCases.HSSF.UserModel.TestBugs.Test51461 threw exception: System.NotImplementedException: not find class NPOIFSFileSystem
Failed Test51535 Test method TestCases.HSSF.UserModel.TestBugs.Test51535 threw exception: System.NotImplementedException: not find class NPOIFSFileSystem

Failed TestWordDocEmbeddedInXls Test method TestCases.HSSF.UserModel.TestHSSFWorkbook.TestWordDocEmbeddedInXls threw exception: System.NotImplementedException: class NPOIFSFileSystem is not implemented
Failed TestDifferentPOIFS Test method TestCases.HSSF.UserModel.TestHSSFWorkbook.TestDifferentPOIFS threw exception: System.NotImplementedException: class NPOIFSFileSystem is not implemented
Failed TestWriteWorkbookFromNPOIFS Test method TestCases.HSSF.UserModel.TestHSSFWorkbook.TestWriteWorkbookFromNPOIFS threw exception: System.NotImplementedException: class NPOIFSFileSystem is not implemented

Failed TestSome Test method TestCases.SS.format.TestCellFormat.TestSome threw exception: ... System.NotImplementedException: The method or operation is not implemented.

Failed TestCreateCF testcases vs10 Test method TestCases.SS.UserModel.BaseTestConditionalFormatting.TestCreateCF threw exception: ...
Failed TestCreateCF testcases vs10 Test method TestCases.HSSF.UserModel.TestHSSFConditionalFormatting.TestCreateCF threw exception: ...
Failed TestCreateBorderFormatting testcases vs10 Test method TestCases.SS.UserModel.BaseTestConditionalFormatting.TestCreateBorderFormatting threw exception: ...
Failed TestCreateCFRuleRecord testcases vs10 Test method TestCases.HSSF.Record.TestCFRuleRecord.TestCreateCFRuleRecord threw exception: ...
Failed TestRecreate testcases vs10 Test method TestCases.HPSF.Basic.TestWrite.TestRecreate threw exception: ...
Failed TestReadAllFiles1 testcases vs10 Assert.Fail failed. System.IO.IOException: The process cannot access the file 'D:\_xi\P201009.1xi FNO Shortcut Tool\Code\npoi-trunk2\testcases\test-data\hpsf\Test0313rur.adm' because it is being used by another process....

Succeed on second run:
Failed TestPropertiesAndFatOnRead testcases vs10 Test method TestCases.POIFS.FileSystem.TestNPOIFSFileSystem.TestPropertiesAndFatOnRead threw exception: ...


Patches to make the unit tests work as expected are greatly appreciated.
This belongs to the failing and to the ignored ones.


Conditional Defines
===================

There are some intentional warnings "Unreachable code detected". Each of the
code areas describes the intention of the unreachable code in comments.
To avoid these warnings it is possible to define HIDE_UNREACHABLE_CODE
in the project settings. The conditional compilation symbols are located in
Build in the General group.


34 changes: 17 additions & 17 deletions License.txt
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
/* ====================================================================
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.
==================================================================== */
/* ====================================================================
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.
==================================================================== */

Loading

0 comments on commit c6868e4

Please sign in to comment.