Skip to content
This repository has been archived by the owner on Dec 30, 2020. It is now read-only.

Commit

Permalink
Rearranging some classes and laying out the public api.
Browse files Browse the repository at this point in the history
  • Loading branch information
samus committed Jan 9, 2010
1 parent 99c0c33 commit 65f32c6
Show file tree
Hide file tree
Showing 7 changed files with 420 additions and 352 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Expand Up @@ -29,3 +29,5 @@ MongoDB.Linq.Tests/test-results/*
MongoDB.Driver.Benchmark/bin/* MongoDB.Driver.Benchmark/bin/*
MongoDB.Driver.Benchmark/ProfilingSessions/* MongoDB.Driver.Benchmark/ProfilingSessions/*
MongoDB.Driver.Benchmark/obj/* MongoDB.Driver.Benchmark/obj/*

/MongoDB.Driver.GridFS.Tests/bin/Debug/nunit.framework.xml
6 changes: 3 additions & 3 deletions MongoDB.Driver.GridFS.Tests/GridFSTest.cs
Expand Up @@ -14,8 +14,8 @@ public class GridFSTest{
[Test] [Test]
public void TestOpenNewGridFile() public void TestOpenNewGridFile()
{ {
GridFS gridFS = new GridFS(db["tests"]); GridFile gridFS = new GridFile(db["tests"]);
using (GridFile gf = new GridFile(gridFS)) using (GridFileInfo gf = new GridFileInfo(gridFS))
{ {
gf.Open("newfile.txt"); gf.Open("newfile.txt");
Console.WriteLine(gf.Id.ToString()); Console.WriteLine(gf.Id.ToString());
Expand All @@ -24,7 +24,7 @@ public void TestOpenNewGridFile()


[Test] [Test]
public void TestFileDoesNotExist(){ public void TestFileDoesNotExist(){
GridFS fs = new GridFS(db["tests"]); GridFile fs = new GridFile(db["tests"]);
Assert.IsFalse(fs.Exists("non-existent filename")); Assert.IsFalse(fs.Exists("non-existent filename"));
} }


Expand Down
127 changes: 0 additions & 127 deletions MongoDB.Driver.GridFS/GridFS.cs

This file was deleted.

0 comments on commit 65f32c6

Please sign in to comment.