aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorLasse Collin <lasse.collin@tukaani.org>2008-12-31 16:29:39 +0200
committerLasse Collin <lasse.collin@tukaani.org>2008-12-31 16:29:39 +0200
commit322ecf93c961e45a1da8c4a794a7fdacefcd7f40 (patch)
tree3fc5fbae174d255bdebced50f0695d08db0cb927 /tests
parentFixed missing quoting in configure.ac. (diff)
downloadxz-322ecf93c961e45a1da8c4a794a7fdacefcd7f40.tar.xz
Renamed lzma_options_simple to lzma_options_bcj in the API.
The internal implementation is still using the name "simple". It may need some cleanups, so I look at it later.
Diffstat (limited to 'tests')
-rw-r--r--tests/test_filter_flags.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/test_filter_flags.c b/tests/test_filter_flags.c
index dd4f56ac..37bb5830 100644
--- a/tests/test_filter_flags.c
+++ b/tests/test_filter_flags.c
@@ -100,7 +100,7 @@ test_subblock(void)
#if defined(HAVE_ENCODER_X86) && defined(HAVE_DECODER_X86)
static void
-test_simple(void)
+test_bcj(void)
{
// Test 1
known_flags.id = LZMA_FILTER_X86;
@@ -111,7 +111,7 @@ test_simple(void)
expect(decoded_flags.options == NULL);
// Test 2
- lzma_options_simple options;
+ lzma_options_bcj options;
options.start_offset = 0;
known_flags.options = &options;
expect(!encode(2));
@@ -125,7 +125,7 @@ test_simple(void)
expect(!decode(6));
expect(decoded_flags.options != NULL);
- lzma_options_simple *decoded = decoded_flags.options;
+ lzma_options_bcj *decoded = decoded_flags.options;
expect(decoded->start_offset == options.start_offset);
free(decoded);
@@ -273,7 +273,7 @@ main(void)
test_subblock();
#endif
#if defined(HAVE_ENCODER_X86) && defined(HAVE_DECODER_X86)
- test_simple();
+ test_bcj();
#endif
#if defined(HAVE_ENCODER_DELTA) && defined(HAVE_DECODER_DELTA)
test_delta();