summaryrefslogtreecommitdiff
path: root/src/tests
diff options
context:
space:
mode:
authorMike Buland <eichlan@xagasoft.com>2009-07-31 20:51:28 +0000
committerMike Buland <eichlan@xagasoft.com>2009-07-31 20:51:28 +0000
commitfbb30d35cfa10bf36d4ecb2d0eb5971c24aab26a (patch)
tree4631e5b990624694b3576b037500603abce7ab8a /src/tests
parent17ec138bb159df52fb07f2f3ba47816d58cc194e (diff)
downloadlibbu++-fbb30d35cfa10bf36d4ecb2d0eb5971c24aab26a.tar.gz
libbu++-fbb30d35cfa10bf36d4ecb2d0eb5971c24aab26a.tar.bz2
libbu++-fbb30d35cfa10bf36d4ecb2d0eb5971c24aab26a.tar.xz
libbu++-fbb30d35cfa10bf36d4ecb2d0eb5971c24aab26a.zip
I switched the Bu::Stream::isEOS function to be named Bu::Stream::isEos, and
also made sure the copyright is at the top of all the files, it's been too long. Anyway, this may effect some code, but not much, and it's an easy enough fix.
Diffstat (limited to 'src/tests')
-rw-r--r--src/tests/archive2.cpp7
-rw-r--r--src/tests/base64.cpp7
-rw-r--r--src/tests/buffer.cpp7
-rw-r--r--src/tests/bzip2.cpp2
-rw-r--r--src/tests/cache.cpp7
-rw-r--r--src/tests/fastcgi.cpp7
-rw-r--r--src/tests/heap.cpp7
-rw-r--r--src/tests/itoheap.cpp7
-rw-r--r--src/tests/md5.cpp7
-rw-r--r--src/tests/multiserver.cpp7
-rw-r--r--src/tests/nids.cpp7
-rw-r--r--src/tests/procs.cpp7
-rw-r--r--src/tests/rot13.cpp7
-rw-r--r--src/tests/serverticks.cpp7
-rw-r--r--src/tests/socketbreak.cpp7
-rw-r--r--src/tests/stdstream.cpp7
-rw-r--r--src/tests/tracer.cpp7
-rw-r--r--src/tests/url.cpp7
18 files changed, 120 insertions, 1 deletions
diff --git a/src/tests/archive2.cpp b/src/tests/archive2.cpp
index ab02d04..fddb91b 100644
--- a/src/tests/archive2.cpp
+++ b/src/tests/archive2.cpp
@@ -1,3 +1,10 @@
1/*
2 * Copyright (C) 2007-2008 Xagasoft, All rights reserved.
3 *
4 * This file is part of the libbu++ library and is released under the
5 * terms of the license contained in the file LICENSE.
6 */
7
1#include "bu/archive.h" 8#include "bu/archive.h"
2#include "bu/archival.h" 9#include "bu/archival.h"
3#include "bu/file.h" 10#include "bu/file.h"
diff --git a/src/tests/base64.cpp b/src/tests/base64.cpp
index 5e36448..b318f6a 100644
--- a/src/tests/base64.cpp
+++ b/src/tests/base64.cpp
@@ -1,3 +1,10 @@
1/*
2 * Copyright (C) 2007-2008 Xagasoft, All rights reserved.
3 *
4 * This file is part of the libbu++ library and is released under the
5 * terms of the license contained in the file LICENSE.
6 */
7
1#include "bu/file.h" 8#include "bu/file.h"
2#include "bu/membuf.h" 9#include "bu/membuf.h"
3#include "bu/base64.h" 10#include "bu/base64.h"
diff --git a/src/tests/buffer.cpp b/src/tests/buffer.cpp
index a1a1105..e0bffc7 100644
--- a/src/tests/buffer.cpp
+++ b/src/tests/buffer.cpp
@@ -1,3 +1,10 @@
1/*
2 * Copyright (C) 2007-2008 Xagasoft, All rights reserved.
3 *
4 * This file is part of the libbu++ library and is released under the
5 * terms of the license contained in the file LICENSE.
6 */
7
1#include "bu/membuf.h" 8#include "bu/membuf.h"
2#include "bu/buffer.h" 9#include "bu/buffer.h"
3#include "bu/file.h" 10#include "bu/file.h"
diff --git a/src/tests/bzip2.cpp b/src/tests/bzip2.cpp
index 77dc064..d8c9cc7 100644
--- a/src/tests/bzip2.cpp
+++ b/src/tests/bzip2.cpp
@@ -29,7 +29,7 @@ int main( int argc, char *argv[] )
29 nRead = fin.read( buf, 1024 ); 29 nRead = fin.read( buf, 1024 );
30 if( nRead > 0 ) 30 if( nRead > 0 )
31 bz2.write( buf, nRead ); 31 bz2.write( buf, nRead );
32 if( fin.isEOS() ) 32 if( fin.isEos() )
33 break; 33 break;
34 } 34 }
35} 35}
diff --git a/src/tests/cache.cpp b/src/tests/cache.cpp
index 5d542ed..3fcc34c 100644
--- a/src/tests/cache.cpp
+++ b/src/tests/cache.cpp
@@ -1,3 +1,10 @@
1/*
2 * Copyright (C) 2007-2008 Xagasoft, All rights reserved.
3 *
4 * This file is part of the libbu++ library and is released under the
5 * terms of the license contained in the file LICENSE.
6 */
7
1#include <stdio.h> 8#include <stdio.h>
2#include <stdlib.h> 9#include <stdlib.h>
3#include <sys/stat.h> 10#include <sys/stat.h>
diff --git a/src/tests/fastcgi.cpp b/src/tests/fastcgi.cpp
index e71b3c5..cd6cdda 100644
--- a/src/tests/fastcgi.cpp
+++ b/src/tests/fastcgi.cpp
@@ -1,3 +1,10 @@
1/*
2 * Copyright (C) 2007-2008 Xagasoft, All rights reserved.
3 *
4 * This file is part of the libbu++ library and is released under the
5 * terms of the license contained in the file LICENSE.
6 */
7
1#include "bu/fastcgi.h" 8#include "bu/fastcgi.h"
2 9
3class Cgi : public Bu::FastCgi 10class Cgi : public Bu::FastCgi
diff --git a/src/tests/heap.cpp b/src/tests/heap.cpp
index e35ea2a..daa0356 100644
--- a/src/tests/heap.cpp
+++ b/src/tests/heap.cpp
@@ -1,3 +1,10 @@
1/*
2 * Copyright (C) 2007-2008 Xagasoft, All rights reserved.
3 *
4 * This file is part of the libbu++ library and is released under the
5 * terms of the license contained in the file LICENSE.
6 */
7
1#include <stdlib.h> 8#include <stdlib.h>
2#include <stdio.h> 9#include <stdio.h>
3 10
diff --git a/src/tests/itoheap.cpp b/src/tests/itoheap.cpp
index 67169e7..9016d86 100644
--- a/src/tests/itoheap.cpp
+++ b/src/tests/itoheap.cpp
@@ -1,3 +1,10 @@
1/*
2 * Copyright (C) 2007-2008 Xagasoft, All rights reserved.
3 *
4 * This file is part of the libbu++ library and is released under the
5 * terms of the license contained in the file LICENSE.
6 */
7
1#include <stdio.h> 8#include <stdio.h>
2#include <stdlib.h> 9#include <stdlib.h>
3 10
diff --git a/src/tests/md5.cpp b/src/tests/md5.cpp
index 2e9c318..3b3d5e7 100644
--- a/src/tests/md5.cpp
+++ b/src/tests/md5.cpp
@@ -1,3 +1,10 @@
1/*
2 * Copyright (C) 2007-2008 Xagasoft, All rights reserved.
3 *
4 * This file is part of the libbu++ library and is released under the
5 * terms of the license contained in the file LICENSE.
6 */
7
1#include "bu/sio.h" 8#include "bu/sio.h"
2#include "bu/file.h" 9#include "bu/file.h"
3#include "bu/md5.h" 10#include "bu/md5.h"
diff --git a/src/tests/multiserver.cpp b/src/tests/multiserver.cpp
index f22147d..c4a00ab 100644
--- a/src/tests/multiserver.cpp
+++ b/src/tests/multiserver.cpp
@@ -1,3 +1,10 @@
1/*
2 * Copyright (C) 2007-2008 Xagasoft, All rights reserved.
3 *
4 * This file is part of the libbu++ library and is released under the
5 * terms of the license contained in the file LICENSE.
6 */
7
1#include "bu/multiserver.h" 8#include "bu/multiserver.h"
2#include "bu/protocol.h" 9#include "bu/protocol.h"
3#include "bu/client.h" 10#include "bu/client.h"
diff --git a/src/tests/nids.cpp b/src/tests/nids.cpp
index d531280..bb5993b 100644
--- a/src/tests/nids.cpp
+++ b/src/tests/nids.cpp
@@ -1,3 +1,10 @@
1/*
2 * Copyright (C) 2007-2008 Xagasoft, All rights reserved.
3 *
4 * This file is part of the libbu++ library and is released under the
5 * terms of the license contained in the file LICENSE.
6 */
7
1#include "bu/file.h" 8#include "bu/file.h"
2#include "bu/nids.h" 9#include "bu/nids.h"
3#include "bu/nidsstream.h" 10#include "bu/nidsstream.h"
diff --git a/src/tests/procs.cpp b/src/tests/procs.cpp
index c4b3ebc..c456823 100644
--- a/src/tests/procs.cpp
+++ b/src/tests/procs.cpp
@@ -1,3 +1,10 @@
1/*
2 * Copyright (C) 2007-2008 Xagasoft, All rights reserved.
3 *
4 * This file is part of the libbu++ library and is released under the
5 * terms of the license contained in the file LICENSE.
6 */
7
1#include "bu/process.h" 8#include "bu/process.h"
2 9
3#include <stdio.h> 10#include <stdio.h>
diff --git a/src/tests/rot13.cpp b/src/tests/rot13.cpp
index e677440..309707e 100644
--- a/src/tests/rot13.cpp
+++ b/src/tests/rot13.cpp
@@ -1,3 +1,10 @@
1/*
2 * Copyright (C) 2007-2008 Xagasoft, All rights reserved.
3 *
4 * This file is part of the libbu++ library and is released under the
5 * terms of the license contained in the file LICENSE.
6 */
7
1#include "bu/protocol.h" 8#include "bu/protocol.h"
2#include "bu/multiserver.h" 9#include "bu/multiserver.h"
3#include "bu/client.h" 10#include "bu/client.h"
diff --git a/src/tests/serverticks.cpp b/src/tests/serverticks.cpp
index 80c4dfa..e599444 100644
--- a/src/tests/serverticks.cpp
+++ b/src/tests/serverticks.cpp
@@ -1,3 +1,10 @@
1/*
2 * Copyright (C) 2007-2008 Xagasoft, All rights reserved.
3 *
4 * This file is part of the libbu++ library and is released under the
5 * terms of the license contained in the file LICENSE.
6 */
7
1#include "bu/server.h" 8#include "bu/server.h"
2#include "bu/client.h" 9#include "bu/client.h"
3#include "bu/protocol.h" 10#include "bu/protocol.h"
diff --git a/src/tests/socketbreak.cpp b/src/tests/socketbreak.cpp
index 82069de..e77ae4f 100644
--- a/src/tests/socketbreak.cpp
+++ b/src/tests/socketbreak.cpp
@@ -1,3 +1,10 @@
1/*
2 * Copyright (C) 2007-2008 Xagasoft, All rights reserved.
3 *
4 * This file is part of the libbu++ library and is released under the
5 * terms of the license contained in the file LICENSE.
6 */
7
1#include "bu/serversocket.h" 8#include "bu/serversocket.h"
2#include "bu/socket.h" 9#include "bu/socket.h"
3 10
diff --git a/src/tests/stdstream.cpp b/src/tests/stdstream.cpp
index 0949a8c..3aa9005 100644
--- a/src/tests/stdstream.cpp
+++ b/src/tests/stdstream.cpp
@@ -1,3 +1,10 @@
1/*
2 * Copyright (C) 2007-2008 Xagasoft, All rights reserved.
3 *
4 * This file is part of the libbu++ library and is released under the
5 * terms of the license contained in the file LICENSE.
6 */
7
1#include "bu/sio.h" 8#include "bu/sio.h"
2 9
3using Bu::sio; 10using Bu::sio;
diff --git a/src/tests/tracer.cpp b/src/tests/tracer.cpp
index a57edf6..797d165 100644
--- a/src/tests/tracer.cpp
+++ b/src/tests/tracer.cpp
@@ -1,3 +1,10 @@
1/*
2 * Copyright (C) 2007-2008 Xagasoft, All rights reserved.
3 *
4 * This file is part of the libbu++ library and is released under the
5 * terms of the license contained in the file LICENSE.
6 */
7
1 8
2#define BU_TRACE 9#define BU_TRACE
3#include "bu/trace.h" 10#include "bu/trace.h"
diff --git a/src/tests/url.cpp b/src/tests/url.cpp
index 4dc8c46..610a411 100644
--- a/src/tests/url.cpp
+++ b/src/tests/url.cpp
@@ -1,3 +1,10 @@
1/*
2 * Copyright (C) 2007-2008 Xagasoft, All rights reserved.
3 *
4 * This file is part of the libbu++ library and is released under the
5 * terms of the license contained in the file LICENSE.
6 */
7
1#include "bu/url.h" 8#include "bu/url.h"
2 9
3#include <stdio.h> 10#include <stdio.h>