Beispiel #1
0
 public PriorityPickerFixture()
 {
     Rig = TestRig.CreateMultiFile();
     Id  = new PeerId(new Peer(new string('a', 20), new Uri("tcp://BLAH")), Rig.Manager);
     Id.BitField.SetAll(true);
 }
Beispiel #2
0
 public PriorityPickerTests(PriorityPickerFixture ppf)
 {
     rig = ppf.Rig;
     id  = ppf.Id;
 }
Beispiel #3
0
 public TestEncryptionFixture()
 {
     Rig = TestRig.CreateMultiFile();
 }
Beispiel #4
0
 public TestEncryption(TestEncryptionFixture f)
 {
     rig = f.Rig;
 }
 public TorrentManagerTest()
 {
     rig  = TestRig.CreateMultiFile(new TestWriter());
     conn = new ConnectionPair(51515);
 }
 public void FixtureSetup()
 {
     rig = TestRig.CreateMultiFile();
 }
 public TrackerManagerTests(TrackerManagerFixture f)
 {
     rig = f.Rig;
 }
 public void FixtureSetup()
 {
     buffer  = new byte[100000];
     testRig = TestRig.CreateMultiFile();
 }
Beispiel #9
0
 public EndGamePickerTests(TestRigFixture fixture)
 {
     rig = fixture.Rig;
 }
Beispiel #10
0
 public TestRigFixture()
 {
     Rig = TestRig.CreateMultiFile();
 }
 public void GlobalSetup()
 {
     rig = TestRig.CreateMultiFile();
 }