Opened 9 years ago
Closed 9 years ago
#2510 closed defect (done)
Unit tests don't work in Visual Studio 2015
Reported by: | ascheibe | Owned by: | ascheibe |
---|---|---|---|
Priority: | medium | Milestone: | HeuristicLab 3.3.13 |
Component: | Tests | Version: | 3.3.12 |
Keywords: | Cc: |
Description
Accessors for private class members have been deprecated with VS 2012. See https://msdn.microsoft.com/library/hh507838%28v=vs.110%29.aspx
Change History (9)
comment:1 Changed 9 years ago by ascheibe
comment:2 Changed 9 years ago by ascheibe
- Milestone changed from HeuristicLab 4.0 to HeuristicLab 3.3.13
- Owner changed from ascheibe to mkommend
- Status changed from new to assigned
comment:3 Changed 9 years ago by mkommend
- Owner changed from mkommend to ascheibe
r13227: Added method for creating trees with a specific length to the PTC2 and adapted the according unit test.
comment:4 Changed 9 years ago by ascheibe
r13235 adapted unit tests to VS 2015
comment:5 Changed 9 years ago by ascheibe
r13236 fixed file name of probabilistic tree creator unit test
comment:6 Changed 9 years ago by ascheibe
- Status changed from assigned to accepted
comment:7 Changed 9 years ago by ascheibe
- Owner changed from ascheibe to mkommend
- Status changed from accepted to reviewing
comment:8 Changed 9 years ago by mkommend
- Owner changed from mkommend to ascheibe
- Status changed from reviewing to readytorelease
Note: See
TracTickets for help on using
tickets.
The solution is probably to use PrivateObject.Invoke("MethodName") directly instead of using accessors.