Stefan Nikolei
67a94113e4
Migrate tests from xUnit v2 to xUnit.v3 3.2.2
Breaking changes addressed:
- Update xunit.v3 to 3.2.2 and xunit.runner.visualstudio to 3.1.5
- Remove Microsoft.DotNet.XUnitExtensions (conflicts with xunit.v3 via xunit.core v2)
- Replace ConditionalFact/ConditionalTheory with Fact/Theory SkipUnless/SkipWhen/SkipType
- Remove 'using Xunit.Abstractions' (ITestOutputHelper now in Xunit namespace globally)
- Fix TestFrameworkAttribute: string args → typeof(T) form
- Fix XunitTestFramework ctor: no longer takes IMessageSink
- Fix BeforeAfterTestAttribute Before/After: added IXunitTest parameter, use Xunit.v3 ns
- Fix DataAttribute: new GetData signature (DisposalTracker), add SupportsDiscoveryEnumeration()
- Fix IXunitSerializable/IXunitSerializationInfo: add 'using Xunit.Sdk' to all consumers
- Fix BasicSerializer: implement new IXunitSerializationInfo.GetValue(string) returning object?
Store type info in dump format (key:TypeAQN:value) to enable typed reconstruction
- Fix TheoryData<T> CS0121 ambiguity on C# 12/net8.0: add explicit casts (T)value
Affects ExifValuesTests, PixelOperationsTests, QuantizerTests, DitherTests,
TestImageProviderTests, RotateTests, L8Tests, La16Tests
- Fix PngEncoderTests: TheoryData<T> now yields TheoryDataRow<T>, not object[]
2 months ago
Stefan Nikolei
18b8b662e9
Use Target Type new only when apparent
1 year ago
Stefan Nikolei
57f5966fe7
use Explicit Types and Target Type new
1 year ago
James Jackson-South
96a22c40ad
Remove IImageInfo, IImage and use inheritance.
4 years ago
James Jackson-South
0e9a066195
FS Namespaces and Implicit Global Usings
4 years ago
Dmitry Pentin
4ab4ae2352
Tests, fixed interleaved decoding I messed up during main merge
4 years ago
James Jackson-South
1c2d1f42e2
Update tests and fix issues
4 years ago
James Jackson-South
97baeaf438
Update all files
4 years ago
Dmitry Pentin
3d31a16a88
Made frame configs internal
4 years ago
Dmitry Pentin
74c9bb6b6b
Moved color convertes to 'Components' folder
4 years ago
James Jackson-South
27e6b58643
Final final warnings
5 years ago
Brian Popow
a531a2db24
Remove JpegSubsample and use JpegColorType instead
5 years ago
Anton Firszov
1968d3724f
better JpegEncoder profiling/benchmarks
6 years ago
James Jackson-South
874115bd0a
Update license
6 years ago
James Jackson-South
6183dd8c13
Update source license info.
6 years ago
Anton Firszov
173cdb928a
cleanup and fix build errors
6 years ago
Anton Firszov
eb76788232
IsAvx2CompatibleArchitecture => HasVector8
6 years ago
Anton Firszov
fa5a435132
tweak profiling benchmarks
6 years ago
James Jackson-South
8cd722cfc5
Revert `using` declaration changes for until we establish guidelines.
7 years ago
Brian Popow
f60bc937de
Use using declarations to reduce nesting
7 years ago
Brian Popow
7b052c8076
Fix stylecop warnings in the test project
7 years ago
Brian Popow
30a1b11f89
Feature: Bitmap RLE undefined pixel handling ( #927 )
* Add bitmap decoder option, how to treat skipped pixels for RLE
* Refactored bitmap tests into smaller tests, instead of just one test which goes through all bitmap files
* Add another adobe v3 header bitmap testcase
* Using the constant from BmpConstants to Identify bitmaps
* Bitmap decoder now can handle oversized palette's
* Add test for invalid palette size
* Renamed RleUndefinedPixelHandling to RleSkippedPixelHandling
* Explicitly using SystemDrawingReferenceDecoder in some BitmapDecoder tests
* Add test cases for unsupported bitmaps
* Comparing RLE test images to reference decoder only on windows
* Add test case for decoding winv4 fast path
* Add another 8 Bit RLE test with magick reference decoder
* Optimize RLE skipped pixel handling
* Refactor RLE decoding to eliminate code duplication
* Using MagickReferenceDecoder for the 8-Bit RLE test
7 years ago
Anton Firszov
d8cb11c077
drop unused parameter
8 years ago
Anton Firszov
903601ecbf
move ResizeProfilingBenchmarks, use the ***ProfilingBenchmarks naming convention everywhere
8 years ago
Anton Firszov
633eca516f
oops
8 years ago
Anton Firszov
0c32fe7d19
fix Block8x8FTests.Copy1x1Scale, reorganize TestImages.Jpeg.BenchmarkSuite as a static class
8 years ago
Anton Firszov
3ceb7423ec
simplify benchmark suite
8 years ago
Anton Firszov
5404eb6bb1
improved benchmarks + more benchmark results
8 years ago
Anton Firszov
c5a4ed85ff
Even better Copy2x2. Tests: Group together & refactor profiling benchmarks
8 years ago