Commit Graph

20 Commits

Author SHA1 Message Date
Michael Bisbjerg
71452ad567 Rewrite tests to use Verify library 2021-03-27 18:03:37 +01:00
Michael Bisbjerg
591f7cd209 Refactor tests, shorthand TMDbClient 2021-03-27 18:02:24 +01:00
Michael Bisbjerg
f5cdd0c3e7 Refactor tests, employ async, use better Assert() calls
Use async Xunit tests
Apply xunit analyzer suggestions, such as "Assert.False()" instead of "Assert.Equal(false, ..)
Introduce errors for missing await calls
Remove all .Result properties
Remvoe all .Sync() calls
2021-03-27 18:02:24 +01:00
Michael Bisbjerg
8e622cb8bf Remove fancy json logic in tests
It was a cute idea, but way too unmaintainable
2021-03-27 18:02:24 +01:00
Frederik
1123f660e7 Added "KnownForDepartment" to FindPerson and fixed the test slightly 2018-02-08 14:49:22 +01:00
Frederik Bolding
ed0dfd3f90
Merge branch 'master' into general-fixes 2018-02-07 21:13:04 +01:00
Frederik
51f082f70b Removed TVRage and Freebase tests and custom find behaviour 2018-02-01 01:39:08 +01:00
Frederik
a1b40a3629 Fixed a few more tests by ignoring some missing JSON 2018-01-28 17:41:49 +01:00
Michael Bisbjerg
b22638db76 Adjust a number of other tests to newly not-ignored fields 2016-12-20 01:08:47 +01:00
Michael Bisbjerg
b0a81e265d Refactor a little
Moved TestConfig into TestBase
2016-07-18 23:26:27 +02:00
Michael Bisbjerg
4b9e2173f2 Rewrote tests to work with xUnit
Closes #192
2016-07-18 23:23:38 +02:00
Michael Bisbjerg
83a9dbf500 Merge in prototype change detector
Detect changes in JSON objects when running tests
2016-05-22 14:10:30 +02:00
Michael Bisbjerg
ccb1285ed2 Merge remote-tracking branch 'refs/remotes/origin/master' into issue-165-extendingfind
# Conflicts:
#	TMDbLibTests/ClientFindTests.cs
2016-02-23 23:12:06 +01:00
Michael Bisbjerg
ac54e15c1b Missed change 2016-02-22 18:16:50 +01:00
Michael Bisbjerg
c8529895b9 Implement properties in Find (#165)
Also corrected type for Person searches, added test for Person finding
2016-02-22 18:14:25 +01:00
Michael Bisbjerg
774106557d Move ID's for tests into central class 2015-11-18 23:18:52 +01:00
Michael Bisbjerg
62b3e26ad7 Converted rest of client to Async
Issue #63
2015-05-02 19:09:48 +02:00
Michael Bisbjerg
d395df0149 Test suite cleanup
- Removed uneccessary using from entire project
- Split test setup into EveryTime and OneTime methods
- Fixed some test assertions (were using Debug.Assert)
2014-04-18 22:06:10 +02:00
Michael Bisbjerg
0978bd7e1f Altered Find method for FreebaseIds
Following up on issue #34, I've altered the Freebase searching so that
it now works. At the TMDb forums, a fix was pushed which allowed working
with Freebase-Id's.

http://www.themoviedb.org/talk/526963d5760ee3490201c360?page=4
2014-04-18 21:10:00 +02:00
Naliath
00bba243e8 - Updated RestSharp version
- Added basic tests and corrected find method
2013-12-27 11:23:13 +01:00