Commit graph

701 commits

Author SHA1 Message Date
fanoI
bd6d211f5d - Added tests for HashTable
- Changed plug in ArrayImpl taking 'this' as pointer with the ObjectPointerAccess attribute (this solves the foreach test in HashTable)
- Corrected Thread plug signature
- Corrected SpinWait plug signature
- Added plug for Decimal.Equal (strangely was not required before)
2018-04-30 21:40:53 +02:00
valentinbreiz
ae49dd7c67
Merge pull request #47 from CosmosOS/master
Merge master.
2018-04-28 12:49:04 +02:00
jp2masa
e8262d196c
Merge pull request #950 from CosmosOS/structs-tests
Tests for structs
2018-04-27 19:33:16 +01:00
fanoI
57dc7813d5
Merge pull request #955 from fanoI/driveinfo_work
Driveinfo work
2018-04-22 21:30:07 +02:00
José Pedro
216c8b380f
Package updates. 2018-04-20 23:36:25 +01:00
Alexy DA CRUZ (GeomTech)
7f0d0c067c
Merge pull request #45 from CosmosOS/master
Merge
2018-04-19 23:40:13 +02:00
fanoI
b3bd8cbd1e Merge branch 'master' of https://github.com/CosmosOS/Cosmos into hashtable-work 2018-04-15 14:32:23 +02:00
fanoI
7439eed145 Merge branch 'master' of https://github.com/CosmosOS/Cosmos into driveinfo_work 2018-04-15 13:29:57 +02:00
José Pedro
92bc85c9bc
Fixed TimeSpan and DateTime.
Added tests.
2018-04-14 01:31:52 +01:00
fanoI
d2ecdfdeee First part of the work on DiskManager
- plugged DriveInfo
- added tests for DriveInfo
- added to VFS a new method RegisterFilesystem()
2018-04-13 17:43:00 +02:00
José Pedro
75e0c8b648
Uncommented structs tests.
Added plug for Convert.ToString(long, int).
2018-04-11 20:42:11 +01:00
Mido Elgamal
5faf3f58e2 Fixed String Replace 2018-04-09 15:27:32 -04:00
valentinbreiz
701fdab96c
Merge pull request #44 from CosmosOS/master
Merge master.
2018-04-09 16:32:15 +02:00
fanoI
5b14274984
Merge pull request #918 from quajak/master
[CGS] Bitmap implementation
2018-04-08 14:02:20 +02:00
José Pedro
5fc398deb8
Improved kernel reference resolution on the test runner. 2018-04-06 20:47:07 +01:00
José Pedro
41f02e2338
Fixed referenced assembly resolution for kernel projects. 2018-04-05 23:53:33 +01:00
José Pedro
047678ae47
Implemented isolated assembly loading. 2018-04-05 22:31:00 +01:00
Arawn Davies
f851d5dafb
Merge branch 'master' into master 2018-04-04 00:23:03 +01:00
jp2masa
743fd4894b
Merge pull request #931 from CosmosOS/test-runner-assert-locations
Added assert location to failed asserts message
2018-04-03 20:58:47 +01:00
Quajak
b12f4fc3b6 Fixed Filestream write
Did requested changes
Added test for Filestream read and write
2018-03-22 21:38:41 +01:00
José Pedro
274fa3e9a5
Build targets. 2018-03-21 23:05:20 +00:00
José Pedro
25c7a21a2f
Added assert location to failed asserts message. 2018-03-20 20:40:10 +00:00
José Pedro
b93f6be60a
Added type system tests. 2018-03-20 18:07:55 +00:00
Quajak
7dfd5c8d91 Revert "Added tests for div and rem for int64 operands."
This reverts commit 82871710f7.
2018-03-20 16:09:49 +01:00
Quajak
c379ea32ba Fixed fat stream
Improved file test
2018-03-19 20:54:47 +01:00
Quajak
9f47e6f8a4 Added test which fails until ReadAllBytes has been fixed
Rewrote Bitmap to use single ReadAllBytes
2018-03-18 13:45:46 +01:00
valentinbreiz
1906db9dc0
Merge pull request #36 from CosmosOS/master
Updates from upstream
2018-03-11 14:35:31 +01:00
Quajak
1fc410e4b2 Merge branch 'div-rem-int64-tests' 2018-03-04 13:49:57 +01:00
José Pedro
82871710f7
Added tests for div and rem for int64 operands. 2018-03-02 17:59:36 +00:00
fanoI
d0f8fa85c3
Merge pull request #912 from quajak/master
Added Math.Floor function with tests
2018-02-27 23:39:56 +01:00
José Pedro
5e51301d5c
Added tests for Convert.
Added back plugs for Decimal.
Plugged Int32.ToString(IFormatProvider).
2018-02-26 00:22:06 +00:00
Quajak
4cb8d65752 Added Math.Floor function with tests (Tests are simply copied from ceiling and changed results) 2018-02-25 21:10:10 +01:00
Arawn Davies
1d8642f87c
Merge pull request #836 from KingLuigi4932/patch-11
[From IL2CPU#28] Fix Double and Float Arrays
2018-02-25 16:32:34 +00:00
fanoI
e240641863 Created plugs to make Hashtable work (at least when an object is key).
There are issue however:
1. IL2CPU modifications are needed (see the PR for the list of the PR of IL2CPU to merge to make this usable)
2. Some fix in IL2CPU seems to give problems with Dictionary (VMT problem again?)
3. Hashtable with valuetype as key doesn't work (ContainsKey() always return false)
2018-02-25 15:27:39 +01:00
Quajak
496144ab71 Added test to check for value larger than int max 2018-02-24 17:25:31 +01:00
Quajak
638078f31f Fixed expected value for negative double tests 2018-02-24 17:08:44 +01:00
Quajak
63f140f0ba Added new ceiling command 2018-02-24 15:23:44 +01:00
Qujak
350b1aa831 Added special test for sin and cosine 2018-02-23 16:37:35 +01:00
Valentin Charbonnier
cb0c6b00e3
Merge pull request #35 from CosmosOS/master
Merge master.
2018-02-22 13:49:14 -08:00
Qujak
40fef5ba6a Fixed naming problem 2018-02-22 20:03:06 +01:00
Arawn Davies
ea2c7a2a8d
Update BitConverterTest.cs
Byte[] doubleBytes was already defined, so redefining it instead of creating a new instance in that scope, should fix it
2018-02-22 11:28:58 +00:00
Qujak
dc27f898fb
Merge branch 'master' into master 2018-02-22 08:17:50 +01:00
Qujak
e9b463c1e5 Added tan and atan method with tests 2018-02-21 21:41:48 +01:00
Qujak
b5cc828624 Added BitConverter toDouble method and added tests
Fixed log function
2018-02-21 17:58:47 +01:00
Qujak
d89ba10244 Rewrote log functions and added tests
Ensured that the copyright notice from fdlibm is clearly present at the beginning of the file
2018-02-21 10:16:22 +01:00
José Pedro
ee9113d5c3
Added missing project references to Cosmos.TestRunner.UI. 2018-02-19 18:17:44 +00:00
Valentin Charbonnier
c53146e4da
Merge pull request #34 from CosmosOS/master
Merge master.
2018-02-18 11:59:25 -08:00
José Pedro
a5b557e6e4
Package upgrades. 2018-02-18 18:32:34 +00:00
Valentin Charbonnier
dc009b4c37
Merge pull request #33 from CosmosOS/master
Merge master.
2018-02-17 12:30:19 -08:00
Valentin Charbonnier
2e182d5f7c
Update Cosmos.TestRunner.UI.csproj 2018-02-17 21:29:40 +01:00
José Pedro
4fca80f6ce
Build targets. 2018-02-15 20:53:34 +00:00
José Pedro
3d30e35332
Project file cleanup. 2018-02-15 19:25:36 +00:00
Valentin Charbonnier
50816d9bfd
Merge pull request #32 from CosmosOS/master
Merge master.
2018-02-12 04:46:57 -08:00
José Pedro
ce3aa13b61
Build targets. 2018-02-11 18:35:35 +00:00
fanoI
df3eb587a5
Merge pull request #885 from fanoI/dictionary_work
Dictionary<String, T> works finally!
2018-02-07 19:59:46 +01:00
jp2masa
0e558a79e8
Merge pull request #881 from CosmosOS/callvirt-fixes-tests
Tests for CosmosOS/IL2CPU#39
2018-02-06 21:38:41 +00:00
fanoI
c8c2bdfc20 Dictionary<String, T> works finally! 2018-02-04 18:48:58 +01:00
José Pedro
f5c60d08c9
Added Cosmos.TestRunner.UI.Avalonia to Test.sln.
Package updates.
2018-02-02 22:25:27 +00:00
fanoI
f7e6d37f32
Merge pull request #874 from CosmosOS/test-runner-ui
Added a test runner UI, built on Avalonia
2018-02-02 17:08:11 +01:00
José Pedro
205616ed22
Fixed and reenabled boxing tests. 2018-02-01 17:03:44 +00:00
fanoI
1fb30deebd Updated to the New Project System 2018-01-28 02:57:08 +01:00
fanoI
46d5c0b63a
Merge branch 'master' into extended-ascii 2018-01-27 21:15:05 +01:00
fanoI
c98978c70c Compiler.Tests.Bcl.System.Text -> Cosmos.Compiler.Tests.Bcl.System.Text 2018-01-27 21:12:08 +01:00
fanoI
7dadc52dc9 Fix merge conflicts 2018-01-27 20:17:17 +01:00
fanoI
4a990ac2af Added the concept of Encoding to the Console for now ASCII (default) and CP437 are supported (for others as CP858 I think it is needed to change font too)
- moved EncodingTest on Text subdir
- added ConsoleTest (not enabled by default)
- removed ASCIIEncodingImpl (it was not needed)
- Made plugs of Console better and added plugs for formatted versions
- Removed code to test Hashtable, Hashtable it will be a separate PR
2018-01-27 20:00:11 +01:00
Charles Betros
560463e461 Comment thread test. 2018-01-26 11:01:46 -06:00
Charles Betros
b6c022848b Test kernel syntax error. 2018-01-25 16:42:50 -06:00
Charles Betros
281f76a7f0
Merge pull request #867 from ewoudje/master
PIT Fix
2018-01-25 14:05:37 -06:00
José Pedro
8f9ed2c8e8
Changed the test runner working dir. 2018-01-24 19:45:07 +00:00
José Pedro
5d6fe31c62
Added a test runner UI, built on Avalonia. 2018-01-23 16:46:12 +00:00
José Pedro
11e9fcd174
Renamed test runner configuration property.
StackCorruptionChecksLevel -> StackCorruptionDetectionLevel.
2018-01-23 13:37:29 +00:00
José Pedro
5239530530
Merge latest from master. 2018-01-23 00:20:43 +00:00
Valentin Charbonnier
849215a14c
Merge pull request #31 from CosmosOS/master
Merge master.
2018-01-22 13:40:36 -08:00
ewoudje
22f67e6549 Thread.Sleep plug and added ThreadTest 2018-01-21 19:15:27 +01:00
José Pedro
14bf74389c
Added back float and double parsing tests, accidentally removed in the previous commit. 2018-01-14 19:12:14 +00:00
José Pedro
71e754fe2f
BCL tests. 2018-01-14 16:58:25 +00:00
José Pedro
03d12a7bb4
Compiler engine settings refactoring. 2018-01-13 20:33:52 +00:00
José Pedro
db1d641de8
IL2CPU.Compiler -> IL2CPU. 2018-01-13 16:15:43 +00:00
José Pedro
c1b40271b3
IL2CPU.Compiler -> IL2CPU. 2018-01-13 16:05:32 +00:00
fanoI
c50b581d91 More work on Encoding
- Resolved problem with UTF8Enconding.BaseName property
- Started work to plug Hashtable to make the Encoding / Decoding more efficient
2018-01-10 20:29:05 +01:00
José Pedro
0142e03c0d
Added a workaround to fix e_sqlite3.dll loading.
Added NoWarn="NU1604" to package references in the kernel projects.
Fixed project reference paths in TRKernel.csproj.
Project file cleanup.
2018-01-08 17:49:19 +00:00
fanoI
ff78034a1c Added CP437 and CP858 (DOS Latin1) support to Encoding, CP858 is not working for VMT bugs. 2018-01-07 21:25:07 +01:00
Qujak
c31cfcef31 Changed Math.Acos and added tests 2018-01-07 20:06:02 +01:00
Qujak
e8aa997b07 Changed asin implementation and added tests 2018-01-07 18:55:36 +01:00
Qujak
67b3222404 Added Cos function with tests 2018-01-07 18:22:54 +01:00
Qujak
ba3d492adb Added sign function 2018-01-07 17:07:51 +01:00
José Pedro
280defa822
Merge branch 'master' of https://github.com/CosmosOS/Cosmos into project-system 2018-01-07 15:55:27 +00:00
Qujak
e33cddd5cb Merge branch 'master' of https://github.com/CosmosOS/Cosmos 2018-01-07 15:14:21 +01:00
Valentin Charbonnier
d8df4aab2e
Merge pull request #29 from CosmosOS/master
Merge master.
2018-01-05 12:30:20 -08:00
Valentin Charbonnier
300cb9dcfb
Update Kernel.cs 2018-01-05 21:29:58 +01:00
fanoI
5d18c212f5 Implemented requested changes 2018-01-05 20:02:53 +01:00
José Pedro
4f4b51b94e
Test kernels cleanup. 2018-01-05 00:56:51 +00:00
Qujak
393e99d95b -Added new sqrt function 2018-01-04 16:46:27 +01:00
fanoI
d19e3f867b Merge branch 'master' of https://github.com/CosmosOS/Cosmos
# Conflicts:
#	Tests/Cosmos.TestRunner.Core/DefaultEngineConfiguration.cs
2018-01-03 22:22:31 +01:00
fanoI
b33724190b Finally Directory.Info function again calling the right plug too: IFileSystemObject_get_Exists!
- Modified String.Compare() to be totally managed code & added tests
- Clean up
2018-01-03 22:17:51 +01:00
Charles Betros
5ab50bf485
Merge pull request #847 from CosmosOS/test-runner-improvements
Test Runner improvements
2018-01-02 20:21:11 -06:00
José Pedro
f3e75f65b1
Added back engine configuration comments. 2017-12-31 20:45:15 +00:00
José Pedro
b231f66318
Test Runner improvements. 2017-12-31 17:39:26 +00:00
Jasper
2049d9c508 Moved float tests to single tests 2017-12-31 17:26:40 +01:00
Jasper
c2b83a6779 Fixed Pow function to handle edge cases and wrote tests to check that they are handled correctly. 2017-12-31 16:50:18 +01:00
Jasper
fe9b4c7e1d Completed requested changes 2017-12-30 18:42:38 +01:00
Jasper
3c308271ee Added tests for Double and Float parsing 2017-12-30 17:44:30 +01:00
Jasper
527108dcdb Added tests for Math.Exp and Math.Pow 2017-12-30 12:22:26 +01:00
José Pedro
25a18057c9
Removed GuessKernelGen3 from Test.sln. 2017-12-27 19:47:39 +00:00
José Pedro
b7b020f575
Upgraded Cosmos projects to the new format.
Removed test kernel Cosmos projects.
2017-12-27 02:44:51 +00:00
fanoI
f2016193ba Merge branch 'master' of https://github.com/CosmosOS/Cosmos
# Conflicts:
#	Test.sln
#	Tests/Cosmos.Compiler.Tests.Bcl/Kernel.cs
2017-12-24 21:34:41 +01:00
fanoI
37d2ae4079 Corrected and added tests for Filetream in any FileMode
- Added tests to File for issue https://github.com/CosmosOS/Cosmos/issues/760
- FileImpl add "wrong" code for the previous merge: removed it
- Clean up
2017-12-24 13:34:11 +01:00
KingLuigi4932
07a8b9fc13
Fix. 2017-12-23 22:37:20 +03:00
KingLuigi4932
a4e6fb2ff7
Unstoppable fix. 2017-12-23 22:32:32 +03:00
KingLuigi4932
2a6dcfe6e3
Fix. 2017-12-23 22:26:37 +03:00
KingLuigi4932
4af9397061
Replace Array.Copy with Assigning 2017-12-23 22:22:07 +03:00
KingLuigi4932
f7a7d45e87
Add FloatArray and DoubleArray Test 2017-12-23 22:11:21 +03:00
Valentin Charbonnier
4167ad81dd
Merge pull request #22 from CosmosOS/master
Merge Cosmos master.
2017-12-23 17:00:45 +01:00
José Pedro
e69656c127
Added tests. 2017-12-17 18:53:30 +00:00
jp2masa
3a0da1a679
Merge pull request #815 from CosmosOS/remove-net471-workaround
Removed workaround for .NET Framework 4.7.1 projects
2017-12-13 17:30:58 +00:00
fanoI
f46a910bb0 Another try... 2017-12-13 01:19:03 +01:00
fanoI
736b08a66c Added FAT2 to TestKernelSets 2017-12-13 00:28:36 +01:00
fanoI
766e349340 Let's see if now it works... 2017-12-12 23:36:12 +01:00
fanoI
c82529d751 Splitted FATTest to avoid AppVoyer timeout :-( 2017-12-12 22:07:00 +01:00
fanoI
d6aff6ab3b Merge branch 'master' of https://github.com/CosmosOS/Cosmos
# Conflicts:
#	source/Cosmos.System2_Plugs/System/IO/DirectoryImpl.cs
#	source/Cosmos.System2_Plugs/System/IO/FileImpl.cs
2017-12-10 21:23:51 +01:00
fanoI
51fac7ada4 Plugged FileInfo
- Added tests for FileInfo
- Added tests for Binary Reader/Writer
- Unified StreamReader and StreamWriter in a unique test
2017-12-10 20:35:29 +01:00
José Pedro
00a884437a
Cosmos.IL2CPU.API -> IL2CPU.API. 2017-12-10 15:57:12 +00:00
José Pedro
8bed32957e
Test Runner fix. 2017-12-09 22:09:23 +00:00
José Pedro
084c573084
IL2CPU -> IL2CPU.Compiler. 2017-12-09 20:16:19 +00:00
José Pedro
7417cf913a
Removed workaround for .NET Framework 4.7.1 projects. 2017-12-05 23:23:12 +00:00
José Pedro
f8a765616d
Build. 2017-12-03 23:45:18 +00:00
fanoI
e05c58b4ed Merged with master 2017-12-01 22:24:28 +01:00
fanoI
1719083522 Make EncodingTest compile :-( 2017-12-01 22:22:01 +01:00
fanoI
299c155f4c Removed a lot of plugs from File: the promise is mantained it uses StreamReader / StreamWriter directly
- CosmosEncoding replacement of Encoding is not needed: Encoding runs perfectly on Cosmos!
- Added tests to BCL for UTF8Encoding
- StreamWriter does not needs a plug anymore, TextWriter is plugged instead but the plug is really the Ctor only
- Commented COSMOSDEBUG
2017-12-01 22:21:15 +01:00
GeomTech
953bf8d748 Revert "Merge branch 'network-update' into master"
This reverts commit 5a3b4e983f, reversing
changes made to 2913682866.
2017-11-23 23:57:10 +01:00
GeomTech
5a3b4e983f
Merge branch 'network-update' into master 2017-11-23 17:19:13 +01:00
GeomTech
d14b533a38 Merge remote-tracking branch 'refs/remotes/CosmosOS/master' into network-update
# Conflicts:
#	Tests/Cosmos.TestRunner.Core/TestKernelSets.cs
2017-11-23 17:11:46 +01:00
José Pedro
94a5b5ece6
Added the workaround to test projects. 2017-11-21 14:24:22 +00:00
José Pedro
e27746590e
Upgraded projects to .NET Framework 4.7.1. 2017-11-21 14:08:25 +00:00
fanoI
81234d1cd9 StreamReader implemented but found bug in IL2CPU plug resolution :-( 2017-11-18 11:12:17 +01:00
Valentin Charbonnier
f029565db6
Merge pull request #16 from CosmosOS/master
Merge Cosmos master into Aura Cosmos
2017-11-10 18:44:30 +01:00
José Pedro
4909509cef Fixed typo. 2017-11-01 22:30:57 +00:00
GeomTech
c7dad69a73 Tests. 2017-10-31 21:56:05 +01:00
fanoI
eb0a469315 Merge branch 'master' of https://github.com/CosmosOS/Cosmos
# Conflicts:
#	Test.sln
#	Tests/Cosmos.Kernel.Tests.Fat/Kernel.cs
#	Tests/Cosmos.TestRunner.Core/TestKernelSets.cs
2017-10-29 18:09:47 +01:00
Valentin Charbonnier
ab6c0352ff Test fix. 2017-10-29 15:36:37 +01:00
José Pedro
3b6cade435 Fixed Array.Copy. 2017-10-27 22:45:31 +01:00
Arawn Davies
a12e7ff875 Merge pull request #757 from aura-systems/FileDirectoryImplUpdate
Fixing Copy File impl
2017-10-26 14:16:14 +01:00
fanoI
4071e75a47 Trying to plug StreamWriter(), but Flush() has only a buffer filled all with 0x0000 not with the text to Write()! 2017-10-24 23:17:50 +02:00
José Pedro
047cbecde6 String tests. 2017-10-23 20:48:25 +01:00
José Pedro
054897c50e Merge latest from master. 2017-10-23 01:35:11 +01:00
Charles Betros
c840978528 Change TypeInfo to Type. 2017-10-17 21:55:43 -05:00
Charles Betros
a3c412bd41 Type test kernel. 2017-10-15 11:34:49 -05:00
Charles Betros
fbdb7c1b9e Dictionary work 2017-10-15 11:32:26 -05:00
Charles Betros
2119ffc194 Type test kernel. 2017-10-15 11:31:28 -05:00
Charles Betros
3cf8c806ca Some type/runtime type worrk. 2017-10-15 11:30:46 -05:00