diff options
author | Mike Mazur | 2009-06-12 15:00:08 +0000 |
---|---|---|
committer | Mike Mazur | 2009-06-12 15:00:08 +0000 |
commit | e6e88ac12611c40f10a0cfbd3acf576566f5019a (patch) | |
tree | b54dafff689143ba5c92dd06dcb605baeac58c19 /OpenSim/Framework/Tests | |
parent | * remove long unused interregion optional module code (diff) | |
download | opensim-SC_OLD-e6e88ac12611c40f10a0cfbd3acf576566f5019a.zip opensim-SC_OLD-e6e88ac12611c40f10a0cfbd3acf576566f5019a.tar.gz opensim-SC_OLD-e6e88ac12611c40f10a0cfbd3acf576566f5019a.tar.bz2 opensim-SC_OLD-e6e88ac12611c40f10a0cfbd3acf576566f5019a.tar.xz |
Give m_test* methods more reasonable names
Changing the names of these methods because they were being picked up by
nunit as tests even though they were marked private. Naming them Check*
after the original Test*.
Diffstat (limited to 'OpenSim/Framework/Tests')
-rw-r--r-- | OpenSim/Framework/Tests/AssetBaseTest.cs | 50 |
1 files changed, 25 insertions, 25 deletions
diff --git a/OpenSim/Framework/Tests/AssetBaseTest.cs b/OpenSim/Framework/Tests/AssetBaseTest.cs index dddfd78..3dc6b4e 100644 --- a/OpenSim/Framework/Tests/AssetBaseTest.cs +++ b/OpenSim/Framework/Tests/AssetBaseTest.cs | |||
@@ -39,33 +39,33 @@ namespace OpenSim.Framework.Tests | |||
39 | [Test] | 39 | [Test] |
40 | public void TestContainsReferences() | 40 | public void TestContainsReferences() |
41 | { | 41 | { |
42 | TestContainsReferences(AssetType.Bodypart, true); | 42 | CheckContainsReferences(AssetType.Bodypart, true); |
43 | TestContainsReferences(AssetType.Clothing, true); | 43 | CheckContainsReferences(AssetType.Clothing, true); |
44 | 44 | ||
45 | TestContainsReferences(AssetType.Animation, false); | 45 | CheckContainsReferences(AssetType.Animation, false); |
46 | TestContainsReferences(AssetType.CallingCard, false); | 46 | CheckContainsReferences(AssetType.CallingCard, false); |
47 | TestContainsReferences(AssetType.Folder , false); | 47 | CheckContainsReferences(AssetType.Folder , false); |
48 | TestContainsReferences(AssetType.Gesture , false); | 48 | CheckContainsReferences(AssetType.Gesture , false); |
49 | TestContainsReferences(AssetType.ImageJPEG , false); | 49 | CheckContainsReferences(AssetType.ImageJPEG , false); |
50 | TestContainsReferences(AssetType.ImageTGA , false); | 50 | CheckContainsReferences(AssetType.ImageTGA , false); |
51 | TestContainsReferences(AssetType.Landmark , false); | 51 | CheckContainsReferences(AssetType.Landmark , false); |
52 | TestContainsReferences(AssetType.LostAndFoundFolder, false); | 52 | CheckContainsReferences(AssetType.LostAndFoundFolder, false); |
53 | TestContainsReferences(AssetType.LSLBytecode, false); | 53 | CheckContainsReferences(AssetType.LSLBytecode, false); |
54 | TestContainsReferences(AssetType.LSLText, false); | 54 | CheckContainsReferences(AssetType.LSLText, false); |
55 | TestContainsReferences(AssetType.Notecard, false); | 55 | CheckContainsReferences(AssetType.Notecard, false); |
56 | TestContainsReferences(AssetType.Object, false); | 56 | CheckContainsReferences(AssetType.Object, false); |
57 | TestContainsReferences(AssetType.RootFolder, false); | 57 | CheckContainsReferences(AssetType.RootFolder, false); |
58 | TestContainsReferences(AssetType.Simstate, false); | 58 | CheckContainsReferences(AssetType.Simstate, false); |
59 | TestContainsReferences(AssetType.SnapshotFolder, false); | 59 | CheckContainsReferences(AssetType.SnapshotFolder, false); |
60 | TestContainsReferences(AssetType.Sound, false); | 60 | CheckContainsReferences(AssetType.Sound, false); |
61 | TestContainsReferences(AssetType.SoundWAV, false); | 61 | CheckContainsReferences(AssetType.SoundWAV, false); |
62 | TestContainsReferences(AssetType.Texture, false); | 62 | CheckContainsReferences(AssetType.Texture, false); |
63 | TestContainsReferences(AssetType.TextureTGA, false); | 63 | CheckContainsReferences(AssetType.TextureTGA, false); |
64 | TestContainsReferences(AssetType.TrashFolder, false); | 64 | CheckContainsReferences(AssetType.TrashFolder, false); |
65 | TestContainsReferences(AssetType.Unknown, false); | 65 | CheckContainsReferences(AssetType.Unknown, false); |
66 | } | 66 | } |
67 | 67 | ||
68 | private void TestContainsReferences(AssetType assetType, bool expected) | 68 | private void CheckContainsReferences(AssetType assetType, bool expected) |
69 | { | 69 | { |
70 | AssetBase asset = new AssetBase(); | 70 | AssetBase asset = new AssetBase(); |
71 | asset.Type = (sbyte)assetType; | 71 | asset.Type = (sbyte)assetType; |