11/24/2010 4:35:55 PM
 Ben McClure Posts: 3
|
I don't know the best place to post this question. I've been trying to get my first T# test case of the simplest type (testing the 'get' accessor of a property) all afternoon, and it's just not working.
Project namespace I'm testing: GameLib.Backups.Components (components is a subfolder of the GameLib.Backups project) Test project: GameLib.BackupsTest
whether or not I add a 'using' statement in test class file, I get an 'unknown type' error for the class I'm testing (happens to be ZipBackupSelectFileFilter)
When I mouse over any of the 'using' statements, the tooptip states "*** Unknown! ***" (even for System and TSharp.Criteria) so I'm not sure if that's a problem or not.
There are references to the GameLib.Backups, as well as mscorlib, System, and TSharp.
Also, possibly related, I get: 'unknown member 'TSharpCompiler.References.ExternalType+PrivateErrorType.Filter'
Unsure where to go from here... I don't seem to have done anything different than in the 'Product' test case in the documentation.
-- Ben McClure
|
|
|
0
• permalink
|
11/25/2010 7:49:46 AM
 Ludovic Dubois Administrator Posts: 159
|
The best place to post bugs is: http://bugs.prettyobjects.com:8888/ but you will have to create another account (you can use the same username and password) because we do not have single sign-on.
It seems it cannot parse your source file correctly!
- Where do you specify using statements? At file top level or inside namespace?
- Can you verify Path property of the references?
- Can you ensure all these paths exist?
- Can you try a fool test like test { int i; runtest i = 1; assert i == 1; }, without any new reference than the ones provided at project creation time?
The best would be to create a bug in our bug tracking system and post there the answers to these questions.
Thanks a lot.
|
|
|
0
• permalink
|