Return-Path: Delivered-To: apmail-incubator-lucene-net-commits-archive@locus.apache.org Received: (qmail 12292 invoked from network); 14 Jul 2006 00:06:39 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 14 Jul 2006 00:06:39 -0000 Received: (qmail 35242 invoked by uid 500); 14 Jul 2006 00:06:39 -0000 Delivered-To: apmail-incubator-lucene-net-commits-archive@incubator.apache.org Received: (qmail 35223 invoked by uid 500); 14 Jul 2006 00:06:39 -0000 Mailing-List: contact lucene-net-commits-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: lucene-net-dev@incubator.apache.org Delivered-To: mailing list lucene-net-commits@incubator.apache.org Received: (qmail 35214 invoked by uid 99); 14 Jul 2006 00:06:39 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 13 Jul 2006 17:06:39 -0700 X-ASF-Spam-Status: No, hits=-9.4 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [140.211.166.113] (HELO eris.apache.org) (140.211.166.113) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 13 Jul 2006 17:06:38 -0700 Received: by eris.apache.org (Postfix, from userid 65534) id 926B01A981A; Thu, 13 Jul 2006 17:06:18 -0700 (PDT) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r421754 - in /incubator/lucene.net/trunk/C#/src/Test: Index/TestCompoundFile.cs StoreTest.cs Test.csproj Test.csproj.user Test.suo Date: Fri, 14 Jul 2006 00:06:17 -0000 To: lucene-net-commits@incubator.apache.org From: aroush@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20060714000618.926B01A981A@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Author: aroush Date: Thu Jul 13 17:06:16 2006 New Revision: 421754 URL: http://svn.apache.org/viewvc?rev=421754&view=rev Log: Lucene.Net 1.9.1 build 001 Modified: incubator/lucene.net/trunk/C#/src/Test/Index/TestCompoundFile.cs incubator/lucene.net/trunk/C#/src/Test/StoreTest.cs incubator/lucene.net/trunk/C#/src/Test/Test.csproj incubator/lucene.net/trunk/C#/src/Test/Test.csproj.user incubator/lucene.net/trunk/C#/src/Test/Test.suo Modified: incubator/lucene.net/trunk/C#/src/Test/Index/TestCompoundFile.cs URL: http://svn.apache.org/viewvc/incubator/lucene.net/trunk/C%23/src/Test/Index/TestCompoundFile.cs?rev=421754&r1=421753&r2=421754&view=diff ============================================================================== --- incubator/lucene.net/trunk/C#/src/Test/Index/TestCompoundFile.cs (original) +++ incubator/lucene.net/trunk/C#/src/Test/Index/TestCompoundFile.cs Thu Jul 13 17:06:16 2006 @@ -637,5 +637,34 @@ is_Renamed.Close(); cr.Close(); } + + /// + /// This test that writes larger than the size of the buffer output + /// will correctly increment the file pointer. + /// + [Test] + public virtual void TestLargeWrites() + { + IndexOutput os = dir.CreateOutput("testBufferStart.txt"); + + byte[] largeBuf = new byte[2048]; + for (int i=0; i - - - - - - + + Modified: incubator/lucene.net/trunk/C#/src/Test/Test.csproj.user URL: http://svn.apache.org/viewvc/incubator/lucene.net/trunk/C%23/src/Test/Test.csproj.user?rev=421754&r1=421753&r2=421754&view=diff ============================================================================== --- incubator/lucene.net/trunk/C#/src/Test/Test.csproj.user (original) +++ incubator/lucene.net/trunk/C#/src/Test/Test.csproj.user Thu Jul 13 17:06:16 2006 @@ -1,7 +1,7 @@ - +